import { RouterConfig } from './router-config';
import { AuthorizerFunction } from './authorizer-function';
import { HandlerFunction } from './handler-function';
import { OpenApiConvertOptions } from './open-api-convert-options';
import { ErrorProcessorFunction } from './error-processor-function';
import { APIGatewayEvent, ProxyResult } from 'aws-lambda';
/**
 * Endpoints about the api itself
 */
export declare class RouterUtil {
    static readonly DEFAULT_REFLECTIVE_CORS_OPTION_HANDLER: HandlerFunction<ProxyResult>;
    private constructor();
    static openApiYamlToRouterConfig(yamlString: string, handlers: Map<string, HandlerFunction<any>>, authorizers: Map<string, AuthorizerFunction>, options?: OpenApiConvertOptions, errorProcessor?: ErrorProcessorFunction, defaultTimeoutMS?: number, customTimeouts?: Map<string, number>, inCorsHandler?: HandlerFunction<any>): RouterConfig;
    private static findAndValidateModelName;
    static openApiPathToRouteParserPath(input: string): string;
    static createDefaultOpenApiConvertOptions(): OpenApiConvertOptions;
    static buildCorsResponse(allowedOrigins?: string, allowedMethods?: string, allowedHeaders?: string, body?: string, statusCode?: number): ProxyResult;
    static buildCorsResponseForRouterConfig(cfg: RouterConfig): ProxyResult;
    static defaultReflectiveCorsOptionsFunction(evt: APIGatewayEvent): ProxyResult;
}
