import 'regenerator-runtime/runtime.js'; import expressMiddleware from './middleware/express.js'; import { Logger } from './logger.js'; import { PyroscopeConfig, PyroscopeHeapConfig, PyroscopeWallConfig } from './pyroscope-config.js'; import { SourceMapper } from './sourcemapper.js'; export declare function init(config?: PyroscopeConfig): void; declare function getWallLabels(): Record; declare function setWallLabels(labels: Record): void; declare function getLabels(): Record; declare function setLabels(labels: Record): void; export declare function wrapWithLabels(lbls: Record, fn: () => void, ...args: unknown[]): void; declare function startWallProfiling(): void; declare function startCpuProfiling(): void; declare function stopWallProfiling(): Promise; declare function stopCpuProfiling(): Promise; declare function startHeapProfiling(): void; declare function stopHeapProfiling(): Promise; export declare function start(): void; export declare function stop(): Promise; export { PyroscopeConfig, PyroscopeHeapConfig, PyroscopeWallConfig }; declare function setLogger(logger: Logger): void; declare const _default: { SourceMapper: typeof SourceMapper; expressMiddleware: typeof expressMiddleware; fastifyMiddleware: () => import("./middleware/types.js").FastifyPluginCallback; init: typeof init; getWallLabels: typeof getWallLabels; setWallLabels: typeof setWallLabels; getLabels: typeof getLabels; setLabels: typeof setLabels; wrapWithLabels: typeof wrapWithLabels; start: typeof start; startHeapProfiling: typeof startHeapProfiling; startWallProfiling: typeof startWallProfiling; startCpuProfiling: typeof startCpuProfiling; stop: typeof stop; stopHeapProfiling: typeof stopHeapProfiling; stopWallProfiling: typeof stopWallProfiling; stopCpuProfiling: typeof stopCpuProfiling; setLogger: typeof setLogger; }; export default _default;