import { AllUnits, Ms } from "./ms.mjs"; //#region src/index.d.ts /** * Identity function that accepts a duration in milliseconds and returns it unchanged. * Pass the time string as the generic parameter to enforce the correct value at compile time. * * Handles integer and floating point numbers, leading and trailing whitespaces, * negative numbers. * * See {@link Ms} for more details and examples. * @example Enforce a specific duration value: * const duration = ms<'42m'>(2_520_000); * @example Negative and floating-point durations: * const duration = ms<'-3.14d'>(-271_296_000); */ declare const ms: (milliseconds: Ms) => Ms; //#endregion export { type AllUnits, type Ms, ms };