/** * Returns `true` once the browser reports it is idle (or `timeoutMs` passes), * meant to be passed to `IntercomProvider`'s `shouldInitialize` so the widget * script is not injected during the critical-path render. * * Why: `IntercomProvider` injects `widget.intercom.io/widget/` on * mount, which pulls ~342 KB of third-party JS that competes with our own * code for parse/compile time. Keeping the provider in the tree (so children * do not remount) but flipping `shouldInitialize` later costs us nothing on * first paint and the help widget still arrives a few seconds into the * session. */ export declare function useDeferredIntercomInit(timeoutMs?: number): boolean; //# sourceMappingURL=useDeferredIntercomInit.d.ts.map