export type InitServiceWorkerOptions = {
    swPath?: string;
    onRegistered?: (registration: ServiceWorkerRegistration) => void;
    onError?: (error: unknown) => void;
};
export declare function initServiceWorker(options?: InitServiceWorkerOptions): void;
export declare function clearTilesCache(): Promise<void>;
