import type { ASThemeProps } from '../astheme/ASTheme.types'; import { MouseEvent, PointerEvent } from 'react'; import { ASComponentSize, ASPaddingSize } from '../apptypes/ASUI.types'; type ASButtonOwnProps = { as?: undefined; className?: string; text?: string; selected?: boolean; toggle?: boolean; size?: ASComponentSize; paddingSize?: ASPaddingSize; isLoading?: boolean; onTapped?: (event: PointerEvent) => void; onClick?: (event: MouseEvent) => void; } & Omit, 'size'>; export type ASButtonProps = React.PropsWithChildren; export type ASNativeButtonProps = React.PropsWithChildren & ASThemeProps & React.ButtonHTMLAttributes & { as: 'button'; onTapped?: never; ref?: React.Ref; }>; export type ASLinkTarget = 'a' | Exclude; export type ASLinkButtonProps = Pick & ASThemeProps & { as: T; disabled?: boolean; onTapped?: never; toggle?: never; } & Omit>, 'as' | 'text' | 'selected' | 'size' | 'paddingSize' | 'isLoading' | 'disabled' | 'onTapped' | 'toggle' | keyof ASThemeProps>; export {}; //# sourceMappingURL=ASButton.types.d.ts.map