/// /// import { PropsOf } from "src/typeUtils"; import { BorderProps, ColorProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps } from "styled-system"; import { CursorProps, PropsWithVariant } from "../../theme"; import { AssetName } from "../Asset"; import Text from "../Text/Text"; import { ButtonVariants } from "./Button.theme"; export declare type ButtonStyleProps = ColorProps & BorderProps & SpaceProps & LayoutProps & FlexboxProps & PositionProps & CursorProps & { textStyle?: PropsOf; }; export interface ButtonProps extends ButtonStyleProps, PropsWithVariant { label?: string; onClick?: () => void; isLoading?: boolean; icon?: AssetName | React.ReactNode; iconPosition?: "left" | "right"; iconSize?: number; } export declare const ThemedButton: import("styled-components").StyledComponent;