import { type ReactNode } from "react";
interface ThreadItemWrapperProps {
    readonly animate: boolean;
    readonly children: ReactNode;
}
/**
 * Thin wrapper that applies the `.stgm-thread-item-enter` CSS animation
 * on mount when `animate` is true. The class is removed after the
 * animation completes (via `onAnimationEnd`) to free the browser from
 * tracking a finished animation.
 *
 * A fallback timeout removes the class if `animationend` never fires
 * (e.g. `prefers-reduced-motion` sets duration to ~0ms, or the test
 * environment doesn't dispatch animation events).
 *
 * @internal Not part of the public API.
 */
export declare function ThreadItemWrapper({ animate, children }: ThreadItemWrapperProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
export {};
//# sourceMappingURL=ThreadItemWrapper.d.ts.map