import { ClientAnalytics } from '@zeniai/client-analytics';
import { AuthParams, AutoTransferRuleLocalData, AutoTransferRulesSelectorView, DepositAccountListSelectorView, FetchState, FundingAccount, HistoricEvent, TenantView, ZeniAccountsConfigSelectorView } from '@zeniai/client-epic-state';
/** Mirrors the package-internal CommonHistoryView (fetchState + events per rule) */
export interface CommonHistoryView {
    fetchState: FetchState;
    historicEvents: HistoricEvent[];
}
export interface AutoTransferRulePageProps {
    autoTransferRuleView: AutoTransferRulesSelectorView;
    companyName: string;
    hasAdminLevelAccess: boolean;
    includeTreasuryOption: boolean;
    transferLimit: number;
    analytics?: ClientAnalytics;
    authParams?: AuthParams;
    currentTenant?: TenantView;
    depositAccountListView?: DepositAccountListSelectorView;
    downloadAccountDetailEndPoint?: string;
    editingRuleId?: string | null;
    /**
     * When `true`, suppresses the page-level NavBar. Use when embedding this
     * page inside another page (e.g. as a sub-tab of cash management) that
     * already owns the chrome.
     */
    hideNavBar?: boolean;
    isEditDrawerOpen?: boolean;
    scrollToAddRule?: boolean;
    zeniAccountsConfigDetail?: ZeniAccountsConfigSelectorView;
    clearRuleLocalData: () => void;
    onActivityClick: (ruleId: string) => void;
    onBackClick: () => void;
    onCreateRule: () => void;
    onDeleteClick: (ruleId: string) => void;
    onEditDrawerClose: () => void;
    onPauseClick: (ruleId: string) => void;
    onResumeClick: (ruleId: string) => void;
    onReviewClick: () => void;
    onUpdateRule: (ruleId: string) => void;
    onUpdateRuleLocalData: (localData: AutoTransferRuleLocalData, ruleId?: string) => void;
    onEditClick?: (ruleId: string) => void;
}
declare const AutoTransferRulePage: ({ autoTransferRuleView, hasAdminLevelAccess, companyName, analytics, authParams, currentTenant, depositAccountListView, downloadAccountDetailEndPoint, transferLimit, zeniAccountsConfigDetail, onBackClick, onDeleteClick, onPauseClick, onResumeClick, onActivityClick, onUpdateRule, onCreateRule, onReviewClick, hideNavBar, includeTreasuryOption, isEditDrawerOpen, editingRuleId, onUpdateRuleLocalData, onEditClick, clearRuleLocalData, onEditDrawerClose, scrollToAddRule, }: AutoTransferRulePageProps) => import("react/jsx-runtime").JSX.Element;
export default AutoTransferRulePage;
export declare const getAccountLabel: (account?: FundingAccount | {
    accType: string;
    label: string;
}) => string;
export declare const getRuleName: (ruleType?: string | null) => string;
