import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { z } from 'zod'; import { CplaceApiClient } from '../api.js'; export declare const LINTING_TOOL_DEFINITIONS: { readonly cplace_lint_script: { readonly description: "Lint a cplace low-code script (change listener, validator, or workflow script) using the cplace ESLint rules. Returns errors and warnings. Does not modify the script. Use this to check script quality before or after saving. It reports unknown identifiers as errors: any name that is neither declared in the script nor a known cplace runtime global — a typo like `Filtres` instead of `Filters`, or a helper such as `updatePage` used without pasting its definition. Host globals that the cplace runtime does not provide, such as `console` and `setTimeout`, are reported the same way. This undefined-name check is a whitelist of names, not a type check: it does not know which globals a given script kind actually receives, and it does not verify that a member exists (`cplace.actions().updtaePage(...)` still passes), nor argument types or counts, nor that attribute or transition names exist. If a real cplace binding is missing from the whitelist, add `/* global myBinding */` at the top of the script to silence the false positive, and report the gap."; readonly inputSchema: { readonly script: z.ZodString; }; readonly annotations: { readonly title: "Lint cplace Script"; }; }; }; export declare function registerLintingTools(server: McpServer, _client: CplaceApiClient): void; //# sourceMappingURL=linting.d.ts.map