import { Optional } from '@ephox/katamari'; declare const units: { unsupportedLength: ("em" | "px" | "ex" | "cap" | "ch" | "ic" | "rem" | "lh" | "rlh" | "vw" | "vh" | "vi" | "vb" | "vmin" | "vmax" | "cm" | "mm" | "Q" | "in" | "pc" | "pt")[]; fixed: ("px" | "pt")[]; relative: "%"[]; empty: ""[]; }; type Units = { [K in keyof typeof units]: typeof units[K][number]; }; export interface Dimension { readonly value: number; readonly unit: Units[U]; } export declare const parse: (input: string, accepted: T[]) => Optional>; export declare const normalise: (input: string, accepted: T[]) => Optional; export {}; //# sourceMappingURL=Dimension.d.ts.map