UNPKG

@architwankhade/math

Version:
7 lines (6 loc) 600 B
import type { OrderedExcalidrawElement } from "@architwankhade/element/types"; import type { MakeBrand } from "@architwankhade/common/utility-types"; import type { AppState } from "../types"; export type ReconciledExcalidrawElement = OrderedExcalidrawElement & MakeBrand<"ReconciledElement">; export type RemoteExcalidrawElement = OrderedExcalidrawElement & MakeBrand<"RemoteExcalidrawElement">; export declare const reconcileElements: (localElements: readonly OrderedExcalidrawElement[], remoteElements: readonly RemoteExcalidrawElement[], localAppState: AppState) => ReconciledExcalidrawElement[];