import type { FasedAgentConfig } from "../../config/config.js";
export declare const EMBEDDED_COMPACTION_TIMEOUT_MS = 300000;
export declare function compactWithSafetyTimeout<T>(compact: () => Promise<T>, timeoutMs?: number, opts?: {
    abortSignal?: AbortSignal;
    onCancel?: () => void;
}): Promise<T>;
export declare function resolveCompactionTimeoutMs(cfg?: FasedAgentConfig): number;
