import { SearchDateRange } from "../embeddable/Main";
import { Configuration, ConfigurationUpdateFunction } from "../embeddable/entry";
import { AnalysisResponseEntry, AnalysisToken, GenericResultItem, SearchToken, SortField } from "./client";
import { SelectionsAction, SelectionsState } from "./useSelections";
import React from "react";
type SearchMobileProps = {
    configuration: Configuration;
    onConfigurationChange: ConfigurationUpdateFunction;
    onDetail(detail: GenericResultItem<unknown> | null): void;
    spans: Array<AnalysisResponseEntry>;
    selectionsState: SelectionsState;
    selectionsDispatch(action: SelectionsAction): void;
    showSyntax: boolean;
    dateRange: SearchDateRange;
    onDateRangeChange(dateRange: SearchDateRange): void;
    isMobile: boolean;
    setSortResult: (sortField: {
        field: string;
        type: "desc" | "asc";
    } | null | undefined) => void;
    searchQuery: SearchToken[];
    onAddFilterToken: (searchToken: SearchToken) => void;
    onRemoveFilterToken: (searchToken: SearchToken) => void;
    filtersSelect: SearchToken[];
    sort: SortField[];
    dynamicFilters: boolean;
    isVisible: boolean;
    setIsVisible: React.Dispatch<React.SetStateAction<boolean>> | undefined;
    btnSearch: boolean;
};
export declare function SearchMobile({ configuration, spans, selectionsState, selectionsDispatch, onDetail, showSyntax, isMobile, isVisible, btnSearch, setIsVisible, }: SearchMobileProps): import("react/jsx-runtime").JSX.Element | null;
export declare const SearchMobileMemo: React.MemoExoticComponent<typeof SearchMobile>;
type TokenSelectMobileProps = {
    span: AnalysisResponseEntry;
    onSelect(token: AnalysisToken | null): void;
    onSelectText(token: AnalysisToken | null): void;
    selected: AnalysisToken | null;
    isOpen: boolean;
    selectionsDispatch: (action: SelectionsAction) => void;
    optionIndex: number | null;
    onOptionIndexChange(optionIndex: number): void;
    isAutoSlected: boolean;
    setIsVisible: React.Dispatch<React.SetStateAction<boolean>> | undefined;
    setOpenedDropdown: React.Dispatch<React.SetStateAction<{
        textPosition: number;
        optionPosition: number;
    } | null>>;
};
export declare function TokenSelectMobile({ span, onSelect, selected, isOpen, optionIndex, onOptionIndexChange, isAutoSlected, setOpenedDropdown, onSelectText, selectionsDispatch, setIsVisible, }: TokenSelectMobileProps): import("react/jsx-runtime").JSX.Element;
export {};
