2025-06-02 11:40:07 +05:00
|
|
|
type GlobalWindow = Window & typeof globalThis;
|
|
|
|
|
|
2026-04-01 22:24:09 +01:00
|
|
|
type LtheanWindow = Omit<GlobalWindow, 'Infinity'> & {
|
|
|
|
|
lethean: {
|
2025-06-02 11:40:07 +05:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
|
|
|
request: (_str: string, _params?: any, _timeoutMs?: number | null) => Promise<any>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2026-04-01 22:24:09 +01:00
|
|
|
export default LtheanWindow;
|