import { ComponentChildren } from "preact"; import { IconName } from "../icons/Icon"; type Props = { title?: string; showSuccessIcon?: boolean; children: ComponentChildren; secondary?: boolean; dangerous?: boolean; isLoading?: boolean; isSuccess?: boolean; disabled?: boolean; autofocus?: boolean; showLastUsed?: boolean; onClick?: (event: Event) => void; icon?: IconName; }; declare const Button: ({ title, children, secondary, dangerous, autofocus, showLastUsed, onClick, icon, showSuccessIcon, ...props }: Props) => import("preact").JSX.Element; export default Button;