@kubb/ast 5.0.0-beta.82 → 5.0.0-beta.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,19 +1,6 @@
1
1
  import { n as __name, t as __exportAll } from "./rolldown-runtime-CNktS9qV.js";
2
- import { $ as importDef, $t as DistributiveOmit, A as ResponseNode, At as ArrowFunctionNode, B as createParameter, Bt as breakDef, C as inputDef, Ct as schemaDef, D as OperationNode, Dt as propertyDef, E as HttpOperationNode, Et as createProperty, F as createRequestBody, Ft as JSDocNode, G as SourceNode, Gt as createFunction, H as ExportNode, Ht as createArrowFunction, I as requestBodyDef, It as JsxNode, J as createFile, Jt as createType, K as UserFileNode, Kt as createJsx, L as ParameterLocation, Lt as TextNode, M as createResponse, Mt as CodeNode, N as responseDef, Nt as ConstNode, O as createOperation, Ot as InferSchemaNode, P as RequestBodyNode, Pt as FunctionNode, Q as fileDef, Qt as typeDef, R as ParameterNode, Rt as TypeNode, S as createInput, St as createSchema, T as HttpMethod, Tt as UserPropertyNode, U as FileNode, Ut as createBreak, V as parameterDef, Vt as constDef, W as ImportNode, Wt as createConst, X as createSource, Xt as jsxDef, Y as createImport, Yt as functionDef, Z as exportDef, Zt as textDef, _ as OutputNode, _t as SchemaType, a as Enforce, an as SchemaDialect, at as DateSchemaNode, b as InputMeta, bt as UnionSchemaNode, c as composeMacros, ct as IntersectionSchemaNode, d as Visitor, dt as PrimitiveSchemaType, en as NodeDef, et as sourceDef, f as VisitorContext, ft as RefSchemaNode, g as Node, gt as SchemaNodeByType, h as walk, ht as SchemaNode, i as createPrinter, in as Dialect, it as ArraySchemaNode, j as StatusCode, jt as BreakNode, k as operationDef, kt as ParserOptions, l as defineMacro, lt as NumberSchemaNode, m as transform, mt as ScalarSchemaType, n as PrinterFactoryOptions, nn as BaseNode, nt as contentDef, o as Macro, on as defineDialect, ot as DatetimeSchemaNode, p as collect, pt as ScalarSchemaNode, q as createExport, qt as createText, r as PrinterPartial, rn as NodeKind, rt as createContent, s as applyMacros, sn as schemaTypes, st as EnumSchemaNode, t as Printer, tn as defineNode, tt as ContentNode, u as ParentOf, ut as ObjectSchemaNode, v as createOutput, vt as StringSchemaNode, w as GenericOperationNode, wt as PropertyNode, x as InputNode, xt as UrlSchemaNode, y as outputDef, yt as TimeSchemaNode, z as ParameterStyle, zt as arrowFunctionDef } from "./types-XcYJovdT.js";
2
+ import { $ as importDef, $t as DistributiveOmit, A as ResponseNode, At as ArrowFunctionNode, B as createParameter, Bt as breakDef, C as inputDef, Ct as schemaDef, D as OperationNode, Dt as propertyDef, E as HttpOperationNode, Et as createProperty, F as createRequestBody, Ft as JSDocNode, G as SourceNode, Gt as createFunction, H as ExportNode, Ht as createArrowFunction, I as requestBodyDef, It as JsxNode, J as createFile, Jt as createType, K as UserFileNode, Kt as createJsx, L as ParameterLocation, Lt as TextNode, M as createResponse, Mt as CodeNode, N as responseDef, Nt as ConstNode, O as createOperation, Ot as InferSchemaNode, P as RequestBodyNode, Pt as FunctionNode, Q as fileDef, Qt as typeDef, R as ParameterNode, Rt as TypeNode, S as createInput, St as createSchema, T as HttpMethod, Tt as UserPropertyNode, U as FileNode, Ut as createBreak, V as parameterDef, Vt as constDef, W as ImportNode, Wt as createConst, X as createSource, Xt as jsxDef, Y as createImport, Yt as functionDef, Z as exportDef, Zt as textDef, _ as OutputNode, _t as SchemaType, a as Enforce, an as SchemaDialect, at as DateSchemaNode, b as InputMeta, bt as UnionSchemaNode, c as composeMacros, ct as IntersectionSchemaNode, d as Visitor, dt as PrimitiveSchemaType, en as NodeDef, et as sourceDef, f as VisitorContext, ft as RefSchemaNode, g as Node, gt as SchemaNodeByType, h as walk, ht as SchemaNode, i as createPrinter, in as Dialect, it as ArraySchemaNode, j as StatusCode, jt as BreakNode, k as operationDef, kt as ParserOptions, l as defineMacro, lt as NumberSchemaNode, m as transform, mt as ScalarSchemaType, n as PrinterFactoryOptions, nn as BaseNode, nt as contentDef, o as Macro, on as defineDialect, ot as DatetimeSchemaNode, p as collect, pt as ScalarSchemaNode, q as createExport, qt as createText, r as PrinterPartial, rn as NodeKind, rt as createContent, s as applyMacros, sn as schemaTypes, st as EnumSchemaNode, t as Printer, tn as defineNode, tt as ContentNode, u as ParentOf, ut as ObjectSchemaNode, v as createOutput, vt as StringSchemaNode, w as GenericOperationNode, wt as PropertyNode, x as InputNode, xt as UrlSchemaNode, y as outputDef, yt as TimeSchemaNode, z as ParameterStyle, zt as arrowFunctionDef } from "./types-BvAfoVB3.js";
3
3
 
