import Database from 'better-sqlite3';
export declare const WORK_SOURCE_PROVIDERS: readonly ["pmo", "linear", "jira", "shortcut", "asana", "trello", "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;
/**
 * Check if a ticket identifier looks like a local PMO ticket ID (e.g. TKT-123).
 * Local IDs always start with the TKT- prefix.
 */
export declare function isLocalTicketId(ticketId: string): boolean;
export declare function parseWorkSourceRef(input: string): WorkSourceRef;
export declare function formatWorkSourceRef(source: WorkSourceRef): string;
export declare function saveDefaultWorkSource(db: Database.Database, source: WorkSourceRef): void;
export declare function clearDefaultWorkSource(db: Database.Database): void;
export declare function loadDefaultWorkSource(db: Database.Database): WorkSourceRef | null;
/** @deprecated Use saveDefaultWorkSource instead */
export declare const saveActiveWorkSource: typeof saveDefaultWorkSource;
/** @deprecated Use clearDefaultWorkSource instead */
export declare const clearActiveWorkSource: typeof clearDefaultWorkSource;
/** @deprecated Use loadDefaultWorkSource instead */
export declare const loadActiveWorkSource: typeof loadDefaultWorkSource;
export declare function getRegisteredWorkSources(db: Database.Database): WorkSourceRef[];
/**
 * Get a list of connected integration provider names (excluding 'pmo').
 * Used to dynamically inject integration commands into agent prompts.
 */
export declare function getConnectedIntegrations(db: Database.Database): string[];
