import { NETWORK, NFT, Proof, Token } from "../types"; /** * * @param input - The URL of the RPC endpoint to query for NFT assets. * @param init - The maximum number of assets to retrieve in each RPC call (default: 500). * @returns - The response from the RPC endpoint. */ export default function fetchRetry(input: RequestInfo | URL, init?: RequestInit | undefined): Promise; /** * Retrieves NFT assets owned by a specific owner from an RPC (Remote Prwocedure Call) endpoint. * * @param ownerAddress - The address of the owner for whom you want to retrieve NFT assets. * @param rpc - The URL of the RPC endpoint to query for NFT assets. * @param limit - The maximum number of assets to retrieve in each RPC call (default: 500). * @returns An array of NFT assets owned by the specified owner. */ export declare const getAssetsByOwner: (ownerAddress: string, rpc: string, limit?: number) => Promise; /** * * @param network - The network to query for Wallet's tokens. * @param ownerAddress - The address of the owner for whom you want to retrieve tokens. * @returns - An array of tokens owned by the specified owner. */ export declare const getTokensByOwner: (network: NETWORK, ownerAddress: string) => Promise; /** * @param uri - The RPC endpoint to query for NFT assets. * @param mints - The mints of the NFTs for which you want to retrieve proofs. * @returns - An array of proofs for the specified NFTs. */ export declare const getAssetProof: (uri: string, mints: string[]) => Promise; /** * * @param uri - The RPC endpoint to query for NFT assets. * @param mint - The mint of the NFT for which you want to retrieve metadata. * @returns - The metadata for the specified NFT. */ export declare const getAssetMetadata: (uri: string, mint: string) => Promise; /** * * @param uri - The uri of the metadata to retrieve. * @returns - The metadata for the specified uri. */ export declare const getUriMetadata: (uri: string) => Promise; /** * * @param input - The input to calculate the size of. * @returns - The size of the input in bytes. */ export declare function bytesOf(input: any): number; //# sourceMappingURL=api.d.ts.map