import { SendMessageArray, SendMessageObject } from './Interfaces.js'; export interface Receive { text: { type: 'text'; data: { text: string; }; }; face: { type: 'face'; data: { id: number; big: boolean; }; }; image: { type: 'image'; data: { file: string; url: string; type: 'original' | 'flash' | 'show'; subType: number; }; }; record: { type: 'record'; data: { file: string; url: string; }; }; at: { type: 'at'; data: { qq: number | '0' | 'all' | 'admin' | 'online'; }; }; video: { type: 'video'; data: { file: string; url: string; }; }; markdown: { type: 'markdown'; data: { content: string; }; }; poke: { type: 'poke'; data: { type: number; id: number; strength: number; }; }; contact: { type: 'contact'; data: { type: 'private' | 'group'; id: string; }; }; location: { type: 'location'; data: { lon: string; title: string; lat: string; content: string; }; }; reply: { type: 'reply'; data: { id: number; }; }; json: { type: 'json'; data: { data: string; }; }; forward: { type: 'forward'; data: { id: string; filename?: string; summary?: string; desc?: string; }; }; new_dice: { type: 'new_dice'; data: {}; }; new_rps: { type: 'new_rps'; data: { id: number; }; }; basketball: { type: 'basketball'; data: { id: number; }; }; bubble_face: { type: 'bubble_face'; data: { id: number; count: number; }; }; } export interface Send { text: { type: 'text'; data: { text: string; }; }; face: { type: 'face'; data: { id: number; }; }; pic: { type: 'pic'; data: Send['image']['data']; }; image: { type: 'image'; data: ({ file: string; } | { url: string; }) & { type?: 'original' | 'flash' | 'show'; subType?: number; }; }; voice: { type: 'voice'; data: Send['record']['data']; }; record: { type: 'record'; data: ({ file: string; } | { url: string; }) & { magic?: boolean; }; }; at: { type: 'at'; data: { qq: number | string | 'all' | 'admin' | 'online'; name?: string; }; }; video: { type: 'video'; data: { file: string; } | { url: string; }; }; markdown: { type: 'markdown'; data: { content: string; }; }; poke: { type: 'poke'; data: { type: number; id: number; strength?: number; }; }; share: { type: 'share'; data: { title: string; url: string; image?: string; content?: string; }; }; contact: { type: 'contact'; data: { type: 'private' | 'group'; id: number; }; }; location: { type: 'location'; data: { lat: number; lon: number; }; }; music: { type: 'music'; data: { type: 'qq' | '163'; id: number; } | { type: 'custom'; title: string; singer?: string; url: string; image?: string; audio: string; }; }; reply: { type: 'reply'; data: { id: number; } | { id: number; seq: number; text: string; time: number; qq: number; }; }; touch: { type: 'touch'; data: { id: number; }; }; weather: { type: 'weather'; data: { code: number; } | { city: string; }; }; json: { type: 'json'; data: { data: string; }; }; node: { type: 'node'; data: { id: number; } | { content: string | SendMessageObject | SendMessageArray; uin?: number; uid?: string; name?: string; seq?: number; time?: number; }; }; forward: { type: 'forward'; data: { id: string; filename?: string; summary?: string; desc?: string; }; }; new_dice: { type: 'new_dice'; data: {}; }; new_rps: { type: 'new_rps'; data: {}; }; basketball: { type: 'basketball'; data: {}; }; bubble_face: { type: 'bubble_face'; data: { id: number; count: number; text?: string; }; }; } export declare function Text(data: Send['text']['data']): Send['text']; export declare function Face(data: Send['face']['data']): Send['face']; export declare function Pic(data: Send['pic']['data']): Send['pic']; export declare function Image(data: Send['image']['data']): Send['image']; export declare function Voice(data: Send['voice']['data']): Send['voice']; export declare function Record(data: Send['record']['data']): Send['record']; export declare function At(data: Send['at']['data']): Send['at']; export declare function Video(data: Send['video']['data']): Send['video']; export declare function Markdown(data: Send['markdown']['data']): Send['markdown']; export declare function Poke(data: Send['poke']['data']): Send['poke']; export declare function Share(data: Send['share']['data']): Send['share']; export declare function Contact(data: Send['contact']['data']): Send['contact']; export declare function Location(data: Send['location']['data']): Send['location']; export declare function Music(data: Send['music']['data']): Send['music']; export declare function Reply(data: Send['reply']['data']): Send['reply']; export declare function Touch(data: Send['touch']['data']): Send['touch']; export declare function Weather(data: Send['weather']['data']): Send['weather']; export declare function Json(data: Send['json']['data']): Send['json']; export declare function Node(data: Send['node']['data']): Send['node']; export declare function Forward(data: Send['forward']['data']): Send['forward']; export declare function NewDice(): Send['new_dice']; export declare function NewRps(): Send['new_rps']; export declare function Basketball(): Send['basketball']; export declare function BubbleFace(data: Send['bubble_face']['data']): Send['bubble_face'];