import { type Address, type MaybeEncodedAccount, type Rpc, type SolanaRpcApi } from '@solana/kit';
export declare function createRpc(url: string): Rpc<SolanaRpcApi>;
export declare function fetchAccount(rpc: Rpc<SolanaRpcApi>, address: Address): Promise<MaybeEncodedAccount>;
/**
 * Fetches raw account data bytes, returning null when the account does not exist.
 */
export declare function fetchAccountDataRaw(rpc: Rpc<SolanaRpcApi>, address: Address): Promise<Uint8Array | null>;
export type SolanaRpcClient = Rpc<SolanaRpcApi>;
//# sourceMappingURL=rpc.d.ts.map