import { type Hash } from '@ariestools/sdk';
import type { ArchivistInstance } from '@xyo-network/sdk';
import type { FinalizationRunner, SignedHydratedBlockWithHashMeta } from '@xyo-network/xl1-protocol/protocol-lib';
import type { ArchivistConnectionBinding } from '../../Archivists/index.js';
import type { CreatableProviderParams } from '../../CreatableProvider/index.js';
import { AbstractCreatableProvider } from '../../CreatableProvider/index.js';
import type { ChainStoreWrite } from '../../model/index.js';
/** Parameters for SimpleFinalizationRunner. */
export interface SimpleFinalizationRunnerParams extends CreatableProviderParams {
    /** Connection the chain store self-provisions from when finalizedArchivist is not injected. */
    connection?: ArchivistConnectionBinding;
    finalizedArchivist?: ArchivistInstance;
}
/** SimpleFinalizationRunner implementation. */
export declare class SimpleFinalizationRunner extends AbstractCreatableProvider<SimpleFinalizationRunnerParams> implements FinalizationRunner {
    static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
    static readonly defaultMoniker: "FinalizationRunner";
    static readonly dependencies: never[];
    static readonly monikers: "FinalizationRunner"[];
    static readonly surface: "node";
    moniker: "FinalizationRunner";
    protected _store: ChainStoreWrite | undefined;
    protected get finalizedArchivist(): ArchivistInstance;
    protected get store(): ChainStoreWrite;
    static paramsHandler(params?: Partial<SimpleFinalizationRunnerParams>): Promise<SimpleFinalizationRunnerParams>;
    createHandler(): Promise<void>;
    finalizeBlock(block: SignedHydratedBlockWithHashMeta): Promise<Hash>;
    finalizeBlocks(blocks: SignedHydratedBlockWithHashMeta[]): Promise<Hash[]>;
}
//# sourceMappingURL=SimpleFinalizationRunner.d.ts.map