4
- //#region ../../internals/utils/src/reserved.d.ts
5
- /**
6
- * Returns `true` when `name` is a syntactically valid JavaScript variable name.
7
- *
8
- * @example
9
- * ```ts
10
- * isValidVarName('status') // true
11
- * isValidVarName('class') // false (reserved word)
12
- * isValidVarName('42foo') // false (starts with digit)
13
- * ```
14
- */
15
- declare function isValidVarName(name: string): boolean;
16
- //#endregion
17
4
  //#region src/guards.d.ts
18
5
  /**
19
6
  * Narrows a `SchemaNode` to the variant that matches `type`.
@@ -44,6 +31,19 @@ declare function isHttpOperationNode(node: OperationNode): node is HttpOperation
44
31
  */
45
32
  declare function optionality(schema: SchemaNode, required: boolean): SchemaNode;
46
33
  //#endregion
34
+ //#region ../../internals/utils/src/reserved.d.ts
35
+ /**
36
+ * Returns `true` when `name` is a syntactically valid JavaScript variable name.
37
+ *
38
+ * @example
39
+ * ```ts
40
+ * isValidVarName('status') // true
41
+ * isValidVarName('class') // false (reserved word)
42
+ * isValidVarName('42foo') // false (starts with digit)
43
+ * ```
44
+ */
45
+ declare function isValidVarName(name: string): boolean;
46
+ //#endregion
47
47
  //#region src/utils/codegen.d.ts
48
48
  /**
49
49
  * Builds a JSDoc comment block from an array of lines. Returns `fallback` when there are no
@@ -108,6 +108,46 @@ declare function buildObject(entries: Array<string>): string;
108
108
  * ```
109
109
  */
110
110
  declare function buildList(items: Array<string>, brackets?: [open: string, close: string]): string;
