import { ResOutput, ResOutputChunk as ResOutputChunkBackend, ResOutputContent as ResOutputContentBackend } from "@shapediver/sdk.geometry-api-sdk-v2"; import { type ITreeNode } from "@shapediver/viewer.shared.node-tree"; import { type IAnchor, type IMaterialContentData, type IMaterialContentDataV1, type IMaterialContentDataV2, type IMaterialContentDataV3, type ITag2D, type ITag3D } from "@shapediver/viewer.shared.types"; export interface IOutput extends ResOutput { readonly node?: ITreeNode; format: string[]; freeze: boolean; updateCallback: ((newNode?: ITreeNode, oldNode?: ITreeNode) => void) | null; triggerUpdateCallback(newNode?: ITreeNode, oldNode?: ITreeNode): void; updateOutput(newNode?: ITreeNode, oldNode?: ITreeNode): void; updateOutputContent(content: ResOutputContent[], preventUpdate?: boolean, waitForViewportUpdate?: boolean): Promise; updateOutputDefinition(outputDef: ResOutput): void; } /** * Extension of the ResOutputChunk with a node */ export interface ResOutputChunk extends ResOutputChunkBackend { node?: ITreeNode; } /** * Extension of the ResOutputContent as the viewer already creates types for them */ export interface ResOutputContent extends ResOutputContentBackend { data?: ITag2D[] | ITag3D[] | IAnchor[] | IMaterialContentData | IMaterialContentDataV1 | IMaterialContentDataV2 | IMaterialContentDataV3 | unknown; } //# sourceMappingURL=IOutput.d.ts.map