import Dexie from "dexie";
import { Message } from "./Message";
export interface Draft extends Message {
}
export declare enum EventType {
    DraftChange = "draft_Change"
}
declare class DraftTable {
    private draftTable?;
    Event: {
        DraftChange: string;
    };
    init(db: Dexie): void;
    putMsg(item: Draft): Promise<void>;
    updateMsg(chatId: string, Itme: Partial<Draft>): Promise<void>;
    deleteMsg(chatId: string): Promise<void>;
    getMsg(chatId: string): Promise<Draft | undefined>;
    getAllDraftMsg(filter?: {
        (item: Draft): boolean;
    }): Promise<Draft[]>;
    publishNC(chatId: string): void;
}
declare const DraftModel: DraftTable;
export default DraftModel;
