import React, { ComponentProps } from "react"; import { TColor, TTypographyVariant } from "../../types"; declare const StyledLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, { size: TTypographyVariant; $color: TColor; }, never>; type TOurProps = { as?: ComponentProps["as"]; children: React.ReactNode; className?: string; color?: TColor; size?: TTypographyVariant; styles?: React.CSSProperties; }; type TProps = TOurProps & Omit, keyof TOurProps>; /** * @deprecated Use `Typography` for styling text. `Typography` is an inline styling, so update your components accordingly! */ declare const Label: ({ as, children, className, color, size, styles, ...props }: TProps) => React.JSX.Element; export default Label;