import { z } from 'zod'; export declare const JsonSchemaTypeSchema: z.ZodEnum<{ array: "array"; boolean: "boolean"; integer: "integer"; null: "null"; number: "number"; object: "object"; string: "string"; }>; export type JsonSchemaType = z.infer; export interface ShapeNode { name?: string | undefined; type: string; jsonTypes?: JsonSchemaType[] | undefined; required?: boolean | undefined; description?: string | undefined; enum?: string[] | undefined; itemEnum?: string[] | undefined; default?: string | number | boolean | undefined; format?: string | undefined; example?: string | number | boolean | undefined; nullable?: boolean | undefined; minimum?: number | undefined; maximum?: number | undefined; exclusiveMinimum?: number | undefined; exclusiveMaximum?: number | undefined; minLength?: number | undefined; maxLength?: number | undefined; minItems?: number | undefined; maxItems?: number | undefined; maxProperties?: number | undefined; uniqueItems?: boolean | undefined; pattern?: string | undefined; fields?: ShapeNode[] | undefined; items?: ShapeNode | undefined; additionalProperties?: boolean | ShapeNode | undefined; variants?: ShapeNode[] | undefined; } export declare const ShapeNodeSchema: z.ZodType; /** * The metadata / constraint keys a `ShapeNode` carries beyond its structural * identity (`name`/`type`/`required`), its `description`, and its sub-shape * (`fields`/`items`/`variants`). Derived from `ShapeNode`, so adding a constraint * field to the interface automatically widens this union. The in-app docs * renderer uses the union to require a label for every metadata key. */ export type ShapeMetaKey = Exclude; /** * A node's present metadata as ordered `[key, value]` pairs for the in-app docs * renderer. Value normalization lives here: `enum`/`itemEnum` stay arrays for the * consumer to join, the exclusive bounds carry their `>`/`<` prefix, `nullable` * is the bare flag, and every other present key is its raw scalar. Absent keys * (and a `false` `nullable`) are omitted. */ export declare function shapeMetaEntries(node: ShapeNode): Array; export declare const NamedShapeNodeSchema: z.ZodObject<{ type: z.ZodString; jsonTypes: z.ZodOptional>>; description: z.ZodOptional; enum: z.ZodOptional>; itemEnum: z.ZodOptional>; default: z.ZodOptional>; format: z.ZodOptional; example: z.ZodOptional>; nullable: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; exclusiveMinimum: z.ZodOptional; exclusiveMaximum: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minItems: z.ZodOptional; maxItems: z.ZodOptional; maxProperties: z.ZodOptional; uniqueItems: z.ZodOptional; pattern: z.ZodOptional; fields: z.ZodOptional>>>>; items: z.ZodOptional>>>; additionalProperties: z.ZodOptional>>]>>; variants: z.ZodOptional>>>>; name: z.ZodString; required: z.ZodBoolean; }, z.core.$strict>; export type NamedShapeNode = z.infer; export declare const SdkParamSchema: z.ZodObject<{ type: z.ZodString; jsonTypes: z.ZodOptional>>; description: z.ZodOptional; enum: z.ZodOptional>; itemEnum: z.ZodOptional>; default: z.ZodOptional>; format: z.ZodOptional; example: z.ZodOptional>; nullable: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; exclusiveMinimum: z.ZodOptional; exclusiveMaximum: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minItems: z.ZodOptional; maxItems: z.ZodOptional; maxProperties: z.ZodOptional; uniqueItems: z.ZodOptional; pattern: z.ZodOptional; fields: z.ZodOptional>>>>; items: z.ZodOptional>>>; additionalProperties: z.ZodOptional>>]>>; variants: z.ZodOptional>>>>; name: z.ZodString; required: z.ZodBoolean; in: z.ZodEnum<{ body: "body"; header: "header"; path: "path"; query: "query"; }>; }, z.core.$strict>; export type SdkParam = z.infer; export declare const RequestBodyProjectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"fields">; shape: z.ZodType>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"whole">; shape: z.ZodType>; }, z.core.$strict>], "kind">; export type RequestBodyProjection = z.infer; export declare const SdkReferenceEntrySchema: z.ZodObject<{ operationId: z.ZodString; tag: z.ZodString; callPath: z.ZodArray; namespace: z.ZodString; method: z.ZodString; bodyKey: z.ZodOptional; requestBodyRequired: z.ZodOptional; requestMediaTypes: z.ZodOptional>; requestBody: z.ZodOptional; shape: z.ZodType>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"whole">; shape: z.ZodType>; }, z.core.$strict>], "kind">>; signature: z.ZodString; example: z.ZodString; cliInvocation: z.ZodString; cliExample: z.ZodString; curlExample: z.ZodString; summary: z.ZodString; description: z.ZodOptional; httpMethod: z.ZodEnum<{ delete: "delete"; get: "get"; patch: "patch"; post: "post"; put: "put"; }>; path: z.ZodString; requiredPermissions: z.ZodOptional>; cliOutputField: z.ZodOptional; params: z.ZodArray>>; description: z.ZodOptional; enum: z.ZodOptional>; itemEnum: z.ZodOptional>; default: z.ZodOptional>; format: z.ZodOptional; example: z.ZodOptional>; nullable: z.ZodOptional; minimum: z.ZodOptional; maximum: z.ZodOptional; exclusiveMinimum: z.ZodOptional; exclusiveMaximum: z.ZodOptional; minLength: z.ZodOptional; maxLength: z.ZodOptional; minItems: z.ZodOptional; maxItems: z.ZodOptional; maxProperties: z.ZodOptional; uniqueItems: z.ZodOptional; pattern: z.ZodOptional; fields: z.ZodOptional>>>>; items: z.ZodOptional>>>; additionalProperties: z.ZodOptional>>]>>; variants: z.ZodOptional>>>>; name: z.ZodString; required: z.ZodBoolean; in: z.ZodEnum<{ body: "body"; header: "header"; path: "path"; query: "query"; }>; }, z.core.$strict>>; response: z.ZodOptional>>; responseMediaType: z.ZodOptional; }, z.core.$strict>; export type SdkReferenceEntry = z.infer;