/********************************************************************* * © Copyright IBM Corp. 2024 *********************************************************************/ import React from 'react'; import { ZIndexProps } from './model'; export declare enum DateSortDirection { Ascending = "Ascending", Descending = "Descending" } export interface DateHeaderProps extends ZIndexProps { sortDirection?: DateSortDirection; beforeDate?: Date; afterDate?: Date; onClearFiltersClick?: () => void; onDateChange?: (dateFilter: { afterDate?: Date; beforeDate?: Date; }) => void; hasClearButton: boolean; } export declare const getDatesRange: () => Date[]; export declare const getTimeRange: () => { id: number; }[]; export declare const renderTime: (value: { id: number; } | undefined) => string; interface DatePickersProps { beforeDate?: Date; afterDate?: Date; onSetClick: (dateFilter: { beforeDate?: Date; afterDate?: Date; }) => void; onOpenDropdown?: () => void; onCloseDropdown?: () => void; } export declare const DatePickers: ({ onSetClick, beforeDate: beforeDateProp, afterDate: afterDateProp, onCloseDropdown, onOpenDropdown }: DatePickersProps) => React.JSX.Element; export declare const DateHeader: ({ onClearFiltersClick, onDateChange, beforeDate, afterDate, hasClearButton, popoverZIndex }: DateHeaderProps) => React.JSX.Element; export declare const DateRow: ({ item }: { item: { createdAt?: Date; }; }) => React.JSX.Element; export {};