/** * @param {function} cb - called when a visibility change occurs with the vis state at that time * @param {boolean} [toHiddenOnly=false] - only execute the 'cb' when the vis is changing to the hidden state; no arg is passed to 'cb' if used * @returns void */ export function subscribeToVisibilityChange(cb: Function, toHiddenOnly?: boolean, capture: any, abortSignal: any): void; export function subscribeToPageUnload(cb: any, capture: any, abortSignal: any): void; //# sourceMappingURL=page-visibility.d.ts.map