// See https://svelte.dev/docs/kit/types#app.d.ts import type { authHandler } from './hooks.server'; // for information about these interfaces declare global { namespace App { // interface Error {} interface Locals { /** * Undefined: not authenticated * Null: failed to validate/renew token */ auth: () => Promise; /** * Removes Authentication Cookies */ logout: () => void; } // interface PageData {} // interface PageState {} // interface Platform {} } } export {};