import type { PointerEvent } from 'react'; import type { ASComponentSize } from '../apptypes/ASUI.types'; import type { ASThemeProps } from '../astheme/ASTheme.types'; import type { IconProps } from '../icons'; type ASIconButtonOwnProps = { as?: undefined; className?: string; selected?: boolean; toggle?: boolean; size?: ASComponentSize; iconSize?: number; isLoading?: boolean; icon: React.ComponentType; onIconButtonTap?: (e: PointerEvent) => void; } & IconProps & Omit, 'size' | 'text'>; export type ASIconButtonProps = React.PropsWithChildren; export type ASNativeIconButtonProps = ASThemeProps & Pick & Omit, 'children' | 'color'> & { as: 'button'; strokeColor?: string; icon: React.ComponentType; size?: ASComponentSize; iconSize?: number; isLoading?: boolean; selected?: boolean; defaultSelected?: boolean; toggle?: boolean; onSelectedChange?: (selected: boolean) => void; onIconButtonTap?: never; ref?: React.Ref; }; export {}; //# sourceMappingURL=ASIconButton.types.d.ts.map