import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; import { type LockReleaseError } from "../../../repositories/channels/templates/TemplatesRepository.js"; import { z } from "zod"; /** * `lockReleaseErrors`: locks of the token user that a template tool took and * could not release. Same name and shape in every tool that reads templates. */ export declare const lockReleaseErrorsSchema: z.ZodOptional; lockId: z.ZodNumber; templateId: z.ZodNumber; step: z.ZodEnum<{ delete: "delete"; lock: "lock"; profile: "profile"; }>; status: z.ZodOptional; message: z.ZodString; }, z.core.$strip>>>; /** `{ lockReleaseErrors }` when there are failures; nothing otherwise. */ export declare function lockReleaseReport(...sources: Array): { lockReleaseErrors?: LockReleaseError[]; }; /** * Adds `lockReleaseErrors` to the `data` of a structured response that is * already built. Error responses are returned as they are. */ export declare function withLockReleaseErrors(result: CallToolResult, errors: readonly LockReleaseError[] | undefined): CallToolResult; export declare const Search: Tool; //# sourceMappingURL=Search.d.ts.map