export interface GetAuthCodeOptions { appId: string; scopes: 'auth_user' | 'auth_base' | string[]; } export interface AuthResult { authCode: string; authDestUrl: string; } export interface ReqAuthResult { authCode: string; authDestUrl: string; authResultCode: string; errorScopes: null; resultCode: string; success: boolean; successScopes: string[]; } export declare function getAuthCode(options: GetAuthCodeOptions): Promise;