import { ICommandInstance } from '@midwayjs/command-core'; import { GeneratorSharedOptions, SLSType } from '../utils'; export interface ServerlessOptions extends Omit { /** * @description Identifier for function class */ class: string; /** * @description Serverless function type * @value faas */ type: SLSType; /** * @description Use http trigger(faas only) * @value true */ http: boolean; /** * @description Use event trigger(faas only) * @value false */ event: boolean; /** * @description Use gateway trigger(faas only) * @value false */ gateway: boolean; /** * @description Use timer trigger(faas only) * @value false */ timer: boolean; /** * @description Use oss trigger(faas only) * @value false */ oss: boolean; } export declare const mountServerlessCommand: () => ICommandInstance; export default function serverlessHandler(...args: unknown[]): Promise; //# sourceMappingURL=serverless.handler.d.ts.map