/** * Clipboard system for copy/paste operations * Framework-agnostic implementation */ import { Mesh } from '../geometry/mesh'; import { Group } from '../geometry/group'; import { OutlinerElement } from '../geometry/outliner_element'; import { Texture } from '../texturing/texture'; import { Animation } from '../animation/animation'; import { Keyframe } from '../animation/keyframe'; export interface ClipboardData { type: 'elements' | 'groups' | 'textures' | 'animations' | 'keyframes' | 'faces' | 'mesh_selection' | 'text'; data: any; timestamp: number; } export declare class Clipboard { private storage; private maxHistory; /** * Copy elements to clipboard */ copyElements(elements: OutlinerElement[]): void; /** * Copy groups to clipboard */ copyGroups(groups: Group[]): void; /** * Copy textures to clipboard */ copyTextures(textures: Texture[]): void; /** * Copy animations to clipboard */ copyAnimations(animations: Animation[]): void; /** * Copy keyframes to clipboard */ copyKeyframes(keyframes: Keyframe[]): void; /** * Copy text to clipboard */ copyText(text: string): void; /** * Copy faces (UV data) to clipboard */ copyFaces(faces: any[]): void; /** * Copy mesh selection to clipboard */ copyMeshSelection(mesh: Mesh, selection: any): void; /** * Get clipboard data by type */ get(type: string): ClipboardData | undefined; /** * Set clipboard data */ set(type: string, data: ClipboardData): void; /** * Check if clipboard has data of type */ has(type: string): boolean; /** * Clear clipboard */ clear(type?: string): void; /** * Get all clipboard types */ getTypes(): string[]; /** * Cleanup old clipboard entries */ private cleanup; /** * Create duplicate of elements */ duplicateElements(elements: OutlinerElement[]): OutlinerElement[]; /** * Export clipboard data as JSON */ exportJSON(): string; /** * Import clipboard data from JSON */ importJSON(json: string): boolean; /** * Validate clipboard data structure */ private isValidClipboardData; } export declare const clipboard: Clipboard; //# sourceMappingURL=clipboard.d.ts.map