import React from 'react'; import type { Polymorphic } from '../core/polymorphism'; import { type PressableBaseProps } from './Pressable'; export declare const pressableOpacityDefaultElement = 'button'; export type PressableOpacityDefaultElement = typeof pressableOpacityDefaultElement; /** * @deprecated Use `` instead. This will be removed in a future major release. * @deprecationExpectedRemoval v9 */ export type PressableOpacityBaseProps = Omit< PressableBaseProps, 'background' | 'borderColor' | 'borderRadius' | 'borderWidth' | 'transparentWhileInactive' >; /** * @deprecated Use `` instead. This will be removed in a future major release. * @deprecationExpectedRemoval v8 */ export type PressableOpacityProps = Polymorphic.Props< AsComponent, PressableOpacityBaseProps >; type PressableOpacityComponent = (< AsComponent extends React.ElementType = PressableOpacityDefaultElement, >( props: PressableOpacityProps, ) => Polymorphic.ReactReturn) & Polymorphic.ReactNamed; /** * @deprecated Use `` instead. This will be removed in a future major release. * @deprecationExpectedRemoval v8 */ export declare const PressableOpacity: PressableOpacityComponent; export {}; //# sourceMappingURL=PressableOpacity.d.ts.map