import { type Readable, type Writable } from 'svelte/store'; declare type EqualityFn = (newValue: T, oldValue: T) => boolean; export declare const useOnStoreChange: (store: Writable | Readable, callback: (newValue: T, oldValue: T) => Promise | void, options?: { equalityFn: EqualityFn; }) => void; export {};