import { Serwist } from "@serwist/window"; import { JSX, ReactNode } from "react"; interface SerwistContextValues { serwist: Serwist | null; } export declare const useSerwist: () => SerwistContextValues; export interface SerwistProviderProps { swUrl: string; disable?: boolean; register?: boolean; cacheOnNavigation?: boolean; reloadOnOnline?: boolean; options?: RegistrationOptions; children?: ReactNode; } declare global { interface Window { serwist: Serwist; } } /** * `@serwist/window` provider for Next.js apps. * @param options * @returns */ export declare function SerwistProvider({ swUrl, disable, register, cacheOnNavigation, reloadOnOnline, options, children }: SerwistProviderProps): JSX.Element; export {}; //# sourceMappingURL=index.react.d.mts.map