import type { Logger } from '@kubun/logger'; export declare const CUSTODY_ACCEPTANCE_RETRY_INITIAL_MS = 100; export declare const CUSTODY_ACCEPTANCE_RETRY_MAX_MS = 30000; export type CustodyAcceptanceRunnerParams = { /** One reconcile pass over every current assignment. */ reconcile: () => Promise; logger: Logger; }; /** * Runs the acceptance reconcile on each wake once started. A wake during a run runs again after * it; a failed run retries with backoff until disposed. Never rejects. */ export declare class CustodyAcceptanceRunner { #private; constructor(params: CustodyAcceptanceRunnerParams); /** The in-flight run, if any, so a dispose can wait for it. */ get running(): Promise | null; start(): Promise; wake(): Promise; /** Stops the runner; resolves once a run in flight, a retry's included, has finished. */ dispose(): Promise; }