import { CommonOptions } from './index';
export type Env = 'feishu' | 'lark' | 'feishu-boe' | 'lark-boe';
export interface AccountOptionsBase extends CommonOptions {
    skipConfirm?: boolean;
    environment?: Env;
}
export interface LoginOptions extends AccountOptionsBase {
    showSuccessPage?: boolean;
}
export interface LogoutOptions extends AccountOptionsBase {
    sessionExpired?: boolean;
}
export type SwitchEnvOptions = AccountOptionsBase;
export type PassportUserResponse = {
    user: User;
};
export type PassportUsersResponse = {
    user: User;
    current_env: string;
    logout_token: string;
    suite_session_key: string;
    device_login_id: string;
    is_anonymous: boolean;
    suite_session_key_with_domains?: any;
}[];
interface User {
    id: string;
    name: string;
    i18n_names: I18nnames;
    display_name: string;
    i18n_display_names: I18nnames;
    status: number;
    tenant: Tenant;
    avatar_url: string;
    avatar_key: string;
    create_time: number;
    last_login_time: number;
    login_credential_id: string;
    encrypted_role: string;
    unit: 'eu_nc' | 'eu_ea' | 'boeva' | 'boecn';
    exclude_login: boolean;
}
interface Tenant {
    id: string;
    name: string;
    icon_url: string;
    icon_key: string;
    tenant_tag: number;
    encrypted_tenant_key: string;
    tenant_domain: string;
    tenant_full_domain: string;
    tenant_brand: 'feishu' | 'lark';
}
interface I18nnames {
    en_us: string;
    ja_jp: string;
    zh_cn: string;
}
export {};
