import { OTLPExporterBrowserBase, type OTLPExporterError, type OTLPExporterConfigBase } from '@opentelemetry/otlp-exporter-base'; import { type IExportTraceServiceRequest } from '@opentelemetry/otlp-transformer'; import type { ReadableSpan, SpanExporter } from '@opentelemetry/sdk-trace-base'; export type HillaEndpointExportMethod = (jsonString: string) => Promise; export interface HillaEndpointExporterConfig extends OTLPExporterConfigBase { method: HillaEndpointExportMethod; } export declare class HillaEndpointExporter extends OTLPExporterBrowserBase implements SpanExporter { protected _method: HillaEndpointExportMethod; constructor(config: HillaEndpointExporterConfig); convert(spans: ReadableSpan[]): IExportTraceServiceRequest; send(spans: ReadableSpan[], onSuccess: () => void, onError: (error: OTLPExporterError) => void): void; getDefaultUrl(config: OTLPExporterConfigBase): string; } //# sourceMappingURL=HillaEndpointExporter.d.ts.map