import { type ReactNode } from "react"; /** * Props for {@link ShareThread}. * * @category Components */ export interface ShareThreadProps { /** Async function that receives the threadId and returns a shareable URL. */ generateShareLink: (threadId: string) => Promise; /** Title for the share modal. Defaults to `"Share chat"`. */ modalTitle?: string; /** Custom trigger element. When omitted, a default share button is rendered. */ customTrigger?: ReactNode; } /** * Share button that opens a modal for generating and copying a shareable link. * Renders nothing when there are no messages to share. * * @category Components */ export declare const ShareThread: { ({ generateShareLink, modalTitle, customTrigger }: ShareThreadProps): import("react/jsx-runtime").JSX.Element | null; displayName: string; }; //# sourceMappingURL=ShareThread.d.ts.map