export declare enum HttpClient { FETCH = "fetch", XHR = "xhr" } export interface Options { input: string | Record; output: string; httpClient?: HttpClient; useOptions?: boolean; useUnionTypes?: boolean; exportServices?: boolean; exportSchemas?: boolean; write?: boolean; } /** * Generate the OpenAPI client. This method will read the OpenAPI specification and based on the * given language it will generate the client, including the typed models, validation schemas, * service layer, etc. * @param input The relative location of the OpenAPI spec. * @param output The relative location of the output directory. * @param httpClient The selected httpClient (fetch or XHR). * @param useOptions Use options or arguments functions. * @param useUnionTypes Use inclusive union types. * @param exportServices: Generate services. * @param exportSchemas: Generate schemas. * @param write Write the files to disk (true or false). */ export declare function generate({ input, output, httpClient, useOptions, useUnionTypes, exportServices, exportSchemas, write }: Options): void;