type TaxonomyRecord = { category?: string; stack?: string; stacks?: string[]; }; /** * Return a project's primary and supporting stacks once, in display order. * * `stack` is the canonical browse dimension while `stacks` can repeat it * for compatibility with older records. UI and view-model consumers should * use this helper instead of concatenating both fields directly. */ export declare function projectStackIds(project?: Pick | null): string[]; /** Number of items in the directory, per category name. */ export declare function countByCategory(items?: TaxonomyRecord[]): Map; /** Number of items in the directory, per primary stack. */ export declare function countByStack(items?: TaxonomyRecord[]): Map; export {}; //# sourceMappingURL=directory-taxonomy.d.ts.map