import React from 'react'; import type { CommonComponentProps } from '../types'; import type { GetRef } from '../utils/refs'; type Display = 'A' | 'B'; interface SwappableContentProps extends CommonComponentProps { contentA: React.ReactNode; contentB: React.ReactNode; display: Display; getRef?: GetRef; id?: string; onTransitionEnd?: (display: Display) => void; } export declare function SwappableContent({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, contentA, contentB, display: displayProp, getRef, id, onTransitionEnd, ...rest }: SwappableContentProps): React.JSX.Element; export {};