import { PoveryMiddleware } from "./models"; interface PoveryFn { middlewares: PoveryMiddleware[]; load: (controller: any) => (event: any, context: any) => Promise; clean: () => void; withAuth: () => PoveryFn; use: (middleware: any) => PoveryFn; } export declare function forAwsEvent(): { setup: (event: any, context: any) => Promise; }; export declare function runNewExecutionContext(fn: any, defaultContext?: null | Map): unknown; /** * Recursively sanitizes an object or array to prevent XSS attacks * @param obj The object or array to sanitize * @returns A sanitized copy of the input */ export declare function recursiveXssSanitize(obj: any): any; export declare function isRPC(event: any, context: any): boolean; export declare const povery: PoveryFn; export {};