/// import { SearchProps } from 'semantic-ui-react'; import { GenomicRange } from 'utilities/types'; export declare type AutocompleteSuggestionFetcher = (e: React.MouseEvent, data: SearchProps) => Promise | undefined>; export declare type UploadWithSearchBoxProps = { onFilesReceived: (list: FileList) => void; onSearchSubmitted: (value: string) => void; isSearchTextValid?: (text: string) => boolean; getSuggestions?: AutocompleteSuggestionFetcher; example?: React.ReactNode; title?: React.ReactNode; instructions?: React.ReactNode; }; export declare type UploadWithRegionOrSNPSearchBoxProps = { onFilesReceived: (list: FileList) => void; onSearchSubmitted: (value: string | GenomicRange) => void; isSearchTextValid?: (text: string) => boolean; getSuggestions?: AutocompleteSuggestionFetcher; example?: React.ReactNode | ((props: UploadWithRegionOrSNPSearchBoxProps) => JSX.Element); title?: React.ReactNode; instructions?: React.ReactNode; }; export declare type UploadWithRegionSearchBoxProps = { onFilesReceived: (list: FileList) => void; onRegionSubmitted: (region: GenomicRange) => void; getSuggestions?: AutocompleteSuggestionFetcher; example?: React.ReactNode | ((props: UploadWithRegionSearchBoxProps) => JSX.Element); title?: React.ReactNode; instructions?: React.ReactNode; };