import React from 'react';
import { RuleDefinition, RuleSetItem, RuleVariant } from '../types';
interface InstantLearningModalProps {
    isOpen: boolean;
    onClose: () => void;
    initialScope?: string;
    ruleSet?: RuleSetItem;
    /** Rule to edit. When provided, the form will be pre-filled with rule data. */
    editingRule?: RuleDefinition | null;
    /** Tier name when editing (e.g., "Tier 1", "Tier 2"). Used to pre-select the tier. */
    editingTier?: string | null;
    /** All variants to edit (for rule-level or variant-level editing) */
    editingVariants?: RuleVariant[] | null;
    /** Index of the focused variant (for variant-level edit). null = all expanded */
    focusedVariantIndex?: number | null;
    setFocusedVariantIndex?: React.Dispatch<React.SetStateAction<number | null>>;
    /** When true, auto-triggers the "add new variant" chat message on the LHS upon modal open */
    triggerAddVariant?: boolean;
    triggerFixGaps?: boolean;
    copiedRule?: RuleDefinition | null;
    copiedSourceTier?: string | null;
    copiedTargetTier?: string | null;
    initialDraftMessage?: string;
    initialChatMessage?: string;
    applicationIntegrationId: string;
    modeId: string;
    uiStateLabels?: any;
}
/**
 * Strips AI reasoning and JSON blocks from incoming descriptive text.
 * @param val - The raw text payload string to filter
 * @returns Cleaned up string
 */
export declare const filterAgentText: (val: string | any) => string;
declare const InstantLearningModal: React.FC<InstantLearningModalProps>;
export default InstantLearningModal;
//# sourceMappingURL=InstantLearningModal.d.ts.map