import { ReactNode } from 'react';
import { DateFieldSingleProps } from '../../../components/DateFieldSingle';
import { DateListFilter, DateListLibraryOptionId, DateListOption } from './internal/types';
interface DateListDialogProps {
    /** Library option whose dialog is open; null when closed. */
    libraryId: DateListLibraryOptionId | null;
    /** Parent filter id; used to derive unique DOM ids for the synthetic date pickers inside the dialog. */
    parentFilterId: string;
    /** Pre-seed value when re-opening an already-selected library option. */
    initialValue?: string | {
        startDate: string;
        endDate: string;
    };
    mode?: DateFieldSingleProps["mode"];
    /** Primary CTA label. "Apply" in popover, "Save" in drawer. */
    dialogCtaLabel: "Apply" | "Save";
    onCommit: (option: DateListOption) => void;
    onCancel: () => void;
}
/**
 * Dialog shared by FilterDateList (popover) and FilterDrawer's dateList case.
 * Renders a date or range picker for the chosen library option and commits
 * up on Apply/Save.
 */
export declare const DateListDialog: ({ libraryId, parentFilterId, initialValue, mode, dialogCtaLabel, onCommit, onCancel, }: DateListDialogProps) => import("react/jsx-runtime").JSX.Element;
interface FilterDateListProps {
    filter: DateListFilter;
    committedValue: DateListOption | undefined;
    onCommit: (value: DateListOption | undefined) => void;
    label: ReactNode;
    isSelected: boolean;
    /** Primary CTA label for the library-option dialog. */
    dialogCtaLabel: "Apply" | "Save";
    /** Configures a "Clear" button in the SelectMenu footer. Presence enables it. */
    clear?: {
        onClick: () => void;
        label?: string;
        disabled?: boolean;
    };
}
/**
 * FilterDateList renders the dateList filter's option list via SelectMenuSync.
 * Consumer options commit immediately; library options open a Dialog whose
 * Apply commits the final picked date or range.
 */
export declare const FilterDateList: ({ filter, committedValue, onCommit, label, isSelected, dialogCtaLabel, clear, }: FilterDateListProps) => import("react/jsx-runtime").JSX.Element;
export {};
