import { TypographyProps } from '@mui/material/Typography'; import { RadioProps } from '@mui/material/Radio'; import { PopperProps } from '@mui/material/Popper'; import { PaperProps } from '@mui/material/Paper'; import { TextFieldProps } from '@mui/material/TextField'; import React from 'react'; import { ButtonProps } from '@mui/material/Button'; import { ListProps } from '@mui/material/List'; import { ChipProps } from '@mui/material/Chip'; export declare type menuItemType = { text: string; secondary?: string; icon?: React.ReactNode; selected?: boolean; children?: menuItemType[]; multiple?: boolean; }; export declare type PComplexFilterProps = { menuItems: menuItemType[]; setAnchorEl: React.Dispatch>; anchorEl: HTMLElement | null; title?: string; buttonIcon?: JSX.Element; buttonLabel?: string; itemHeight?: number; maxItems?: number; searchable?: boolean; currentFilterString: string[]; setCurrentFilterString: React.Dispatch>; activeFilters: menuItemType[]; setActiveFilters: React.Dispatch>; buttonProps?: ButtonProps; backButton?: React.ReactNode; backButtonProps?: ButtonProps; titleProps?: TypographyProps; popperProps?: PopperProps; paperProps?: PaperProps; listProps?: ListProps; listItemProps?: RadioProps; paperSearchProps?: Omit; searchProps?: TextFieldProps; chipProps?: ChipProps; chipTextProps?: TypographyProps; clearChipProps?: ChipProps; searchPlaceholder?: string; handleDisplayedItemsSearch?: (event: React.ChangeEvent) => void; returnAll?: boolean; returnTree?: boolean; startDate?: number | undefined; setStartDate?: React.Dispatch>; endDate?: number | undefined; setEndDate?: React.Dispatch>; beforeFilterComponent?: React.ReactNode; afterFilterComponent?: React.ReactNode; }; export declare function PComplexFilter({ menuItems, anchorEl, setAnchorEl, title, buttonIcon, buttonLabel, itemHeight, maxItems, searchable, currentFilterString, setCurrentFilterString, activeFilters, setActiveFilters, buttonProps, backButton, backButtonProps, titleProps, popperProps, paperProps, listItemProps, searchProps, paperSearchProps, chipProps, chipTextProps, clearChipProps, searchPlaceholder, handleDisplayedItemsSearch, returnAll, returnTree, startDate, setStartDate, endDate, setEndDate, beforeFilterComponent, afterFilterComponent, }: PComplexFilterProps): JSX.Element;