declare const errors: { 'not-basic': string; 'invalid-input': string; }; /** * A generic error utility function. * * @param type - The error type key. * @throws Throws a `RangeError` with the applicable error message. */ export declare const rangeError: (type: keyof typeof errors) => never; export declare const checkOverflow: (lower: number, upper: number, { gte, error, }?: { gte?: boolean; error?: keyof typeof errors; }) => void; export {}; //# sourceMappingURL=errors.d.ts.map