/**
 * Clear an input field and check that it is empty.
 * @param ui Input element.
 * @returns The input element.
 * @throws If the input is not empty.
 *
 * @example
 * ```tsx
 * const { container } = render(<Input />);
 * const input = container.querySelector("input");
 * await clearAndCheckEmpty(input);
 * ```
 *
 */
export declare const clearAndCheckEmpty: (ui: HTMLElement) => Promise<void>;
/**
 * Type text into a form field and check that the value is correct.
 * @param ui Input element.
 * @param valueToType Value to type.
 * @returns The input element.
 *
 *
 */
export declare const typeAndCheckValue: (ui: HTMLElement, valueToType: string) => Promise<void>;
export declare const getNormalizedText: (element: HTMLElement) => string;
export declare const findMenuItemByNormalizedText: (container: HTMLElement, text: string) => HTMLElement | null;
//# sourceMappingURL=common-patters.d.ts.map