import type { CosmWasmClient, SigningCosmWasmClient } from '@hackbg/cosmjs-esm'; import { Deploy } from '@fadroma/agent'; import type { Address, CodeId, Chain, Message, Token, Core } from '@fadroma/agent'; type Connection = { chainId?: string; api: CosmWasmClient | Promise; }; export declare function getCodes({ chainId, api }: Connection): Promise>; export declare function getCodeId({ api }: Connection, address: Address): Promise; export declare function getContractsByCodeId({ api }: Connection, id: CodeId): Promise<{ address: string; }[]>; export declare function getCodeHashOfAddress(connection: Connection, address: Address): Promise; export declare function getCodeHashOfCodeId({ api }: Connection, codeId: CodeId): Promise; export declare function getLabel({ api }: Connection, address: Address): Promise; export declare function query({ api }: Connection, contract: Address | { address: Address; }, message: Message): Promise; export type SigningConnection = { log: Core.Console; chainId?: string; address: string; fees?: any; api: SigningCosmWasmClient | Promise; }; export declare function upload({ address, chainId, fees, api }: SigningConnection, data: Uint8Array): Promise<{ chainId: string; codeId: string; codeHash: string; uploadBy: string; uploadTx: string; uploadGas: number; }>; export declare function instantiate({ api, address, chainId }: SigningConnection, codeId: CodeId, options: Parameters[1]): Promise<{ codeId: string; codeHash: string; label: string; initMsg: Core.Into; chainId: string; address: string; initTx: string; initGas: number; initBy: string; initFee: unknown; initSend: Token.ICoin[]; initMemo: string; }>; type ExecOptions = Omit[2]>, 'execFee'> & { execFee?: Token.IFee | number | 'auto'; }; export declare function execute({ api, address, chainId }: SigningConnection, contract: { address: Address; }, message: Message, { execSend, execMemo, execFee }?: ExecOptions): Promise; export {}; //# sourceMappingURL=cw-compute.d.ts.map