document.tsā¢701 B
/*
* Copyright (c) 2023-2025 KCai Technology (https://kcaitech.com). All rights reserved.
*
* This file is part of the Vextra project, which is licensed under the AGPL-3.0 license.
* The full license text can be found in the LICENSE file in the root directory of this source tree.
*
* For more information about the AGPL-3.0 license, please visit:
* https://www.gnu.org/licenses/agpl-3.0.html
*/
import { Document, PageView, ShapeView } from "@kcaitech/vextra-core";
export interface IDocument {
load(): Promise<void>;
data(): Document;
getPageView(pageId: string): Promise<PageView | undefined>
getNodeView(nodeId: string, pageId: string): Promise<ShapeView | undefined>
}