/** * Generate a markdown report from a recorded test session. * * Examples: * - Basic report: sessionName: "login-flow" * - Named report: sessionName: "login-flow", testName: "Login Flow — Happy Path" * * Supports: * - Per-step screenshot image links * - Assertion status per step * - Arbitrary step metadata bullets * - Accessibility element counts * - Summary section * * **Full documentation:** Use rtfm({ toolName: "test-record-report" }) for detailed parameters */ export declare function testRecordReportTool(args: any): Promise<{ content: { type: "text"; text: string; }[]; isError: boolean; }>; export declare const TEST_RECORD_REPORT_DOCS = "\n# test-record-report\n\nGenerate a markdown report from a recorded test session created by test-record-step.\n\n## What it does\n\nReads the session's `steps.json` and produces a structured `report.md` file:\n- Header with test name, date, step count, and duration\n- Per-step sections with screenshot image links, assertions, metadata, and element counts\n- Summary section with totals\n\nThe report is written to `//report.md` and also returned\nin the response for immediate consumption.\n\n## Parameters\n\n- **sessionName** (string, required): Session name matching prior test-record-step calls\n- **testName** (string, optional): Title for the report (defaults to sessionName)\n\n## Returns\n\nJSON with `{ sessionName, testName, reportPath, stepCount, markdown }`\nplus guidance. Throws McpError InvalidRequest if session or steps are missing.\n\n## Examples\n\n### Basic report\n```typescript\nawait testRecordReportTool({ sessionName: \"login-flow\" })\n```\n\n### Named report\n```typescript\nawait testRecordReportTool({\n sessionName: \"login-flow\",\n testName: \"Login Flow \u2014 Happy Path\"\n})\n```\n\n## Typical Workflow\n\n1. `test-record-step({ sessionName: \"my-test\", label: \"App launched\" })`\n2. `test-record-step({ sessionName: \"my-test\", label: \"Login tapped\", assertion: \"Login form visible\" })`\n3. `test-record-step({ sessionName: \"my-test\", label: \"Logged in\", metadata: { user: \"test@example.com\" } })`\n4. `test-record-report({ sessionName: \"my-test\", testName: \"Login Flow\" })`\n"; export declare const TEST_RECORD_REPORT_DOCS_MINI = "Generate a markdown report from a recorded test session. Use rtfm({ toolName: \"test-record-report\" }) for docs."; //# sourceMappingURL=test-record-report.d.ts.map