1 | import PropTypes from 'prop-types';
|
2 | import { Requireable } from 'react';
|
3 | import type { TypeaheadProps } from './types';
|
4 | export declare const sizeType: PropTypes.Requireable<"lg" | "sm">;
|
5 | type Props = TypeaheadProps;
|
6 | type PropName = keyof Props;
|
7 | type Callback = (props: Props, propName: PropName, componentName: string) => void;
|
8 | type Validator = Requireable<unknown>;
|
9 | export declare function checkPropType(validator: Validator, callback: Callback): (props: Props, propName: PropName, componentName: string) => void;
|
10 | export declare function caseSensitiveType(props: Props): void;
|
11 | export declare function deprecated(validator: Validator, reason: string): (props: Props, propName: PropName, componentName: string) => void;
|
12 | export declare function defaultInputValueType(props: Props): void;
|
13 | export declare function defaultSelectedType(props: Props): void;
|
14 | export declare function highlightOnlyResultType({ allowNew, highlightOnlyResult, }: Props): void;
|
15 | export declare function ignoreDiacriticsType(props: Props): void;
|
16 | export declare function inputPropsType({ inputProps }: Props): void;
|
17 | export declare function isRequiredForA11y(props: Props, propName: PropName, componentName: string): void;
|
18 | export declare function labelKeyType({ allowNew, labelKey }: Props): void;
|
19 | export declare const optionType: PropTypes.Requireable<NonNullable<string | object | null | undefined>>;
|
20 | export declare function selectedType({ multiple, onChange, selected }: Props): void;
|
21 | export {};
|