///
import { BaseComponent, IBaseProps } from '@uifabric/utilities/lib';
export declare enum TimeNotation {
AM = 0,
PM = 1,
D24H = 2
}
export interface ClockTime {
hour: number;
minute: number;
notation: TimeNotation;
}
export interface TimePickerAttributes {
time: ClockTime;
}
export interface TimePickerActions {
change(ClockTime: any): any;
}
export declare type TimePickerProps = IBaseProps & TimePickerAttributes & TimePickerActions;
export interface TimePickerState {
notation: TimeNotation;
}
/**
* editor for time in a day
*/
export declare class TimePicker extends BaseComponent {
private _errorMessages;
constructor(props: TimePickerProps);
render(): JSX.Element;
private readonly changeHour;
private readonly changeMinute;
private readonly maxHour;
private readonly changeNotation;
private readonly displayHour;
private handleChange;
private validateNumber;
}
export declare function getD24hour(time: ClockTime): number;
export declare function getClock(time: Date): ClockTime;
export declare function convertNotation(time: ClockTime, notation: TimeNotation): ClockTime;