import type { MachineAdvisorySectionName, MachineAdvisorySectionState, MachineAdvisoryState } from "./machine-advisory.js";
export declare const MACHINE_ADVISORY_ARTIFACT_TYPE: "kiwi-control/machine-advisory";
export declare const MACHINE_ADVISORY_VERSION: 3;
export declare const MACHINE_ADVISORY_CACHE_TTL_MS = 60000;
export declare function advisoryCachePath(homeRoot: string): string;
export declare function writeMachineAdvisoryCache(homeRoot: string, advisory: MachineAdvisoryState): Promise<void>;
export declare function loadMachineAdvisoryFromCache(homeRoot: string, now: Date, options?: {
    forceStale?: boolean;
    note?: string;
}): Promise<MachineAdvisoryState | null>;
export declare function loadMachineAdvisorySectionFromCache(section: MachineAdvisorySectionName, homeRoot: string, now: Date): Promise<{
    section: MachineAdvisorySectionName;
    meta: MachineAdvisorySectionState;
    data: unknown;
} | null>;
export declare function sectionFromMachineAdvisory(section: MachineAdvisorySectionName, advisory: MachineAdvisoryState): {
    section: MachineAdvisorySectionName;
    meta: MachineAdvisorySectionState;
    data: unknown;
};
export declare function markMachineAdvisoryCached(advisory: MachineAdvisoryState, now: Date, note?: string): MachineAdvisoryState;
//# sourceMappingURL=machine-advisory-cache.d.ts.map