/** * Copyright (c) 2026 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Russ Taylor */ import { ParamDefinition as PD } from '../../mol-util/param-definition.js'; import { KinemageData } from './prop.js'; import { StateTransformer } from '../../mol-state/index.js'; import { PluginStateObject } from '../../mol-plugin-state/objects.js'; import { PluginContext } from '../../mol-plugin/context.js'; import { Camera } from '../../mol-canvas3d/camera.js'; import { StateObjectSelector } from '../../mol-state/index.js'; declare const KinemageObject_base: { new (data: KinemageData, props?: { label: string; description?: string; } | undefined): { id: import("../../mol-util/index.js").UUID; type: PluginStateObject.TypeInfo; label: string; description?: string; data: KinemageData; }; type: PluginStateObject.TypeInfo; is(obj?: import("../../mol-state/index.js").StateObject): obj is import("../../mol-state/index.js").StateObject; }; /** * State object to hold parsed Kinemage data */ export declare class KinemageObject extends KinemageObject_base { } /** * Visibility state for kinemage elements - stores which items are VISIBLE (not hidden) */ export interface KinemageVisibilityState { /** Map of group name -> visibility (true = visible, false = hidden/off) */ groupVisibility: Map; /** Map of subgroup name -> visibility (true = visible, false = hidden/off) */ subgroupVisibility: Map; /** Map of master name -> visibility (true = visible, false = hidden) */ masterVisibility: Map; activeAnimateGroup: number; activeAnimateGroup2: number; } /** * Apply a saved snapshot object (from a view state node) to the plugin camera. * Use PluginCommands.Camera.SetSnapshot so transitions and canvas props are handled properly. */ export declare function applyViewSnapshot(plugin: PluginContext, snapshot: Partial): Promise; /** * Transform to parse Kinemage data from string/data input */ export declare const ParseKinemage: StateTransformer>; /** * Transform to select a specific kinemage from parsed data */ export declare const SelectKinemage: StateTransformer>; /** * Visibility Controller Transform - centralizes visibility state for all shape types * Stores visibility as key-value pairs where key is the item name and value is boolean (true = visible) */ export declare const KinemageVisibilityController: StateTransformer>; export declare const KinemageShapePointsProvider: StateTransformer>; export declare const KinemageShapeLinesProvider: StateTransformer>; export declare const KinemageShapeMeshProvider: StateTransformer>; export declare const KinemageShapeSpheresProvider: StateTransformer>; export declare const KinemageExtension: StateTransformer; /** Programmatic loader: load a single File (a .kin) into the plugin state. * Returns the ref to the first visibility controller node. */ export declare function loadKinemageFile(plugin: PluginContext, file: File): Promise | undefined>; export {};