/** Tool-organization overlay (folders and per-tool meta) schemas. */ import { z } from 'zod'; /** * One folder in the tool-organization tree (`tool_folders`). `parent_id` is `null` * for a root folder and otherwise the containing folder's `id`; nesting is endless * via the parent chain. Ids are UUID strings. A drift throws `ApiSchemaError`. */ export declare const folderRecord: z.ZodObject<{ id: z.ZodString; name: z.ZodString; parent_id: z.ZodNullable; }, z.core.$strip>; export type FolderRecord = z.infer; /** * The organizational overlay for one tool, keyed by `tool_name`. `display_name` * overrides the rendered label (`display_name ?? name`); `folder_id` places the tool * in a folder (`null` = unfiled); `tags` is the user's editable categorization, * merged with the tool's read-only native tags by the UI; `badges` is the operator's * editable capability-label overlay, merged with the tool's read-only plugin-declared * badges by the UI (INFORMATIONAL, never an enforced gate); `hidden` is TRI-STATE — * `null` = defer to the plugin declaration, `true` = force hidden, `false` = force * visible. A drift throws `ApiSchemaError`. */ export declare const toolMetaRecord: z.ZodObject<{ tool_name: z.ZodString; display_name: z.ZodNullable; folder_id: z.ZodNullable; tags: z.ZodArray; badges: z.ZodArray; hidden: z.ZodNullable; }, z.core.$strip>; export type ToolMetaRecord = z.infer; /** * `GET /api/tool-meta` — the whole overlay in one read: the flat folder tree plus * every per-tool row. The UI builds the tree and merges the rows against the live * tool list client-side. A drift throws `ApiSchemaError`. */ export declare const toolMetaOverlay: z.ZodObject<{ folders: z.ZodArray; }, z.core.$strip>>; meta: z.ZodArray; folder_id: z.ZodNullable; tags: z.ZodArray; badges: z.ZodArray; hidden: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; export type ToolMetaOverlay = z.infer; /** `DELETE /api/tool-meta/tools/{tool_name}` — the dropped overlay row (idempotent). */ export declare const toolMetaDeleted: z.ZodObject<{ tool_name: z.ZodString; deleted: z.ZodLiteral; }, z.core.$strip>; /** `DELETE /api/tool-meta/folders/{folder_id}` — the removed empty folder. */ export declare const folderDeleted: z.ZodObject<{ folder_id: z.ZodString; deleted: z.ZodLiteral; }, z.core.$strip>; //# sourceMappingURL=tool-meta.d.ts.map