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 { CreatableProviderParams } from '../protocol-sdk/index-node.js';
import { AbstractCreatableProvider } from '../protocol-sdk/index-node.js';
/** Parameters for SimpleDeadLetterQueueRunner. */
export interface SimpleDeadLetterQueueRunnerParams extends CreatableProviderParams {
    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<import("@xyo-network/sdk").ArchivistParams<import("@xyo-network/sdk").AnyConfigSchema<import("@xyo-network/sdk").ArchivistConfig>>, import("@xyo-network/sdk").ArchivistModuleEventData, import("@xyo-network/sdk").Payload>;
    protected get rejectedTransactionsArchivist(): ArchivistInstance<import("@xyo-network/sdk").ArchivistParams<import("@xyo-network/sdk").AnyConfigSchema<import("@xyo-network/sdk").ArchivistConfig>>, import("@xyo-network/sdk").ArchivistModuleEventData, import("@xyo-network/sdk").Payload>;
    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