export type SessionFilePathOptions = {
    agentId?: string;
    sessionsDir?: string;
};
export declare function resolveSessionTranscriptPathInDir(sessionId: string, sessionsDir: string, topicId?: string | number): string;
export declare function resolveSessionFilePath(sessionId: string, entry?: {
    sessionFile?: string;
}, opts?: SessionFilePathOptions): string;
/**
 * Candidate transcript paths for a session (xopc state only — no external legacy dirs).
 */
export declare function resolveSessionTranscriptCandidates(sessionId: string, storePath: string | undefined, sessionFile?: string, _agentId?: string): string[];
export declare function archiveFileOnDisk(filePath: string, reason: 'reset' | 'deleted' | 'bak'): string;
