import { ReactNode } from 'react'; import { BoxProps, TextProps } from '@shopify/restyle'; import { ITheme } from '../../themes/interface'; declare type ButtonProps = { variant?: 'primary' | 'secondary' | 'tertiary'; disabled?: boolean; icon?: string; children?: ReactNode; onPress: () => void; loading?: boolean; textProps?: TextProps; bw?: Custom.BorderWidth; op?: Custom.Opacity; sof?: Custom.Shadow; sr?: Custom.Shadow; sop?: Custom.Shadow; } & Partial>; declare type ColorsOptions = { [index: string]: keyof ITheme['colors']; }; declare type BorderWidthOptions = { [index: string]: Custom.BorderWidth; }; export { ButtonProps, ColorsOptions, BorderWidthOptions };