import type { SessionEntry } from "../../../config/sessions/types.js"; import type { KlawConfig } from "../../../config/types.klaw.js"; type SessionRouteRepairResult = { changed: boolean; sessionKeys: string[]; }; type CodexSessionRouteRepairSummary = { scannedStores: number; repairedStores: number; repairedSessions: number; warnings: string[]; changes: string[]; }; export declare function collectCodexRouteWarnings(params: { cfg: KlawConfig; env?: NodeJS.ProcessEnv; }): string[]; export declare function maybeRepairCodexRoutes(params: { cfg: KlawConfig; env?: NodeJS.ProcessEnv; shouldRepair: boolean; codexRuntimeReady?: boolean; }): { cfg: KlawConfig; warnings: string[]; changes: string[]; }; export declare function repairCodexSessionStoreRoutes(params: { store: Record; now?: number; }): SessionRouteRepairResult; export declare function maybeRepairCodexSessionRoutes(params: { cfg: KlawConfig; env?: NodeJS.ProcessEnv; shouldRepair: boolean; codexRuntimeReady?: boolean; }): Promise; export {};