export declare const APP_IDENTIFIER = "app.ikenga"; export declare const STALE_THRESHOLD_SECS: number; export interface ControlFile { schema_version: number; port: number; token: string; pid: number; started_at_unix_ms: number; identifier: string; } export type LoadOutcome = { kind: 'ok'; control: ControlFile; } | { kind: 'missing'; } | { kind: 'stale-removed'; } | { kind: 'stale-young'; ageSecs: number; }; /** * Compute the same `app_local_data_dir().join("control.json")` Tauri does. * macOS: ~/Library/Application Support//control.json * Linux: $XDG_DATA_HOME//control.json (defaulting to ~/.local/share). */ export declare function controlPath(): string; export declare function load(): LoadOutcome; //# sourceMappingURL=control.d.ts.map