export declare const WHATSAPP_HANDOFF_CTA_ID = "whatsapp-handoff"; type WhatsAppHandoffProposal = { id: string; action: string; href?: string; }; type WhatsAppHandoffContext = { assistantName: string; pageTitle: string; pageUrl: string; latestUserMessage: string; template: string; }; /** * The page the visitor was on, without its query string or fragment. The text * leaves for WhatsApp, a third party, and a query can carry a reset token, an * email in a UTM tag, or a session id the host page put there. */ export declare function shareablePageUrl(pageUrl: string): string; export declare function buildWhatsAppHandoffText({ assistantName, pageTitle, pageUrl, latestUserMessage, template, }: WhatsAppHandoffContext): string; export declare function buildWhatsAppHandoffHref(proposal: WhatsAppHandoffProposal, context: WhatsAppHandoffContext): string | undefined; export {};