import { ActionBehaviorConstructorProps, ActionBehavior, ContextManager } from '@zcomponent/core'; import { Object3D } from '../components/Object3D'; export interface ToggleVisibilityProps extends ActionBehaviorConstructorProps { /** * The visibility state to set. If undefined, the action will flip the visibility of the component each time it's performed. * @zprop * @zdefault false */ visible: boolean | undefined; } /** * Toggles `visible` property of a component. * * This behavior is registered to run at design time. * * @see https://threejs.org/docs/?q=object3d#api/en/core/Object3D.visible * @zbehavior * @zgroup Actions * @zicon visibility_off * @zparents three/Object3D/** */ export declare class ToggleVisibility extends ActionBehavior { instance: Object3D; private props; constructor(contextManager: ContextManager, instance: Object3D, props: ToggleVisibilityProps); /** * Performs the action. */ perform(): void; }