import { QueryKey } from '@tanstack/react-query'; type EntityKeyId = string | number; type EntityKeyFilters = Readonly>; /** Shared, deterministic key shapes for entity-backed query caches. */ declare const entityKeys: { all(entity: string): QueryKey; list(entity: string, filters?: EntityKeyFilters): QueryKey; detail(entity: string, id: EntityKeyId): QueryKey; }; /** Binds the entity namespace once while leaving feature-specific keys local. */ declare function createEntityKeys(entity: string): Readonly<{ all: readonly unknown[]; list: (filters?: EntityKeyFilters) => readonly unknown[]; detail: (id: EntityKeyId) => readonly unknown[]; }>; export { type EntityKeyFilters, type EntityKeyId, createEntityKeys, entityKeys };