import * as API from "./api.js"; import Archethic from "./index.js"; import { Balance, OracleData, Token } from "./types.js"; import { AddOriginKeyResponse } from "./api/types.js"; export default class Network { private core; constructor(core: Archethic); getStorageNoncePublicKey(): Promise; addOriginKey(originKey: string, certificate: string): Promise; callFunction(contractAddress: string, functionName: string, args: any[]): Promise; getOracleData(timestamp?: number | undefined): Promise; subscribeToOracleUpdates(callback: Function): Promise; getToken(tokenAddress: string): Promise; getBalance(address: string): Promise; rawGraphQLQuery(query: string): Promise; getContractCode(address: string): Promise; }