// See https://kit.svelte.dev/docs/types#app // for information about these interfaces declare global { interface Window { tether?: { version: 1; isFocused?(): Promise; focus?(): Promise; onEvent?( callback: ( event: | import('$lib/stores').TetherEvent | { type: 'theme:update'; data: { theme: 'system' | 'light' | 'dark' } } ) => Promise ): () => void; signedIn(token: string): Promise<{ token: string; expiresAt: number | null }>; refresh(force?: boolean): Promise<{ token: string; expiresAt: number | null } | null>; signedOut(): Promise; onToken( callback: (access: { token: string; expiresAt: number | null } | null) => void ): () => void; }; } class AudioWorkletProcessor { readonly port: MessagePort; } function registerProcessor(name: string, processor: typeof AudioWorkletProcessor): void; const APP_VERSION: string; const APP_BUILD_HASH: string; const APP_BUILD_CHANNEL: 'main' | 'dev' | 'unknown'; namespace App { interface PageState { inbox?: boolean; inboxUserId?: string; } // interface Error {} // interface Locals {} // interface PageData {} // interface Platform {} } } export {};