import { ICollectionComponentState } from '../state/ICollectionComponentState'; import { CollectionState } from '@wix/bex-core'; import { WixPatternsRouterState } from '../state/WixPatternsRouterState'; export interface IUseOptionalCachedStateOptions { getCollectionsToUpdate?: (state: S, entity: any) => CollectionState[] | null; shouldResetCache?: ({ router, uniqueId, }: { router: WixPatternsRouterState | null; uniqueId: string; }) => boolean; } export declare function useOptionalCachedState(createState: () => S, { getCollectionsToUpdate, shouldResetCache, }?: IUseOptionalCachedStateOptions): S; //# sourceMappingURL=useOptionalCachedState.d.ts.map