import { pb } from "../core";
import { OnlineStatus, UserProfile } from "../common";
import { Image } from "../message";
type Client = import("../client").Client;
export declare function setStatus(this: Client, status: OnlineStatus): Promise<boolean>;
/**
 * 设置个性签名
 * @deprecated 请使用 setPersonalSign
 * @param sign {string} 签名
 */
export declare function setSign(this: Client, sign: string): Promise<boolean>;
/**
 * 设置个性签名
 * @param sign {string} 签名
 */
export declare function setPersonalSign(this: Client, sign: string): Promise<boolean>;
export declare function getUserProfile(this: Client, uin?: number): Promise<UserProfile>;
export declare function setAvatar(this: Client, img: Image): Promise<void>;
export declare function getStamp(this: Client, no_cache?: boolean): Promise<string[]>;
export declare function delStamp(this: Client, id: string | string[]): Promise<void>;
export declare function addClass(this: Client, name: string): Promise<void>;
export declare function delClass(this: Client, id: number): Promise<void>;
export declare function renameClass(this: Client, id: number, name: string): Promise<void>;
export declare function loadFL(this: Client): Promise<void>;
export declare function loadSL(this: Client): Promise<void>;
export declare function loadGPL(this: Client): Promise<void>;
export declare function loadGL(this: Client): Promise<void>;
export declare function loadBL(this: Client): Promise<void>;
export declare class OcrResult {
    language: string;
    wordslist: Array<{
        words: string;
        confidence: number;
        polygon: Array<{
            x: number;
            y: number;
        }>;
    }>;
    constructor(proto: pb.Proto);
    toString(): string;
}
export declare function imageOcr(this: Client, img: Image): Promise<OcrResult>;
export {};
