import * as apigateway from "@aws-cdk/aws-apigateway"; import { Stack } from '@aws-cdk/core'; import Function from '../function'; declare class APIGateway { readonly gateway: apigateway.RestApi; constructor({ scope, id, name }: { scope: Stack; id: string; name: string; }); addMethod(method: string, f: Function): void; get(): apigateway.RestApi; } export default APIGateway;