export declare type UnitType = 'h' | 'm' | 'pre';
export declare type MinuteIntervalType = 1 | 5 | 15 | 30 | 60;
export declare class TimePickerService {
    dayChange: number;
    private regIsHM;
    private regIsHMValue;
    private regIsPre;
    private regIsPreValue;
    config: {
        time: {
            format: string;
        };
        m: {
            interval: number;
            intervalUnit: string;
            format: string;
        };
        h: {
            interval: number;
            intervalUnit: string;
            format: string;
        };
        pre: {
            interval: number;
            intervalUnit: string;
            format: string;
        };
    };
    selectedTime: any;
    private selected;
    selected$: import("rxjs/internal/Observable").Observable<any>;
    militaryTime: boolean;
    private military;
    military$: import("rxjs/internal/Observable").Observable<boolean>;
    private isShow;
    isShow$: import("rxjs/internal/Observable").Observable<boolean>;
    constructor();
    show(isOpen: boolean): void;
    validTime: (unit: any, v: any) => boolean;
    validPre: (unit: any, v: any) => boolean;
    getTimeString: () => any;
    initTime: (v: any) => void;
    setMilitary: (v: any) => void;
    setMinuteInterval: (v: any) => void;
    getUnitText: (unit: any) => any;
    changeTimeByInterval: (unit: any, multiplier: any) => void;
    changeTime: (unit: any, change: any) => void;
    setTime: (hour?: any, minute?: any, pre?: any) => void;
    setTimeByUnit: (unit: any, value: any) => void;
}
