import { OUTCOME_STANDARD_V1_2_1, OUTCOME_STANDARD_V1_3_2 } from "./snapshot.js"; import type { VerifyOutcomeOptions, VerifyResult } from "./types.js"; export declare const PROTOCOL_REVISION_V1_3_2 = 1; export declare const PROTOCOL_REVISION_V1_2 = 2; export declare function standardVersionForRngV2Revision(revision: number): typeof OUTCOME_STANDARD_V1_3_2 | typeof OUTCOME_STANDARD_V1_2_1; export declare function winnerClaimDigest(outcomeIdLens: number[], outcomeIds: Buffer[]): Buffer; export type SnapshotCommitment = { signature: string; programId: string; runtimeId: string; resolveId: string; compiledArtifactHash: string; formatVersion: number; formula: string; winnersCount: number; snapshotCount: number; snapshotHash: string; merkleRoot: string | null; snapshotUri: string; rngVersion: number; /** First winner as recorded in the event. */ primaryOutcomeId: string; /** Full winner list when the event carries it; null when the event records only winnerClaimHash. */ outcomeIds: string[] | null; winnerClaimHash: string | null; }; /** * Reads what a snapshot draw committed on-chain — snapshot hash, participant count, Merkle root and * snapshot URI — from the program accounts behind its resolution signature, without the snapshot * file and without the VRE server. Use `merkleRoot` with verifySnapshotMerkleProof. */ export declare function fetchSnapshotCommitment(opts: { signature: string; rpcUrl: string; programId?: string; }): Promise; export declare function verifyOutcome(opts: VerifyOutcomeOptions): Promise; //# sourceMappingURL=verify.d.ts.map