import * as Duration from "../../Duration.ts"; import * as Effect from "../../Effect.ts"; import * as Scope from "../../Scope.ts"; import * as Headers from "../../unstable/http/Headers.ts"; import * as HttpClient from "../../unstable/http/HttpClient.ts"; import type { HttpBody } from "../http/HttpBody.ts"; /** * Creates a scoped OTLP batch exporter. * * **Details** * * The exporter buffers pushed data, periodically posts encoded batches to the * configured URL, retries transient failures, temporarily disables exporting * after unhandled failures, and flushes during scope finalization up to * `shutdownTimeout`. * * @category constructors * @since 4.0.0 */ export declare const make: (options: { readonly url: string; readonly headers: Headers.Input | undefined; readonly label: string; readonly exportInterval: Duration.Input; readonly maxBatchSize: number | "disabled"; readonly body: (data: Array) => HttpBody; readonly shutdownTimeout: Duration.Input; }) => Effect.Effect<{ readonly push: (data: unknown) => void; }, never, HttpClient.HttpClient | Scope.Scope>; //# sourceMappingURL=OtlpExporter.d.ts.map