import Service from "serverless/classes/Service"; import { ExtendedFunctionDefinition, FunctionInfo } from "./layer"; export type AppSecMode = "off" | "on" | "tracer" | "extension"; export interface Configuration { enabled?: boolean; addLayers: boolean; apiKey?: string; appKey?: string; monitorsApiKey?: string; monitorsAppKey?: string; apiKeySecretArn?: string; apiKeySsmArn?: string; apiKMSKey?: string; captureLambdaPayload?: boolean; site: string; subdomain: string; logLevel: string | undefined; flushMetricsToLogs: boolean; enableXrayTracing: boolean; enableDDTracing: boolean; appSecMode?: AppSecMode; enableASM?: boolean; enableDDLogs: boolean; enableProfiling?: boolean; addExtension: boolean; forwarderArn?: string; forwarder?: string; testingMode?: boolean; integrationTesting?: boolean; enableTags: boolean; injectLogContext: boolean; enableSourceCodeIntegration: boolean; uploadGitMetadata: boolean; exclude: string[]; monitors?: Record>[]; failOnError: boolean; subscribeToAccessLogs: boolean; subscribeToExecutionLogs: boolean; subscribeToStepFunctionLogs: boolean; skipCloudformationOutputs: boolean; customHandler?: string; enableColdStartTracing?: boolean; minColdStartTraceDuration?: number; coldStartTraceSkipLibs?: string; encodeAuthorizerContext?: boolean; decodeAuthorizerContext?: boolean; apmFlushDeadline?: string | number; useLayersFromAccount?: string; enableStepFunctionsTracing?: boolean; mergeStepFunctionAndLambdaTraces?: boolean; propagateTraceContext?: boolean; propagateUpstreamTrace?: boolean; redirectHandlers?: boolean; isFIPSEnabled?: boolean; llmObsEnabled?: boolean; llmObsMlApp?: string; llmObsAgentlessEnabled?: boolean; } export declare const ddServiceEnvVar = "DD_SERVICE"; export declare const ddEnvEnvVar = "DD_ENV"; export declare const ddVersionEnvVar = "DD_VERSION"; export declare const ddTagsEnvVar = "DD_TAGS"; export declare const defaultConfiguration: Configuration; export declare function setEnvConfiguration(config: Configuration, handlers: FunctionInfo[]): void; export declare function setSourceCodeIntegrationEnvVar(handler: ExtendedFunctionDefinition, gitHash: string, gitRemote: string): void; export declare function getConfig(service: Service): Configuration; export declare function forceExcludeDepsFromWebpack(service: Service): void; export declare function hasWebpackPlugin(service: Service): boolean; //# sourceMappingURL=env.d.ts.map