import type { GenericRuntimeApiMethod, RuntimeApiMethodParamSpec, RuntimeApiMethodSpec, RuntimeApiSpec } from '@dedot/types'; import { Executor } from './Executor.js'; export declare const FallbackRuntimeApis: Record; export declare const FallbackRuntimeApiSpecs: { Metadata: RuntimeApiSpec[]; }; /** * @name RuntimeApiExecutor * @description Execute a runtime api call, * runtime api definitions/specs are either from Metadata V15 * or defined externally when initializing `Dedot` instance * via `ApiOptions.runtimeApis` option. */ export declare class RuntimeApiExecutor extends Executor { #private; doExecute(runtimeApi: string, method: string): GenericRuntimeApiMethod; tryDecode(callSpec: RuntimeApiMethodSpec, raw: any): unknown; tryEncode(paramSpec: RuntimeApiMethodParamSpec, value: any): Uint8Array; }