21 lines
469 B
TypeScript

export declare enum HttpClient {
FETCH = 'fetch',
XHR = 'xhr',
NODE = 'node',
}
export interface Options {
input: string | Record<string, any>;
output: string;
httpClient?: HttpClient;
useOptions?: boolean;
useUnionTypes?: boolean;
exportCore?: boolean;
exportServices?: boolean;
exportModels?: boolean;
exportSchemas?: boolean;
write?: boolean;
}
export declare function generate(options: Options): Promise<void>;