import { Container } from './index'; import * as cdk from '@aws-cdk/core'; import APIGateway from "./infrastructure/api-gateway"; declare type Opts = { type: string; stage: string; service: string; }; export declare function http(path: string, methods: string[]): (target: App, propertyKey: string, descriptor: PropertyDescriptor) => void; declare type HandlerOpts = { path: string; methods: string[]; }; export declare class App { gw?: APIGateway; readonly app: cdk.App; readonly stack: cdk.Stack; readonly opts: Opts; readonly container: Container; constructor(container: Container, opts: Opts); registerHandler(name: string, handler: string): (opts: HandlerOpts) => void; deploy(): void; } export default App;