import React from 'react';
interface MarkdownElementsProps {
    node?: any;
    children?: any;
    className?: string;
    [key: string]: any;
}
interface DivRendererProps extends MarkdownElementsProps {
    openCardIds: Set<string>;
    citations: any[];
    handleToggleState: (id: string, isOpen: boolean, type: 'card' | 'citation') => void;
    isStreamEnd?: boolean;
    handleStream?: any;
    onGapValidation?: (isValid: boolean, data: any) => void;
    isGapsSubmitted?: boolean;
    onViewComparison?: () => void;
    onTypeResponseClick?: () => void;
    onComparisonLinkClick?: (variantId: string, fieldName: string) => void;
    isGlobalEditActive?: boolean;
}
interface LinkRendererProps extends MarkdownElementsProps {
    href?: string;
    chatSize?: number;
    openCitationIds: Set<string>;
    getCitationByNumber: (num: string, source: string) => any;
    handleToggleState: (id: string, isOpen: boolean, type: 'card' | 'citation') => void;
}
export declare const getSourceFromUrl: (href: string) => string;
export declare const MarkdownDivRenderer: React.MemoExoticComponent<({ className, children, openCardIds, citations, handleToggleState, isStreamEnd, isLastMessage, handleStream, onGapValidation, isGapsSubmitted, onViewComparison, onTypeResponseClick, onComparisonLinkClick, isGlobalEditActive, ...props }: DivRendererProps) => React.JSX.Element | null>;
export declare const MarkdownSpanRenderer: React.MemoExoticComponent<({ className, children, openCardIds, citations, handleToggleState, isStreamEnd, onTypeResponseClick, onComparisonLinkClick, ...props }: DivRendererProps) => React.JSX.Element | null>;
export declare const MarkdownLinkRenderer: React.MemoExoticComponent<({ href, children, chatSize, openCitationIds, getCitationByNumber, handleToggleState, ...props }: LinkRendererProps) => React.JSX.Element>;
export {};
//# sourceMappingURL=MarkdownElements.d.ts.map