import React from "react"; declare const sizes: readonly ["xs", "sm", "md"]; declare const variants: readonly ["fill", "outline", "ghost", "naked"]; declare const themes: readonly ["primary", "neutral", "delete", "create"]; type CoreButtonProps = { disabled?: boolean; external?: boolean; size?: (typeof sizes)[number]; loading?: boolean; variant?: (typeof variants)[number]; theme?: (typeof themes)[number]; type?: "button" | "submit" | "reset"; }; type ButtonContentProps = { text: string; iconLeft?: string; iconRight?: string; title?: string; icon?: never; } | { title: string; icon: string; text?: never; iconLeft?: never; iconRight?: never; } | { children: React.ReactNode; title?: string; icon?: never; iconLeft?: never; iconRight?: never; }; type ButtonInteractionProps = { onClick: () => void; to?: string; } | { onClick?: () => void; to: string; }; export type ButtonProps = CoreButtonProps & ButtonContentProps & ButtonInteractionProps & { tooltip?: { title: string; placement: "top" | "bottom" | "left" | "right"; }; }; export declare const Button: ({ disabled, external, loading, size, variant, theme, tooltip, type, ...restProps }: ButtonProps) => React.JSX.Element; export {}; //# sourceMappingURL=Button.d.ts.map