import type { SessionAdminAccess } from "@opengeni/sdk"; /** How long full access lasts, as offered in the apps. */ export type AdminAccessDuration = "1" | "8" | "24" | "none"; export declare const ADMIN_ACCESS_DURATIONS: ReadonlyArray<{ value: AdminAccessDuration; label: string; }>; /** The `durationHours` to send for a duration: null means no time limit. */ export declare function adminAccessDurationHours(duration: AdminAccessDuration): number | null; /** "Ends at 21:30", "Ends tomorrow at 09:00", "Ends Oct 14 at 09:00" or "No time limit". */ export declare function endsText(expiresAt: string | null, now?: Date): string; /** Who the agent acts as while full access is on. */ export declare function adminAccessGrantedByText(state: SessionAdminAccess): string; /** What giving full access means, shown before it is given. */ export declare const ADMIN_ACCESS_GRANT_DESCRIPTION = "Its agent can then do what you can in the app: your chats, workspace settings, connections and anything else you manage. Everything it does runs as you, and never goes beyond your own access.";