export interface CrdtVersion {
    versionId: string;
    versionName?: string;
    state: Uint8Array | number[];
    timestamp: number;
}
export interface CrdtVersionWithEncryptedState extends Omit<CrdtVersion, 'state'> {
    encryptedState: string;
}
export interface CrdtUpdateDataQuery {
    id: string;
    state: Uint8Array | number[];
    data?: unknown;
}
export interface CrdtOnDataChangeQuery {
    id: string;
    callback: (data: any) => void;
}
export interface CrdtGetDataQuery {
    id: string;
}
export interface CrdtOnStateChangeQuery {
    id: string;
    callback: (data: any) => void;
}
export interface CrdtUpdateStateQuery {
    id: string;
    state: Uint8Array | number[];
}
export interface CrdtRegisterSyncUserQuery {
    id: string;
}
export interface CrdtOnRegisteredUserChangeQuery {
    id: string;
    callback: (data: any) => void;
}
export interface CrdtSetPresenceQuery {
    id: string;
}
export interface CrdtOnPresenceChangeQuery {
    id: string;
    callback: (data: any) => void;
}
export interface CrdtSaveVersionQuery {
    id: string;
    versionId: string;
    versionName?: string;
    state: Uint8Array | number[];
}
export interface CrdtGetVersionQuery {
    id: string;
    versionId: string;
}
export interface CrdtGetVersionsQuery {
    id: string;
}
export interface CrdtDeleteVersionQuery {
    id: string;
    versionId: string;
}
