typed-openapi
Version:
15 lines (11 loc) • 616 B
TypeScript
import { Options } from 'prettier';
import * as arktype_internal_methods_object_ts from 'arktype/internal/methods/object.ts';
declare const prettify: (str: string, options?: Options | null) => string | Promise<string>;
declare const optionsSchema: arktype_internal_methods_object_ts.ObjectType<{
runtime: "none" | "arktype" | "io-ts" | "typebox" | "valibot" | "yup" | "zod";
tanstack: string | boolean;
schemasOnly: boolean;
output?: string;
}, {}>;
declare function generateClientFiles(input: string, options: typeof optionsSchema.infer): Promise<void>;
export { generateClientFiles, prettify };