/** * Zero-delay macrotask dispatcher. * * Bypasses the browser's minimum 4ms clamp penalty (HTML timer throttling) for nested `setTimeout` * by utilizing a private `MessageChannel` connection. Falls back to `setTimeout(callback, 0)` * if `MessageChannel` is unavailable or if fake timers are active in a testing context. * * Utilizes a FIFO queue with a moving head pointer to avoid array shifting overhead, * maintaining high performance and order of execution. * * @param callback - The function to execute in the next event loop tick. * * @example * ```ts * queueMacrotask(() => { * console.log('Executed in the next macrotask'); * }); * ``` */ export declare const queueMacrotask: (callback: VoidFunction) => void; //# sourceMappingURL=queue_macrotask.d.ts.map