/// import { NetworkInfo } from '@xpla/wallet-types'; import { CreateTxOptions, SignMode, Tx } from '@xpla/xpla.js'; type ConnectResponse = { address?: string; }; type PostResponse = { payload: { result: { height: number; raw_log: string; txhash: string; }; }; }; type SignResponse = { payload: { result: Tx.Data; }; }; type SignBytesResponse = { payload: { result: { public_key: string; recid: number; signature: string; }; }; }; type InfoResponse = NetworkInfo; export interface FixedExtension { post: (data: CreateTxOptions) => Promise; sign: (data: CreateTxOptions & { sequence?: number; accountNumber?: number; signMode?: SignMode; }) => Promise; signBytes: (bytes: Buffer) => Promise; info: () => Promise; connect: () => Promise; inTransactionProgress: () => boolean; disconnect: () => void; } export declare function createFixedExtension(identifier: string): FixedExtension; export {};