import { RestRequest } from "../../../../utils/rest-request"; import { AccessId, BizId, Hash, ContractRaw, Period, Timestamp, VmType, RestMethods, SecretKey } from "../../../../types/web3"; export interface UpdateContractParams { hash: Hash; method: RestMethods.updateWasmContract; accessId: AccessId; bizid: BizId; requestStr: { contractName: string; contractCode: string; vmType: string; updateContractRaw: ContractRaw; hash: Hash; period?: Period; timestamp: Timestamp; vmTypeEnum: VmType; secretKey?: SecretKey; isLocalTransaction?: boolean; }; } export type UpdateContractResult = Hash; export declare function updateContract(params: UpdateContractParams, request: RestRequest): Promise;