/** * Built-in command handlers run in the page. Each receives parsed args and * returns a serializable result that gets shipped back in a ResponseFrame. */ import type { CaptureStore } from './capture.js'; export interface CommandContext { capture: CaptureStore; } export type CommandHandler = (args: unknown, ctx: CommandContext) => Promise; export declare const commandHandlers: Record;