import React from "react"; import { To } from "react-router-dom"; export interface DisplayIconProps { icon: string; size: number; color?: string; iconWeight?: string; } export interface ButtonProps { id?: string; link?: { val: To; displayText?: string; }; children?: React.ReactNode; value?: string; submit?: boolean; icon?: string; iconAfter?: string; onClick?: (e: React.MouseEvent) => void; onMouseDown?: (e: React.MouseEvent) => void; active?: boolean; disabled?: boolean; theme?: string; width?: string; onMouseEnter?: (e: React.MouseEvent) => void; onMouseLeave?: (e: React.MouseEvent) => void; color?: string; style?: React.CSSProperties; className?: string; S?: boolean; M?: boolean; iconSize?: number | "S" | "M"; iconColor?: string; iconWeight?: string; stopPropagation?: boolean; preventDefault?: boolean; forceHover?: boolean; responsive?: boolean; typo?: string; } export interface ButtonStyledWrapperProps { props: ButtonProps; variant?: string; } export declare const ButtonPrimary: React.FunctionComponent; export declare const ButtonSecondary: React.FunctionComponent; export declare const ButtonTertiary: React.FunctionComponent; export declare const ButtonGhost: React.FunctionComponent; interface ButtonUploadProps { multiple?: boolean; onChange?: (e: React.ChangeEvent) => void; variant?: string; id?: string; accept?: string; [key: string]: any; } /** * Renders an upload button component. * * @param {ButtonUploadProps} props - The props for the upload button component. * @return {React.ReactNode} The rendered upload button component. */ export declare const ButtonUpload: React.FunctionComponent; export { ButtonSecondaryCompact } from "./derivedComps/ButtonSecondaryCompact"; export { ButtonPrimaryCompact } from "./derivedComps/ButtonPrimaryCompact"; export { ButtonTertiaryCompact } from "./derivedComps/ButtonTertiaryCompact"; export { ButtonGhostCompact } from "./derivedComps/ButtonGhostCompact";