import { ISubmittableResult } from 'https://deno.land/x/polkadot@0.2.45/types/types/index.ts'; import { SubmittableExtrinsic } from 'https://deno.land/x/polkadot@0.2.45/api/types/index.ts'; import { V1000MessageSendOptions, V1000MessageSendReplyOptions } from '../../types/index.ts'; import { GearMessage } from '../../Message.ts'; import { ProgramMetadata } from '../../metadata/index.ts'; export declare class V1000Message extends GearMessage { send( args: V1000MessageSendOptions, meta: ProgramMetadata, typeIndex?: number, ): SubmittableExtrinsic<'promise', ISubmittableResult>; send( args: V1000MessageSendOptions, hexRegistry: `0x${string}`, typeIndex: number, ): SubmittableExtrinsic<'promise', ISubmittableResult>; send( args: V1000MessageSendOptions, metaOrHexRegistry?: ProgramMetadata | `0x${string}`, typeName?: string, ): SubmittableExtrinsic<'promise', ISubmittableResult>; sendReply( args: V1000MessageSendReplyOptions, meta?: ProgramMetadata, typeIndex?: number, ): Promise>; sendReply( args: V1000MessageSendReplyOptions, hexRegistry: `0x${string}`, typeIndex: number, ): Promise>; sendReply( args: V1000MessageSendReplyOptions, metaOrHexRegistry?: ProgramMetadata | `0x${string}`, typeName?: string, ): Promise>; }