import { type ReactNode } from "react"; /** * Contains a lazily loaded secondary part (message actions, an inline preview, * a card, a panel) so that when its code fails to download, only this part is * replaced and what's around it, such as the message it belongs to, stays * visible. `notice` shows the inline Reload notice in its place; `hide` shows * nothing, for small affordances that repeat on every message. `failed`, when * given, is shown instead of either, for parts that can still show something * useful without their code. Other render errors are not handled here and * reach the surrounding boundary as before. */ export declare function LazyPart({ children, fallback, onLoadFailure, failed, }: { children: ReactNode; fallback?: ReactNode; onLoadFailure?: "notice" | "hide"; failed?: ReactNode; }): import("react").JSX.Element;