import type { ProviderRequest } from '../types'; /** * Type guard for connect-like requests: * - wallet_requestPermissions * - eth_requestAccounts * * @param req - The request object to check * @returns True if the request is a connect-like request, false otherwise */ export declare function isConnectRequest(req: ProviderRequest): req is Extract; /** * Type guard for wallet_switchEthereumChain request. * * @param req - The request object to check * @returns True if the request is a wallet_switchEthereumChain request, false otherwise */ export declare function isSwitchChainRequest(req: ProviderRequest): req is Extract; /** * Type guard for wallet_addEthereumChain request. * * @param req - The request object to check * @returns True if the request is a wallet_addEthereumChain request, false otherwise */ export declare function isAddChainRequest(req: ProviderRequest): req is Extract; /** * Type guard for generic accounts request: * - eth_accounts * - eth_coinbase * * @param req - The request object to check * @returns True if the request is a generic accounts request, false otherwise */ export declare function isAccountsRequest(req: ProviderRequest): req is Extract; /** * Type guard for generic eth_chainId request. * * @param req - The request object to check * @returns True if the request is a eth_chainId request, false otherwise */ export declare function isChainIdRequest(req: ProviderRequest): req is Extract; /** * Validates that all values in a Record are valid URLs. * * @param record - The record to validate (e.g., supportedNetworks) * @param recordName - The name of the record for error messages * @throws Error if any values are invalid URLs */ export declare function validSupportedChainsUrls(record: Record, recordName: string): void; //# sourceMappingURL=type-guards.d.ts.map