/** * How a method behaves while external control is paused by the host: * - `read-only` — observation/diagnostics; always allowed. * - `presence` — an external driver's own awareness channel (cursor/label); allowed. * - `mutating` — edits app state or the user's UI; rejected while paused. */ export type MethodKind = 'read-only' | 'presence' | 'mutating'; /** * The generic, toolkit-neutral devtools methods and their kinds. Adapters implement the * subset they support and the bridge advertises only those; app-specific methods arrive * through extensions with their own kinds, and the registry rejects an unclassified name * so nothing can bypass the pause policy unnoticed. * * A NAME HERE IS A PROMISE, so nothing may be listed ahead of an adapter. `SetProperty` * and `EmitSignal` were once classified `mutating` here while existing on no wire at all * — no XML fragment, no handler, no MCP tool — so a caller read the contract, called * them and got `UnknownMethod`, while the pause policy looked complete. Add a method back * in the change that lands its adapter, which is the only change that can prove the kind. */ export declare const GENERIC_METHODS: { readonly GetStatus: "read-only"; readonly Screenshot: "read-only"; readonly ScreenshotScaled: "read-only"; readonly ListActions: "read-only"; readonly ActivateAction: "mutating"; readonly ChangeActionState: "mutating"; readonly PresentWindow: "read-only"; readonly ResizeWindow: "mutating"; readonly ListToplevels: "read-only"; readonly DumpTree: "read-only"; readonly GetProperty: "read-only"; readonly GetFocused: "read-only"; readonly FindWidget: "read-only"; readonly SendKey: "mutating"; readonly ActivateWidget: "mutating"; readonly DumpGSettings: "read-only"; readonly DumpCss: "read-only"; readonly SwapCss: "mutating"; }; export type GenericMethodName = keyof typeof GENERIC_METHODS;