import { LibraryServerDataSQLite } from 'mira-storage-sqlite'; import { WebSocket } from 'ws'; import { WebSocketMessage } from './WebSocketRouter'; export declare abstract class MessageHandler { protected dbService: LibraryServerDataSQLite; protected ws: WebSocket; protected message: WebSocketMessage; constructor(dbService: LibraryServerDataSQLite, ws: WebSocket, message: WebSocketMessage); abstract handle(): Promise; protected sendResponse(data: Record): void; protected sendError(error: string): void; protected getLibraryId(): string; protected getAction(): string; protected getPayload(): Record; } //# sourceMappingURL=MessageHandler.d.ts.map