import { PolymorphicProps, TgphElement } from '@telegraph/helpers'; import { StackProps } from '@telegraph/layout'; import { TextProps } from '@telegraph/typography'; import { ComponentPropsWithRef, ReactNode } from 'react'; export type BaseRootProps = { size?: "1" | "2" | "3"; variant?: "outline" | "ghost"; errored?: boolean; }; export type RootProps = BaseRootProps & { as?: T; textProps?: Omit, "as">; stackProps?: Omit; } & Omit, "as" | keyof BaseRootProps>; declare const Root: (rootProps: RootProps) => import("react").JSX.Element; export type SlotProps = Omit, "size"> & { children?: ReactNode; size?: "1" | "2" | "3"; position?: "leading" | "trailing"; }; declare const Slot: import('react').ForwardRefExoticComponent & import('react').RefAttributes>; export type DefaultProps = Omit, keyof BaseRootProps> & RootProps & { LeadingComponent?: ReactNode; TrailingComponent?: ReactNode; }; declare const Default: ({ LeadingComponent, TrailingComponent, ...props }: DefaultProps) => import("react").JSX.Element; declare const Input: typeof Default & { Root: typeof Root; Slot: typeof Slot; }; export { Input }; //# sourceMappingURL=Input.d.ts.map