/** * Use global variables to determine whether the container cold started * and if the start was proactively initialized * On the first container run, isColdStartSet and functionDidColdStart are true * For subsequent executions isColdStartSet will be true and functionDidColdStart will be false */ export declare function setSandboxInit(initTime: number, invocationStartTime: number): void; export declare function didFunctionColdStart(): boolean; export declare function isProactiveInitialization(): boolean; export declare function getSandboxInitTags(): string[]; /** * Checks if the Lambda function is running in managed instances mode. * In managed instances mode, we should not create cold start tracing spans * as the tracer library handles this independently. * @returns true if running in managed instances mode, false otherwise */ export declare function isManagedInstancesMode(): boolean; /** * Checks if the Lambda function is running with provisioned concurrency. * With provisioned concurrency, containers are pre-warmed before invocations, * so the gap between initialization and invocation can be very large (minutes or hours). * Cold start spans created from pre-warm module load times would have inflated durations * and are not useful in the context of the actual invocation. * @returns true if running with provisioned concurrency, false otherwise */ export declare function isProvisionedConcurrency(): boolean; export declare function _resetColdStart(): void; //# sourceMappingURL=cold-start.d.ts.map