import type { Call } from '../interfaces/runtime'; import type { AnyTuple } from './codec'; import type { IMethod } from './interfaces'; export interface CallBase extends IMethod { readonly method: string; readonly section: string; toJSON: () => any; } export interface CallFunction extends CallBase { (...args: any[]): Call & IMethod; }