/** * Zod fragments shared across tools. * * NOTE ON SHAPE vs OBJECT: the MCP TypeScript SDK's `registerTool` expects * `inputSchema` to be a *raw shape* (a plain object whose values are Zod * types), not a `z.object(...)`. The SDK wraps it for you. So tools below * compose plain objects and derive their input types with * `z.infer>`. */ import { z } from "zod"; export declare enum ResponseFormat { MARKDOWN = "markdown", JSON = "json" } export declare const responseFormatField: z.ZodDefault>; export declare const limitField: z.ZodDefault; export declare const offsetField: z.ZodDefault; /** * Alert identifier. The JSM Ops API is strict here: /v1/alerts/{id} accepts * ONLY the full alert id. Aliases go through a separate endpoint and tinyIds * are not accepted at all, so tools that take an id say so explicitly. */ export declare const alertIdField: z.ZodString; export declare const noteField: z.ZodString; export declare const userField: z.ZodOptional; export declare const sourceField: z.ZodOptional; /** * The pagination block every list tool reports. * * Lives here rather than in a domain's shapes because it is not a fact about * alerts: the on-call tools already imported it across domains from * tools/alerts/shapes.ts, and the resource factory would have had to do the * same. `passthrough` because a dialect may add its own key — a cursor-paged * endpoint reports next_cursor where an offset-paged one reports next_offset. */ export declare const paginationOutputShape: z.ZodObject<{ count: z.ZodNumber; offset: z.ZodOptional; has_more: z.ZodBoolean; next_offset: z.ZodOptional; next_cursor: z.ZodOptional; truncated: z.ZodOptional; total: z.ZodOptional; }, z.core.$loose>; //# sourceMappingURL=common.d.ts.map