/**
 * Shared Routes — Collection item list builders
 *
 * Builds SharedItem arrays for commands, skills, and agents with
 * a short-lived in-memory cache keyed by collection type.
 */
/// <reference types="node" />
import * as fs from 'fs';
import type { SharedItem, SharedCollectionType } from './shared-routes-types';
export declare function getCommandItems(sharedDir: string, allowedRoots: Set<string>): SharedItem[];
export declare function getSkillOrAgentItem(type: 'skills' | 'agents', entry: fs.Dirent, entryPath: string, resolvedEntryPath: string, allowedRoots: Set<string>, stats: fs.Stats): SharedItem | null;
export declare function getSharedItems(type: SharedCollectionType): SharedItem[];
//# sourceMappingURL=shared-routes-collections.d.ts.map