import { Context } from 'aws-lambda'; export interface IHandlerOptions { returnRawResponse?: boolean; } export declare type InnerHandler = (event: any, context?: Context) => Promise; /** * @param options - Either pass options or the handler function * @param options.returnRawResponse - If true the it doesn't apply the successResponse wrapper * @param handler - The lambda function handler */ export default function handlerWrap(handler: InnerHandler, options?: IHandlerOptions): (event: any, context: Context) => Promise; //# sourceMappingURL=handler-wrap.d.ts.map