Variable storageAdaptersConst

storageAdapters: {
    fromCollectionStore: <T>(
        keyPath: string,
        store: Writable<T[]>,
        options?: StorageAdapterOptions,
    ) => {
        keyPath: string;
        options: StorageAdapterOptions;
        store: Writable<T[]>;
    };
    fromMapStore: <T>(
        store: Writable<Map<string, T>>,
        options?: StorageAdapterOptions,
    ) => {
        keyPath: string;
        options: StorageAdapterOptions;
        store: {
            set: (x: any[]) => void;
            update: (f: (x: any[]) => any[]) => void;
            subscribe(
                this: void,
                run: Subscriber<any[]>,
                invalidate?: Invalidator<any[]>,
            ): Unsubscriber;
        };
    };
    fromObjectStore: <T>(
        store: Writable<Record<string, T>>,
        options?: StorageAdapterOptions,
    ) => {
        keyPath: string;
        options: StorageAdapterOptions;
        store: {
            set: (x: any[]) => void;
            update: (f: (x: any[]) => any[]) => void;
            subscribe(
                this: void,
                run: Subscriber<any[]>,
                invalidate?: Invalidator<any[]>,
            ): Unsubscriber;
        };
    };
    fromRepository: (
        repository: Repository<TrustedEvent>,
        options?: StorageAdapterOptions,
    ) => {
        keyPath: string;
        options: StorageAdapterOptions;
        store: WritableWithGetter<TrustedEvent[]>;
    };
    fromRepositoryAndTracker: (
        repository: Repository<TrustedEvent>,
        tracker: Tracker,
        options?: StorageAdapterOptions,
    ) => {
        keyPath: string;
        options: StorageAdapterOptions;
        store: WritableWithGetter<{ event: TrustedEvent; relays: string[] }[]>;
    };
    fromTracker: (
        tracker: Tracker,
        options?: StorageAdapterOptions,
    ) => {
        keyPath: string;
        options: StorageAdapterOptions;
        store: WritableWithGetter<{ key: string; value: string[] }[]>;
    };
} = ...