import type { Dinero, RoundingOptions } from '../types'; import type { Dependencies } from './types'; export declare type ToUnitParams = readonly [ dineroObject: Dinero, options?: RoundingOptions ]; export declare type ToUnitDependencies = Dependencies; export declare function toUnit({ calculator }: ToUnitDependencies): (dineroObject: Dinero, options?: RoundingOptions | undefined) => number;