import Database from 'better-sqlite3';
export declare const WORK_SOURCE_PROVIDERS: readonly ["pmo", "linear", "jira", "asana", "monday"];
export type WorkSourceProvider = typeof WORK_SOURCE_PROVIDERS[number];
export interface WorkSourceRef {
    provider: WorkSourceProvider;
    context?: string;
}
export declare function isWorkSourceProvider(value: string): value is WorkSourceProvider;
export declare function parseWorkSourceRef(input: string): WorkSourceRef;
export declare function formatWorkSourceRef(source: WorkSourceRef): string;
export declare function saveActiveWorkSource(db: Database.Database, source: WorkSourceRef): void;
export declare function clearActiveWorkSource(db: Database.Database): void;
export declare function loadActiveWorkSource(db: Database.Database): WorkSourceRef | null;
export declare function getRegisteredWorkSources(db: Database.Database): WorkSourceRef[];
