import type { Config } from './getConfig'; import { type PropOption } from './getPropOptions'; export type HasParamsDict = Record; export type MiddlewareDict = Record; export type MethodInfo = { name: string; hasHeaders: boolean; query: { isOptional: boolean; props: PropOption[]; } | null; body: { isFormData: true; isUrlEncoded: false; data: PropOption[]; } | { isUrlEncoded: true; isFormData: false; data: PropOption[]; } | { isFormData: false; isUrlEncoded: false; type: 'text' | 'json' | 'arrayBuffer' | 'blob'; } | null; res: { status: string; hasHeaders: boolean; body: { type: 'text' | 'json' | 'arrayBuffer' | 'blob'; } | null; }[] | undefined; }; export type DirSpec = { dirPath: string; spec: { param: PropOption | null; methods: MethodInfo[]; }; }; export declare const generate: ({ appDir, basePath }: Config) => Promise; //# sourceMappingURL=generate.d.ts.map