111
+ /**
112
+ * Emits a lazy getter for a circular-ref property position, `get name() { return body }`. The key
113
+ * is quoted only when it is not a valid identifier. Used by the string printers to defer evaluation
114
+ * of a recursive schema until first access.
115
+ *
116
+ * @example
117
+ * ```ts
118
+ * lazyGetter({ name: 'parent', body: 'z.lazy(() => Pet)' })
119
+ * // "get parent() { return z.lazy(() => Pet) }"
120
+ * ```
121
+ */
122
+ declare function lazyGetter({
123
+ name,
124
+ body
125
+ }: {
126
+ name: string;
127
+ body: string;
128
+ }): string;
129
+ //#endregion
130
+ //#region src/utils/combineFileMembers.d.ts
131
+ /**
132
+ * Deduplicates `SourceNode` objects by `name + isExportable + isTypeOnly`, keeping the first of each
133
+ * key. Unnamed sources fall back to their extracted node strings as the name part of the key. Returns
134
+ * the deduplicated array in original order.
135
+ */
136
+ declare function combineSources(sources: Array<SourceNode>): Array<SourceNode>;
137
+ /**
138
+ * Deduplicates and merges `ExportNode` objects by path and type.
139
+ *
140
+ * Named exports with the same path and `isTypeOnly` flag have their names merged into a single export.
141
+ * Non-array exports are deduplicated by exact identity. Returns a sorted, deduplicated array.
142
+ */
143
+ declare function combineExports(exports: Array<ExportNode>): Array<ExportNode>;
144
+ /**
145
+ * Deduplicates and merges `ImportNode` objects, filtering out unused imports.
146
+ *
147
+ * Retains imports that are referenced in `source` or re-exported. Imports with the same path and
148
+ * `isTypeOnly` flag have their names merged. Returns a sorted, deduplicated, filtered array.
149
+ */
150
+ declare function combineImports(imports: Array<ImportNode>, exports: Array<ExportNode>, source?: string): Array<ImportNode>;
111
151
  //#endregion
112
152
  //#region src/utils/extractStringsFromNodes.d.ts
113
153
  /**
@@ -118,6 +158,19 @@ declare function buildList(items: Array<string>, brackets?: [open: string, close
118
158
  */
119
159
  declare function extractStringsFromNodes(nodes: Array<CodeNode> | undefined): string;
120
160
  //#endregion
161
+ //#region src/utils/mergeAdjacentSchemas.d.ts
162
+ /**
163
+ * Merges a run of adjacent anonymous object members into one. Named or non-object members break the
164
+ * run and pass through unchanged. The merge follows member order, so callers control which members
165
+ * combine by where they place them in the sequence.
166
+ *
167
+ * @example
168
+ * ```ts
169
+ * const merged = [...mergeAdjacentObjectsLazy([objectA, objectB])]
170
+ * ```
171
+ */
172
+ declare function mergeAdjacentObjectsLazy(members: Iterable<SchemaNode>): Generator<SchemaNode, void, undefined>;
173
+ //#endregion
121
174
  //#region src/utils/refs.d.ts
122
175
  /**
123
176
  * Returns the last path segment of a reference string.
@@ -168,92 +221,6 @@ declare function syncSchemaRef(node: SchemaNode): SchemaNode;
168
221
  */
169
222
  declare function isStringType(node: SchemaNode): boolean;
170
223
  //#endregion
