import { Action, Color, IconIdentifier, Theme } from '@evlop/commons'; import React from 'react'; import { TextStyle, ViewProps } from 'react-native'; import { BackgroundColorProps, BorderProps, FontSizeProps, FontWeightProps, LayoutProps, SpaceProps } from 'styled-system'; import { EffectType } from './hooks/useAnimatedPress'; type ButtonSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl'; export interface BaseButtonProps extends ViewProps, FontWeightProps, FontSizeProps, LayoutProps, SpaceProps, BackgroundColorProps, BorderProps { disabled?: boolean; loading?: boolean; label?: string; variant?: 'filled' | 'outlined' | 'dim-outlined' | 'dim-filled-outlined' | 'ghost'; size?: ButtonSize; color?: Color; textColor?: Color; textStyle?: TextStyle; action?: Action; icon?: IconIdentifier; iconPosition?: 'left' | 'right'; iconSize?: number; pressEffect?: EffectType; } export declare const BaseButton: React.FC; declare const ButtonWithSettings: (props: BaseButtonProps & { model?: string; dataModel?: string; configModel?: string; action?: Action; ref?: any; } & { children?: React.ReactNode | undefined; }) => React.JSX.Element; export default ButtonWithSettings; //# sourceMappingURL=Button.d.ts.map