import { SvelteComponent } from "svelte"; type Props = { createMachine: () => Machine; onClick?: (event: any) => void | false; mapStateFn?: (state: string) => string; renderLabel?: (props: { status: any; error: string | null; }) => any; statusChangeFn?: (status: any, prevStatus: any) => void; idleLabel?: string; loadingLabel?: string; successLabel?: string; errorLabel?: string; className?: string; unstyled?: boolean; buttonRef?: any; ref?: any; }; import type { Machine } from "robot3"; declare const __propDef: { props: { createMachine: Props["createMachine"]; mapStateFn?: Props["mapStateFn"]; statusChangeFn?: Props["statusChangeFn"]; idleLabel?: Props["idleLabel"]; loadingLabel?: Props["loadingLabel"]; successLabel?: Props["successLabel"]; errorLabel?: Props["errorLabel"]; renderLabel?: Props["renderLabel"]; onClick?: Props["onClick"]; buttonRef?: Props["buttonRef"]; unstyled?: Props["unstyled"]; className?: Props["className"]; }; events: { [evt: string]: CustomEvent; }; slots: {}; exports?: {} | undefined; bindings?: string | undefined; }; export type ButtonProps = typeof __propDef.props; export type ButtonEvents = typeof __propDef.events; export type ButtonSlots = typeof __propDef.slots; export default class Button extends SvelteComponent { } export {};