import { ReferenceObject } from 'openapi3-ts/oas31'; import { L as LibSchemaObject, O as OpenapiSchemaConvertContext, B as BoxFactory, S as StringOrBox, m as mapOpenApiEndpoints, N as NameTransformOptions, a as OpenapiSchemaConvertArgs, b as Box, A as AnyBoxDef } from './types-DjwHsNyZ.js'; export { c as AnyBox, d as BoxArray, e as BoxDefinition, f as BoxIntersection, g as BoxKeyword, h as BoxLiteral, i as BoxObject, j as BoxOptional, k as BoxParams, l as BoxRef, n as BoxUnion, E as Endpoint, o as EndpointParameters, F as FactoryCreator, G as GenericFactory, M as Method, R as RefInfo, p as RefResolver, W as WithSchema, q as createRefResolver } from './types-DjwHsNyZ.js'; import * as arktype_internal_variants_string_ts from 'arktype/internal/variants/string.ts'; import * as Codegen from '@sinclair/typebox-codegen'; import 'openapi3-ts/oas30'; declare const unwrap: (param: StringOrBox) => string; declare const createFactory: (f: T) => T; /** * Create a box-factory using your schema provider and automatically add the input schema to each box. */ declare const createBoxFactory: (schema: LibSchemaObject | ReferenceObject, ctx: OpenapiSchemaConvertContext) => BoxFactory; type GeneratorOptions$1 = ReturnType & { runtime?: "none" | keyof typeof runtimeValidationGenerator; schemasOnly?: boolean; nameTransform?: NameTransformOptions | undefined; successStatusCodes?: readonly number[]; errorStatusCodes?: readonly number[]; includeClient?: boolean; jsdoc?: boolean; }; declare const allowedRuntimes: arktype_internal_variants_string_ts.StringType<"none" | "arktype" | "io-ts" | "typebox" | "valibot" | "yup" | "zod", {}>; type OutputRuntime = typeof allowedRuntimes.infer; declare const runtimeValidationGenerator: { arktype: typeof Codegen.ModelToArkType.Generate; "io-ts": typeof Codegen.ModelToIoTs.Generate; typebox: typeof Codegen.ModelToTypeBox.Generate; valibot: typeof Codegen.ModelToValibot.Generate; yup: typeof Codegen.ModelToYup.Generate; zod: typeof Codegen.ModelToZod.Generate; }; declare const generateFile: (options: GeneratorOptions$1) => string; type GeneratorOptions = ReturnType; type GeneratorContext = Required & { errorStatusCodes?: readonly number[]; }; declare const generateTanstackQueryFile: (ctx: GeneratorContext & { relativeApiClientPath: string; }) => Promise; declare const openApiSchemaToTs: ({ schema, meta: _inheritedMeta, ctx }: OpenapiSchemaConvertArgs) => Box; declare const tsFactory: { union: (types: StringOrBox[]) => string; intersection: (types: StringOrBox[]) => string; array: (type: StringOrBox) => string; optional: (type: StringOrBox) => string; reference: (name: string, typeArgs: StringOrBox[] | undefined) => string; literal: (value: StringOrBox) => string; string: () => "string"; number: () => "number"; boolean: () => "boolean"; unknown: () => "unknown"; any: () => "any"; never: () => "never"; object: (props: Record) => string; }; export { AnyBoxDef, BoxFactory, LibSchemaObject, NameTransformOptions, OpenapiSchemaConvertArgs, OpenapiSchemaConvertContext, type OutputRuntime, StringOrBox, createBoxFactory, createFactory, generateFile, generateTanstackQueryFile, mapOpenApiEndpoints, openApiSchemaToTs, tsFactory, unwrap };