import { KeetaAnchorError } from '../error.js';
import type { KeetaAnchorQueueRequestID, KeetaAnchorQueueStatus } from './index.js';
export type KeetaAnchorQueueRunOptions = {
    timeoutMs?: number | undefined;
};
declare class KeetaAnchorQueueIdempotentKeyExistsError extends KeetaAnchorError {
    static readonly name: string;
    private readonly KeetaAnchorQueueIdempotentExistsErrorObjectTypeID;
    private static readonly KeetaAnchorQueueIdempotentExistsErrorObjectTypeID;
    readonly idempotentIDsFound?: Set<KeetaAnchorQueueRequestID>;
    constructor(message?: string, idempotentIDsFound?: Set<KeetaAnchorQueueRequestID>);
    static isInstance(input: unknown): input is KeetaAnchorQueueIdempotentKeyExistsError;
}
declare class KeetaAnchorQueueIncorrectStateAssertedError extends KeetaAnchorError {
    static readonly name: string;
    private readonly KeetaAnchorQueueIncorrectStateAssertedErrorObjectTypeID;
    private static readonly KeetaAnchorQueueIncorrectStateAssertedErrorObjectTypeID;
    constructor(id: KeetaAnchorQueueRequestID, expectedStatus: KeetaAnchorQueueStatus, actualStatus: KeetaAnchorQueueStatus, message?: string);
    static isInstance(input: unknown): input is KeetaAnchorQueueIncorrectStateAssertedError;
}
export declare const Errors: {
    IdempotentExistsError: typeof KeetaAnchorQueueIdempotentKeyExistsError;
    IncorrectStateAssertedError: typeof KeetaAnchorQueueIncorrectStateAssertedError;
};
export {};
//# sourceMappingURL=common.d.ts.map