import React from 'react';
import { RuleDefinition, RuleVariant } from '../types';
/**
 * Props for the ContentLogic component.
 */
interface ContentLogicProps {
    /** Callback when add rule button is clicked */
    onAddRule: () => void;
    /** Callback when a rule should be deleted */
    onDeleteRule: (id: string) => void;
    /** Callback when a rule edit button is clicked (legacy) */
    onEditRule: (rule: RuleDefinition, tierName?: string) => void;
    /** Callback when a variant edit button is clicked */
    onEditVariant?: (variant: RuleVariant, ruleId: string, tierName?: string, action?: 'edit' | 'resolve_gaps') => void;
    /** Callback when a variant delete button is clicked */
    onDeleteVariant?: (variantId: string, ruleId: string) => void;
    onExportRule?: () => void;
    isExporting?: boolean;
    /** Custom text for empty state title */
    emptyStateTitle?: string;
    /** Custom text for empty state description */
    emptyStateDesc?: string;
    /** Custom text for empty state button */
    emptyStateButtonText?: string;
    /** func for fetch rules for enable/disable Btn */
    onToggleSuccess: () => void;
    /** func for reordering rules by dragging */
    onReorderRules?: (scopeId: string, tierId: string, movedRuleId: string, prevRuleId: string | null, nextRuleId: string | null) => void;
    onRefreshRuleSets?: (showLoader?: boolean, scopeId?: string) => void;
    setDeleteConfirmationUsedFor: (value: 'ruleDeletion' | 'variantDeletion') => void;
    onCopyToTier?: (variant: RuleVariant, ruleId: string, ruleTitle: string, sourceTier: string, targetTier: string) => void;
}
/**
 * Inner component to handle logic for displaying list or empty state based on rules existence.
 * Bridges the store data with the library-ready RuleTierList and RuleHeader components.
 * Handles API calls for override history and passes handler to library components.
 * Separated from RuleContent.tsx for better maintainability.
 *
 * @param props - Component props
 * @returns JSX element displaying either empty state or rule tier list
 */
declare const ContentLogic: React.FC<ContentLogicProps>;
export default ContentLogic;
//# sourceMappingURL=ContentLogic.d.ts.map