import { WalletResult } from "../types"; declare type Props = { /** * Wallet public address */ publicAddress: string; /** * Endpoint to your API, which hold all RPC calls * This endpoint needs to return result of getParsedNftAccountsByOwner() * from @nfteyez/sol-rayz package * EXAMPLE: '/api/accounts', 'https://example.com/accounts' */ endpoint: string; }; /** * This hook is wrapper over `getParsedNftAccountsByOwner` * it fetches NFT list when wallet public address changes * and returns possible states: error, isLoading or list of NFT */ export declare const useWalletNftsSWR: ({ publicAddress, endpoint, }: Props) => WalletResult; export {}; //# sourceMappingURL=useWalletNftsSWR.d.ts.map