import { CogniteCadModel } from '../../../api'; import { NodeAppearance, NodeCollection } from '../../../cad-styling'; /** * Timeline Key Frames contains parameters to access Nodes, Styles for the Timeline */ export declare class Keyframe { private readonly _date; private readonly _model; private readonly _nodeCollectionAndAppearance; constructor(model: CogniteCadModel, date: Date); /** * Get date of the Keyframe * @returns date */ getKeyframeDate(): Date; /** * Assigns the styles for the node set for the model for this Keyframe */ activate(): void; /** * Removes the style for the model */ deactivate(): void; /** * Add node & style to the collection. If the collection has been added, the style is updated to the * appearance provided. * @param nodeCollection Node set to apply the Styles * @param nodeAppearance Style to assign to the node collection */ assignStyledNodeCollection(nodeCollection: NodeCollection, nodeAppearance: NodeAppearance): void; /** * Remove Node & Style for this keyframe's nodeCollection and nodeAppearance * @param nodeCollection Nodes to be unassign from node collection */ unassignStyledNodeCollection(nodeCollection: NodeCollection): void; }