import type { ErrorType } from '../errors/utils.js'; import { type ParseUnitsErrorType } from './parseUnits.js'; export type ParseEtherErrorType = ParseUnitsErrorType | ErrorType; /** * Converts a string representation of ether to numerical wei. * * - Docs: https://viem.sh/docs/utilities/parseEther * * @example * import { Unit } from 'viem' * * Unit.parseEther('420') * // 420000000000000000000n */ export declare function parseEther(ether: string, unit?: 'wei' | 'gwei'): bigint; //# sourceMappingURL=parseEther.d.ts.map