import type { EventEmitter } from '../../../types/index.js'; import type { Rpc } from '@lynx-js/web-worker-rpc'; export type TimingSystem = { registerGlobalEmitter: (globalEventEmitter: EventEmitter) => void; markTimingInternal: (timingKey: string, pipelineId?: string) => void; pipelineIdToTimingFlags: Map; }; export declare function createTimingSystem(mainThreadRpc: Rpc, uiThreadRpc: Rpc): TimingSystem;