export interface MasterDoc {
    docId: string;
    title: string;
    category: string;
    legalRef: string[];
    formStrictness: string;
    formSource: string;
    frequency: string;
    cycleSlug?: string;
    applicableScope: string;
    retention: string;
    penaltyOnMissing: string;
    purpose?: string | null;
    submitTo?: string | null;
    submitDeadline?: string | null;
    electronicSubmission?: {
        available: boolean;
        url?: string;
        system?: string;
    } | null;
    templateUrl?: string | null;
    koshaGuideRef?: string[];
    relatedDocsByLifecycle?: {
        before: string[];
        during: string[];
        after: string[];
    };
    nextDueRule?: string | null;
    sourceStatus?: {
        keys: Record<string, "rule-default" | "manual" | "pending">;
    };
}
export interface MasterFile {
    _meta: Record<string, unknown>;
    documents: MasterDoc[];
}
export declare function loadMaster(): MasterFile;
export declare function findDoc(docId: string): MasterDoc | undefined;
export declare function retentionToDays(retention: string): number | null;
export declare function computeNextDueDate(rule: string | null | undefined, compileDate: string): string | null;
//# sourceMappingURL=master-loader.d.ts.map