/**
 * Browser Extension for spectral.
 *
 * Provides native browser automation tools via Playwright, registered as
 * spectral extension tools (not MCP). This enables the coding agent to
 * control a real browser: navigate, click, type, evaluate JS, take
 * screenshots, inspect network traffic, and more.
 *
 * All 20 tools match the same API surface as playwright-mcp, but without
 * the MCP protocol layer — they call Playwright directly from Node.js.
 *
 * Architecture:
 *   - BrowserService (singleton) — one browser, one context, multiple pages
 *   - Tools register via ext.registerTool() — same pattern as kanban-bridge
 *   - Browser auto-closes on session_shutdown
 *
 * Registered tools (20):
 *   Core:        browser_navigate, browser_navigate_back, browser_close, browser_resize
 *   Tabs:        browser_tabs
 *   Input:       browser_click, browser_type, browser_press_key, browser_hover,
 *                browser_drag, browser_select_option, browser_fill_form, browser_file_upload
 *   Evaluate:    browser_evaluate, browser_run_code_unsafe
 *   Screenshot:  browser_take_screenshot, browser_snapshot
 *   Network:     browser_network_requests, browser_network_request
 *   Console:     browser_console_messages
 *   Dialog:      browser_handle_dialog
 *   Wait:        browser_wait_for
 *   Drop:        browser_drop
 *
 * Usage:
 *   spectral --extension ./cli-node/src/extensions/browser/index.ts
 */
import type { ExtensionAPI } from "../../sdk/coding-agent/index.js";
export default function browserExtension(ext: ExtensionAPI): Promise<void>;
//# sourceMappingURL=index.d.ts.map