import { ICoreInstance } from '@midwayjs/command-core'; export declare enum AvailableInternalGenerator { Controller = "Controller", Debug = "Debug", Service = "Service", Middleware = "Middleware", Serverless = "Serverless" } export declare enum AvailableExternalGenerator { Axios = "Axios", Cache = "Cache", ORM = "ORM", OSS = "OSS", Prisma = "Prisma", Swagger = "Swagger", WebSocket = "WebSocket" } export type GeneratorCoreWrapperArgs, ExtraTypeArgs = void> = ExtraTypeArgs extends void ? { core: ICoreInstance; options: GeneratorOptions; } : { core: ICoreInstance; options: GeneratorOptions; type: ExtraTypeArgs; }; export type InferFuncUniqueArgType>(args: A) => Promise> = T extends (args: infer R) => Promise ? R : never; export type RequiredGeneratorCoreFuncStruct = >(args: A) => Promise; export type InferCoreFuncArgGenericType = T extends (args: GeneratorCoreWrapperArgs) => Promise ? R : never; export type InferWrapperOptionParam = T extends GeneratorCoreWrapperArgs ? R : void; export type InferWrapperTypeParam = T extends GeneratorCoreWrapperArgs ? R : void; //# sourceMappingURL=utils.d.ts.map