import { V12 } from "../../../service/V12";
import { Action } from "./";
export declare class CommonAction {
    sendMessage(): void;
    /**
     * 撤回消息
     * @param message_id {string} 消息id
     */
    deleteMessage(this: V12, message_id: string): Promise<any>;
    /**
     * 获取消息详情
     */
    getMessage(this: V12, message_id: string): Promise<any>;
    getSelfInfo(this: V12): {
        user_id: string;
        platform: string;
        nickname: string;
        user_displayname: string;
    };
    /**
     * 获取 Cookies
     * @param domain {string} 域名
     */
    getCookies(this: V12, domain: string): Promise<string>;
    getStatus(this: V12): {
        good: boolean;
        bots: {
            self: any;
            good: boolean;
        }[];
    };
    getLatestEvents(this: V12, limit?: number, timout?: number): Promise<V12.Payload<keyof Action>[]>;
    getVersion(this: V12): {
        impl: string;
        platform: string;
        version: any;
        onebot_version: string;
    };
    submitSlider(this: V12, ticket: string): Promise<any>;
    submitSmsCode(this: V12, code: string): Promise<any>;
    login(this: V12, password?: string): Promise<unknown>;
    getSupportedActions(this: V12): string[];
    uploadFile(this: V12, type: "url" | "path" | "data", name: string, url?: string, path?: string, data?: string, sha256?: string, headers?: Record<string, any>): string;
    uploadFileFragmented(this: V12, stage: "prepare" | "transfer" | "finish", name?: string, total_size?: number, file_id?: string, offset?: number, data?: string, sha256?: string): string | true;
    getFile(this: V12, file_id: string): V12.FileInfo;
    sendLike(this: V12, user_id: string, times?: number): Promise<any>;
    getForumUrl(this: V12, guild_id: string, channel_id: string, forum_id: string): Promise<any>;
    imageOcr(this: V12, file: string): Promise<any>;
}