171
- //#region src/utils/schemaMerge.d.ts
172
- /**
173
- * Merges a run of adjacent anonymous object members into one. Named or non-object members break the
174
- * run and pass through unchanged. The merge follows member order, so callers control which members
175
- * combine by where they place them in the sequence.
176
- *
177
- * @example
178
- * ```ts
179
- * const merged = [...mergeAdjacentObjectsLazy([objectA, objectB])]
180
- * ```
181
- */
182
- declare function mergeAdjacentObjectsLazy(members: Iterable<SchemaNode>): Generator<SchemaNode, void, undefined>;
183
- //#endregion
184
- //#region src/utils/strings.d.ts
185
- /**
186
- * Strips a single matching pair of `"..."`, `'...'`, or `` `...` `` from both ends of `text`.
187
- * Returns the string unchanged when no balanced quote pair is found.
188
- *
189
- * @example
190
- * ```ts
191
- * trimQuotes('"hello"') // 'hello'
192
- * trimQuotes('hello') // 'hello'
193
- * ```
194
- */
195
- declare function trimQuotes(text: string): string;
196
- /**
197
- * Serializes a primitive to a single-quoted string literal, stripping any surrounding quotes first.
198
- *
199
- * Escaping runs through `JSON.stringify`, then the result switches to single quotes so the generated
200
- * code matches the repo style without a formatter.
201
- *
202
- * @example
203
- * ```ts
204
- * stringify('hello') // "'hello'"
205
- * stringify('"hello"') // "'hello'"
206
- * ```
207
- */
208
- declare function stringify(value: string | number | boolean | undefined): string;
209
- /**
210
- * Escapes characters that are not allowed inside JS string literals, covering quotes, backslashes,
211
- * and the Unicode line terminators U+2028 and U+2029.
212
- *
213
- * @see http://www.ecma-international.org/ecma-262/5.1/#sec-7.8.4
214
- *
215
- * @example
216
- * ```ts
217
- * jsStringEscape('say "hi"\nbye') // 'say \\"hi\\"\\nbye'
218
- * ```
219
- */
220
- declare function jsStringEscape(input: unknown): string;
221
- /**
222
- * Converts a pattern string into a `new RegExp(...)` constructor call or a regex literal string.
223
- * Inline flags expressed as a `^(?im)` prefix are extracted and applied to the resulting expression.
224
- * Pass `null` as the second argument to emit a `/pattern/flags` literal instead.
225
- *
226
- * @example
227
- * ```ts
228
- * toRegExpString('^(?im)foo') // 'new RegExp("^foo", "im")'
229
- * toRegExpString('^(?im)foo', null) // '/^foo/im'
230
- * ```
231
- */
232
- declare function toRegExpString(text: string, func?: string | null): string;
233
- /**
234
- * Renders a plain object as multi-line `key: value` source for embedding in generated code. Nested
235
- * objects recurse with fixed indentation, so the result drops straight into an object literal
236
- * without re-parsing.
237
- *
238
- * @example
239
- * ```ts
240
- * stringifyObject({ foo: 'bar', nested: { a: 1 } })
241
- * // 'foo: bar,\nnested: {\n a: 1\n }'
242
- * ```
243
- */
244
- declare function stringifyObject(value: Record<string, unknown>): string;
245
- /**
246
- * Renders a dotted path or string array as an optional-chaining accessor expression rooted at
247
- * `accessor`. Returns `null` for an empty path.
248
- *
249
- * @example
250
- * ```ts
251
- * getNestedAccessor('pagination.next.id', 'lastPage')
252
- * // "lastPage?.['pagination']?.['next']?.['id']"
253
- * ```
254
- */
255
- declare function getNestedAccessor(param: string | Array<string>, accessor: string): string | null;
256
- //#endregion
257
224
  //#region src/utils/schemaGraph.d.ts
258
225
  /**
259
226
  * Collects the names of all top-level schemas transitively used by a set of operations.
@@ -266,7 +233,7 @@ declare function getNestedAccessor(param: string | Array<string>, accessor: stri
266
233
  *
267
234
  * @example Only generate schemas referenced by included operations
268
235
  * ```ts
269
- * const includedOps = operations.filter((op) => resolver.resolveOptions(op, { options, include }) !== null)
236
+ * const includedOps = operations.filter((op) => resolver.default.options(op, { options, include }) !== null)
270
237
  * const allowed = collectUsedSchemaNames(includedOps, schemas)
271
238
  *
272
239
  * for (const schema of schemas) {
@@ -360,24 +327,79 @@ declare function mapSchemaMembers<TOutput>(node: UnionSchemaNode | IntersectionS
360
327
  * the original item.
361
328
  */
362
329
  declare function mapSchemaItems<TOutput>(node: ArraySchemaNode, transform: SchemaTransform<TOutput>): Array<MappedSchema<TOutput>>;
