UNPKG

@gear-js/api

Version:

A JavaScript library that provides functionality to connect GEAR Component APIs.

11 lines (10 loc) 506 B
import { HumanStateMetadataRepr, StateFunctions } from '../types'; import { GearMetadata } from './metadata'; export declare class StateMetadata extends GearMetadata { functions: StateFunctions; constructor({ reg, functions }: HumanStateMetadataRepr); } /** * @deprecated - This functionality is deprecated and will be removed from both the API and the runtime. Use `api.message.calculateReply` instead. */ export declare function getStateMetadata(wasmBytes: Uint8Array): Promise<StateMetadata>;