import { PropAnyComponent } from '../../helpers/common/components'; import { Nullable } from '../../../../shared/dist/esm/index'; import { FormButtonStyle, FormButtonSize } from '../../helpers/form/button'; type __VLS_Props = { /** * URL to which to navigate - can be a relative (app) path or an absolute link for an external URL */ to?: string; /** * Choose from one of 3 button sizes */ size?: FormButtonSize; /** * If set, will make the button take up all available space horizontally */ fullWidth?: boolean; /** * Similar to "link", but without an underline and possibly in different colors */ text?: boolean; /** * Will remove paddings and background. Use for links. */ link?: boolean; /** * color: * primary: the default primary blue. * outline: foundation background and outline * subtle: no styling */ color?: FormButtonStyle; /** * Should rounded-full be added?: */ rounded?: boolean; /** * Whether the target location should be forcefully treated as an external URL * (for relative paths this will likely cause a redirect) */ external?: boolean; /** * Whether to disable the button so that it can't be pressed */ disabled?: boolean; /** * If set, will have type set to "submit" to enable it to submit any parent forms */ submit?: boolean; /** * Add icon to the left from the text */ iconLeft?: Nullable; /** * Add icon to the right from the text */ iconRight?: Nullable; /** * Hide default slot (when you want to show icons only) */ hideText?: boolean; /** * Customize component to be used when rendering links. * * The component will try to dynamically resolve NuxtLink and RouterLink and use those, if this is set to null. */ linkComponent?: Nullable; /** * Disables the button and shows a spinning loader */ loading?: boolean; }; declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: {}): any; }; refs: {}; rootEl: any; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { click: (val: MouseEvent) => any; }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{ onClick?: ((val: MouseEvent) => any) | undefined; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };