export interface InlineAttachmentsProps {
    /** Text that may contain `@/path/to/file` attachment references. */
    text: string;
    /** Additional attachment paths to render (e.g. from rejection feedback). */
    attachmentPaths?: string[];
}
interface TextSegment {
    type: 'text';
    value: string;
}
interface AttachmentSegment {
    type: 'attachment';
    path: string;
}
type Segment = TextSegment | AttachmentSegment;
/** Parse text into segments of plain text and attachment references. */
export declare function parseAttachmentRefs(text: string): Segment[];
export declare function InlineAttachments({ text, attachmentPaths }: InlineAttachmentsProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=inline-attachments.d.ts.map