import { type ICatalogDateDataset, type ObjRef } from "@gooddata/sdk-model";
export interface IDateDatasetDropdownProps {
    autoOpen?: boolean;
    widgetRef: ObjRef;
    relatedDateDatasets: readonly ICatalogDateDataset[];
    activeDateDataset?: ICatalogDateDataset;
    unrelatedDateDataset?: ICatalogDateDataset;
    dateFromVisualization?: ICatalogDateDataset;
    onDateDatasetChange: (id: string) => void;
    className?: string;
    width: number;
    isLoading?: boolean;
    enableUnrelatedItemsVisibility?: boolean;
    unrelatedDateDatasets: readonly ICatalogDateDataset[] | undefined;
}
export declare function DateDatasetDropdown(props: IDateDatasetDropdownProps): import("react/jsx-runtime").JSX.Element;
/**
 * Purpose of this hook is keep value of closeOnParentScroll derived from autoOpen
 * We need set closeOnParentScroll to false and after item scrolled return to true
 * otherwise dropdown is immediately closed when item is scrolled to view
 */
export declare function useAutoScroll(autoOpen: boolean): {
    onItemScroll: () => void;
    closeOnParentScroll: boolean;
};
//# sourceMappingURL=DateDatasetDropdown.d.ts.map