import { V11 } from "../../../service/V11";
export declare class CommonAction {
    /**
     * 获取登录信息
     */
    getLoginInfo(this: V11): {
        user_id: string;
        nickname: string;
    };
    /**
     * 撤回消息
     * @param message_id {string} 消息id
     */
    deleteMsg(this: V11, message_id: number): Promise<any>;
    /**
     * 获取消息
     * @param message_id {string} 消息id
     * @param onebot_id {number}
     */
    getMsg(this: V11, message_id: number): Promise<V11.MessageRet>;
    /**
     * 获取合并消息
     * @param id {string} 合并id
     */
    getForwardMsg(this: V11, id: string): Promise<any>;
    /**
     * 获取 Cookies
     * @param domain {string} 域名
     */
    getCookies(this: V11, domain: string): any;
    /**
     * 获取 CSRF Token
     */
    getCsrfToken(this: V11): Promise<any>;
    /**
     * 获取 QQ 相关接口凭证
     * @param domain
     */
    getCredentials(this: V11, domain: string): {
        cookies: Promise<any>;
        csrf_token: Promise<any>;
    };
    /**
     * 获取版本信息
     */
    getVersion(this: V11): {
        app_name: string;
        app_version: string;
        protocol_version: string;
    };
    /**
     * 重启OneBot实现
     * @param delay {number} 要延迟的毫秒数
     */
    setRestart(this: V11, delay: number): boolean;
    getStatus(this: V11): {
        online: boolean;
        good: boolean;
    };
    submitSlider(this: V11, ticket: string): Promise<any>;
    submitSmsCode(this: V11, code: string): Promise<any>;
    callApi(this: V11, name: string, args: any[]): Promise<any>;
    login(this: V11, password?: string): Promise<any>;
    logout(this: V11, keepalive?: boolean): Promise<any>;
    /**
     * 上传富媒体
     * @param this
     * @param target_id 目标id
     * @param target_type {group|user} 目标类型
     * @param file_data 文件base64或文件网络url
     * @param file_type {1|2|3} 文件类型 1：图片 2：视频 3：音频
     */
    uploadMedia(this: V11, target_id: number, target_type: "group" | "user", file_data: string, file_type: 1 | 2 | 3): Promise<any>;
    getForumUrl(this: V11, guild_id: string, channel_id: string, forum_id: string): Promise<any>;
}
