/** What the test needs of the generated catalogue (`mcpAppCatalogues.admin`). */ export interface McpAppCatalogue { readonly views: { readonly [tool: string]: { readonly columns?: { readonly [column: string]: Schema; }; }; }; readonly actions: { readonly [tool: string]: unknown; }; } interface Schema { readonly type?: string | readonly string[]; readonly format?: string; readonly enum?: readonly unknown[]; readonly const?: unknown; readonly oneOf?: readonly { readonly const?: unknown; }[]; } export interface CheckMcpAppOptions { /** `mcpAppCatalogues.admin` of `generated/admin-descriptors`. */ readonly catalogue: McpAppCatalogue; /** The built App; `dist/client/admin/mcp-app.html` by default. */ readonly html?: string; } /** * Renders the application's customised Views and pages in an MCP host and throws one error naming each problem. Needs Chrome or * Chromium: set `MANTLE_TEST_CHROMIUM` to its executable, or install one for `playwright-core` (`npx playwright-core install chromium`). * Each run waits until the App has been quiet (no request, no console message) for 400 ms, at most 5 s. */ export declare function checkMcpApp({ catalogue, html: file }: CheckMcpAppOptions): Promise; export {};