/// export { useAlert } from 'react-alert'; import * as React$1 from 'react'; import React__default, { ButtonHTMLAttributes, InputHTMLAttributes, ComponentType, ImgHTMLAttributes, SVGProps, ReactNode } from 'react'; import * as styled_components from 'styled-components'; import { Property } from 'csstype'; import { SubmitHandler, UnpackNestedValue, DeepPartial, RegisterOptions } from 'react-hook-form'; import { UseFormReturn } from 'react-hook-form/dist/types'; import * as DialogPrimitive from '@radix-ui/react-dialog'; import * as TooltipPrimitive from '@radix-ui/react-tooltip'; interface ButtonProps extends ButtonHTMLAttributes { variant?: ButtonVariant; loading?: boolean; responsive?: boolean; color?: string; textColor?: string; } declare type ButtonVariant = 'primary' | 'secondary' | 'gradient' | 'secondary-gradient'; declare const Button: { CTA: React$1.ForwardRefExoticComponent>; Text: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; Icon: React$1.ForwardRefExoticComponent & { icon: IconType; size?: number | undefined; color?: string | undefined; fillColor?: boolean | undefined; } & React$1.RefAttributes>; }; declare const Badge: ({ color, label, small, }: { color?: Property.Color | undefined; label: string; small?: boolean | undefined; }) => JSX.Element; declare type Space = 0 | 4 | 8 | 12 | 16 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 136 | 160; declare enum Margin { Small = "16px", Med = "24px", Large = "32px", XLarge = "48px" } declare const Spacer: styled_components.StyledComponent<"div", any, { height?: Space | undefined; width?: Space | undefined; }, never>; interface InputProps extends Omit, 'onChange' | 'value'> { error?: boolean; clearable?: boolean; valid?: boolean; active?: boolean; textarea?: boolean; search?: boolean; onChange?: (event: { target: any; type?: any; }) => void; value?: string | number; width?: number | string; placeholder?: string; fontSize?: number; floatingPlaceholder?: boolean; ariaLabel?: string; } declare const inputStyle: styled_components.FlattenInterpolation>; declare const secondaryInputStyle: styled_components.FlattenInterpolation>; declare const StyledInput: styled_components.StyledComponent<"input", any, { $error?: boolean | undefined; $icon?: boolean | undefined; $placeholderText?: boolean | undefined; $disabled?: boolean | undefined; $textarea?: boolean | undefined; $fontSize?: number | undefined; }, never>; declare const SecondaryStyledInput: styled_components.StyledComponent<"input", any, { $error?: boolean | undefined; $icon?: boolean | undefined; $placeholderText?: boolean | undefined; $disabled?: boolean | undefined; $textarea?: boolean | undefined; $fontSize?: number | undefined; }, never>; declare const Input: React$1.ForwardRefExoticComponent>; interface SecondaryInputProps extends Omit, 'onChange' | 'value'> { error?: boolean; clearable?: boolean; valid?: boolean; active?: boolean; textarea?: boolean; search?: boolean; onChange?: (event: { target: any; type?: any; }) => void; value?: string | number; width?: number | string; placeholder?: string; fontSize?: number; fontWeight?: number; fixedHeight?: boolean; color?: string; bold?: boolean; ariaLabel?: string; children?: React.ReactNode; } declare const SecondaryInput: React$1.ForwardRefExoticComponent>; declare type FormProps = { children?: React__default.ReactNode; onSubmit?: SubmitHandler; initialValues?: UnpackNestedValue>; width?: string | number; methods?: UseFormReturn; attributes?: Record; }; declare function Form$1({ width, children, initialValues, onSubmit, methods, attributes, }: FormProps): JSX.Element; declare type FormInputProps$4 = InputProps & { name: string; validation?: RegisterOptions; validationMessage?: string; confirm?: string; confirmMessage?: string; }; declare const FormInput: ({ name, validation, validationMessage, confirm, confirmMessage, ...rest }: FormInputProps$4) => JSX.Element; interface FieldErrorProps { name: string; validationMessage?: string; } declare const FieldError: ({ name, validationMessage }: FieldErrorProps) => JSX.Element; declare type OptionValue$3 = string | number | boolean | Record; interface SelectWithChildProps