import type { OpenAPIObject } from "openapi3-ts"; import type { Options } from "prettier"; import { getHandlebars } from "./getHandlebars"; import type { TemplateContext } from "./template-context"; type GenerateZodClientFromOpenApiArgs = { openApiDoc: OpenAPIObject; templatePath?: string; prettierConfig?: Options | null; options?: TOptions; handlebars?: ReturnType; } & ({ distPath?: never; /** when true, will only return the result rather than writing it to a file, mostly used for easier testing purpose */ disableWriteToFile: true; } | { distPath: string; disableWriteToFile?: false; }); export declare const generateZodClientFromOpenAPI: ({ openApiDoc, distPath, templatePath, prettierConfig, options, disableWriteToFile, handlebars, }: GenerateZodClientFromOpenApiArgs) => Promise : string>; export {};