import * as React from 'react'; import { LayoutChangeEvent, TextStyle, View, PressableProps, StyleProp } from 'react-native'; import { Theme } from '../../styles/theme'; import { ButtonStyleOverride } from './style'; export type ButtonProps = { isDisabled?: boolean; elevation?: number; style?: ButtonStyleOverride; isDense?: boolean; palette?: 'primary' | 'secondary'; variant?: 'contained' | 'outlined' | 'text'; label?: string; iconSlot?: (style: StyleProp) => React.ReactNode; backgroundSlot?: (theme: Theme) => React.ReactNode; badgeSlot?: (theme: Theme) => React.ReactNode; onLayout?: (layout: LayoutChangeEvent) => void; } & Omit; export declare const Button: React.ForwardRefExoticComponent<{ isDisabled?: boolean; elevation?: number; style?: ButtonStyleOverride; isDense?: boolean; palette?: "primary" | "secondary"; variant?: "contained" | "outlined" | "text"; label?: string; iconSlot?: (style: StyleProp) => React.ReactNode; backgroundSlot?: (theme: Theme) => React.ReactNode; badgeSlot?: (theme: Theme) => React.ReactNode; onLayout?: (layout: LayoutChangeEvent) => void; } & Omit & React.RefAttributes>;