import Dexie from "dexie";
type timestamp = number;
export interface CommentIdType {
    id: string;
    mid: string;
    uid: string;
    pid: string;
    create_time: timestamp;
}
declare class CommentIdTable {
    private table;
    init(db: Dexie): void;
    getCommentsIdsByMoment(momentId: string): Promise<CommentIdType[]>;
    bulkGet(momentId: string, page?: number, pageSize?: number): Promise<{
        id: string;
        data: any[];
        total: number;
    }>;
    getTotalComment(momentId: string): Promise<number>;
    getPid(cid: string): Promise<string | undefined>;
    findIndex(pid: string, id: string): Promise<number>;
    bulkPut(commentIds: CommentIdType[], momentId?: string): Promise<void>;
    bulkDel(commentIds: string[]): Promise<void | undefined>;
    publishNew(momentId: string): void;
}
declare const commentIdsStore: CommentIdTable;
export default commentIdsStore;
