import React, { PropsWithChildren } from 'react'; import { TextFieldProps } from '@shopify/checkout-ui-extensions'; export interface Props extends PropsWithChildren { autofocus?: boolean; maxLength?: number; } /** * A text field is an input field that merchants can type into. */ export declare const TextField: React.ForwardRefExoticComponent>; export interface InternalProps extends Omit { min?: number; max?: number; step?: number; maxLength?: number; ariaActiveDescendant?: string; ariaAutocomplete?: string; ariaControls?: string; ariaDescribedBy?: string; ariaExpanded?: boolean; role?: string; error?: string | boolean; onKeyDown?(event: React.KeyboardEvent): void; } export declare const TextFieldInternal: React.ForwardRefExoticComponent>; interface FieldProps extends Omit { id: string; localValue?: string; focus: boolean; } export declare const Field: React.ForwardRefExoticComponent>; export {};