export declare enum AuthType { USER_INFO = "userInfo", PHONE = "phone", USER_INFO_AND_PHONE = "userInfoAndPhone" } interface AuthPorps { force?: boolean; } interface AuthConfig { type: AuthType; /** * 是否强制授权 */ force?: boolean; } export default function showAuth(props: AuthConfig): Promise; export declare function hasAuthed(type: AuthType): any; export declare function updateSessionData(data: any): void; export declare function showAuthAll(props?: AuthPorps): Promise; export {};