import React from 'react'; import moment from 'moment-timezone'; import { DayOfWeek } from '@densityco/lib-common-types'; export declare const TimeFilterPickerContext: React.Context; export declare function TimePicker({ value, onChange, disabled, }: { value: moment.Moment; onChange: (value: moment.Moment) => void; disabled?: boolean; }): JSX.Element; /** * @param startTime A moment instance that represents the start time-of-day, in the user's local tz, e.g. the return value of moment() * @param endTime A moment instance that represents the end time-of-day * @param daysOfWeek The days of the week that this segment should apply to * @param setStartTime Setter function for the start time-of-day, that accepts a moment in the user's local tz * @param setEndTime Setter function for the end time-of-day * @param setDaysOfWeek Setter function for the days-of-week array * @param disabled If true, disable the whole picker */ export default function TimeFilterPicker({ startTime, endTime, daysOfWeek, setStartTime, setEndTime, setDaysOfWeek, disabled, }: { startTime: moment.Moment; endTime: moment.Moment; daysOfWeek: Array; setStartTime: (value: moment.Moment) => void; setEndTime: (value: moment.Moment) => void; setDaysOfWeek: (value: Array) => void; disabled?: boolean; }): JSX.Element;