import React from "react"; import type { FormHeightNames } from "../../../system/Sizes"; /** * The subset of props `InputSelect` reads off its children when it restyles * them. React 19 types `ReactElement` props as `unknown` by default, so the * shape has to be declared explicitly here and at the `isValidElement` call * site in `InputSelect.tsx`. */ export type StyledChildProps = { className?: string; style?: React.CSSProperties; disabled?: boolean; isDisabled?: boolean; isError?: boolean; width?: string; height?: FormHeightNames; }; type StyledChildOptions = { isFirstChild: boolean; height?: FormHeightNames; }; export declare const createStyledSelectChild: (child: React.ReactElement, options: StyledChildOptions) => React.ReactElement>; export declare const createStyledInputChild: (child: React.ReactElement, options: StyledChildOptions) => React.JSX.Element; export {};