/**
 * Workforce DB client — opens/initialises workforce.db.
 * Follows same pattern as synapse/db/client.ts and architects/db/client.ts.
 */
import type { WorkforceDb } from '../types.js';
export interface WorkforcePathResolution {
    dir: string;
    dbPath: string;
    requestedRoot: string;
    storageRoot: string;
    fallbackApplied: boolean;
    fallbackReason?: string;
}
export interface WorkforceDbOpenResult {
    db: WorkforceDb;
    paths: WorkforcePathResolution;
    degraded: boolean;
    reason?: string;
    quarantinePath?: string;
}
export declare function resolveWorkforcePaths(root?: string): WorkforcePathResolution;
export declare function openWorkforceDb(root?: string): WorkforceDbOpenResult;
