export type ResolvedCodexHome = { homePath: string; resolution: 'discovered' | 'environment' | 'explicit'; }; export type CodexSessionLogRecord = { filePath: string; modifiedMs: number; sessionId: string; }; export declare function redactHomePath(value: string, homePath?: string): string; export declare function formatPathForDisplay(targetPath: string, cwd?: string): string; export declare function formatCodexHomeForDisplay(homePath: string): string; export declare function listDefaultCodexBins(homePath?: string, envPath?: string | undefined, envCodexBin?: string | undefined, nodeExecPath?: string): string[]; export declare function resolveCodexBin(options?: { candidateBins?: string[]; codexBin?: string | undefined; envCodexBin?: string | undefined; envPath?: string | undefined; homePath?: string | undefined; nodeExecPath?: string | undefined; }): string; export declare function listDefaultCodexHomes(baseHomeDir?: string, envCodexHome?: string | undefined): string[]; export declare function findCodexSessionLog(homePath: string, sessionId: string): CodexSessionLogRecord | undefined; export declare function homeContainsSession(homePath: string, sessionId: string): boolean; export declare function findMatchingCodexHomes(sessionId: string, candidateHomes?: string[]): string[]; export declare function resolveCodexHomeForSession(sessionId: string, options?: { candidateHomes?: string[]; codexHome?: string | undefined; envCodexHome?: string | undefined; }): ResolvedCodexHome;