import { z } from 'zod'; export declare const PortFrameSchemaVersionZod: z.ZodUnion, z.ZodLiteral<2>]>; export type PortFrameSchemaVersion = z.infer; export declare const PortFrameSchema: "network.xyo.dapp.port.frame" & { readonly __schema: true; }; export declare const PortFrameKinds: readonly ["request", "response", "error", "cancel", "cancel-ack", "stream-open", "stream-item", "stream-credit", "stream-close", "stream-error", "stream-resume"]; export declare const PortFrameKindZod: z.ZodEnum<{ error: "error"; request: "request"; response: "response"; cancel: "cancel"; "cancel-ack": "cancel-ack"; "stream-open": "stream-open"; "stream-item": "stream-item"; "stream-credit": "stream-credit"; "stream-close": "stream-close"; "stream-error": "stream-error"; "stream-resume": "stream-resume"; }>; export type PortFrameKind = z.infer; export declare const PortConsistencyEvidenceZod: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; export type PortConsistencyEvidence = z.infer; export declare const PortFrameZod: z.ZodDiscriminatedUnion<[z.ZodObject<{ frameKind: z.ZodLiteral<"request">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"response">; consistency: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"error">; error: z.ZodObject<{ code: z.ZodString; retriable: z.ZodBoolean; details: z.ZodOptional>>; }, z.core.$strict>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"cancel">; reasonCode: z.ZodString; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"cancel-ack">; willEmitNoNewWork: z.ZodLiteral; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-open">; streamId: z.ZodString; delivery: z.ZodLiteral<"at-least-once">; resumable: z.ZodBoolean; nextSequence: z.ZodNumber; resumeCursor: z.ZodOptional; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-item">; streamId: z.ZodString; sequence: z.ZodNumber; resumeCursor: z.ZodOptional; consistency: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-credit">; streamId: z.ZodString; credit: z.ZodNumber; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-close">; streamId: z.ZodString; lastSequence: z.ZodNumber; resumeCursor: z.ZodOptional; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-error">; streamId: z.ZodString; lastSequence: z.ZodNumber; resumeCursor: z.ZodOptional; error: z.ZodObject<{ code: z.ZodString; retriable: z.ZodBoolean; details: z.ZodOptional>>; }, z.core.$strict>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-resume">; streamId: z.ZodString; lastAcceptedSequence: z.ZodNumber; resumeCursor: z.ZodString; credit: z.ZodNumber; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>], "frameKind">; export type PortFrame = z.infer; /** V1 stays frozen, including its canonical decoder and hash domain. */ export declare const PortFrameV1Zod: z.ZodDiscriminatedUnion<[z.ZodObject<{ frameKind: z.ZodLiteral<"request">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"response">; consistency: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"error">; error: z.ZodObject<{ code: z.ZodString; retriable: z.ZodBoolean; details: z.ZodOptional>>; }, z.core.$strict>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"cancel">; reasonCode: z.ZodString; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"cancel-ack">; willEmitNoNewWork: z.ZodLiteral; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-open">; streamId: z.ZodString; delivery: z.ZodLiteral<"at-least-once">; resumable: z.ZodBoolean; nextSequence: z.ZodNumber; resumeCursor: z.ZodOptional; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-item">; streamId: z.ZodString; sequence: z.ZodNumber; resumeCursor: z.ZodOptional; consistency: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-credit">; streamId: z.ZodString; credit: z.ZodNumber; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-close">; streamId: z.ZodString; lastSequence: z.ZodNumber; resumeCursor: z.ZodOptional; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-error">; streamId: z.ZodString; lastSequence: z.ZodNumber; resumeCursor: z.ZodOptional; error: z.ZodObject<{ code: z.ZodString; retriable: z.ZodBoolean; details: z.ZodOptional>>; }, z.core.$strict>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-resume">; streamId: z.ZodString; lastAcceptedSequence: z.ZodNumber; resumeCursor: z.ZodString; credit: z.ZodNumber; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>], "frameKind">; export type PortFrameV1 = PortFrame; /** V2 progress is the absolute next sequence, so zero also represents an empty prefix. */ export declare const PortFrameV2Zod: z.ZodDiscriminatedUnion<[z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"request">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"response">; consistency: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"error">; error: z.ZodObject<{ code: z.ZodString; retriable: z.ZodBoolean; details: z.ZodOptional>>; }, z.core.$strict>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"cancel">; reasonCode: z.ZodString; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"cancel-ack">; willEmitNoNewWork: z.ZodLiteral; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"stream-open">; streamId: z.ZodString; delivery: z.ZodLiteral<"at-least-once">; resumable: z.ZodBoolean; nextSequence: z.ZodNumber; resumeCursor: z.ZodOptional; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ sequence: z.ZodNumber; schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"stream-item">; streamId: z.ZodString; resumeCursor: z.ZodOptional; consistency: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"stream-credit">; streamId: z.ZodString; credit: z.ZodNumber; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-close">; streamId: z.ZodString; nextSequence: z.ZodNumber; resumeCursor: z.ZodOptional; schemaVersion: z.ZodLiteral<2>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-error">; streamId: z.ZodString; nextSequence: z.ZodNumber; resumeCursor: z.ZodOptional; error: z.ZodObject<{ code: z.ZodString; retriable: z.ZodBoolean; details: z.ZodOptional>>; }, z.core.$strict>; schemaVersion: z.ZodLiteral<2>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-resume">; streamId: z.ZodString; nextSequence: z.ZodNumber; resumeCursor: z.ZodString; credit: z.ZodNumber; schemaVersion: z.ZodLiteral<2>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>], "frameKind">; export type PortFrameV2 = z.infer; export declare const PortFrameAnyVersionZod: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{ frameKind: z.ZodLiteral<"request">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"response">; consistency: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"error">; error: z.ZodObject<{ code: z.ZodString; retriable: z.ZodBoolean; details: z.ZodOptional>>; }, z.core.$strict>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"cancel">; reasonCode: z.ZodString; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"cancel-ack">; willEmitNoNewWork: z.ZodLiteral; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-open">; streamId: z.ZodString; delivery: z.ZodLiteral<"at-least-once">; resumable: z.ZodBoolean; nextSequence: z.ZodNumber; resumeCursor: z.ZodOptional; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-item">; streamId: z.ZodString; sequence: z.ZodNumber; resumeCursor: z.ZodOptional; consistency: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-credit">; streamId: z.ZodString; credit: z.ZodNumber; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-close">; streamId: z.ZodString; lastSequence: z.ZodNumber; resumeCursor: z.ZodOptional; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-error">; streamId: z.ZodString; lastSequence: z.ZodNumber; resumeCursor: z.ZodOptional; error: z.ZodObject<{ code: z.ZodString; retriable: z.ZodBoolean; details: z.ZodOptional>>; }, z.core.$strict>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-resume">; streamId: z.ZodString; lastAcceptedSequence: z.ZodNumber; resumeCursor: z.ZodString; credit: z.ZodNumber; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; schemaVersion: z.ZodLiteral<1>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>], "frameKind">, z.ZodDiscriminatedUnion<[z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"request">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"response">; consistency: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"error">; error: z.ZodObject<{ code: z.ZodString; retriable: z.ZodBoolean; details: z.ZodOptional>>; }, z.core.$strict>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"cancel">; reasonCode: z.ZodString; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"cancel-ack">; willEmitNoNewWork: z.ZodLiteral; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"stream-open">; streamId: z.ZodString; delivery: z.ZodLiteral<"at-least-once">; resumable: z.ZodBoolean; nextSequence: z.ZodNumber; resumeCursor: z.ZodOptional; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ sequence: z.ZodNumber; schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"stream-item">; streamId: z.ZodString; resumeCursor: z.ZodOptional; consistency: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"not-applicable">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"finalized-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"projection-through">; blockNumber: z.ZodNumber; blockHash: z.ZodString; projectionId: z.ZodString; projectionVersion: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"provisional">; blockNumber: z.ZodNumber; blockHash: z.ZodString; transactionHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"local-ephemeral">; }, z.core.$strict>], "mode">; body: z.ZodType>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<2>; frameKind: z.ZodLiteral<"stream-credit">; streamId: z.ZodString; credit: z.ZodNumber; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-close">; streamId: z.ZodString; nextSequence: z.ZodNumber; resumeCursor: z.ZodOptional; schemaVersion: z.ZodLiteral<2>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-error">; streamId: z.ZodString; nextSequence: z.ZodNumber; resumeCursor: z.ZodOptional; error: z.ZodObject<{ code: z.ZodString; retriable: z.ZodBoolean; details: z.ZodOptional>>; }, z.core.$strict>; schemaVersion: z.ZodLiteral<2>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ frameKind: z.ZodLiteral<"stream-resume">; streamId: z.ZodString; nextSequence: z.ZodNumber; resumeCursor: z.ZodString; credit: z.ZodNumber; schemaVersion: z.ZodLiteral<2>; schema: z.ZodLiteral<"network.xyo.dapp.port.frame" & { readonly __schema: true; }>; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; attachmentId: z.ZodString; requestId: z.ZodString; deadlineUnixMs: z.ZodNumber; portId: z.ZodString; operationId: z.ZodString; }, z.core.$strict>], "frameKind">], "schemaVersion">; export type PortFrameAnyVersion = z.infer; export declare const PortOperationGrantZod: z.ZodDiscriminatedUnion<[z.ZodObject<{ portId: z.ZodString; operationId: z.ZodString; streaming: z.ZodLiteral; }, z.core.$strict>, z.ZodObject<{ portId: z.ZodString; operationId: z.ZodString; streaming: z.ZodLiteral; resumable: z.ZodBoolean; maximumCredit: z.ZodNumber; }, z.core.$strict>], "streaming">; export type PortOperationGrant = z.infer; export declare const PortAttachmentGrantZod: z.ZodObject<{ attachmentId: z.ZodString; principalId: z.ZodString; dappId: z.ZodString; protocolVersion: z.ZodString; planId: z.ZodString; systemInstanceId: z.ZodString; hostSessionId: z.ZodString; createdAt: z.ZodNumber; lastSeenAt: z.ZodNumber; expiresAt: z.ZodNumber; leasePolicy: z.ZodEnum<{ "fixed-expiry": "fixed-expiry"; "disconnect-expiry": "disconnect-expiry"; }>; operations: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ portId: z.ZodString; operationId: z.ZodString; streaming: z.ZodLiteral; resumable: z.ZodBoolean; maximumCredit: z.ZodNumber; }, z.core.$strict>], "streaming">>; }, z.core.$strict>; export type PortAttachmentGrant = z.infer; //# sourceMappingURL=portFrameModel.d.ts.map