import type { ADHDevConfig } from './config.js';
export interface SavedProviderSessionEntry {
    id: string;
    kind: 'cli' | 'acp';
    providerType: string;
    providerName: string;
    providerSessionId: string;
    workspace?: string | null;
    currentModel?: string;
    title?: string;
    createdAt: number;
    lastUsedAt: number;
}
export declare function buildSavedProviderSessionKey(providerSessionId: string): string;
export declare function upsertSavedProviderSession(config: ADHDevConfig, entry: Omit<SavedProviderSessionEntry, 'id' | 'createdAt' | 'lastUsedAt'> & {
    createdAt?: number;
    lastUsedAt?: number;
}): ADHDevConfig;
export declare function getSavedProviderSessions(config: ADHDevConfig, filters?: {
    providerType?: string;
    kind?: SavedProviderSessionEntry['kind'];
}): SavedProviderSessionEntry[];
