limu
Version:
A fast js lib of immutable data, based on shallow copy on read and mark modified on write mechanism
13 lines (12 loc) • 684 B
TypeScript
import type { DraftMeta, IApiCtx } from '../inner-types';
export declare function isInSameScope(mayDraftProxy: any, callerScopeVer: string): boolean;
export declare function clearScopes(rootMeta: DraftMeta, apiCtx: IApiCtx): void;
/**
* TODO 将来使用 handleMultiRefV2 替换掉 handleMultiRef
* @param rootMeta T
* @param final
*/
export declare function handleMultiRefV2(rootMeta: DraftMeta, final: any): void;
export declare function handleMultiRef(rootMeta: DraftMeta, final: any): void;
export declare function extractFinalData(rootMeta: DraftMeta, apiCtx: IApiCtx): import("../inner-types").AnyObject<any>;
export declare function recordVerScope(meta: DraftMeta): void;