type QueryResult = {
    nativeBalance: string;
    tokenBalance: string | undefined;
};
declare const useSolanaBalance: ({ userAddress, tokenAddress, enabled, }: {
    userAddress: string;
    tokenAddress?: string;
    enabled?: boolean;
}) => import('@tanstack/react-query').UseQueryResult<QueryResult, Error>;
export default useSolanaBalance;
export declare const getSolanaBalance: ({ userAddress, rpc, tokenAddress, }: {
    userAddress: string;
    rpc: string | undefined;
    tokenAddress?: string;
}) => Promise<QueryResult>;
