import Schema from "@deepseek-ai/schemastery"; export declare const name = "croco-settings-host"; export declare const inject: string[]; export interface Config { updateRegistryUrl: string; packageManagerCommand: string; profileName: string; profileDirectory: string; updateCheckTtlMs: number; updateRequestTimeoutMs: number; updateInstallTimeoutMs: number; } export declare const Config: Schema; /** Deduplicates concurrent update checks and reuses a recent successful result. */ export declare class BundleCheckCache { #private; /** Read through the cache, optionally forcing a new check. */ read(load: () => Promise, ttlMs: number, force?: boolean, now?: number): Promise; /** Replace the cached result after a completed update. */ set(value: T, now?: number): void; } export declare function apply(ctx: any, config: Config): void;