import { type Instrumentation } from "@opentelemetry/instrumentation"; import { type InstrumentationConfigMap } from "@solarwinds-apm/instrumentations/web"; import * as v from "valibot"; declare global { var SW_APM_ENABLED: Config["serviceKey"]; var SW_APM_SERVICE_KEY: Config["serviceKey"]; var SW_APM_COLLECTOR: Config["collector"]; var SW_APM_LOG_LEVEL: Config["logLevel"]; var SW_APM_TRACING_MODE: Config["tracingMode"]; var SW_APM_EXPORT_LOGS_ENABLED: Config["exportLogsEnabled"]; var SW_APM_INSTRUMENTATIONS: Config["instrumentations"]; } export type Configuration = v.InferOutput; export interface Config extends v.InferInput { instrumentations?: Instrumentations; } interface Instrumentations { configs?: InstrumentationConfigMap; extra?: Instrumentation[]; } declare const schema: v.IntersectSchema<[v.SchemaWithPipe, v.SchemaWithPipe, v.TransformAction<"0" | "1" | "true" | "false", boolean>]>], undefined>, true>; readonly serviceKey: v.SchemaWithPipe, v.RegexAction, v.TransformAction]> | v.OptionalSchema, v.RegexAction, v.TransformAction]>, string>; readonly collector: v.OptionalSchema, v.SchemaWithPipe, v.RawTransformAction]>], undefined>, "apm.collector.na-01.cloud.solarwinds.com">; readonly logLevel: v.OptionalSchema, v.TransformAction<"all" | "verbose" | "debug" | "info" | "warn" | "error" | "none", import("@opentelemetry/api").DiagLogLevel>]>, "warn">; readonly tracingMode: v.OptionalSchema, v.TransformAction<"enabled" | "disabled", boolean>]>, undefined>; readonly triggerTraceEnabled: v.OptionalSchema, v.SchemaWithPipe, v.TransformAction<"0" | "1" | "true" | "false", boolean>]>], undefined>, boolean>; readonly exportLogsEnabled: v.OptionalSchema, v.SchemaWithPipe, v.TransformAction<"0" | "1" | "true" | "false", boolean>]>], undefined>, false>; readonly transactionName: v.OptionalSchema, v.TransformAction string>]>, v.SchemaWithPipe string | undefined, undefined>, v.TransformAction<(span: import("@opentelemetry/sdk-trace-base").ReadableSpan) => string | undefined, (span: import("@opentelemetry/sdk-trace-base").ReadableSpan) => string | undefined>]>, v.SchemaWithPipe; readonly delimiter: v.StringSchema; readonly attributes: v.SchemaWithPipe, undefined>, v.MinLengthAction]>; }, undefined>, undefined>, v.TransformAction<{ scheme: "spanAttribute"; delimiter: string; attributes: string[]; }[], (span: import("@opentelemetry/sdk-trace-base").ReadableSpan) => string | undefined>]>], undefined>, undefined>; readonly transactionSettings: v.OptionalSchema, v.TransformAction<"enabled" | "disabled", boolean>]>; readonly regex: v.UnionSchema<[v.InstanceSchema, v.SchemaWithPipe, v.RawTransformAction]>], undefined>; }, undefined>, v.TransformAction<{ tracing: boolean; regex: RegExp; }, { tracing: boolean; matcher: (ident: string) => boolean; }>]>, v.SchemaWithPipe, v.TransformAction<"enabled" | "disabled", boolean>]>; readonly matcher: v.CustomSchema<(ident: string) => boolean, undefined>; }, undefined>, v.TransformAction<{ tracing: boolean; matcher: (ident: string) => boolean; }, { tracing: boolean; matcher: (ident: string) => boolean; }>]>], undefined>, undefined>, undefined>; }, undefined>, v.TransformAction<{ enabled: boolean; serviceKey: { token: string | undefined; name: string; }; collector: URL; logLevel: import("@opentelemetry/api").DiagLogLevel; tracingMode?: boolean | undefined; triggerTraceEnabled: boolean; exportLogsEnabled: boolean; transactionName?: (() => string) | ((span: import("@opentelemetry/sdk-trace-base").ReadableSpan) => string | undefined) | ((span: import("@opentelemetry/sdk-trace-base").ReadableSpan) => string | undefined) | undefined; transactionSettings?: ({ tracing: boolean; matcher: (ident: string) => boolean; } | { tracing: boolean; matcher: (ident: string) => boolean; })[] | undefined; }, import("../shared/config.js").Configuration>]>, v.SchemaWithPipe, v.UnknownSchema, undefined>, {}>; readonly extra: v.OptionalSchema, readonly []>; }, undefined>, {}>; }, undefined>, v.TransformAction<{ instrumentations: { configs: { [x: string]: unknown; }; extra: unknown[]; }; }, { instrumentations: Required; }>]>], undefined>; export declare function read(): Configuration; export {}; //# sourceMappingURL=config.d.ts.map