declare const localEndpoint: { serviceName: string; ipv4: string; port: number; }; declare type Event = { traceId: string; parentId?: number; name: string; id: number; timestamp: number; duration: number; localEndpoint?: typeof localEndpoint; tags?: Object; startTime?: number; }; export declare function batcher(reportEvents: (evts: Event[]) => Promise): { flushAll: () => Promise; report: (event: Event) => void; }; declare const _default: { flushAll: () => Promise | undefined; report: (name: string, duration: number, timestamp: number, id: number, parentId?: number | undefined, attrs?: Object | undefined, startTime?: number | undefined) => void; }; export default _default;