import { MutableRef } from 'preact/hooks';
import { RefObject } from 'preact';
import { AmPmLocalizedValues } from "../utils/UNSAFE_timeUtils";
import { TimeFieldAction } from './timeReducer';
export declare function useDayPeriodInputHandlers(amPm: AmPmLocalizedValues, dayPeriodTextRef: MutableRef<string | null>, ref: RefObject<HTMLDivElement>, onChange?: (action: TimeFieldAction) => void): {
    onBeforeInput: (e: InputEvent) => void;
    onInput: (e: InputEvent) => void;
};
