import type { ArchivistInstance } from '@xyo-network/sdk';
import { type BlockRejection, type DeadLetterQueuePruneOptions, type DeadLetterQueueRunner, type TransactionRejection } from '@xyo-network/xl1-protocol/protocol-lib';
import type { ArchivistConnectionBinding, CreatableProviderParams } from '../protocol-sdk/index.js';
import { AbstractCreatableProvider } from '../protocol-sdk/index.js';
/** Parameters for SimpleDeadLetterQueueRunner. */
export interface SimpleDeadLetterQueueRunnerParams extends CreatableProviderParams {
    /** Connection the rejected stores self-provision from when archivists are not injected. */
    connection?: ArchivistConnectionBinding;
    rejectedBlocksArchivist?: ArchivistInstance;
    rejectedTransactionsArchivist?: ArchivistInstance;
}
/** SimpleDeadLetterQueueRunner implementation. */
export declare class SimpleDeadLetterQueueRunner extends AbstractCreatableProvider<SimpleDeadLetterQueueRunnerParams> implements DeadLetterQueueRunner {
    static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
    static readonly defaultMoniker: "DeadLetterQueueRunner";
    static readonly dependencies: string[];
    static readonly monikers: "DeadLetterQueueRunner"[];
    static readonly surface: "node";
    moniker: "DeadLetterQueueRunner";
    protected get rejectedBlocksArchivist(): ArchivistInstance;
    protected get rejectedTransactionsArchivist(): ArchivistInstance;
    static paramsHandler(params?: Partial<SimpleDeadLetterQueueRunnerParams>): Promise<SimpleDeadLetterQueueRunnerParams>;
    pruneRejectedBlocks({ batchSize, maxPrune, maxCheck, }?: DeadLetterQueuePruneOptions): Promise<[number, number]>;
    pruneRejectedTransactions({ batchSize, maxPrune, maxCheck, }?: DeadLetterQueuePruneOptions): Promise<[number, number]>;
    rejectBlock(rejection: BlockRejection): Promise<boolean>;
    rejectTransaction(rejection: TransactionRejection): Promise<boolean>;
}
//# sourceMappingURL=SimpleDeadLetterQueueRunner.d.ts.map