lexical-vue
Version:
An extensible Vue 3 web text-editor based on Lexical.
854 lines • 163 kB
TypeScript
import type { Doc } from 'yjs';
export interface CollaborationContextType {
clientID: number;
color: string;
isCollabActive: boolean;
name: string;
yjsDocMap: Map<string, Doc>;
}
declare const _default: import("vue").Ref<{
clientID: number;
color: string;
isCollabActive: boolean;
name: string;
yjsDocMap: Map<string, {
gc: boolean;
gcFilter: (arg0: import("yjs").Item) => boolean;
clientID: number;
guid: string;
collectionid: string | null;
share: Map<string, {
_item: {
origin: {
client: number;
clock: number;
} | null;
left: any | null;
right: any | null;
rightOrigin: {
client: number;
clock: number;
} | null;
parent: {
client: number;
clock: number;
} | {
_item: any | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: any | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: any, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: any | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<any>;
clone: () => import("yjs").AbstractType<any>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: any | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
} | null;
parentSub: string | null;
redone: {
client: number;
clock: number;
} | null;
content: {
getLength: () => number;
getContent: () => Array<any>;
isCountable: () => boolean;
copy: () => import("yjs/dist/src/internals").AbstractContent;
splice: (_offset: number) => import("yjs/dist/src/internals").AbstractContent;
mergeWith: (_right: import("yjs/dist/src/internals").AbstractContent) => boolean;
integrate: (_transaction: import("yjs").Transaction, _item: import("yjs").Item) => void;
delete: (_transaction: import("yjs").Transaction) => void;
gc: (_store: import("yjs/dist/src/internals").StructStore) => void;
write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, _offset: number) => void;
getRef: () => number;
};
info: number;
marker: boolean;
keep: boolean;
readonly countable: boolean;
deleted: boolean;
markDeleted: () => void;
getMissing: (transaction: import("yjs").Transaction, store: import("yjs/dist/src/internals").StructStore) => null | number;
readonly next: any | null;
readonly prev: any | null;
readonly lastId: {
client: number;
clock: number;
};
mergeWith: (right: import("yjs").Item) => boolean;
delete: (transaction: import("yjs").Transaction) => void;
gc: (store: import("yjs/dist/src/internals").StructStore, parentGCd: boolean) => void;
write: (encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, offset: number) => void;
id: {
client: number;
clock: number;
};
length: number;
integrate: (transaction: import("yjs").Transaction, offset: number) => void;
} | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: {
origin: {
client: number;
clock: number;
} | null;
left: any | null;
right: any | null;
rightOrigin: {
client: number;
clock: number;
} | null;
parent: {
client: number;
clock: number;
} | {
_item: any | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: any | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: any, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: any | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<any>;
clone: () => import("yjs").AbstractType<any>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: any | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
} | null;
parentSub: string | null;
redone: {
client: number;
clock: number;
} | null;
content: {
getLength: () => number;
getContent: () => Array<any>;
isCountable: () => boolean;
copy: () => import("yjs/dist/src/internals").AbstractContent;
splice: (_offset: number) => import("yjs/dist/src/internals").AbstractContent;
mergeWith: (_right: import("yjs/dist/src/internals").AbstractContent) => boolean;
integrate: (_transaction: import("yjs").Transaction, _item: import("yjs").Item) => void;
delete: (_transaction: import("yjs").Transaction) => void;
gc: (_store: import("yjs/dist/src/internals").StructStore) => void;
write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, _offset: number) => void;
getRef: () => number;
};
info: number;
marker: boolean;
keep: boolean;
readonly countable: boolean;
deleted: boolean;
markDeleted: () => void;
getMissing: (transaction: import("yjs").Transaction, store: import("yjs/dist/src/internals").StructStore) => null | number;
readonly next: any | null;
readonly prev: any | null;
readonly lastId: {
client: number;
clock: number;
};
mergeWith: (right: import("yjs").Item) => boolean;
delete: (transaction: import("yjs").Transaction) => void;
gc: (store: import("yjs/dist/src/internals").StructStore, parentGCd: boolean) => void;
write: (encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, offset: number) => void;
id: {
client: number;
clock: number;
};
length: number;
integrate: (transaction: import("yjs").Transaction, offset: number) => void;
} | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: import("yjs").YEvent<any>, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: {
_item: any | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: any | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: any, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: any | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<any>;
clone: () => import("yjs").AbstractType<any>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: any | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
} | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<import("yjs").YEvent<any>>;
clone: () => import("yjs").AbstractType<import("yjs").YEvent<any>>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: {
origin: {
client: number;
clock: number;
} | null;
left: any | null;
right: any | null;
rightOrigin: {
client: number;
clock: number;
} | null;
parent: {
client: number;
clock: number;
} | {
_item: any | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: any | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: any, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: any | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<any>;
clone: () => import("yjs").AbstractType<any>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: any | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
} | null;
parentSub: string | null;
redone: {
client: number;
clock: number;
} | null;
content: {
getLength: () => number;
getContent: () => Array<any>;
isCountable: () => boolean;
copy: () => import("yjs/dist/src/internals").AbstractContent;
splice: (_offset: number) => import("yjs/dist/src/internals").AbstractContent;
mergeWith: (_right: import("yjs/dist/src/internals").AbstractContent) => boolean;
integrate: (_transaction: import("yjs").Transaction, _item: import("yjs").Item) => void;
delete: (_transaction: import("yjs").Transaction) => void;
gc: (_store: import("yjs/dist/src/internals").StructStore) => void;
write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, _offset: number) => void;
getRef: () => number;
};
info: number;
marker: boolean;
keep: boolean;
readonly countable: boolean;
deleted: boolean;
markDeleted: () => void;
getMissing: (transaction: import("yjs").Transaction, store: import("yjs/dist/src/internals").StructStore) => null | number;
readonly next: any | null;
readonly prev: any | null;
readonly lastId: {
client: number;
clock: number;
};
mergeWith: (right: import("yjs").Item) => boolean;
delete: (transaction: import("yjs").Transaction) => void;
gc: (store: import("yjs/dist/src/internals").StructStore, parentGCd: boolean) => void;
write: (encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, offset: number) => void;
id: {
client: number;
clock: number;
};
length: number;
integrate: (transaction: import("yjs").Transaction, offset: number) => void;
} | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: import("yjs").YEvent<any>, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: import("yjs").YEvent<any>, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
}> & Omit<Map<string, import("yjs").AbstractType<import("yjs").YEvent<any>>>, keyof Map<any, any>>;
store: {
clients: Map<number, ({
origin: {
client: number;
clock: number;
} | null;
left: any | null;
right: any | null;
rightOrigin: {
client: number;
clock: number;
} | null;
parent: {
client: number;
clock: number;
} | {
_item: any | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: any | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: any, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: any | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<any>;
clone: () => import("yjs").AbstractType<any>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: any | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
} | null;
parentSub: string | null;
redone: {
client: number;
clock: number;
} | null;
content: {
getLength: () => number;
getContent: () => Array<any>;
isCountable: () => boolean;
copy: () => import("yjs/dist/src/internals").AbstractContent;
splice: (_offset: number) => import("yjs/dist/src/internals").AbstractContent;
mergeWith: (_right: import("yjs/dist/src/internals").AbstractContent) => boolean;
integrate: (_transaction: import("yjs").Transaction, _item: import("yjs").Item) => void;
delete: (_transaction: import("yjs").Transaction) => void;
gc: (_store: import("yjs/dist/src/internals").StructStore) => void;
write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, _offset: number) => void;
getRef: () => number;
};
info: number;
marker: boolean;
keep: boolean;
readonly countable: boolean;
deleted: boolean;
markDeleted: () => void;
getMissing: (transaction: import("yjs").Transaction, store: import("yjs/dist/src/internals").StructStore) => null | number;
readonly next: any | null;
readonly prev: any | null;
readonly lastId: {
client: number;
clock: number;
};
mergeWith: (right: import("yjs").Item) => boolean;
delete: (transaction: import("yjs").Transaction) => void;
gc: (store: import("yjs/dist/src/internals").StructStore, parentGCd: boolean) => void;
write: (encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, offset: number) => void;
id: {
client: number;
clock: number;
};
length: number;
integrate: (transaction: import("yjs").Transaction, offset: number) => void;
} | {
delete: () => void;
mergeWith: (right: import("yjs").GC) => boolean;
write: (encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, offset: number) => void;
getMissing: (transaction: import("yjs").Transaction, store: import("yjs/dist/src/internals").StructStore) => null | number;
id: {
client: number;
clock: number;
};
length: number;
readonly deleted: boolean;
integrate: (transaction: import("yjs").Transaction, offset: number) => void;
})[]> & Omit<Map<number, (import("yjs").Item | import("yjs").GC)[]>, keyof Map<any, any>>;
pendingStructs: {
missing: Map<number, number> & Omit<Map<number, number>, keyof Map<any, any>>;
update: {
[x: number]: number;
readonly BYTES_PER_ELEMENT: number;
readonly buffer: {
readonly byteLength: number;
slice: (begin: number, end?: number) => ArrayBuffer;
readonly [Symbol.toStringTag]: string;
} | {
readonly byteLength: number;
slice: (begin: number, end?: number) => SharedArrayBuffer;
readonly [Symbol.species]: SharedArrayBuffer;
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
};
readonly byteLength: number;
readonly byteOffset: number;
copyWithin: (target: number, start: number, end?: number) => Uint8Array;
every: (predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any) => boolean;
fill: (value: number, start?: number, end?: number) => Uint8Array;
filter: (predicate: (value: number, index: number, array: Uint8Array) => any, thisArg?: any) => Uint8Array;
find: (predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any) => number | undefined;
findIndex: (predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any) => number;
forEach: (callbackfn: (value: number, index: number, array: Uint8Array) => void, thisArg?: any) => void;
indexOf: (searchElement: number, fromIndex?: number) => number;
join: (separator?: string) => string;
lastIndexOf: (searchElement: number, fromIndex?: number) => number;
readonly length: number;
map: (callbackfn: (value: number, index: number, array: Uint8Array) => number, thisArg?: any) => Uint8Array;
reduce: {
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;
};
reduceRight: {
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;
};
reverse: () => Uint8Array;
set: (array: ArrayLike<number>, offset?: number) => void;
slice: (start?: number, end?: number) => Uint8Array;
some: (predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any) => boolean;
sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array;
subarray: (begin?: number, end?: number) => Uint8Array;
toLocaleString: {
(): string;
(locales: string | string[], options?: Intl.NumberFormatOptions): string;
};
toString: () => string;
valueOf: () => Uint8Array;
entries: () => IterableIterator<[number, number]>;
keys: () => IterableIterator<number>;
values: () => IterableIterator<number>;
includes: (searchElement: number, fromIndex?: number) => boolean;
at: (index: number) => number | undefined;
findLast: {
<S extends number>(predicate: (value: number, index: number, array: Uint8Array) => value is S, thisArg?: any): S | undefined;
(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): number | undefined;
};
findLastIndex: (predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any) => number;
toReversed: () => Uint8Array;
toSorted: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array;
with: (index: number, value: number) => Uint8Array;
[Symbol.iterator]: () => IterableIterator<number>;
readonly [Symbol.toStringTag]: "Uint8Array";
};
} | null;
pendingDs: {
[x: number]: number;
readonly BYTES_PER_ELEMENT: number;
readonly buffer: {
readonly byteLength: number;
slice: (begin: number, end?: number) => ArrayBuffer;
readonly [Symbol.toStringTag]: string;
} | {
readonly byteLength: number;
slice: (begin: number, end?: number) => SharedArrayBuffer;
readonly [Symbol.species]: SharedArrayBuffer;
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
};
readonly byteLength: number;
readonly byteOffset: number;
copyWithin: (target: number, start: number, end?: number) => Uint8Array;
every: (predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any) => boolean;
fill: (value: number, start?: number, end?: number) => Uint8Array;
filter: (predicate: (value: number, index: number, array: Uint8Array) => any, thisArg?: any) => Uint8Array;
find: (predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any) => number | undefined;
findIndex: (predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any) => number;
forEach: (callbackfn: (value: number, index: number, array: Uint8Array) => void, thisArg?: any) => void;
indexOf: (searchElement: number, fromIndex?: number) => number;
join: (separator?: string) => string;
lastIndexOf: (searchElement: number, fromIndex?: number) => number;
readonly length: number;
map: (callbackfn: (value: number, index: number, array: Uint8Array) => number, thisArg?: any) => Uint8Array;
reduce: {
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;
};
reduceRight: {
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;
};
reverse: () => Uint8Array;
set: (array: ArrayLike<number>, offset?: number) => void;
slice: (start?: number, end?: number) => Uint8Array;
some: (predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any) => boolean;
sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array;
subarray: (begin?: number, end?: number) => Uint8Array;
toLocaleString: {
(): string;
(locales: string | string[], options?: Intl.NumberFormatOptions): string;
};
toString: () => string;
valueOf: () => Uint8Array;
entries: () => IterableIterator<[number, number]>;
keys: () => IterableIterator<number>;
values: () => IterableIterator<number>;
includes: (searchElement: number, fromIndex?: number) => boolean;
at: (index: number) => number | undefined;
findLast: {
<S extends number>(predicate: (value: number, index: number, array: Uint8Array) => value is S, thisArg?: any): S | undefined;
(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): number | undefined;
};
findLastIndex: (predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any) => number;
toReversed: () => Uint8Array;
toSorted: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array;
with: (index: number, value: number) => Uint8Array;
[Symbol.iterator]: () => IterableIterator<number>;
readonly [Symbol.toStringTag]: "Uint8Array";
} | null;
};
_transaction: {
doc: any;
deleteSet: {
clients: Map<number, {
clock: number;
len: number;
}[]> & Omit<Map<number, import("yjs/dist/src/internals").DeleteItem[]>, keyof Map<any, any>>;
};
beforeState: Map<number, number> & Omit<Map<number, number>, keyof Map<any, any>>;
afterState: Map<number, number> & Omit<Map<number, number>, keyof Map<any, any>>;
changed: Map<import("yjs").AbstractType<import("yjs").YEvent<any>>, Set<string | null> & Omit<Set<string | null>, keyof Set<any>>> & Omit<Map<import("yjs").AbstractType<import("yjs").YEvent<any>>, Set<string | null>>, keyof Map<any, any>>;
changedParentTypes: Map<import("yjs").AbstractType<import("yjs").YEvent<any>>, {
target: any;
currentTarget: {
_item: any | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: any | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: any, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: any | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<any>;
clone: () => import("yjs").AbstractType<any>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: any | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
};
transaction: any;
_changes: Object | null;
_keys: (Map<string, {
action: "add" | "update" | "delete";
oldValue: any;
newValue: any;
}> & Omit<Map<string, {
action: "add" | "update" | "delete";
oldValue: any;
newValue: any;
}>, keyof Map<any, any>>) | null;
_delta: {
insert?: string | object | any[] | {
_item: any | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: any | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: any, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: any | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<any>;
clone: () => import("yjs").AbstractType<any>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: any | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
} | undefined;
retain?: number | undefined;
delete?: number | undefined;
attributes?: {
[x: string]: any;
} | undefined;
}[] | null;
_path: Array<string | number> | null;
readonly path: (string | number)[];
deletes: (struct: import("yjs").AbstractStruct) => boolean;
readonly keys: Map<string, {
action: "add" | "update" | "delete";
oldValue: any;
newValue: any;
}> & Omit<Map<string, {
action: "add" | "update" | "delete";
oldValue: any;
newValue: any;
}>, keyof Map<any, any>>;
readonly delta: {
insert?: string | object | any[] | {
_item: any | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: any | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: any, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: any | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<any>;
clone: () => import("yjs").AbstractType<any>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: any | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
} | undefined;
retain?: number | undefined;
delete?: number | undefined;
attributes?: {
[x: string]: any;
} | undefined;
}[];
adds: (struct: import("yjs").AbstractStruct) => boolean;
readonly changes: {
added: Set<{
origin: {
client: number;
clock: number;
} | null;
left: any | null;
right: any | null;
rightOrigin: {
client: number;
clock: number;
} | null;
parent: {
client: number;
clock: number;
} | {
_item: any | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: any | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: any, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: any | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<any>;
clone: () => import("yjs").AbstractType<any>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: any | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
} | null;
parentSub: string | null;
redone: {
client: number;
clock: number;
} | null;
content: {
getLength: () => number;
getContent: () => Array<any>;
isCountable: () => boolean;
copy: () => import("yjs/dist/src/internals").AbstractContent;
splice: (_offset: number) => import("yjs/dist/src/internals").AbstractContent;
mergeWith: (_right: import("yjs/dist/src/internals").AbstractContent) => boolean;
integrate: (_transaction: import("yjs").Transaction, _item: import("yjs").Item) => void;
delete: (_transaction: import("yjs").Transaction) => void;
gc: (_store: import("yjs/dist/src/internals").StructStore) => void;
write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, _offset: number) => void;
getRef: () => number;
};
info: number;
marker: boolean;
keep: boolean;
readonly countable: boolean;
deleted: boolean;
markDeleted: () => void;
getMissing: (transaction: import("yjs").Transaction, store: import("yjs/dist/src/internals").StructStore) => null | number;
readonly next: any | null;
readonly prev: any | null;
readonly lastId: {
client: number;
clock: number;
};
mergeWith: (right: import("yjs").Item) => boolean;
delete: (transaction: import("yjs").Transaction) => void;
gc: (store: import("yjs/dist/src/internals").StructStore, parentGCd: boolean) => void;
write: (encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2, offset: number) => void;
id: {
client: number;
clock: number;
};
length: number;
integrate: (transaction: import("yjs").Transaction, offset: number) => void;
}> & Omit<Set<import("yjs").Item>, keyof Set<any>>;
deleted: Set<{
origin: {
client: number;
clock: number;
} | null;
left: any | null;
right: any | null;
rightOrigin: {
client: number;
clock: number;
} | null;
parent: {
client: number;
clock: number;
} | {
_item: any | null;
_map: Map<string, any> & Omit<Map<string, import("yjs").Item>, keyof Map<any, any>>;
_start: any | null;
doc: any | null;
_length: number;
_eH: {
l: ((arg0: any, arg1: import("yjs").Transaction) => void)[];
};
_dEH: {
l: ((arg0: import("yjs").YEvent<any>[], arg1: import("yjs").Transaction) => void)[];
};
_searchMarker: {
p: any;
index: number;
timestamp: number;
}[] | null;
readonly parent: any | null;
_integrate: (y: Doc, item: import("yjs").Item | null) => void;
_copy: () => import("yjs").AbstractType<any>;
clone: () => import("yjs").AbstractType<any>;
_write: (_encoder: import("yjs").UpdateEncoderV1 | import("yjs").UpdateEncoderV2) => void;
readonly _first: any | null;
_callObserver: (transaction: import("yjs").Transaction, _parentSubs: Set<null | string>) => void;
observe: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
observeDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
unobserve: (f: (arg0: any, arg1: import("yjs").Transaction) => void) => void;
unobserveDeep: (f: (arg0: Array<import("yjs").YEvent<any>>, arg1: import("yjs").Transaction) => void) => void;
toJSON: () => any;
} | null;
parentSub: string | null;
redone: {
client: number;
clock: number;
} | null;
content: {
getLength: () => number;
getContent: () => Array<any>;
isCountable: () => boolean;
copy: () => import("yjs/dist/src/internals").AbstractContent;
splice: (_offset: number) => import("yjs/dist/src/internals").AbstractContent;
mergeWith: (_right: import("yjs/dist/src/internals").AbstractContent) => boolean;
integrate: (_transaction: import("yjs").Transaction, _item: import("yjs").Item) => void;
delete: (_transaction: import("yjs").Transaction) => void;
gc: (_store: import("yjs/dist/src/internals").StructStore) => void;
write: (_encoder: import("yjs").UpdateEnco