import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { z } from 'zod'; import { CplaceApiClient } from '../api.js'; export declare const SCRIPT_LOGS_TOOL_DEFINITIONS: { readonly cplace_get_script_logs: { readonly description: "Retrieve filtered and paginated script execution logs for debugging and monitoring low-code scripts.\n\nSupports comprehensive filtering by:\n- Script identity (scriptId, logName)\n- Context (workspaceId, userId, correlationId)\n- Log level (logType, messageType)\n- Message content (message, logMatch)\n- Time range (logDateFrom, logDateTo) - instance-dependent localized date format ('dd.MM.yyyy' or 'MM/dd/yyyy'); if unsure, omit it and narrow with scriptId, message or pageSize\n\nSecurity Model:\n- Administrators and low-code editors: Full access to all logs\n- Regular users: Must provide scriptId parameter\n\nResponse Size Management:\n- By default, stack traces are truncated to 500 characters to save tokens\n- Use includeFullStackTraces=true to get complete stack traces when needed\n- If response is still too large, use more specific filters or smaller pageSize"; readonly inputSchema: { readonly scriptId: z.ZodOptional; readonly logName: z.ZodOptional; readonly workspaceId: z.ZodOptional; readonly userId: z.ZodOptional; readonly correlationId: z.ZodOptional; readonly logType: z.ZodOptional>; readonly messageType: z.ZodOptional>; readonly message: z.ZodOptional; readonly logMatch: z.ZodOptional>; readonly logDateFrom: z.ZodOptional; readonly logDateTo: z.ZodOptional; readonly page: z.ZodOptional; readonly pageSize: z.ZodOptional; readonly includeFullStackTraces: z.ZodOptional; }; readonly annotations: { readonly title: "Get Script Logs"; }; }; }; export type UnsupportedLogDateShape = 'epoch-millis' | 'year-first' | 'zone-designator' | 'seconds'; export declare function findUnsupportedLogDateShape(value: string): UnsupportedLogDateShape | null; export declare function buildLogDateRejectionMessage(paramName: string, value: string): string; export declare function registerScriptLogsTools(server: McpServer, client: CplaceApiClient): void; //# sourceMappingURL=script-logs.d.ts.map