// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces

import type { ApiClient } from '$lib/server/api';
import type { User } from '$lib/server/auth';
import type { ThemeConfig } from '$lib/theme/presets';

declare global {
	namespace App {
		// interface Error {}
		interface Locals {
			authToken: string | null;
			api: ApiClient;
			user: User;
			theme: ThemeConfig;
		}
		// interface PageData {}
		// interface PageState {}
		// interface Platform {}
	}
}

export {};
