/** Target unit for {@link formatSpeed}: km/h, mph, knots, or raw m/s. */ export type SpeedUnit = "kmh" | "mph" | "knots" | "ms"; /** Options for {@link formatSpeed}. */ export interface SpeedFormat { /** Target unit to convert into from the m/s input. Defaults to `"kmh"`. */ unit?: SpeedUnit; /** Fractional digits to show. Defaults to 0. */ decimals?: 0 | 1 | 2; /** Append the unit label. Defaults to true; set false to compose custom unit styling. */ showUnit?: boolean; } /** * Format a speed given in meters/second as a HUD-ready string in km/h, mph, knots, or m/s — the one conversion table every speedometer and telemetry readout should share. * * @capability speed-format render a m/s speed as km/h, mph, knots, or m/s for speedometers and telemetry HUDs */ export declare function formatSpeed(metersPerSecond: number, options?: SpeedFormat): string;