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