import * as React from 'react';
import { TextField as TextField$1 } from '@radix-ui/themes';

type RSlotProps = TextField$1.SlotProps;
type RootProps = TextField$1.RootProps & {
    error?: boolean;
};
declare const TextField: {
    Root: React.ForwardRefExoticComponent<TextField$1.RootProps & {
        error?: boolean | undefined;
    } & React.RefAttributes<HTMLInputElement>>;
    Slot: React.ForwardRefExoticComponent<TextField$1.SlotProps & React.RefAttributes<HTMLDivElement>>;
};

export { type RootProps, type RSlotProps as SlotProps, TextField };
