import { ClientAnalytics } from '@zeniai/client-analytics';
import { AutoTransferRule, CashManagementRule, FundingAccount, TreasuryAccount } from '@zeniai/client-epic-state';
/** Single destination for distribute-by-percentage (e.g. "50% To Zeni Checking ... 2213") */
export interface AllocationDestination {
    accountLabel: string;
    accountMask: string;
    percent: number;
}
export type RuleMenuAction = "editRule" | "pause" | "resume" | "activity" | "deleteRule";
export interface ExistingRulesSectionProps {
    hasAdminLevelAccess: boolean;
    rules: AutoTransferRule[];
    transferMoneyParties: FundingAccount[];
    analytics?: ClientAnalytics;
    /**
     * Saved auto-sweep cash-management config. When present, rendered as the
     * first card above the regular auto-transfer rules.
     */
    cashManagementRule?: CashManagementRule;
    treasuryAccount?: TreasuryAccount;
    onRuleMenuAction: (ruleId: string, action: RuleMenuAction) => void;
}
export declare function ExistingRulesSection({ analytics, hasAdminLevelAccess, rules, transferMoneyParties, cashManagementRule, treasuryAccount, onRuleMenuAction, }: ExistingRulesSectionProps): import("react/jsx-runtime").JSX.Element | null;
