import type { RpcResponse } from './types'; export interface EditorActionSemantics { kind: 'read' | 'command' | 'stream'; default_retries: number; retry_delays_ms: number[]; discovery_timeout_ms: number; } export declare const CLIENT_DISCOVERY_UNAVAILABLE_CODE = -32010; export declare function get_action_semantics(method: string, kind?: 'unary' | 'stream', params?: Record): EditorActionSemantics; export declare function should_retry_response(response: RpcResponse, semantics: EditorActionSemantics): boolean; //# sourceMappingURL=editor-action-semantics.d.ts.map