import { FetchInstance } from '../composables'; type ResourceStoreConfig = { name: string; initialize: (fetch: FetchInstance) => Promise; maxItems?: number; }; export declare function defineResourceStore(config: ResourceStoreConfig): () => { init: () => void; clear: () => void; isEmpty: boolean; firstItem: TResource | undefined; lastItem: TResource | undefined; collection: TResource[]; addItems: (...items: TResource[]) => void; removeItems: (...items: TResource[]) => void; updateItems: (...items: TResource[]) => void; }; export {};