// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface AppSession {
}

export interface PageData {
    host: string;
    path: string;
    params: Record<string, unknown>;
    query: Record<string, unknown>;
}

export interface PreloadContext {
    fetch: (url: string, opts?: any) => any;
    redirect: (statusCode: number, location: string) => unknown;
    error: (status: number, error: Error | string) => unknown;
}
