import type { DB } from '../db/client.js'; export type WindowType = 'free' | 'paid'; export interface MessageWindowOptions { db: DB; freeWindowExpr?: string; paidWindowExpr?: string; } export interface WindowStatus { inWindow: boolean; type: WindowType | null; } export interface OpenWindowRow { whatsapp: string; window_type: WindowType; end_time: string; } export declare class MessageWindow { readonly db: DB; readonly freeWindowExpr: string; readonly paidWindowExpr: string; constructor({ db, freeWindowExpr, paidWindowExpr, }: MessageWindowOptions); start(whatsapp: string, type?: WindowType): Promise; status(whatsapp: string): Promise; listOpen({ limit }?: { limit?: number; }): Promise; } //# sourceMappingURL=message_window.d.ts.map