import type { Component } from 'svelte'; export type ButtonType = 'button' | 'submit' | 'reset'; export type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'cms'; export interface ButtonProps { type?: ButtonType; variant?: ButtonVariant; disabled?: boolean; loading?: boolean; text?: string; icon?: Component | null; rightIcon?: Component | null; iconColor?: string; iconSize?: string; padding?: string; class?: string; loadingText?: string; fullWidth?: boolean; tooltip?: string; invalid?: boolean; style?: string; ariaLabel?: string; onclick?: (event: MouseEvent) => void; }