import { z } from 'zod'; export declare const languageSchema: z.ZodEffects; export declare const lexLang: z.ZodRecord, z.ZodOptional>; export type LexLang = z.infer; export declare const lexBoolean: z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>; export type LexBoolean = z.infer; export declare const lexInteger: z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>; export type LexInteger = z.infer; export declare const lexStringFormat: z.ZodEnum<["datetime", "uri", "at-uri", "did", "handle", "at-identifier", "nsid", "cid", "language", "tid", "record-key"]>; export type LexStringFormat = z.infer; export declare const lexString: z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>; export type LexString = z.infer; export declare const lexUnknown: z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>; export type LexUnknown = z.infer; export declare const lexPrimitive: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>]>; export type LexPrimitive = z.infer; export declare const lexBytes: z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>; export type LexBytes = z.infer; export declare const lexCidLink: z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>; export type LexCidLink = z.infer; export declare const lexIpldType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>]>; export type LexIpldType = z.infer; export declare const lexRef: z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>; export type LexRef = z.infer; export declare const lexRefUnion: z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>; export type LexRefUnion = z.infer; export declare const lexRefVariant: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>]>; export type LexRefVariant = z.infer; export declare const lexBlob: z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>; export type LexBlob = z.infer; export declare const lexArray: z.ZodObject<{ type: z.ZodLiteral<"array">; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>; export type LexArray = z.infer; export declare const lexPrimitiveArray: z.ZodObject; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, { items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>]>; }>, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>; export type LexPrimitiveArray = z.infer; export declare const lexToken: z.ZodObject<{ type: z.ZodLiteral<"token">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "token"; description?: string | undefined; }, { type: "token"; description?: string | undefined; }>; export type LexToken = z.infer; export declare const lexObject: z.ZodEffects; description: z.ZodOptional; required: z.ZodOptional>; nullable: z.ZodOptional>; properties: z.ZodRecord; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>; export type LexObject = z.infer; declare const lexPermission: z.ZodIntersection; resource: z.ZodString; }, "strip", z.ZodTypeAny, { type: "permission"; resource: string; }, { type: "permission"; resource: string; }>, z.ZodRecord, "many">, z.ZodBoolean, z.ZodNumber, z.ZodString]>>>>; export type LexPermission = z.infer; export declare const lexPermissionSet: z.ZodObject<{ type: z.ZodLiteral<"permission-set">; description: z.ZodOptional; title: z.ZodOptional; 'title:lang': z.ZodOptional, z.ZodOptional>>; detail: z.ZodOptional; 'detail:lang': z.ZodOptional, z.ZodOptional>>; permissions: z.ZodArray; resource: z.ZodString; }, "strip", z.ZodTypeAny, { type: "permission"; resource: string; }, { type: "permission"; resource: string; }>, z.ZodRecord, "many">, z.ZodBoolean, z.ZodNumber, z.ZodString]>>>>, "many">; }, "strip", z.ZodTypeAny, { type: "permission-set"; permissions: ({ type: "permission"; resource: string; } & Record)[]; description?: string | undefined; title?: string | undefined; 'title:lang'?: Record | undefined; detail?: string | undefined; 'detail:lang'?: Record | undefined; }, { type: "permission-set"; permissions: ({ type: "permission"; resource: string; } & Record)[]; description?: string | undefined; title?: string | undefined; 'title:lang'?: Record | undefined; detail?: string | undefined; 'detail:lang'?: Record | undefined; }>; export type LexPermissionSet = z.infer; export declare const lexXrpcParameters: z.ZodEffects; description: z.ZodOptional; required: z.ZodOptional>; properties: z.ZodRecord; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, { items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>]>; }>, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }>, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }>; export type LexXrpcParameters = z.infer; export declare const lexXrpcBody: z.ZodObject<{ description: z.ZodOptional; encoding: z.ZodString; schema: z.ZodOptional; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>]>, z.ZodEffects; description: z.ZodOptional; required: z.ZodOptional>; nullable: z.ZodOptional>; properties: z.ZodRecord; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>]>>; }, "strip", z.ZodTypeAny, { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; }, { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; }>; export type LexXrpcBody = z.infer; export declare const lexXrpcError: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>; export type LexXrpcError = z.infer; export declare const lexXrpcQuery: z.ZodObject<{ type: z.ZodLiteral<"query">; description: z.ZodOptional; parameters: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional>; properties: z.ZodRecord; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, { items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>]>; }>, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }>, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }>>; output: z.ZodOptional; encoding: z.ZodString; schema: z.ZodOptional; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>]>, z.ZodEffects; description: z.ZodOptional; required: z.ZodOptional>; nullable: z.ZodOptional>; properties: z.ZodRecord; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>]>>; }, "strip", z.ZodTypeAny, { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; }, { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; }>>; errors: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "query"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; }, { type: "query"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; }>; export type LexXrpcQuery = z.infer; export declare const lexXrpcProcedure: z.ZodObject<{ type: z.ZodLiteral<"procedure">; description: z.ZodOptional; parameters: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional>; properties: z.ZodRecord; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, { items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>]>; }>, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }>, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }>>; input: z.ZodOptional; encoding: z.ZodString; schema: z.ZodOptional; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>]>, z.ZodEffects; description: z.ZodOptional; required: z.ZodOptional>; nullable: z.ZodOptional>; properties: z.ZodRecord; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>]>>; }, "strip", z.ZodTypeAny, { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; }, { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; }>>; output: z.ZodOptional; encoding: z.ZodString; schema: z.ZodOptional; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>]>, z.ZodEffects; description: z.ZodOptional; required: z.ZodOptional>; nullable: z.ZodOptional>; properties: z.ZodRecord; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>]>>; }, "strip", z.ZodTypeAny, { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; }, { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; }>>; errors: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "procedure"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; input?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; }, { type: "procedure"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; input?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; }>; export type LexXrpcProcedure = z.infer; export declare const lexXrpcSubscription: z.ZodObject<{ type: z.ZodLiteral<"subscription">; description: z.ZodOptional; parameters: z.ZodOptional; description: z.ZodOptional; required: z.ZodOptional>; properties: z.ZodRecord; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, { items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>]>; }>, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }>, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }, { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; }>>; message: z.ZodObject<{ description: z.ZodOptional; schema: z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }, { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }>; errors: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; }, { name: string; description?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { message: { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }; type: "subscription"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; }, { message: { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }; type: "subscription"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; }>; export type LexXrpcSubscription = z.infer; export declare const lexRecord: z.ZodObject<{ type: z.ZodLiteral<"record">; description: z.ZodOptional; key: z.ZodOptional; record: z.ZodEffects; description: z.ZodOptional; required: z.ZodOptional>; nullable: z.ZodOptional>; properties: z.ZodRecord; description: z.ZodOptional; items: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>; minLength: z.ZodOptional; maxLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"boolean">; description: z.ZodOptional; default: z.ZodOptional; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"integer">; description: z.ZodOptional; default: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }, { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"string">; format: z.ZodOptional>; description: z.ZodOptional; default: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minGraphemes: z.ZodOptional; maxGraphemes: z.ZodOptional; enum: z.ZodOptional>; const: z.ZodOptional; knownValues: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }, { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"unknown">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "unknown"; description?: string | undefined; }, { type: "unknown"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"bytes">; description: z.ZodOptional; maxLength: z.ZodOptional; minLength: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }, { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"cid-link">; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "cid-link"; description?: string | undefined; }, { type: "cid-link"; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"ref">; description: z.ZodOptional; ref: z.ZodString; }, "strip", z.ZodTypeAny, { type: "ref"; ref: string; description?: string | undefined; }, { type: "ref"; ref: string; description?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"union">; description: z.ZodOptional; refs: z.ZodArray; closed: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }, { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"blob">; description: z.ZodOptional; accept: z.ZodOptional>; maxSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }, { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }, { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }>; }, "strip", z.ZodTypeAny, { type: "record"; record: { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }; description?: string | undefined; key?: string | undefined; }, { type: "record"; record: { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }; description?: string | undefined; key?: string | undefined; }>; export type LexRecord = z.infer; export declare const lexUserType: z.ZodType<{ type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; } | { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "token"; description?: string | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | { type: "permission-set"; permissions: ({ type: "permission"; resource: string; } & Record)[]; description?: string | undefined; title?: string | undefined; 'title:lang'?: Record | undefined; detail?: string | undefined; 'detail:lang'?: Record | undefined; } | { type: "query"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "procedure"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; input?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; } | { message: { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }; type: "subscription"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "record"; record: { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }; description?: string | undefined; key?: string | undefined; }, z.ZodTypeDef, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; } | { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "token"; description?: string | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | { type: "permission-set"; permissions: ({ type: "permission"; resource: string; } & Record)[]; description?: string | undefined; title?: string | undefined; 'title:lang'?: Record | undefined; detail?: string | undefined; 'detail:lang'?: Record | undefined; } | { type: "query"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "procedure"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; input?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; } | { message: { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }; type: "subscription"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "record"; record: { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }; description?: string | undefined; key?: string | undefined; }>; export type LexUserType = z.infer; export declare const lexiconDoc: z.ZodEffects; id: z.ZodEffects; revision: z.ZodOptional; description: z.ZodOptional; defs: z.ZodRecord; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | { type: "permission-set"; permissions: ({ type: "permission"; resource: string; } & Record)[]; description?: string | undefined; title?: string | undefined; 'title:lang'?: Record | undefined; detail?: string | undefined; 'detail:lang'?: Record | undefined; } | { type: "query"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "procedure"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; input?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; } | { message: { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }; type: "subscription"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "record"; record: { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }; description?: string | undefined; key?: string | undefined; }, z.ZodTypeDef, { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; } | { type: "array"; items: { type: "boolean"; description?: string | undefined; default?: boolean | undefined; const?: boolean | undefined; } | { type: "integer"; minimum?: number | undefined; maximum?: number | undefined; description?: string | undefined; default?: number | undefined; const?: number | undefined; enum?: number[] | undefined; } | { type: "string"; description?: string | undefined; default?: string | undefined; const?: string | undefined; enum?: string[] | undefined; format?: "cid" | "datetime" | "uri" | "at-uri" | "did" | "handle" | "at-identifier" | "nsid" | "language" | "tid" | "record-key" | undefined; minLength?: number | undefined; maxLength?: number | undefined; minGraphemes?: number | undefined; maxGraphemes?: number | undefined; knownValues?: string[] | undefined; } | { type: "unknown"; description?: string | undefined; } | { type: "bytes"; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "cid-link"; description?: string | undefined; } | { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "blob"; description?: string | undefined; accept?: string[] | undefined; maxSize?: number | undefined; }; description?: string | undefined; minLength?: number | undefined; maxLength?: number | undefined; } | { type: "token"; description?: string | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | { type: "permission-set"; permissions: ({ type: "permission"; resource: string; } & Record)[]; description?: string | undefined; title?: string | undefined; 'title:lang'?: Record | undefined; detail?: string | undefined; 'detail:lang'?: Record | undefined; } | { type: "query"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "procedure"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; input?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; } | { message: { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }; type: "subscription"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "record"; record: { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }; description?: string | undefined; key?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { lexicon: 1; id: `${string}.${string}.${string}`; defs: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | { type: "permission-set"; permissions: ({ type: "permission"; resource: string; } & Record)[]; description?: string | undefined; title?: string | undefined; 'title:lang'?: Record | undefined; detail?: string | undefined; 'detail:lang'?: Record | undefined; } | { type: "query"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "procedure"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; input?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; } | { message: { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }; type: "subscription"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "record"; record: { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }; description?: string | undefined; key?: string | undefined; }>; description?: string | undefined; revision?: number | undefined; }, { lexicon: 1; id: string; defs: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | { type: "permission-set"; permissions: ({ type: "permission"; resource: string; } & Record)[]; description?: string | undefined; title?: string | undefined; 'title:lang'?: Record | undefined; detail?: string | undefined; 'detail:lang'?: Record | undefined; } | { type: "query"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "procedure"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; input?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; } | { message: { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }; type: "subscription"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "record"; record: { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }; description?: string | undefined; key?: string | undefined; }>; description?: string | undefined; revision?: number | undefined; }>, { lexicon: 1; id: `${string}.${string}.${string}`; defs: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | { type: "permission-set"; permissions: ({ type: "permission"; resource: string; } & Record)[]; description?: string | undefined; title?: string | undefined; 'title:lang'?: Record | undefined; detail?: string | undefined; 'detail:lang'?: Record | undefined; } | { type: "query"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "procedure"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; input?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; } | { message: { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }; type: "subscription"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "record"; record: { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }; description?: string | undefined; key?: string | undefined; }>; description?: string | undefined; revision?: number | undefined; }, { lexicon: 1; id: string; defs: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | { type: "permission-set"; permissions: ({ type: "permission"; resource: string; } & Record)[]; description?: string | undefined; title?: string | undefined; 'title:lang'?: Record | undefined; detail?: string | undefined; 'detail:lang'?: Record | undefined; } | { type: "query"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "procedure"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; output?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; input?: { encoding: string; description?: string | undefined; schema?: { type: "ref"; ref: string; description?: string | undefined; } | { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; } | { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; } | undefined; } | undefined; } | { message: { schema: { type: "union"; refs: string[]; description?: string | undefined; closed?: boolean | undefined; }; description?: string | undefined; }; type: "subscription"; description?: string | undefined; parameters?: { type: "params"; properties: Record; description?: string | undefined; required?: string[] | undefined; } | undefined; errors?: { name: string; description?: string | undefined; }[] | undefined; } | { type: "record"; record: { type: "object"; properties: Record; description?: string | undefined; required?: string[] | undefined; nullable?: string[] | undefined; }; description?: string | undefined; key?: string | undefined; }>; description?: string | undefined; revision?: number | undefined; }>; export type LexiconDoc = z.infer; export declare function isValidLexiconDoc(v: unknown): v is LexiconDoc; export declare function isObj(v: V): v is V & object; export type DiscriminatedObject = { $type: string; }; export declare function isDiscriminatedObject(v: unknown): v is DiscriminatedObject; export declare function parseLexiconDoc(v: unknown): LexiconDoc; export type ValidationResult = { success: true; value: V; } | { success: false; error: ValidationError; }; export declare class ValidationError extends Error { } export declare class InvalidLexiconError extends Error { } export declare class LexiconDefNotFoundError extends Error { } export {}; //# sourceMappingURL=types.d.ts.map