import type { UdpTag } from 'udp-stencil-component-library';
export interface UseTagsResult {
    tagMap: ReadonlyMap<string, UdpTag[]>;
    isLoading: boolean;
    error: Error | null;
}
/**
 * Fetch and cache tag associations for every record of a single entity type.
 *
 * Pass a type-only prefix ending in `|` — e.g.
 * `Univerus.Unity.Starter.Project.Models.ChargeCodeTask|`.
 *
 * Returns a `Map<entityId, UdpTag[]>` keyed by the GUID portion of the
 * business key. The query is shared across the app via TanStack Query, so
 * multiple components calling this hook with the same prefix dedupe to a
 * single request and stay in sync on invalidation.
 */
export declare const useTags: (entityBusinessKeyPrefix: string, options?: {
    enabled?: boolean;
}) => UseTagsResult;
//# sourceMappingURL=useTags.d.ts.map