import { LayoutProps, SpaceProps } from 'styled-system'; import { ElementType, HTMLAttributeAnchorTarget, HTMLAttributes, ReactNode } from 'react'; export declare const colors: { readonly PRIMARY: "primary"; readonly ERROR: "error"; readonly SUCCESS: "success"; }; export declare const variants: { readonly DEFAULT: "default"; readonly OUTLINED: "outlined"; readonly TEXT: "text"; }; export declare const scales: { readonly DEFAULT: "default"; readonly SMALL: "small"; }; export type ButtonColor = (typeof colors)[keyof typeof colors]; export interface ButtonProps extends LayoutProps, SpaceProps, HTMLAttributes { as?: 'a' | 'button' | ElementType; variant?: (typeof variants)[keyof typeof variants]; scale?: (typeof scales)[keyof typeof scales]; color?: ButtonColor; disabled?: boolean; to?: string; target?: HTMLAttributeAnchorTarget; children?: ReactNode; startIcon?: ReactNode; endIcon?: ReactNode; }