import { OtelSpan, SpanEventMapper } from "./mapper.js";

//#region src/otel/processor.d.ts

interface SpanProcessor {
  onStart(span: OtelSpan, parentContext?: unknown): void;
  onEnd(span: OtelSpan): void;
  shutdown(): Promise<void>;
  forceFlush(timeoutMillis?: number): Promise<void>;
}
declare class AmplitudeEventSpanProcessor implements SpanProcessor {
  private readonly _mapper;
  constructor(mapper: SpanEventMapper);
  onStart(_span: OtelSpan, _parentContext?: unknown): void;
  onEnd(span: OtelSpan): void;
  shutdown(): Promise<void>;
  forceFlush(_timeoutMillis?: number): Promise<void>;
}
//#endregion
export { AmplitudeEventSpanProcessor, SpanProcessor };
//# sourceMappingURL=processor.d.ts.map