/** * Public input for UI/admin gates. * Loose types keep consumer .d.ts free of deep `@xylex-group/athena/admin` coupling. */ export interface CheckAdminPermissionsInput { allowRoleBypass?: boolean; fetchOptions?: Record; permission?: string[] | Record; permissions?: string[] | Record; requestOptions?: Record; /** * When true and `session` is omitted, call `getSession` on the client first. * Defaults to true. */ resolveSession?: boolean; session?: { user?: { id?: string | null; role?: string | null; } | null; session?: { token?: string | null; activeOrganizationId?: string | null; } | null; } | null; } /** * Framework-agnostic Athena admin permission check for UI and route gates. * * Prefers `@xylex-group/athena/admin` (`hasAdminPermission`) including local * `admin` role short-circuit. Accepts `createClient()` or auth bindings. */ export declare function checkAdminPermissions(client: unknown, input?: CheckAdminPermissionsInput): Promise;