import "./social_post_preview.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type DisplayFile } from "./file_thumbnail"; import { type StyleProps } from "./style_props"; import { type SocialNetwork, type SocialPostDraft } from "./social_post_rules"; export interface SocialPostPreviewProps extends SocialPostDraft, StyleProps { network: SocialNetwork; /** The name and handle the feed prints. */ author: { name: string; handle?: string; avatarUrl?: string; }; /** Defaults to the locale's "just now", as an unsent post would read. */ when?: string; onFilePress?: (file: DisplayFile) => void; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** A post as one network's feed shows it, with the count against the limit and every rule the API would * refuse, in words, under it. A preview: it never writes or publishes. Its knowledge is * `social_post_rules`, which the publish gate also reads, so the button refuses exactly what the preview * shows. A destination no API reaches has no feed to imitate; its words are an `ActCard`'s. */ export declare function SocialPostPreview(props: SocialPostPreviewProps): React.JSX.Element;