import { FC } from 'react'; export interface MessageContentProps { content: string; /** * Called for in-app links so the host can route without a full page reload. * When omitted, in-app links fall back to a normal anchor. * * ★ Receives a router-ready PATH (`/fields?crop=42#yield`), already resolved * and proven same-origin — NOT the raw href. It used to receive the href, and * an absolute same-origin URL (`https://app.example.com/fields`, which is * `internal`) then reached the router as a string it reads as a path, landing * on a literal `/https:/app.example.com/fields` segment. Both shells that pass * this do `onNavigate={(href) => navigate(href)}`, so a path is what they * needed all along. */ onNavigate?: (path: string) => void; } export declare const MessageContent: FC; //# sourceMappingURL=MessageContent.d.ts.map