import { InputProps } from '@mui/material';
import { ReactNode } from 'react';
export type TextFieldWithWordLimitProps = InputProps & {
    label?: ReactNode;
    helperText?: ReactNode;
    minWords?: number;
    maxWords?: number;
};
export declare function getWordCount(s: string): number;
/**
 * Wrapper around MUI input components that displays the word count of the input. The appearance of the word count changes
 * based on the validity of the current input.
 * @param props
 * @constructor
 */
export default function TextFieldWithWordLimit(props: TextFieldWithWordLimitProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=TextFieldWithWordLimit.d.ts.map