import type { operations } from './types/api'; import type { SafeTransactionEstimation, TransactionDetails, TransactionListPage, SafeIncomingTransfersResponse, SafeModuleTransactionsResponse, SafeMultisigTransactionsResponse } from './types/transactions'; import type { FiatCurrencies, OwnedSafes, SafeBalanceResponse, SafeCollectibleResponse, SafeCollectiblesPage } from './types/common'; import type { SafeInfo } from './types/safe-info'; import type { ChainListResponse, ChainInfo } from './types/chains'; import type { SafeAppsResponse } from './types/safe-apps'; import type { MasterCopyReponse } from './types/master-copies'; import type { DecodedDataResponse } from './types/decoded-data'; import type { SafeMessage, SafeMessageListPage } from './types/safe-messages'; export * from './types/safe-info'; export * from './types/safe-apps'; export * from './types/transactions'; export * from './types/chains'; export * from './types/common'; export * from './types/master-copies'; export * from './types/decoded-data'; export * from './types/safe-messages'; /** * Set the base CGW URL */ export declare const setBaseUrl: (url: string) => void; /** * Get basic information about a Safe. E.g. owners, modules, version etc */ export declare function getSafeInfo(chainId: string, address: string): Promise; /** * Get filterable list of incoming transactions */ export declare function getIncomingTransfers(chainId: string, address: string, query?: operations['incoming_transfers']['parameters']['query'], pageUrl?: string): Promise; /** * Get filterable list of module transactions */ export declare function getModuleTransactions(chainId: string, address: string, query?: operations['module_transactions']['parameters']['query'], pageUrl?: string): Promise; /** * Get filterable list of multisig transactions */ export declare function getMultisigTransactions(chainId: string, address: string, query?: operations['multisig_transactions']['parameters']['query'], pageUrl?: string): Promise; /** * Get the total balance and all assets stored in a Safe */ export declare function getBalances(chainId: string, address: string, currency?: string, query?: operations['safes_balances_list']['parameters']['query']): Promise; /** * Get a list of supported fiat currencies (e.g. USD, EUR etc) */ export declare function getFiatCurrencies(): Promise; /** * Get the addresses of all Safes belonging to an owner */ export declare function getOwnedSafes(chainId: string, address: string): Promise; /** * Get NFTs stored in a Safe */ export declare function getCollectibles(chainId: string, address: string, query?: operations['safes_collectibles_list']['parameters']['query']): Promise; /** * Get NFTs stored in a Safe */ export declare function getCollectiblesPage(chainId: string, address: string, query?: operations['safes_collectibles_list_paginated']['parameters']['query'], pageUrl?: string): Promise; /** * Get a list of past Safe transactions */ export declare function getTransactionHistory(chainId: string, address: string, pageUrl?: string): Promise; /** * Get the list of pending transactions */ export declare function getTransactionQueue(chainId: string, address: string, pageUrl?: string, trusted?: boolean): Promise; /** * Get the details of an individual transaction by its id */ export declare function getTransactionDetails(chainId: string, transactionId: string): Promise; /** * Request a gas estimate & recommmended tx nonce for a created transaction */ export declare function postSafeGasEstimation(chainId: string, address: string, body: operations['post_safe_gas_estimation']['parameters']['body']): Promise; /** * Propose a new transaction for other owners to sign/execute */ export declare function proposeTransaction(chainId: string, address: string, body: operations['propose_transaction']['parameters']['body']): Promise; /** * Returns all defined chain configs */ export declare function getChainsConfig(query?: operations['chains_list']['parameters']['query']): Promise; /** * Returns a chain config */ export declare function getChainConfig(chainId: string): Promise; /** * Returns Safe Apps List */ export declare function getSafeApps(chainId: string, query?: operations['safe_apps_read']['parameters']['query']): Promise; /** * Returns list of Master Copies */ export declare function getMasterCopies(chainId: string): Promise; /** * Returns decoded data */ export declare function getDecodedData(chainId: string, encodedData: operations['data_decoder']['parameters']['body']['data']): Promise; /** * Returns list of `SafeMessage`s */ export declare function getSafeMessages(chainId: string, address: string, pageUrl?: string): Promise; /** * Returns a `SafeMessage` */ export declare function getSafeMessage(chainId: string, messageHash: string): Promise>; /** * Propose a new `SafeMessage` for other owners to sign */ export declare function proposeSafeMessage(chainId: string, address: string, body: operations['propose_safe_message']['parameters']['body']): Promise; /** * Add a confirmation to a `SafeMessage` */ export declare function confirmSafeMessage(chainId: string, messageHash: string, body: operations['confirm_safe_message']['parameters']['body']): Promise;