import type { Hash } from '@ariestools/sdk';
import type { BlockViewer, TimeDomain, TimePayload, TimeSyncViewer } from '@xyo-network/xl1-protocol/protocol-lib';
import type { Provider } from 'ethers';
import type { CreatableProviderParams } from '../../CreatableProvider/index.js';
import { AbstractCreatableProvider } from '../../CreatableProvider/index.js';
/** Parameters for SimpleTimeSyncViewer. */
export interface SimpleTimeSyncViewerParams extends CreatableProviderParams {
}
/** SimpleTimeSyncViewer implementation. */
export declare class SimpleTimeSyncViewer extends AbstractCreatableProvider<SimpleTimeSyncViewerParams> implements TimeSyncViewer {
    static readonly connectionTypes: readonly ["evm-rpc", "lmdb", "mongo", "memory"];
    static readonly defaultMoniker: "TimeSyncViewer";
    static readonly dependencies: "BlockViewer"[];
    static readonly monikers: "TimeSyncViewer"[];
    static readonly surface: "node";
    moniker: "TimeSyncViewer";
    private _blockViewer?;
    private _ethProvider?;
    protected get blockViewer(): BlockViewer<"BlockViewer">;
    protected get ethProvider(): Provider | undefined;
    convertTime(fromDomain: TimeDomain, toDomain: TimeDomain, from: number): Promise<number>;
    createHandler(): Promise<void>;
    currentTime(domain: TimeDomain): Promise<[TimeDomain, number]>;
    currentTimeAndHash(domain: TimeDomain): Promise<[number, Hash | null]>;
    currentTimePayload(): Promise<TimePayload>;
}
//# sourceMappingURL=SimpleTimeSyncViewer.d.ts.map