import React from 'react'; export interface TextSwapProps extends Omit, 'children'> { /** * When this value changes, the old content plays exit, then new `children` enter. */ swapKey: string; children: React.ReactNode; /** * Exit + transition duration in ms. When set, updates `--text-swap-dur` and the internal timer. * @default 200 */ durationMs?: number; /** @default text-swap */ 'data-testid'?: string; } export declare const TextSwap: React.NamedExoticComponent;