import { ITenantsResponseV2 } from '@frontegg/rest-api'; /** * The set of tenants the user can actually switch into — the same set `switchActiveTenant` * accepts server-side, so the chooser never lists a tenant that would be rejected at confirm time. * Excludes: pending invites (invitationToken), locked/disabled tenants, and expired temporary access. */ export declare function getSwitchableTenants(tenants?: ITenantsResponseV2[]): ITenantsResponseV2[]; /** * The single gate for the post-auth "choose organization" dialog. The trigger is the * `authOptions.tenantSelection.enabled` SDK option (`enabledByOption`) — the same signal for embedded * and hosted (in hosted mode oauth-service is responsible for setting the option). The `>1` gate is * over the SWITCHABLE set; undefined/empty tenants collapse to 0 and fall through (fail-safe). */ export declare function shouldPromptChooseTenant(args: { ldEnabled: boolean; enabledByOption: boolean; tenants?: ITenantsResponseV2[]; isImpersonation: boolean; tenantChoiceResolved: boolean; }): boolean;