import * as _serverless_typescript from '@serverless/typescript'; import { Events, Layers, HttpRouteConfig } from './types/function.js'; type RouteConfig = HttpRouteConfig; declare const createHandler: (config: RouteConfig, handler: (...args: any[]) => any) => (...args: any[]) => any; declare const getRouteConfigs: () => { name: string; events: Events; layers?: Layers; architecture?: _serverless_typescript.AwsLambdaArchitecture; awsKmsKeyArn?: _serverless_typescript.AwsKmsArn; condition?: _serverless_typescript.AwsResourceCondition; dependsOn?: _serverless_typescript.AwsResourceDependsOn; description?: string; destinations?: { onSuccess?: string | { arn: _serverless_typescript.AwsCfFunction; type: "function" | "sns" | "sqs" | "eventBus"; }; onFailure?: string | { arn: _serverless_typescript.AwsCfFunction; type: "function" | "sns" | "sqs" | "eventBus"; }; }; disableLogs?: boolean; environment?: _serverless_typescript.AwsLambdaEnvironment; ephemeralStorageSize?: number; fileSystemConfig?: { arn: string | _serverless_typescript.AwsCfGetAtt | _serverless_typescript.AwsCfJoin | _serverless_typescript.AwsCfImport; localMountPath: string; }; handler?: string; image?: _serverless_typescript.EcrImageUri | { name?: string; uri?: _serverless_typescript.EcrImageUri; workingDirectory?: string; command?: string[]; entryPoint?: string[]; }; kmsKeyArn?: _serverless_typescript.AwsKmsArn; snapStart?: boolean; logRetentionInDays?: _serverless_typescript.AwsLogRetentionInDays; logDataProtectionPolicy?: _serverless_typescript.AwsLogDataProtectionPolicy; maximumEventAge?: number; maximumRetryAttempts?: number; memorySize?: _serverless_typescript.AwsLambdaMemorySize; onError?: string | _serverless_typescript.AwsCfFunction; package?: { artifact?: string; exclude?: string[]; include?: string[]; individually?: boolean; patterns?: string[]; }; provisionedConcurrency?: number | _serverless_typescript.AwsCfFunction | _serverless_typescript.AwsCfIf; reservedConcurrency?: number | _serverless_typescript.AwsCfFunction | _serverless_typescript.AwsCfIf; role?: _serverless_typescript.AwsLambdaRole; runtime?: _serverless_typescript.AwsLambdaRuntime; runtimeManagement?: _serverless_typescript.AwsLambdaRuntimeManagement; tags?: _serverless_typescript.AwsResourceTags; timeout?: _serverless_typescript.AwsLambdaTimeout; tracing?: _serverless_typescript.AwsLambdaTracing; url?: boolean | { authorizer?: "aws_iam"; cors?: boolean | { allowCredentials?: boolean; allowedHeaders?: string[]; allowedMethods?: string[]; allowedOrigins?: string[]; exposedResponseHeaders?: string[]; maxAge?: number; }; invokeMode?: "BUFFERED" | "RESPONSE_STREAM"; }; versionFunction?: _serverless_typescript.AwsLambdaVersioning; vpc?: _serverless_typescript.AwsLambdaVpcConfig; httpApi?: { payload?: _serverless_typescript.AwsHttpApiPayload; }; context: string; handlerRoutePath: string; }[]; export { createHandler, getRouteConfigs };