import { Balance, NearestEndpoint, OracleData, Ownership, Token } from "./types.js"; import { Contract } from "./contract.js"; export declare function rawGraphQLQuery(query: string, endpoint: string | URL): Promise; export declare function getNearestEndpoints(endpoint: string | URL): Promise; export declare function getTransactionIndex(address: string | Uint8Array, endpoint: string | URL): Promise; export declare function getStorageNoncePublicKey(endpoint: string | URL): Promise; export declare function getTransactionOwnerships(address: string | Uint8Array, endpoint: string | URL, last?: boolean): Promise; export declare function getToken(tokenAddress: string | Uint8Array, endpoint: string | URL): Promise<{} | Token>; export declare function getOracleData(endpoint: string | URL, timestamp?: undefined | number): Promise; export declare function subscribeToOracleUpdates(endpoint: string | URL, handler: Function): Promise; export declare function getBalance(address: string | Uint8Array, endpoint: string | URL): Promise; export type ContractCode = { code: string; contract?: Contract; }; export declare function getContractCode(address: string | Uint8Array, endpoint: string | URL): Promise;