import type { PolicyStore } from "../policyStore.js";
export type InterruptHandlers = {
    hasInterrupts: (data: unknown) => boolean;
    respondToInterrupts: (interrupts: unknown[], responses: unknown[]) => Promise<unknown>;
};
export declare function runWithPolicy(invoke: () => Promise<unknown>, policyStore: PolicyStore, handlers: InterruptHandlers): Promise<unknown>;
