import type { Client } from '../client/interfaces/Client'; import type { HttpClient } from '../HttpClient'; import type { Indent } from '../Indent'; import type { Templates } from './registerHandlebarTemplates'; /** * Write our OpenAPI client, using the given templates at the given output * @param client Client object with all the models, services, etc. * @param templates Templates wrapper with all loaded Handlebars templates * @param output The relative location of the output directory * @param httpClient The selected httpClient (fetch, xhr, node or axios) * @param useOptions Use options or arguments functions * @param useUnionTypes Use union types instead of enums * @param exportCore Generate core client classes * @param exportServices Generate services * @param exportModels Generate models * @param exportSchemas Generate schemas * @param exportSchemas Generate schemas * @param indent Indentation options (4, 2 or tab) * @param postfixServices Service name postfix * @param postfixModels Model name postfix * @param clientName Custom client class name * @param request Path to custom request file */ export declare const writeClient: (client: Client, templates: Templates, output: string, httpClient: HttpClient, useOptions: boolean, useUnionTypes: boolean, exportCore: boolean, exportServices: boolean, exportModels: boolean, exportSchemas: boolean, indent: Indent, postfixServices: string, postfixModels: string, clientName?: string | undefined, request?: string | undefined) => Promise;