import { SchemaFormat } from '../API/Rpc/RpcCache'; export declare type EosioAuthorizationObject = { actor: string; permission: string; }; export declare type EosioActionObject = { account: string; name: string; authorization: EosioAuthorizationObject[]; data: any; }; export declare type AttributeMap = Array<{ key: string; value: [string, any]; }>; export declare type Format = { name: string; type: string; }; export declare class ActionGenerator { readonly contract: string; constructor(contract: string); acceptoffer(authorization: EosioAuthorizationObject[], offer_id: string): Promise; addcolauth(authorization: EosioAuthorizationObject[], collection_name: string, account_to_add: string): Promise; addconftoken(authorization: EosioAuthorizationObject[], token_contract: string, token_symbol: string): Promise; addnotifyacc(authorization: EosioAuthorizationObject[], collection_name: string, account_to_add: string): Promise; announcedepo(authorization: EosioAuthorizationObject[], owner: string, symbol_to_announce: string): Promise; backasset(authorization: EosioAuthorizationObject[], payer: string, asset_owner: string, asset_id: string, token_to_back: string): Promise; burnasset(authorization: EosioAuthorizationObject[], asset_owner: string, asset_id: string): Promise; canceloffer(authorization: EosioAuthorizationObject[], offer_id: string): Promise; createcol(authorization: EosioAuthorizationObject[], author: string, collection_name: string, allow_notify: boolean, authorized_accounts: string[], notify_accounts: string[], market_fee: number, data: AttributeMap): Promise; createoffer(authorization: EosioAuthorizationObject[], sender: string, recipient: string, sender_asset_ids: string[], recipient_asset_ids: string[], memo: string): Promise; createtempl(authorization: EosioAuthorizationObject[], authorized_creator: string, collection_name: string, schema_name: string, transferable: boolean, burnable: boolean, max_supply: string, immutable_data: AttributeMap): Promise; createschema(authorization: EosioAuthorizationObject[], authorized_creator: string, collection_name: string, schema_name: string, schema_format: Format[]): Promise; declineoffer(authorization: EosioAuthorizationObject[], offer_id: string): Promise; extendschema(authorization: EosioAuthorizationObject[], authorized_editor: string, collection_name: string, schema_name: string, schema_format_extension: Format[]): Promise; forbidnotify(authorization: EosioAuthorizationObject[], collection_name: string): Promise; locktemplate(authorization: EosioAuthorizationObject[], authorized_editor: string, collection_name: string, template_id: number): Promise; mintasset(authorization: EosioAuthorizationObject[], authorized_minter: string, collection_name: string, schema_name: string, template_id: string, new_asset_owner: string, immutable_data: AttributeMap, mutable_data: AttributeMap, tokens_to_back: string[]): Promise; payofferram(authorization: EosioAuthorizationObject[], payer: string, offer_id: string): Promise; remcolauth(authorization: EosioAuthorizationObject[], collection_name: string, account_to_remove: string): Promise; remnotifyacc(authorization: EosioAuthorizationObject[], collection_name: string, account_to_remove: string): Promise; setassetdata(authorization: EosioAuthorizationObject[], authorized_editor: string, asset_owner: string, asset_id: string, new_mutable_data: AttributeMap): Promise; setcoldata(authorization: EosioAuthorizationObject[], collection_name: string, data: AttributeMap): Promise; setmarketfee(authorization: EosioAuthorizationObject[], collection_name: string, market_fee: number): Promise; transfer(authorization: EosioAuthorizationObject[], account_from: string, account_to: string, asset_ids: string[], memo: string): Promise; withdraw(authorization: EosioAuthorizationObject[], owner: string, token_to_withdraw: string): Promise; protected _pack(authorization: EosioAuthorizationObject[], name: string, data: any): EosioActionObject[]; } export declare function toAttributeMap(obj: any, schema: SchemaFormat): AttributeMap;