import type { CodexBridgeEvent } from './codex-transcript.js';
export interface MtrTranscriptSource {
    dbPath: string;
    sessionId: string;
}
export declare function mtrDbCandidates(dataDir?: string): string[];
export declare function findMtrSessionById(sessionId: string | undefined, dbPaths?: string[]): MtrTranscriptSource | undefined;
export declare function findLatestMtrSessionByDirectory(directory: string | undefined, dbPaths?: string[]): MtrTranscriptSource | undefined;
export declare function drainMtrSession(source: MtrTranscriptSource | undefined, fromOffset: number): {
    events: CodexBridgeEvent[];
    newOffset: number;
};
export declare function currentMtrSessionOffset(source: MtrTranscriptSource | undefined): number;
//# sourceMappingURL=mtr-transcript.d.ts.map