import { IRedisTransaction } from './redis-client.js';
export interface IWatchTransactionOptions {
    maxAttempts?: number;
    backoff?: (attemptNo: number) => number | undefined;
    makeRetryExceededError?: () => Error;
    onRetry?: (attemptNo: number, maxAttempts: number) => void;
    onExecError?: (err: Error) => void;
    onWatchError?: (err: Error) => void;
}
export interface IWatchTransactionAttemptResult {
    multi: IRedisTransaction;
    afterExec?: (execResult: unknown[]) => void;
}
//# sourceMappingURL=watch-transaction.d.ts.map