import type { Hash } from '@ariestools/sdk'; import type { ChainStateViewer, SignedHydratedBlockWithHashMeta, XL1BlockNumber } from '@xyo-network/xl1-protocol/protocol-lib'; import type { CreatableProviderParams } from '@xyo-network/xl1-sdk/protocol-sdk'; import { AbstractS3Provider } from './AbstractS3Provider.ts'; /** * A ChainStateViewer over the chain-state bucket, reading the published head pointer back * through the S3 API (authenticated, not the public HTTP layout — see RestChainStateViewer * for anonymous reads). This is how publishers learn their resume cursor: the head pointer * is only written after the finalized files it references exist. */ export declare class S3ChainStateViewer extends AbstractS3Provider implements ChainStateViewer { /** Connection kinds supported by this provider. */ static readonly connectionTypes: readonly ["s3"]; /** Primary moniker used to resolve this provider. */ static readonly defaultMoniker: "ChainStateViewer"; /** Provider monikers that must resolve before this provider can be created. */ static readonly dependencies: never[]; /** Provider monikers implemented by this provider class. */ static readonly monikers: "ChainStateViewer"[]; /** Moniker implemented by this provider instance. */ moniker: "ChainStateViewer"; /** The published head; throws when no head pointer has been published yet. */ currentBlock(): Promise; /** Returns the hash from the published chain head. */ currentBlockHash(): Promise; /** Returns the block number from the published chain head. */ currentBlockNumber(): Promise; /** The published head, or undefined when no head pointer has been published yet. */ tryCurrentBlock(): Promise; } //# sourceMappingURL=S3ChainStateViewer.d.ts.map