/** * Weavetab — tools/key.ts * Keyboard event dispatcher with allowlisted control keys and modifier support. * Weavetab by fy2ne */ import CDP from "chrome-remote-interface"; import type { Config } from "../config/loader.js"; import type { WeaveError } from "./click.js"; type Modifier = "Alt" | "Ctrl" | "Meta" | "Shift"; interface KeyResult { success: true; pressed: string; tab_id: string; url: string; title: string; url_changed?: boolean; dom_changed?: boolean; stuck_warning?: boolean; stuck_hint?: string; } export declare function weaveKey(session: CDP.Client, args: { key: string; modifiers?: Modifier[]; }, _config: Config): Promise; export {};