import { z } from "zod"; import { type LogLine } from "../../log-bus.js"; import type { McpTool } from "../tool.js"; declare const inputSchema: z.ZodObject<{ /** * Max lines to return. Defaults to 100; capped at 2000 so a runaway * caller can't pull the entire log file into a single MCP response. */ limit: z.ZodDefault; /** * ISO timestamp filter — only return lines with `ts >= since`. * Used by Pyre's Activity tab to poll incrementally without * re-fetching the full tail every refresh. */ since: z.ZodOptional; /** * Optional level filter ('debug' | 'info' | 'warn' | 'error'). * Server-side filter so callers don't have to ship the noise back. */ level: z.ZodOptional>; }, "strip", z.ZodTypeAny, { limit: number; since?: string | undefined; level?: "error" | "warn" | "debug" | "info" | undefined; }, { limit?: number | undefined; since?: string | undefined; level?: "error" | "warn" | "debug" | "info" | undefined; }>; interface Output { /** Lines matching the filter, oldest → newest. Already capped. */ lines: LogLine[]; /** Total before applying limit, for "X / Y total" indicators. */ matched: number; /** Truthful path so the caller can surface "Logs at: ..." for ops. */ source: string; } export declare const recentLogsTool: McpTool; export {}; //# sourceMappingURL=recent-logs.d.ts.map