import type { UiServiceDeps, ThreadTemplatesGetParams, ThreadTemplateEntry } from '../types.js'; /** * Read all thread-template entries from config/thread-templates/{templates,agents,shells}/*.json. * Pure over configDir + defaultsRoot (hermetically testable). Returns templates first, then agents, * then shells, each group sorted alphabetically by basename. body is null when the file cannot be * parsed. Each entry carries its validation verdict so the list can flag a broken entity without a * round trip per row. */ export declare function readThreadTemplates(configDir: string, defaultsRoot?: string): Promise; export declare function handleThreadTemplatesGet(_deps: UiServiceDeps, _params: ThreadTemplatesGetParams): Promise;