330
+ //#endregion
331
+ //#region src/utils/strings.d.ts
363
332
  /**
364
- * Emits a lazy getter for a circular-ref property position, `get name() { return body }`. The key
365
- * is quoted only when it is not a valid identifier. Used by the string printers to defer evaluation
366
- * of a recursive schema until first access.
333
+ * Strips a single matching pair of `"..."`, `'...'`, or `` `...` `` from both ends of `text`.
334
+ * Returns the string unchanged when no balanced quote pair is found.
367
335
  *
368
336
  * @example
369
337
  * ```ts
370
- * lazyGetter({ name: 'parent', body: 'z.lazy(() => Pet)' })
371
- * // "get parent() { return z.lazy(() => Pet) }"
338
+ * trimQuotes('"hello"') // 'hello'
339
+ * trimQuotes('hello') // 'hello'
372
340
  * ```
373
341
  */
374
- declare function lazyGetter({
375
- name,
376
- body
377
- }: {
378
- name: string;
379
- body: string;
380
- }): string;
342
+ declare function trimQuotes(text: string): string;
343
+ /**
344
+ * Serializes a primitive to a single-quoted string literal, stripping any surrounding quotes first.
345
+ *
346
+ * Escaping runs through `JSON.stringify`, then the result switches to single quotes so the generated
347
+ * code matches the repo style without a formatter.
348
+ *
349
+ * @example
350
+ * ```ts
351
+ * stringify('hello') // "'hello'"
352
+ * stringify('"hello"') // "'hello'"
353
+ * ```
354
+ */
355
+ declare function stringify(value: string | number | boolean | undefined): string;
356
+ /**
357
+ * Escapes characters that are not allowed inside JS string literals, covering quotes, backslashes,
358
+ * and the Unicode line terminators U+2028 and U+2029.
359
+ *
360
+ * @see http://www.ecma-international.org/ecma-262/5.1/#sec-7.8.4
361
+ *
362
+ * @example
363
+ * ```ts
364
+ * jsStringEscape('say "hi"\nbye') // 'say \\"hi\\"\\nbye'
365
+ * ```
366
+ */
367
+ declare function jsStringEscape(input: unknown): string;
368
+ /**
369
+ * Converts a pattern string into a `new RegExp(...)` constructor call or a regex literal string.
370
+ * Inline flags expressed as a `^(?im)` prefix are extracted and applied to the resulting expression.
371
+ * Pass `null` as the second argument to emit a `/pattern/flags` literal instead.
372
+ *
373
+ * @example
374
+ * ```ts
375
+ * toRegExpString('^(?im)foo') // 'new RegExp("^foo", "im")'
376
+ * toRegExpString('^(?im)foo', null) // '/^foo/im'
377
+ * ```
378
+ */
379
+ declare function toRegExpString(text: string, func?: string | null): string;
380
+ /**
381
+ * Renders a plain object as multi-line `key: value` source for embedding in generated code. Nested
382
+ * objects recurse with fixed indentation, so the result drops straight into an object literal
383
+ * without re-parsing.
384
+ *
385
+ * @example
386
+ * ```ts
387
+ * stringifyObject({ foo: 'bar', nested: { a: 1 } })
388
+ * // 'foo: bar,\nnested: {\n a: 1\n }'
389
+ * ```
390
+ */
391
+ declare function stringifyObject(value: Record<string, unknown>): string;
392
+ /**
393
+ * Renders a dotted path or string array as an optional-chaining accessor expression rooted at
394
+ * `accessor`. Returns `null` for an empty path.
395
+ *
396
+ * @example
397
+ * ```ts
398
+ * getNestedAccessor('pagination.next.id', 'lastPage')
399
+ * // "lastPage?.['pagination']?.['next']?.['id']"
400
+ * ```
401
+ */
402
+ declare function getNestedAccessor(param: string | Array<string>, accessor: string): string | null;
381
403
  //#endregion
382
404
  //#region src/macros/macroDiscriminatorEnum.d.ts
