import { type TextMapPropagator } from "@opentelemetry/api"; import { type InstrumentationConfig } from "@opentelemetry/instrumentation"; import { type SwConfiguration } from "../config"; import * as awsLambda from "./aws-lambda"; import * as awsSdk from "./aws-sdk"; import * as bunyan from "./bunyan"; import * as fs from "./fs"; import * as http from "./http"; import * as mysql2 from "./mysql2"; import * as pg from "./pg"; import * as pino from "./pino"; import * as winston from "./winston"; export interface SwPatchesConfiguration extends SwConfiguration { responsePropagator: TextMapPropagator; } export type Patch = (config: Config, options: SwPatchesConfiguration) => Config; export declare const RESOURCE_SERVICE_NAME = "resource.service.name"; declare const patches: { readonly "aws-lambda": typeof awsLambda; readonly "aws-sdk": typeof awsSdk; readonly bunyan: typeof bunyan; readonly fs: typeof fs; readonly http: typeof http; readonly mysql2: typeof mysql2; readonly pg: typeof pg; readonly pino: typeof pino; readonly winston: typeof winston; }; type Patches = typeof patches; type PatchableConfigs = { [Module in keyof Patches as `@opentelemetry/instrumentation-${Module}`]?: Patches[Module] extends { patch: Patch; } ? Config : never; }; export declare function patch(configs: PatchableConfigs, options: SwPatchesConfiguration): PatchableConfigs; export {}; //# sourceMappingURL=index.d.ts.map