import type { CommandNames } from './types.js'; /** * Global interface for the Lupa RPC bridge. */ declare global { interface Window { /** * The Lupa RPC bridge. */ __lupa_command__(command: CommandNames, payload?: any): Promise; } } /** * Executes a command in the browser. * @param command - The command to execute. * @param payload - The payload to send to the command. * @returns A promise that resolves when the command is executed. */ export declare function executeCommand(command: CommandNames, payload?: any): Promise;