import * as sql from '.'; import type { SyncRecord, SyncAtReply } from '..'; declare type Field = Exclude; export default class SyncTable { name: string; fields: ReadonlyArray>; private _db; private _discriminator; constructor(db: sql.SQLiteDatabase, name: string, fields: ReadonlyArray>); private _getLastModifiedInternal; getAll(): Promise; getOne(uniqueId: string): Promise; getRaw(): Promise>>; getChangesAfter(lastModified: number): Promise>>; private _handleChangesInternal; handleChanges(changes: Array>): Promise; syncAt(theirLastModified: number, pushedChanges: Array>): Promise>; private _insertInternal; replaceAll(data: Array>): Promise; private _insertIfRecentInternal; insertIfRecent(uniqueId: string, lastModified: number, row: Omit): Promise; insertOne(uniqueId: string, row: Omit): Promise; private _deleteInternal; private _deleteIfRecentInternal; deleteIfRecent(uniqueId: string, lastModified: number): Promise; deleteOne(uniqueId: string): Promise; } export {};