/** Use only when the provider can prove that no effect was applied. Network errors are not proof. */ export declare class ExternalEffectNotAppliedError extends Error { } export interface ExternalOperationInput { principalId: string; capabilityId: string; idempotencyKey: string; requestDigest: string; descriptorDigest: string; surface: string; recovery: 'manual' | 'provider-idempotent'; leaseMs?: number; now?: () => number; } /** The callback must use operationId as the provider key when declaring provider-idempotent recovery. */ export declare function executeExternalOperation(input: ExternalOperationInput, execute: (operationId: string) => Promise, validate?: (result: T) => T): Promise;