import type { LiteralUnion } from 'type-fest'; export declare function getLoginProvider(request: any): any; export declare function getSourceAppPid(request: any): any; export declare const encodeKycStatus: (emailVerified: boolean, phoneVerified: boolean) => number; export declare const decodeKycStatus: (status: number) => { emailVerified: boolean; phoneVerified: boolean; }; export type KycMethod = LiteralUnion<'email' | 'phone', string>; export type AuthMethod = LiteralUnion<'loginToken' | 'componentCall' | 'signedToken' | 'accessKey', string>; export type SessionUser = { did: string; role: string | undefined; provider: string; fullName: string; walletOS: string; emailVerified?: boolean; phoneVerified?: boolean; method?: AuthMethod; accessKeyId?: string; kyc?: number; [key: string]: any; }; export declare const isLoginToken: (token: string) => boolean; export declare const isAccessKey: (token: string) => boolean;