import { type Component, type JSXChildren, type PropsOf } from '@builder.io/qwik'; import type { IconProps } from '@nr1e/qwik-icons'; export interface ButtonProps extends Omit, 'children'> { /** * Icon component to display next to the button text. You can alternatively use the `icon` slot. */ icon?: Component; /** * Size of the icon in pixels if icon is provided in the props. Default is 18. */ iconSize?: number; /** * CSS class to apply to the icon. */ iconClass?: string; /** * Text to display on the button. Alternative to the `default` slot. */ text?: string; /** * Whether the button is processing. This will replace the icon with a rotating spinner when true. */ processing?: boolean; children?: JSXChildren; } /** * Button component. */ export declare const Button: Component;