export declare function getRobotWebhookUrl(key: string): string;
/**
 * 给机器人发消息的基本方法
 * @private
 * @param {object} config 输入信息
 * @param {string} config.webhookUrl webhook地址
 * @param {object} config.params 详细参数
 * @returns Promise
 * @example
 * ```ts
 * await sendToRobot({
 *   webhookUrl: 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx',
 *   params: {
 *     msgtype: 'markdown',
 *     markdown: { content: '## Hello World' },
 *   },
 * });
 * ```
 */
export declare function sendToRobot({ webhookUrl, params }: {
    webhookUrl: string;
    params: {
        msgtype: string;
        chatid?: string;
        markdown?: {
            content: string;
            attachments?: Array<object>;
            at_short_name?: boolean;
        };
        markdown_v2?: {
            content: string;
        };
        image?: {
            base64: string;
            md5: string;
        };
        text?: {
            content: string;
            mentioned_list?: Array<string | undefined>;
        };
    };
}): Promise<object>;
