import { UserRoleType } from '@zeniai/client-epic-state'; /** * Shared visibility rule for the expense-automation-gated tabs — AI Close * (`command_center`) and AI Accountant (`performance`). Both tabs read the * same value so they stay in lockstep. * * Access rules: * - V2 gate on → super-admin or bookkeeping-admin only * - V1 gate on → Zeni users only (unchanged legacy behavior) * - Investor/banker users are never granted access */ export declare function isExpenseAutomationTabAccessible(params: { isV1Enabled: boolean; isV2Enabled: boolean; isZeniUser: boolean; userRole: UserRoleType[]; }): boolean;