import type { RegisterSWOptions } from "../types.ts"; import type { BooleanStateTuple, RegisterSwBindingReturnValue, UseRegisterSWReturnValue } from "../types-react.ts"; export type { RegisterSWOptions, UseRegisterSWReturnValue, RegisterSwBindingReturnValue, BooleanStateTuple, }; /** * {@link https://s-r-x.github.io/rsbuild-plugin-pwa/guide/virtual-modules/react.html | Usage} */ export declare function useRegisterSW({ immediate, onNewSwActive, onNewSwWaiting, onOfflineReady, onRegister, onRegisterError, createWorkbox, }?: RegisterSWOptions): UseRegisterSWReturnValue;