import type { TypedFunction } from '../../../core/function/typed.js'; /** * Unit class interface */ interface UnitClass { new (value: number | null, unit?: string): UnitInstance; parse(str: string, options?: { allowNoUnits?: boolean; }): UnitInstance; isValuelessUnit(str: string): boolean; } /** * Unit instance interface */ interface UnitInstance { clone(): UnitInstance; } /** * Dependencies for createUnitFunction */ interface UnitFunctionDependencies { typed: TypedFunction; Unit: UnitClass; } export declare const createUnitFunction: import("../../../utils/factory.js").FactoryFunction; export {}; //# sourceMappingURL=unit.d.ts.map