import type { FunctionArgumentMetadataLatest, FunctionMetadataLatest } from '../interfaces/metadata'; import type { AnyJson, AnyTuple, AnyU8a, ArgsDef, CallBase, IMethod, Registry } from '../types'; import { Struct } from '../codec/Struct'; import { U8aFixed } from '../codec/U8aFixed'; /** * @name GenericCallIndex * @description * A wrapper around the `[sectionIndex, methodIndex]` value that uniquely identifies a method */ export declare class GenericCallIndex extends U8aFixed { constructor(registry: Registry, value?: AnyU8a); } /** * @name GenericCall * @description * Extrinsic function descriptor */ export declare class GenericCall extends Struct implements CallBase { protected _meta: FunctionMetadataLatest; constructor(registry: Registry, value: unknown, meta?: FunctionMetadataLatest); static filterOrigin(meta?: FunctionMetadataLatest): FunctionArgumentMetadataLatest[]; /** * @description The arguments for the function call */ get args(): A; /** * @description The argument definitions */ get argsDef(): ArgsDef; /** * @description The encoded `[sectionIndex, methodIndex]` identifier */ get callIndex(): Uint8Array; /** * @description The encoded data */ get data(): Uint8Array; /** * @description The [[FunctionMetadata]] */ get meta(): FunctionMetadataLatest; /** * @description Returns the name of the method */ get method(): string; /** * @description Returns the module containing the method */ get section(): string; /** * @description Checks if the source matches this in type */ is(other: IMethod): other is IMethod; /** * @description Converts the Object to to a human-friendly JSON, with additional fields, expansion and formatting of information */ toHuman(isExpanded?: boolean): Record; /** * @description Returns the base runtime type name for this instance */ toRawType(): string; }