///
import { DateTime } from "luxon";
import { InputDateTimeProps, CalendarWeeks, CalendarSelect } from "../ui";
import { RowData, CellRendererProps, EditableCellOptions } from "./types";
export declare const DISPLAY_DATE_FORMAT = "yyyy-MM-dd";
export declare const DISPLAY_DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
export declare const DISPLAY_WEEK_HEADER_FORMAT = "MMM d";
export declare const DISPLAY_DAY_FORMAT = "EEE, MMM d";
export declare const DISPLAY_TIME_FORMAT = "h:mm a";
export declare enum SelectDateTimeValue {
Date = 0,
DateTime = 1,
BroadcastWeekKey = 2
}
declare type SelectOption = Pick & {
getDateFromValue: (value: unknown, timezone?: string) => DateTime | null;
getValueFromDate: (date: DateTime) => string | number | DateTime;
calendarSelect: CalendarSelect;
};
interface Options extends EditableCellOptions {
select?: SelectDateTimeValue | SelectOption;
showWeeks?: CalendarWeeks;
timezone?: string;
}
export default function createDateTimeCell({ name, select, disabled, canEdit, showWeeks, timezone, }: Options): ({ row, cell, isEditRowLoading, }: CellRendererProps) => R[N] | JSX.Element | null | string;
export {};