import React from 'react'; import { RenderResult } from '@testing-library/react'; import { BaseComboboxProps, ComboboxMultiselectProps } from '../Combobox'; import { OptionObject } from '../ComboboxOption'; export interface NestedObject { label: string; children: Array; } export type Select = 'single' | 'multiple'; type renderComboboxProps = { options?: Array; } & BaseComboboxProps & ComboboxMultiselectProps; export declare const defaultOptions: Array; export declare const groupedOptions: Array; /** * @param props Combobox props * @returns Combobox JSX */ export declare const getComboboxJSX: (props?: renderComboboxProps) => React.JSX.Element; /** * Renders a combobox * @param select `'single' | 'multiple'` * @param props `renderComboboxProps` * @returns Object of combobox elements & utility functions */ export declare function renderCombobox(select?: T, props?: renderComboboxProps): RenderResult & Record; /** * Conditionally runs a test * @param condition * @returns `test` */ export declare const testif: (condition: boolean) => jest.It; declare global { namespace jest { interface Matchers { toContainFocus(): R; } } } export {}; //# sourceMappingURL=ComboboxTestUtils.d.ts.map