import type { MaskitoPreprocessor } from '@maskito/core';
import type { MaskitoTimeMode, MaskitoTimeSegments } from '../types';
/**
 * Prevent insertion if any time segment will become invalid
 * (and even zero padding won't help with it).
 * @example 2|0:00 => Type 9 => 2|0:00
 */
export declare function createInvalidTimeSegmentInsertionPreprocessor({ timeMode, timeSegmentMinValues, timeSegmentMaxValues, parseValue, }: {
    timeMode: MaskitoTimeMode;
    timeSegmentMinValues?: MaskitoTimeSegments<number>;
    timeSegmentMaxValues?: MaskitoTimeSegments<number>;
    parseValue?: (value: string) => {
        timeString: string;
        restValue?: string;
    };
}): MaskitoPreprocessor;
//# sourceMappingURL=invalid-time-segment-insertion-preprocessor.d.ts.map