// See https://svelte.dev/docs/kit/types#app.d.ts // for information about these interfaces import type PocketBase from 'pocketbase'; import type { RecordModel } from 'pocketbase'; export interface User extends RecordModel { id: string; email: string; emailVisibility: boolean; visibilityWarningDismissed: boolean; verified: boolean; created: string; updated: string; } declare global { namespace App { // interface Error {} interface Locals { pb: PocketBase; user: User | null; } interface PageData { user: User | null; } // interface PageState {} // interface Platform {} } } export {};