import { z } from 'zod'; export declare const ProjectionCheckpointSchema: "network.xyo.dapp.projection.checkpoint" & { readonly __schema: true; }; export declare const ProjectionPositionZod: z.ZodObject<{ blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionIndex: z.ZodNumber; transactionHash: z.ZodString; payloadIndex: z.ZodNumber; payloadHash: z.ZodString; recordIndex: z.ZodNumber; }, z.core.$strict>; export type ProjectionPosition = z.infer; export declare const ProjectionScopeZod: z.ZodObject<{ dappId: z.ZodString; chainId: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>; export type ProjectionScope = z.infer; export declare const ProjectionCheckpointZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.projection.checkpoint" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; chainId: z.ZodString; position: z.ZodObject<{ blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionIndex: z.ZodNumber; transactionHash: z.ZodString; payloadIndex: z.ZodNumber; payloadHash: z.ZodString; recordIndex: z.ZodNumber; }, z.core.$strict>; projectionId: z.ZodString; projectionVersion: z.ZodString; generationId: z.ZodString; }, z.core.$strict>; export type ProjectionCheckpoint = z.infer; export declare const ProjectionReducerTraceSchema: "network.xyo.dapp.projection.reducer.trace" & { readonly __schema: true; }; export declare const ProjectionGenerationSchema: "network.xyo.dapp.projection.generation" & { readonly __schema: true; }; export declare const ProjectionHeadSchema: "network.xyo.dapp.projection.head" & { readonly __schema: true; }; export declare const ProjectionPublicationTraceSchema: "network.xyo.dapp.projection.publication.trace" & { readonly __schema: true; }; export declare const ProjectionInputRecordZod: z.ZodObject<{ eventId: z.ZodString; schema: z.ZodString; protocolVersion: z.ZodString; position: z.ZodObject<{ blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionIndex: z.ZodNumber; transactionHash: z.ZodString; payloadIndex: z.ZodNumber; payloadHash: z.ZodString; recordIndex: z.ZodNumber; }, z.core.$strict>; payloadHash: z.ZodString; body: z.ZodType>; }, z.core.$strict>; export type ProjectionInputRecord = z.infer; export declare const ProjectionReducerResultZod: z.ZodDiscriminatedUnion<[z.ZodObject<{ outcome: z.ZodLiteral<"applied">; state: z.ZodType>; facts: z.ZodArray>>; }, z.core.$strict>, z.ZodObject<{ outcome: z.ZodLiteral<"duplicate">; state: z.ZodType>; duplicateOf: z.ZodString; }, z.core.$strict>, z.ZodObject<{ outcome: z.ZodLiteral<"rejected">; state: z.ZodType>; issueCode: z.ZodString; }, z.core.$strict>], "outcome">; export type ProjectionReducerResult = z.infer; export declare const ProjectionReducerStepZod: z.ZodObject<{ record: z.ZodObject<{ eventId: z.ZodString; schema: z.ZodString; protocolVersion: z.ZodString; position: z.ZodObject<{ blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionIndex: z.ZodNumber; transactionHash: z.ZodString; payloadIndex: z.ZodNumber; payloadHash: z.ZodString; recordIndex: z.ZodNumber; }, z.core.$strict>; payloadHash: z.ZodString; body: z.ZodType>; }, z.core.$strict>; result: z.ZodDiscriminatedUnion<[z.ZodObject<{ outcome: z.ZodLiteral<"applied">; state: z.ZodType>; facts: z.ZodArray>>; }, z.core.$strict>, z.ZodObject<{ outcome: z.ZodLiteral<"duplicate">; state: z.ZodType>; duplicateOf: z.ZodString; }, z.core.$strict>, z.ZodObject<{ outcome: z.ZodLiteral<"rejected">; state: z.ZodType>; issueCode: z.ZodString; }, z.core.$strict>], "outcome">; }, z.core.$strict>; export type ProjectionReducerStep = z.infer; export declare const ProjectionReducerTraceZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.projection.reducer.trace" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; chainId: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; initialState: z.ZodType>; steps: z.ZodArray; payloadHash: z.ZodString; body: z.ZodType>; }, z.core.$strict>; result: z.ZodDiscriminatedUnion<[z.ZodObject<{ outcome: z.ZodLiteral<"applied">; state: z.ZodType>; facts: z.ZodArray>>; }, z.core.$strict>, z.ZodObject<{ outcome: z.ZodLiteral<"duplicate">; state: z.ZodType>; duplicateOf: z.ZodString; }, z.core.$strict>, z.ZodObject<{ outcome: z.ZodLiteral<"rejected">; state: z.ZodType>; issueCode: z.ZodString; }, z.core.$strict>], "outcome">; }, z.core.$strict>>; finalState: z.ZodType>; }, z.core.$strict>; export type ProjectionReducerTrace = z.infer; export declare const ProjectionObjectReferenceZod: z.ZodObject<{ key: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; export type ProjectionObjectReference = z.infer; export declare const ProjectionGenerationZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.projection.generation" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; chainId: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; generationId: z.ZodString; targetPosition: z.ZodObject<{ blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionIndex: z.ZodNumber; transactionHash: z.ZodString; payloadIndex: z.ZodNumber; payloadHash: z.ZodString; recordIndex: z.ZodNumber; }, z.core.$strict>; stateHash: z.ZodString; objects: z.ZodArray>; }, z.core.$strict>; export type ProjectionGeneration = z.infer; export declare const ProjectionHeadZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.projection.head" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; chainId: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; generationId: z.ZodString; generationHash: z.ZodString; previousGenerationId: z.ZodOptional; }, z.core.$strict>; export type ProjectionHead = z.infer; export declare const ProjectionPublicationOperationZod: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"generation-written">; generationId: z.ZodString; generationHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generation-verified">; generationId: z.ZodString; generationHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"head-published">; head: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.projection.head" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; chainId: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; generationId: z.ZodString; generationHash: z.ZodString; previousGenerationId: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"checkpoint-persisted">; checkpoint: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.projection.checkpoint" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; chainId: z.ZodString; position: z.ZodObject<{ blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionIndex: z.ZodNumber; transactionHash: z.ZodString; payloadIndex: z.ZodNumber; payloadHash: z.ZodString; recordIndex: z.ZodNumber; }, z.core.$strict>; projectionId: z.ZodString; projectionVersion: z.ZodString; generationId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"interrupted">; reason: z.ZodString; }, z.core.$strict>], "kind">; export type ProjectionPublicationOperation = z.infer; export declare const ProjectionPublicationTraceZod: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.projection.publication.trace" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; initialHead: z.ZodOptional; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; chainId: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; generationId: z.ZodString; generationHash: z.ZodString; previousGenerationId: z.ZodOptional; }, z.core.$strict>>; generation: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.projection.generation" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; chainId: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; generationId: z.ZodString; targetPosition: z.ZodObject<{ blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionIndex: z.ZodNumber; transactionHash: z.ZodString; payloadIndex: z.ZodNumber; payloadHash: z.ZodString; recordIndex: z.ZodNumber; }, z.core.$strict>; stateHash: z.ZodString; objects: z.ZodArray>; }, z.core.$strict>; expectedGenerationHash: z.ZodString; operations: z.ZodArray; generationId: z.ZodString; generationHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"generation-verified">; generationId: z.ZodString; generationHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"head-published">; head: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.projection.head" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; chainId: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; generationId: z.ZodString; generationHash: z.ZodString; previousGenerationId: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"checkpoint-persisted">; checkpoint: z.ZodObject<{ schema: z.ZodLiteral<"network.xyo.dapp.projection.checkpoint" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; chainId: z.ZodString; position: z.ZodObject<{ blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionIndex: z.ZodNumber; transactionHash: z.ZodString; payloadIndex: z.ZodNumber; payloadHash: z.ZodString; recordIndex: z.ZodNumber; }, z.core.$strict>; projectionId: z.ZodString; projectionVersion: z.ZodString; generationId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"interrupted">; reason: z.ZodString; }, z.core.$strict>], "kind">>; }, z.core.$strict>; export type ProjectionPublicationTrace = z.infer; //# sourceMappingURL=projection.d.ts.map