import { RuleGroupType } from 'react-querybuilder';
import { default as React } from 'react';
import { ViewType } from '../../contexts/page-context';

interface ActionData {
    label: string;
    position: number;
}
interface ActionBarPropsType {
    title: string;
    data: ActionData[];
    setData: React.Dispatch<React.SetStateAction<ActionData[]>>;
    active: string;
    setActive: (view: ViewType) => void;
    handleAddButton?: (e?: any) => void;
    button?: boolean;
    handleSearch?: (value: string) => void;
    filters?: string;
    disabledViews?: string[];
    isDropdownMenuButton?: boolean;
    itemListingDropdownOptions?: any;
    isTitleMenu?: boolean;
    titleMenus?: any;
    folderData?: any;
    type?: any;
    fields?: any;
    applyFilter?: any;
    savedFilters?: SavedFilter;
    setSavedFilters?: (view: SavedFilter) => void;
    isToggleButton?: boolean;
    handleToggleButton?: (e?: any) => void;
    showView?: boolean;
    showSearch?: boolean;
    showFilter?: boolean;
    customButtons?: React.ReactNode[] | JSX.Element[];
    actionBtn?: React.ReactNode[] | JSX.Element[];
    pageName?: string;
    importModuleName?: string;
    searchText?: string;
    selectedIds?: any;
    isUseFields?: boolean;
    handleSuccessImport?: (e?: any) => void;
}
interface SavedFilter {
    id: string;
    name: string;
    query: RuleGroupType;
}
declare const ActionBar: React.MemoExoticComponent<(props: ActionBarPropsType) => import("react/jsx-runtime").JSX.Element>;
export { ActionBar };
export default ActionBar;
