UNPKG

time-calculator-web-component

Version:
10 lines 487 B
import { FormatMode, TimeAmount } from './types.js'; export declare class TimeFormatter { static toHColonMM(minutes: number): string; static toMinutes(minutes: number): string; static format(minutes: number, mode: FormatMode): string; static formatTimeAmount(timeAmount: TimeAmount, mode: FormatMode): string; } export declare function toMinutes(input: string): number; export declare function toHColonMM(minutes: number): string; //# sourceMappingURL=formatters.d.ts.map