/** The indexable fields a stored agent contributes to `searchPrefixes`. */ export interface AgentSearchIndexFields { displayName?: string | null; description?: string | null; } /** The agent shape a directory filter reads. */ export interface AgentSearchProfile { displayName?: string | null; agentConfig?: { description?: string | null; } | null; } /** Tolerant: non-string input normalises to ''. */ export declare function normalizeAgentDirectoryQuery(value: unknown): string; export declare function getAgentDirectoryQueryTokens(query: string): string[]; export declare function buildAgentSearchPrefixes(input: AgentSearchIndexFields): string[]; export declare function matchesAgentSearchQuery(profile: AgentSearchProfile, query: string): boolean;