import React from 'react';
import { TextFieldProps } from '@mui/material/TextField';
type CommonProps = Omit<TextFieldProps, 'onChange' | 'value'> & {
    getSuggestions?: (value: string, pageSize: number, pageNumber?: number) => Promise<string[]>;
    max?: number;
    multiple?: boolean;
    fullWidth?: boolean;
    isCrossedOut?: boolean;
};
type MultipleProps = CommonProps & {
    value?: string | string[];
    onChange: (values: string[]) => void;
    multiple: true;
};
type SingleProps = CommonProps & {
    value?: string;
    onChange: (value: string) => void;
    multiple?: false;
};
type Props = MultipleProps | SingleProps;
export declare const TypeaheadEditor: ({ value: valueProp, max, getSuggestions, onChange, multiple, fullWidth, InputProps, isCrossedOut, ...inputProps }: Props) => React.JSX.Element;
export {};
