import type { Component, Snippet } from 'svelte'; type Size = 'default' | 'small' | 'large'; type Type = 'primary' | 'default' | 'dashed' | 'link' | 'text'; type IconPosition = 'start' | 'end'; type HTMLType = 'submit' | 'reset' | 'button'; type Shape = 'default' | 'circle' | 'round'; type Props = { children?: Snippet; href?: string; target?: string; type?: Type; danger?: boolean; disabled?: boolean; ghost?: boolean; loading?: boolean; icon?: Snippet | Component; 'icon-position'?: IconPosition; 'html-type'?: HTMLType; size?: Size; shape?: Shape; class?: string | string[]; onclick?: (event: MouseEvent) => void; }; declare const Button: Component; type Button = ReturnType; export default Button;