import { InstrumentationBase, InstrumentationConfig } from '@opentelemetry/instrumentation'; export interface PgInstrumentationConfig extends InstrumentationConfig { /** * If true, additional information about query parameters and * results will be attached (as `attributes`) to spans representing * database operations. */ enhancedDatabaseReporting?: boolean; } export declare class PgInstrumentation extends InstrumentationBase { static readonly COMPONENT = "pg"; static readonly DB_TYPE = "sql"; static readonly BASE_SPAN_NAME: string; constructor(config?: PgInstrumentationConfig); protected init(): any[]; private _getClientQueryPatch; private _getPoolConnectPatch; }