import type { State } from "../../realms/auth/model/auth.types.js"; import type { User } from "../../realms/studio/model/studio.types.js"; export interface BootPayload { state: State | "authenticated"; user?: User; frontendUrl?: string; } export type BootState = BootPayload["state"]; export interface BootSnapshot { ok: boolean; payload?: unknown; failed?: "network"; online?: boolean; } export declare const isBootState: (value: unknown) => value is BootState; export declare const isBootUser: (value: unknown) => value is User;