/** * Built-in measurement units shipped with the viewer. * * Five units are wired by default: millimetre, inch, point, pica, * agate. Hosts can pass any subset (or extend with their own custom * units) via the `units` prop on `MeasureTool`. * * Conversions are anchored to PDF points (1 pt = 1/72 inch). The * inch is exact (25.4 mm), so all derived units are deterministic. * * @public */ import type { MeasurementUnit } from "../plugin/types"; /** * Millimetre. The metric default for print workflows. * * @public */ export declare const mmUnit: MeasurementUnit; /** * Inch. The U.S. print standard. * * @public */ export declare const inchUnit: MeasurementUnit; /** * Point. The PDF coordinate-space native unit (1 pt = 1/72 inch). * * @public */ export declare const pointUnit: MeasurementUnit; /** * Pica. Twelve points. Used in classical typography for body * widths and column gutters. * * @public */ export declare const picaUnit: MeasurementUnit; /** * Agate. 5.5 points. Historical newspaper measurement for column * inches in classified ads. * * @public */ export declare const agateUnit: MeasurementUnit; /** * The five built-in units in display order: mm, in, pt, pica, * agate. `MeasureTool` defaults to a subset (`defaultMeasurementUnits`) * for readability; consumers that want all five pass this array. * * @public */ export declare const allMeasurementUnits: ReadonlyArray; /** * Default units shown by `MeasureTool` when no `units` prop is * supplied: mm, in, pt. The two old-school print units (pica, * agate) are available as opt-ins via `allMeasurementUnits` or * by passing them explicitly — the readout would otherwise get * cluttered for the common case. * * @public */ export declare const defaultMeasurementUnits: ReadonlyArray; //# sourceMappingURL=index.d.ts.map