import { ReceiveMessageArray, ReceiveMessageObject, SendMessageArray, SendMessageObject } from './Interfaces.js'; export declare const getTime: () => string; export declare const logger: { log: (...args: any[]) => void; warn: (...args: any[]) => void; debug: (...args: any[]) => void; dir: (json: any) => void; }; /** * ---------------------------------------------------------------- * https://github.com/Ivan-Korolenko/json-with-bigint/ * JSONStringify and JSONParse are from there ↑ * */ export declare const JSONStringify: (data: any) => string; export declare const JSONParse: (json: string) => any; export declare const SPLIT: RegExp; export declare const CQ_TAG_REGEXP: RegExp; export declare const CQ_TAG_JSON_REGEXP: RegExp; /** * CQ码转JSON */ export declare function convertCQCodeToJSON(msg: string): { type: string; data: { [k: string]: string; }; }[]; /** * JSON转CQ码 */ export declare function convertJSONToCQCode(json: SendMessageObject | SendMessageArray | ReceiveMessageObject | ReceiveMessageArray): string; export declare function CQCodeUnescape(str: string): string;