383
405
  type Props$1 = {
@@ -460,7 +482,7 @@ declare function update<T extends Node>(node: T, changes: Partial<T>): T;
460
482
  * Every node definition. Adding a node means adding its `defineNode` to one
461
483
  * `nodes/*.ts` file and listing it here. The visitor tables in `visitor.ts` derive from it.
462
484
  */
463
- declare const nodeDefs: (NodeDef<InputNode<false>, Partial<Omit<InputNode<false>, "kind">>> | NodeDef<OutputNode, Partial<Omit<OutputNode, "kind">>> | NodeDef<RequestBodyNode, Omit<RequestBodyNode, "kind">> | NodeDef<OperationNode, {
485
+ declare const nodeDefs: (NodeDef<InputNode, Partial<Omit<InputNode, "kind">>> | NodeDef<OutputNode, Partial<Omit<OutputNode, "kind">>> | NodeDef<RequestBodyNode, Omit<RequestBodyNode, "kind">> | NodeDef<OperationNode, {
464
486
  [key: string]: unknown;
465
487
  operationId: string;
466
488
  method?: HttpOperationNode["method"];
@@ -529,8 +551,8 @@ declare const nodeDefs: (NodeDef<InputNode<false>, Partial<Omit<InputNode<false>
529
551
  type: "ipv6";
530
552
  }) | ScalarSchemaNode, "kind">> | NodeDef<PropertyNode, UserPropertyNode> | NodeDef<ParameterNode, Pick<ParameterNode, "schema" | "name" | "in"> & Partial<Omit<ParameterNode, "schema" | "kind" | "name" | "in">>> | NodeDef<ConstNode, Omit<ConstNode, "kind">> | NodeDef<TypeNode, Omit<TypeNode, "kind">> | NodeDef<FunctionNode, Omit<FunctionNode, "kind">> | NodeDef<ArrowFunctionNode, Omit<ArrowFunctionNode, "kind">> | NodeDef<TextNode, string> | NodeDef<BreakNode, void> | NodeDef<JsxNode, string> | NodeDef<ImportNode, Omit<ImportNode, "kind">> | NodeDef<ExportNode, Omit<ExportNode, "kind">> | NodeDef<SourceNode, Omit<SourceNode, "kind">> | NodeDef<FileNode<object>, Omit<FileNode<object>, "kind">>)[];
531
553
  declare namespace exports_d_exports {
532
- export { ArraySchemaNode, ArrowFunctionNode, BreakNode, CodeNode, ConstNode, ContentNode, DateSchemaNode, DatetimeSchemaNode, Dialect, DistributiveOmit, Enforce, EnumSchemaNode, ExportNode, FileNode, FunctionNode, GenericOperationNode, HttpMethod, HttpOperationNode, ImportNode, InferSchemaNode, InputMeta, InputNode, IntersectionSchemaNode, JSDocNode, JsxNode, Macro, Node, NodeDef, NodeKind, NumberSchemaNode, ObjectSchemaNode, OperationNode, OutputNode, ParameterLocation, ParameterNode, ParameterStyle, ParentOf, ParserOptions, PrimitiveSchemaType, Printer, PrinterFactoryOptions, PrinterPartial, PropertyNode, RefSchemaNode, RequestBodyNode, ResponseNode, ScalarSchemaNode, ScalarSchemaType, SchemaDialect, SchemaNode, SchemaNodeByType, SchemaType, SourceNode, StatusCode, StringSchemaNode, TextNode, TimeSchemaNode, TypeNode, UnionSchemaNode, UrlSchemaNode, UserFileNode, Visitor, VisitorContext, applyMacros, arrowFunctionDef, breakDef, buildJSDoc, buildList, buildObject, childName, collect, collectUsedSchemaNames, composeMacros, constDef, containsCircularRef, contentDef, createPrinter, defineDialect, defineMacro, defineNode, enumPropName, exportDef, extractRefName, extractStringsFromNodes, factory_d_exports as factory, fileDef, findCircularSchemas, functionDef, getNestedAccessor, importDef, inputDef, isHttpOperationNode, isStringType, isValidVarName, jsStringEscape, jsxDef, lazyGetter, macroDiscriminatorEnum, macroEnumName, macroSimplifyUnion, mapSchemaItems, mapSchemaMembers, mapSchemaProperties, mergeAdjacentObjectsLazy, narrowSchema, nodeDefs, objectKey, operationDef, optionality, outputDef, parameterDef, propertyDef, requestBodyDef, responseDef, schemaDef, schemaTypes, sourceDef, stringify, stringifyObject, syncSchemaRef, textDef, toRegExpString, transform, trimQuotes, typeDef, walk };
554
+ export { ArraySchemaNode, ArrowFunctionNode, BreakNode, CodeNode, ConstNode, ContentNode, DateSchemaNode, DatetimeSchemaNode, Dialect, DistributiveOmit, Enforce, EnumSchemaNode, ExportNode, FileNode, FunctionNode, GenericOperationNode, HttpMethod, HttpOperationNode, ImportNode, InferSchemaNode, InputMeta, InputNode, IntersectionSchemaNode, JSDocNode, JsxNode, Macro, Node, NodeDef, NodeKind, NumberSchemaNode, ObjectSchemaNode, OperationNode, OutputNode, ParameterLocation, ParameterNode, ParameterStyle, ParentOf, ParserOptions, PrimitiveSchemaType, Printer, PrinterFactoryOptions, PrinterPartial, PropertyNode, RefSchemaNode, RequestBodyNode, ResponseNode, ScalarSchemaNode, ScalarSchemaType, SchemaDialect, SchemaNode, SchemaNodeByType, SchemaType, SourceNode, StatusCode, StringSchemaNode, TextNode, TimeSchemaNode, TypeNode, UnionSchemaNode, UrlSchemaNode, UserFileNode, Visitor, VisitorContext, applyMacros, arrowFunctionDef, breakDef, buildJSDoc, buildList, buildObject, childName, collect, collectUsedSchemaNames, combineExports, combineImports, combineSources, composeMacros, constDef, containsCircularRef, contentDef, createPrinter, defineDialect, defineMacro, defineNode, enumPropName, exportDef, extractRefName, extractStringsFromNodes, factory_d_exports as factory, fileDef, findCircularSchemas, functionDef, getNestedAccessor, importDef, inputDef, isHttpOperationNode, isStringType, isValidVarName, jsStringEscape, jsxDef, lazyGetter, macroDiscriminatorEnum, macroEnumName, macroSimplifyUnion, mapSchemaItems, mapSchemaMembers, mapSchemaProperties, mergeAdjacentObjectsLazy, narrowSchema, nodeDefs, objectKey, operationDef, optionality, outputDef, parameterDef, propertyDef, requestBodyDef, responseDef, schemaDef, schemaTypes, sourceDef, stringify, stringifyObject, syncSchemaRef, textDef, toRegExpString, transform, trimQuotes, typeDef, walk };
533
555
  }
534
556
  //#endregion
535
- export { type ArraySchemaNode, type ArrowFunctionNode, type BreakNode, type CodeNode, type ConstNode, type ContentNode, type DateSchemaNode, type DatetimeSchemaNode, type Dialect, type DistributiveOmit, type Enforce, type EnumSchemaNode, type ExportNode, type FileNode, type FunctionNode, type GenericOperationNode, type HttpMethod, type HttpOperationNode, type ImportNode, type InferSchemaNode, type InputMeta, type InputNode, type IntersectionSchemaNode, type JSDocNode, type JsxNode, type Macro, type Node, type NodeDef, type NodeKind, type NumberSchemaNode, type ObjectSchemaNode, type OperationNode, type OutputNode, type ParameterLocation, type ParameterNode, type ParameterStyle, type ParentOf, type ParserOptions, type PrimitiveSchemaType, type Printer, type PrinterFactoryOptions, type PrinterPartial, type PropertyNode, type RefSchemaNode, type RequestBodyNode, type ResponseNode, type ScalarSchemaNode, type ScalarSchemaType, type SchemaDialect, type SchemaNode, type SchemaNodeByType, type SchemaType, type SourceNode, type StatusCode, type StringSchemaNode, type TextNode, type TimeSchemaNode, type TypeNode, type UnionSchemaNode, type UrlSchemaNode, type UserFileNode, type Visitor, type VisitorContext, applyMacros, arrowFunctionDef, exports_d_exports as ast, breakDef, buildJSDoc, buildList, buildObject, childName, collect, collectUsedSchemaNames, composeMacros, constDef, containsCircularRef, contentDef, createPrinter, defineDialect, defineMacro, defineNode, enumPropName, exportDef, extractRefName, extractStringsFromNodes, factory_d_exports as factory, fileDef, findCircularSchemas, functionDef, getNestedAccessor, importDef, inputDef, isHttpOperationNode, isStringType, isValidVarName, jsStringEscape, jsxDef, lazyGetter, macroDiscriminatorEnum, macroEnumName, macroSimplifyUnion, mapSchemaItems, mapSchemaMembers, mapSchemaProperties, mergeAdjacentObjectsLazy, narrowSchema, nodeDefs, objectKey, operationDef, optionality, outputDef, parameterDef, propertyDef, requestBodyDef, responseDef, schemaDef, schemaTypes, sourceDef, stringify, stringifyObject, syncSchemaRef, textDef, toRegExpString, transform, trimQuotes, typeDef, walk };
557
+ export { type ArraySchemaNode, type ArrowFunctionNode, type BreakNode, type CodeNode, type ConstNode, type ContentNode, type DateSchemaNode, type DatetimeSchemaNode, type Dialect, type DistributiveOmit, type Enforce, type EnumSchemaNode, type ExportNode, type FileNode, type FunctionNode, type GenericOperationNode, type HttpMethod, type HttpOperationNode, type ImportNode, type InferSchemaNode, type InputMeta, type InputNode, type IntersectionSchemaNode, type JSDocNode, type JsxNode, type Macro, type Node, type NodeDef, type NodeKind, type NumberSchemaNode, type ObjectSchemaNode, type OperationNode, type OutputNode, type ParameterLocation, type ParameterNode, type ParameterStyle, type ParentOf, type ParserOptions, type PrimitiveSchemaType, type Printer, type PrinterFactoryOptions, type PrinterPartial, type PropertyNode, type RefSchemaNode, type RequestBodyNode, type ResponseNode, type ScalarSchemaNode, type ScalarSchemaType, type SchemaDialect, type SchemaNode, type SchemaNodeByType, type SchemaType, type SourceNode, type StatusCode, type StringSchemaNode, type TextNode, type TimeSchemaNode, type TypeNode, type UnionSchemaNode, type UrlSchemaNode, type UserFileNode, type Visitor, type VisitorContext, applyMacros, arrowFunctionDef, exports_d_exports as ast, breakDef, buildJSDoc, buildList, buildObject, childName, collect, collectUsedSchemaNames, combineExports, combineImports, combineSources, composeMacros, constDef, containsCircularRef, contentDef, createPrinter, defineDialect, defineMacro, defineNode, enumPropName, exportDef, extractRefName, extractStringsFromNodes, factory_d_exports as factory, fileDef, findCircularSchemas, functionDef, getNestedAccessor, importDef, inputDef, isHttpOperationNode, isStringType, isValidVarName, jsStringEscape, jsxDef, lazyGetter, macroDiscriminatorEnum, macroEnumName, macroSimplifyUnion, mapSchemaItems, mapSchemaMembers, mapSchemaProperties, mergeAdjacentObjectsLazy, narrowSchema, nodeDefs, objectKey, operationDef, optionality, outputDef, parameterDef, propertyDef, requestBodyDef, responseDef, schemaDef, schemaTypes, sourceDef, stringify, stringifyObject, syncSchemaRef, textDef, toRegExpString, transform, trimQuotes, typeDef, walk };
536
558
  //# sourceMappingURL=index.d.ts.map