import { ReactNode, Ref, ReactElement } from 'react'; import { ViewProps, View } from 'react-native'; type SlotProps = Omit & Record & Omit<{ /** * The content that will be rendered inside the Slot component. * Can be any valid ReactNode such as text, components, or JSX. */ children?: ReactNode; /** * Reference to the View component used in the Slot. * Allows direct access to the underlying view for manipulation or animation. */ ref?: Ref; }, keyof T> & T; /** * Slot is a container component that renders its children, allowing flexible content placement. */ declare const Slot: ({ children, ref, ...props }: SlotProps) => ReactElement; export { Slot, type SlotProps };