import { ContextManager } from '@zcomponent/core'; import { OBB } from 'three/examples/jsm/math/OBB'; import { Trigger, TriggerConstructorProps } from './Trigger'; import { TriggerShape } from './ITrigger'; /** * Properties for constructing an oriented bounding box trigger. */ export interface OBBTriggerProps extends TriggerConstructorProps { /** * The shape of the trigger. */ shape?: TriggerShape; } /** * An oriented bounding box trigger component. */ export declare class OBBTrigger extends Trigger { /** * The world-space oriented bounding box of the trigger. */ worldBoundingBox: OBB; /** * Constructs an oriented bounding box trigger. * @param ctx - The context manager. * @param props - The properties for trigger construction, including shape. */ constructor(ctx: ContextManager, props: TriggerConstructorProps); /** * Updates the world-space bounding box based on the trigger's current state. */ update(): void; }