import type { CallEditorOptions, EditorReadiness, RpcResponse, StreamEditorOptions } from './types'; export { discover_editor_config, read_editor_config } from './editor-discovery'; export { ping_editor } from './editor-transport'; /** * Send a single JSON-RPC request to the Unity Editor and return the result. * Automatically retries on transient connection errors (e.g., server restarting after assembly reload). */ export declare function call_editor(options: CallEditorOptions): Promise; /** * Ask a reachable bridge what the Editor is busy with. Accepting a socket only * proves the server is listening; these fields say whether a call will be served. */ export declare function read_editor_readiness(port: number, timeout_ms: number): Promise; /** * Open a persistent WebSocket connection for streaming events (e.g., stream console). * Sends the initial RPC request, then calls on_event for each notification received. * Returns a cleanup function to close the connection. * Automatically reconnects when the server restarts (e.g., after domain reload). */ export declare function stream_editor(options: StreamEditorOptions): Promise<{ close: () => void; }>; //# sourceMappingURL=editor-client.d.ts.map