import type { ICloudUserInfo, IConfig, IPicGo } from '../../../types';
declare class UserService {
    private readonly client;
    private readonly ctx;
    constructor(ctx: IPicGo);
    whoami(token: string): Promise<ICloudUserInfo>;
    setAutoImport(autoImport: boolean, token?: string): Promise<ICloudUserInfo>;
    verifyToken(token: string): Promise<boolean>;
    getUserConfig(token: string): Promise<IConfig>;
}
export { UserService };
