import { OpenAPI3 } from 'openapi-typescript'; import * as pj from 'projen'; export interface RestApiOptions { readonly apiName: string; readonly definitionFile: string; } export declare class RestApi extends pj.Component { protected options: RestApiOptions; constructor(app: pj.awscdk.AwsCdkTypeScriptApp, options: RestApiOptions); protected createConstructFile(fileName: string): void; protected addRestResource(apiSpec: OpenAPI3, path: string, method: string): void; protected createEntryFile(entryFile: string, method: string, operationId: string): void; }