1 | import type { ShareableRef, FlatShareableRef } from './commonTypes';
|
2 | export declare function makeShareableCloneRecursive<T>(value: any, shouldPersistRemote?: boolean, depth?: number): ShareableRef<T>;
|
3 | export declare function makeShareableCloneOnUIRecursive<T>(value: T): FlatShareableRef<T>;
|
4 | declare function makeShareableJS<T extends object>(value: T): T;
|
5 | /**
|
6 | * This function creates a value on UI with persistent state - changes to it on
|
7 | * the UI thread will be seen by all worklets. Use it when you want to create a
|
8 | * value that is read and written only on the UI thread.
|
9 | */
|
10 | export declare const makeShareable: typeof makeShareableJS;
|
11 | export {};
|
12 | //# sourceMappingURL=shareables.d.ts.map |
\ | No newline at end of file |