// See https://svelte.dev/docs/kit/types#app.d.ts // for information about these interfaces import type { SafeUser, Session } from '$lib/types/chat'; declare global { namespace App { // interface Error {} interface Locals { user: SafeUser | null; session: Session | null; } // interface PageData {} // interface PageState {} // interface Platform {} } type Window = object; } export {};