import { IExecOpts } from './internal/execCommon'; declare type IServerlessArgs = Record; export interface IServerlessCommand extends IExecOpts { proj: string; stage: string; region?: string; command: string; args?: IServerlessArgs; } declare const task: ({ proj, stage, region, command, args, env, ...options }: IServerlessCommand) => Promise; declare type IFixedServerlessOptions = Pick; declare type ICurriedServerlessOptions = Pick>; export declare const taskFactory: (fixedOptions: IFixedServerlessOptions) => (options: ICurriedServerlessOptions) => Promise; export default task;