import axios from 'axios'; import { SecretData, MessageData } from './types'; export declare function fetchToken(token: SecretData): Promise; /** 对单人发消息 */ export declare function postRobotP2P(token: string, body: MessageData): Promise>; /** 群发消息 */ export declare function postRobotTeam(token: string, body: MessageData): Promise>; /** * 通过邮箱反查用户名称 */ export declare function getPersonName(token: string, email: string): Promise; //# sourceMappingURL=api.d.ts.map