import type { MaskitoTimeMode, MaskitoTimeSegments } from '../../types';
/**
 * Pads invalid time segment with zero to make it valid.
 * @example 00:|00 => Type 9 (too much for the first digit of minutes) => 00:09|
 * @example |19:00 => Type 2 (29 - invalid value for hours) => 2|0:00
 */
export declare function enrichTimeSegmentsWithZeroes({ value, selection }: {
    value: string;
    selection: readonly [number, number];
}, { mode, timeSegmentMaxValues, }: {
    mode: MaskitoTimeMode;
    timeSegmentMaxValues?: MaskitoTimeSegments<number>;
}): {
    value: string;
    selection: readonly [number, number];
};
//# sourceMappingURL=enrich-time-segments-with-zeroes.d.ts.map