export type ExternalAgentSource = 'claude' | 'codex';
export interface ExternalSessionCandidate {
    id: string;
    source: ExternalAgentSource;
    cwd?: string;
    summary?: string;
    updatedAt: number;
    filePath: string;
    bytes: number;
}
export declare function parseExternalAgentSource(input: string): ExternalAgentSource | null;
export declare function importExternalSessionAsFranklin(source: ExternalAgentSource, externalSessionId: string | undefined, opts: {
    model: string;
    workDir: string;
}): Promise<{
    sessionId: string;
    imported: ExternalSessionCandidate;
}>;
