import type { ToolDefinition } from "./plugin-factory"; export interface BeeperConfig { username: string; accessToken: string; deviceId: string; clusterId: string; hungryservUrl: string; enabled: boolean; } export interface MatrixRoom { roomId: string; name: string; network?: string; isDirect: boolean; lastMessage?: { sender: string; body: string; timestamp: number; }; } export interface MatrixMessage { eventId: string; sender: string; senderName?: string; body: string; timestamp: number; roomId: string; } export interface SyncResponse { nextBatch: string; rooms: { join: Record; }; } interface MatrixEvent { type: string; sender: string; content: Record; origin_server_ts: number; event_id: string; state_key?: string; } export declare function loadBeeperConfig(): BeeperConfig; export declare function createBeeperClient(config: BeeperConfig): { sync(timeout?: number, since?: string): Promise; getJoinedRooms(): Promise; getRoomsByNetwork(network: string): Promise; sendMessage(roomId: string, body: string): Promise<{ eventId: string; }>; getMessages(roomId: string, limit?: number): Promise; whoami(): Promise<{ userId: string; deviceId?: string; }>; }; export interface BeeperToolOptions { config: BeeperConfig; logger: { info: (msg: string, meta?: Record) => void; error: (msg: string, meta?: Record) => void; }; network: "telegram" | "whatsapp" | "discord" | "instagram" | "signal"; serviceName: string; } export declare function createBeeperMatrixTools(options: BeeperToolOptions): ToolDefinition[]; export declare const BEEPER_ENV_VARS: { required: Array<{ name: string; description: string; }>; optional: { name: string; description: string; }[]; }; export {}; //# sourceMappingURL=beeper-client.d.ts.map