/// import { type Readable, type Stores, type StoresValues } from 'svelte/store'; /** * A utility function that creates a derived store that automatically * unsubscribes from its dependencies. * * @template S - The type of the stores object * @template T - The type of the derived store * @param stores - The stores object to derive from * @param fn - The function to derive the store from * @returns A derived store that automatically unsubscribes from its dependencies */ export declare function derivedWithUnsubscribe(stores: S, fn: (values: StoresValues, onUnsubscribe: (cb: () => void) => void) => T): Readable;