import type { FilterCompositionState, FilterCompositionStore } from './filterCompositionStore.types.js'; /** * Options for {@link _useFilterCompositionState}. * @internal */ export interface UseFilterCompositionStateOptions { /** Explicit store, for call sites outside the `` subtree. */ store?: FilterCompositionStore; /** Custom equality check; defaults to `Object.is`. */ isEqual?: (a: T, b: T) => boolean; } /** * Subscribes to a selected slice of the FilterComposition state and re-renders * only when that slice changes. Layered on the shipped `useStoreSelector` * primitive, so equality semantics match every other Strato store. * * When no store resolves the hook stays mounted and selects from a frozen, * never-notifying default state, so an orphaned control renders instead of * crashing its host. * * @internal */ export declare function useFilterCompositionState(selector: (state: FilterCompositionState) => T, options?: UseFilterCompositionStateOptions): T; //# sourceMappingURL=useFilterCompositionState.d.ts.map