import { PlatformRuntimeClient, type RuntimeCommand } from './client.js'; export interface RuntimeExecutionResult { output?: unknown; } export type RuntimeCommandHandler = (command: RuntimeCommand, signal: AbortSignal) => Promise; export declare function processRuntimeCommand(client: PlatformRuntimeClient, handler: RuntimeCommandHandler): Promise<'idle' | 'completed' | 'failed' | 'cancelled'>;