/*! * © 2019 Atypon Systems LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import React from 'react'; export interface BaseTextFieldProps { $error?: boolean | string; $variant?: 'small' | 'large'; } export interface TextFieldProps extends React.InputHTMLAttributes, BaseTextFieldProps { } export interface TextAreaProps extends React.TextareaHTMLAttributes, BaseTextFieldProps { } export declare const commonStyles: import("styled-components").RuleSet>; export declare const TextField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never> & Partial, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never>>> & string; export declare const TextArea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLTextAreaElement>, keyof TextAreaProps> & TextAreaProps, never> & Partial, HTMLTextAreaElement>, keyof TextAreaProps> & TextAreaProps, never>>> & string; export declare const YearInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never> & Partial, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never>>> & string; export declare const YearField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit & import("styled-components").FastOmit, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never> & Partial, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never>>, "as" | "forwardedAs"> & { as?: import("styled-components").WebTarget | undefined; forwardedAs?: import("styled-components").WebTarget | undefined; }, "as"> & Partial & import("styled-components").FastOmit, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never> & Partial, HTMLInputElement>, keyof TextFieldProps> & TextFieldProps, never>>, "as" | "forwardedAs"> & { as?: import("styled-components").WebTarget | undefined; forwardedAs?: import("styled-components").WebTarget | undefined; }, "as">>> & string; export declare const TextFieldGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLDivElement>, never> & Partial, HTMLDivElement>, never>>> & string; export declare const TextFieldLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLLabelElement>, never> & Partial, HTMLLabelElement>, never>>> & string; export declare const TextFieldWrapper: React.FC<{ leftIcon: React.ReactNode; children: React.ReactNode; }>;