import { MouseEventHandler } from 'preact';
import { BaseButtonProps, RegularButtonProps } from '../types';
import { PropsWithChildren } from 'preact/compat';
declare const useButton: (className: string, classNameModifiers: string[], defaultClassName: string, disabled: boolean, props: PropsWithChildren<BaseButtonProps>, type: RegularButtonProps["type"], onClick?: MouseEventHandler<HTMLButtonElement> | MouseEventHandler<HTMLAnchorElement>) => {
    classes: string;
    click: (e: any) => void;
    allChildren: import("preact").JSX.Element;
    allProps: {
        className: string;
        disabled: boolean;
        classNameModifiers?: string[];
        variant?: import("../types").ButtonVariant;
        iconLeft?: import("preact").VNode<Element>;
        iconRight?: import("preact").VNode<Element>;
        inline?: boolean;
        iconButton?: boolean;
        fullWidth?: boolean;
        condensed?: boolean;
        state?: "loading" | "default";
        align?: "center" | "left" | "right";
        children?: preact.ComponentChildren | undefined;
    };
};
export default useButton;
//# sourceMappingURL=useButton.d.ts.map