import * as lambda from "../../aws-lambda";
import { Construct } from 'constructs';
import { RestApi, RestApiProps } from './restapi';
/**
 * @experimental
 */
export interface LambdaRestApiProps extends RestApiProps {
    /**
     * (experimental) The default Lambda function that handles all requests from this API.
     *
     * This handler will be used as a the default integration for all methods in
     * this API, unless specified otherwise in `addMethod`.
     *
     * @experimental
     */
    readonly handler: lambda.IFunction;
    /**
     * (experimental) If true, route all requests to the Lambda Function.
     *
     * If set to false, you will need to explicitly define the API model using
     * `addResource` and `addMethod` (or `addProxy`).
     *
     * @default true
     * @experimental
     */
    readonly proxy?: boolean;
}
/**
 * (experimental) Defines an API Gateway REST API with AWS Lambda proxy integration.
 *
 * Use the `proxy` property to define a greedy proxy ("{proxy+}") and "ANY"
 * method from the specified path. If not defined, you will need to explicity
 * add resources and methods to the API.
 *
 * @experimental
 */
export declare class LambdaRestApi extends RestApi {
    /**
     * @experimental
     */
    constructor(scope: Construct, id: string, props: LambdaRestApiProps);
}
