// See https://svelte.dev/docs/kit/types#app.d.ts

import type { Session } from "@pkg/logic/domains/auth/session/data/entities";
import type { UserModel } from "@pkg/logic/domains/user/data/entities";
import "unplugin-icons/types/svelte";

// for information about these interfaces
declare global {
	namespace App {
		// interface Error {}
		interface Locals {
			session?: Session;
			user?: UserModel;
		}
		// interface PageData {}
		// interface PageState {}
		// interface Platform {}
	}
	interface Window {
		dataLayer: Record<string, unknown>[];
		gtag: (...args: any[]) => void;
	}
}

export {};
