import { WebPluginSlotProps } from "@agimon-ai/po-core/web"; import { ComponentProps } from "react"; import { Markdown } from "@agimon-ai/po-web-components"; //#region src/web/features/session/MessageMarkdown.d.ts /** * A message's markdown, with the files this session changed as links. * * The host renders the conversation but owns no file panel, so a path in a * message can only become a link where a plugin claims it. Clicking one lands * in the same transient tab the activity dock opens, rather than a second view * of the same file. */ export type MessageFileLinkHandler = NonNullable['onFileLink']>; export declare const MessageMarkdown: import("react").MemoExoticComponent<({ sessionId, onFileLink, text, slotProps }: { sessionId: string | null; onFileLink: MessageFileLinkHandler; text: string; /** Lets an opened picture be annotated when the Author mode is installed. */ slotProps?: WebPluginSlotProps; }) => import("react").JSX.Element>; //#endregion //# sourceMappingURL=MessageMarkdown.d.mts.map