import type { PatternCategoryMap } from './types'; /** * Helper hook that creates a Map with the core and user patterns categories * and removes any duplicates. It's used when we need to create new user * categories when creating or importing patterns. * This hook also provides a function to find or create a pattern category. * * @return The merged categories map and the callback function to find or create a category. */ export declare function useAddPatternCategory(): { categoryMap: PatternCategoryMap; findOrCreateTerm: (term: string) => Promise; }; //# sourceMappingURL=private-hooks.d.ts.map