import React, { CSSProperties, FocusEventHandler, KeyboardEventHandler, MouseEventHandler } from 'react'; import { InputProps } from '@mui/material/Input'; import { WidgetProps, WithScalarValue } from '@ui-schema/ui-schema'; import { MuiWidgetBinding } from '@ui-schema/ds-material/widgetsBinding'; export interface StringRendererBaseProps { type?: string; style?: CSSProperties; onClick?: MouseEventHandler | undefined; onFocus?: FocusEventHandler | undefined; onBlur?: FocusEventHandler | undefined; onKeyUp?: KeyboardEventHandler | undefined; onKeyDown?: KeyboardEventHandler | undefined; /** * @deprecated */ onKeyPress?: (e: KeyboardEvent) => void | undefined; onKeyPressNative?: KeyboardEventHandler | undefined; inputProps?: InputProps['inputProps']; InputProps?: Partial; inputRef?: any; } export interface StringRendererProps extends StringRendererBaseProps { multiline?: boolean; /** * @deprecated use `minRows` instead */ rows?: number; /** * @deprecated use `maxRows` instead */ rowsMax?: number; minRows?: number; maxRows?: number; } export interface TextRendererProps extends StringRendererProps { multiline?: true; } export interface NumberRendererProps extends StringRendererBaseProps { steps?: number | 'any'; } export declare const StringRenderer:

> = WidgetProps>>({ type, multiline, rows, rowsMax, minRows, maxRows, storeKeys, schema, value, onChange, showValidity, valid, errors, required, style, onClick, onFocus, onBlur, onKeyUp, onKeyDown, onKeyPressNative: onKeyPress, onKeyPress: onKeyPressDeprecated, inputProps, InputProps, inputRef: customInputRef, widgets, }: P & WithScalarValue, import("@ui-schema/ui-schema").UIStoreUpdaterData>> & StringRendererProps) => React.ReactElement; export declare const TextRenderer:

> = WidgetProps>>({ schema, ...props }: P & WithScalarValue, import("@ui-schema/ui-schema").UIStoreUpdaterData>> & TextRendererProps) => React.ReactElement; export declare const NumberRenderer:

> = WidgetProps>>(props: P & WithScalarValue, import("@ui-schema/ui-schema").UIStoreUpdaterData>> & NumberRendererProps) => React.ReactElement;