import React$1, { PropsWithChildren } from "react"; import { ColorVariants, JBButtonEventType, JBButtonWebComponent, SizeVariants, StyleVariants } from "jb-button"; import { JBElementStandardProps } from "jb-core/react"; //#region modules/jb-button/react/lib/events-hook.d.ts type EventProps = { onClick?: (e: JBButtonEventType) => void; }; //#endregion //#region modules/jb-button/react/lib/attributes-hook.d.ts type JBButtonAttributes = { isLoading?: boolean; disabled?: boolean; square?: boolean; }; //#endregion //#region modules/jb-button/react/lib/module-declaration.d.ts declare module "react" { namespace JSX { interface IntrinsicElements { 'jb-button': JBButtonType; } interface JBButtonType extends React.DetailedHTMLProps, JBButtonWebComponent> { "loading-text"?: string; "is-loading"?: string; "variant"?: StyleVariants; "size"?: SizeVariants; "color"?: ColorVariants; "name"?: string; "square"?: boolean; } } } //#endregion //#region modules/jb-button/react/lib/JBButton.d.ts export declare const JBButton: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; type JBButtonBaseProps = EventProps & JBButtonAttributes & { name?: string; color?: ColorVariants; variant?: StyleVariants; size?: SizeVariants; type?: string; loadingText?: string; }; export type Props = PropsWithChildren & JBElementStandardProps; //#endregion