import { ProfileExport, ProfileExporter } from './profile-exporter.js'; import { PyroscopeConfig } from './pyroscope-config.js'; export declare class PyroscopeApiExporter implements ProfileExporter { private readonly applicationName; private readonly authToken; private readonly serverAddress; private readonly config; constructor(applicationName: string, authToken: string | undefined, serverAddress: string, config: PyroscopeConfig); export(profileExport: ProfileExport): Promise; private buildEndpointUrl; private buildRequestHeaders; private buildArrayBuffer; /** * Serializes the profile into the upload request body: the gzipped pprof * bytes, sent raw. */ private buildUploadProfileBody; private uploadProfile; }