import type { DatabaseSync } from "node:sqlite"; import type { Context } from "@/types"; import type { ChannelMessageDbRecord } from "./databaseTypes.js"; /** * Channel messages repository backed by SQLite. * Expects: schema migrations already applied for channel_messages. */ export declare class ChannelMessagesRepository { private readonly db; constructor(db: DatabaseSync); create(record: ChannelMessageDbRecord): Promise; findRecent(ctx: Context, channelId: string, limit?: number): Promise; private messageParse; } //# sourceMappingURL=channelMessagesRepository.d.ts.map