import OperationPolicyPort, { type OperationPolicyExecuteOptions } from '../../ports/OperationPolicyPort.ts';
type AlfredOperationPolicyAdapterOptions = {
    readonly retryOptions?: OperationPolicyExecuteOptions;
};
export default class AlfredOperationPolicyAdapter extends OperationPolicyPort {
    private readonly _retryOptions;
    constructor(options?: AlfredOperationPolicyAdapterOptions);
    execute<T>(operation: (signal?: AbortSignal) => Promise<T>, options?: OperationPolicyExecuteOptions): Promise<T>;
    stream<T>(operation: (signal?: AbortSignal) => Promise<AsyncIterable<T>>, options?: OperationPolicyExecuteOptions): Promise<AsyncIterable<T>>;
    private _executeAttempt;
    private _mapErrors;
}
export {};
