import type { Entity, IEngine, ISchema, MaterialComponentDefinitionExtended, PBMaterial, PBVideoPlayer, PBMainCamera, PBVirtualCamera, AnimatorComponentDefinitionExtended, TransformComponentExtended, LastWriteWinElementSetComponentDefinition, PBAvatarAttach, PBVisibilityComponent, PBGltfContainer, PBUiTransform, PBUiText, PBTextShape, PBUiBackground, MeshRendererComponentDefinitionExtended, PBBillboard, NameType, PBTween, PBTweenSequence, PBPointerEvents, PBLightSource, NetworkEntity, SyncComponents, AudioSourceComponentDefinitionExtended, PBUiInput, PBUiInputResult, PBUiCanvasInformation, InputModifierComponentDefinitionExtended, PBSkyboxTime } from '@dcl/ecs'; import { ComponentName, TweenType, InterpolationType, ActionType, TriggerConditionType, AlignMode, Font, Colliders, ProximityLayer, TextureMovementType, TeleportMode } from './enums'; export declare const LIVEKIT_STREAM_SRC = "livekit-video://current-stream"; export declare const VIDEO_URL_TYPE = "https://"; export * from './enums'; export * from './action-types'; export * from './events'; export * from './mapping'; export * from './states'; export * from './clone'; export * from './lww'; export * from './types'; export * from './versioning'; export * from './add-child'; export * from './validation'; export declare const ActionSchemas: { play_animation: ISchema; loop: ISchema; shouldReset: ISchema; }>>; stop_animation: ISchema>; set_state: ISchema; }>>; start_tween: ISchema; end: ISchema; interpolationType: ISchema; duration: ISchema; relative: ISchema; direction: ISchema; speed: ISchema; }>>; set_counter: ISchema; }>>; increment_counter: ISchema; }>>; decrease_counter: ISchema; }>>; play_sound: ISchema; loop: ISchema; volume: ISchema; global: ISchema; }>>; stop_sound: ISchema>; set_visibility: ISchema; physicsCollider: ISchema; collider: ISchema; }>>; attach_to_player: ISchema; }>>; detach_from_player: ISchema>; play_video_stream: ISchema; loop: ISchema; volume: ISchema; dclCast: ISchema; }>>; stop_video_stream: ISchema>; play_audio_stream: ISchema; volume: ISchema; }>>; stop_audio_stream: ISchema>; teleport_player: ISchema; x: ISchema; y: ISchema; realm: ISchema; }>>; move_player: ISchema; cameraTarget: ISchema; }>>; play_default_emote: ISchema; }>>; play_custom_emote: ISchema; loop: ISchema; }>>; open_link: ISchema; }>>; show_text: ISchema; hideAfterSeconds: ISchema; font: ISchema; fontSize: ISchema; textAlign: ISchema; }>>; hide_text: ISchema>; start_delay: ISchema; timeout: ISchema; }>>; stop_delay: ISchema; }>>; start_loop: ISchema; interval: ISchema; }>>; stop_loop: ISchema; }>>; clone_entity: ISchema; }>>; remove_entity: ISchema>; show_image: ISchema; align: ISchema; height: ISchema; width: ISchema; hideAfterSeconds: ISchema; text: ISchema; fontSize: ISchema; }>>; hide_image: ISchema; }>>; damage: ISchema; layer: ISchema; hits: ISchema; }>>; move_player_here: ISchema>; player_face_item: ISchema>; place_on_player: ISchema>; rotate_as_player: ISchema>; place_on_camera: ISchema>; rotate_as_camera: ISchema>; set_position: ISchema; y: ISchema; z: ISchema; relative: ISchema; }>>; set_rotation: ISchema; y: ISchema; z: ISchema; relative: ISchema; }>>; set_scale: ISchema; y: ISchema; z: ISchema; relative: ISchema; }>>; follow_player: ISchema; x: ISchema; y: ISchema; z: ISchema; minDistance: ISchema; }>>; stop_following_player: ISchema>; random: ISchema; }>>; batch: ISchema; }>>; heal_player: ISchema; }>>; claim_airdrop: ISchema>; lights_on: ISchema>; lights_off: ISchema>; lights_modify: ISchema; color: ISchema; intensity: ISchema; }>>; change_camera: ISchema; }>>; change_text: ISchema; fontSize: ISchema; color: ISchema; }>>; stop_tween: ISchema>; slide_texture: ISchema; y: ISchema; }>>; speed: ISchema; movementType: ISchema; duration: ISchema; }>>; freeze_player: ISchema>; unfreeze_player: ISchema>; change_collisions: ISchema; invisibleCollisions: ISchema; }>>; change_skybox: ISchema; direction: ISchema; }>>; reset_skybox: ISchema>; call_script_method: ISchema; methodName: ISchema; params: ISchema | undefined>; }>>; log_to_console: ISchema; }>>; delete: ISchema>; spawn_entity: ISchema; position: ISchema; }>>; }; export type ActionPayload = T extends keyof typeof ActionSchemas ? (typeof ActionSchemas)[T] extends ISchema ? ReturnType<(typeof ActionSchemas)[T]['deserialize']> : Record : Record; export declare function getComponent(componentName: string, engine: IEngine): LastWriteWinElementSetComponentDefinition; export declare function getComponents(engine: IEngine): { Actions: LastWriteWinElementSetComponentDefinition; readonly value: ISchema; type: ISchema; jsonPayload: ISchema; allowedInBasicView: ISchema; basicViewId: ISchema; default: ISchema; }>[]>; }>>; States: LastWriteWinElementSetComponentDefinition; readonly value: ISchema; readonly defaultValue: ISchema; readonly currentValue: ISchema; readonly previousValue: ISchema; }>>; Counter: LastWriteWinElementSetComponentDefinition; readonly value: ISchema; }>>; Triggers: LastWriteWinElementSetComponentDefinition; conditions: ISchema; type: ISchema; value: ISchema; }>[] | undefined>; operation: ISchema; actions: ISchema; name: ISchema; }>[]>; basicViewId: ISchema; }>[]>; }>>; CounterBar: LastWriteWinElementSetComponentDefinition; readonly secondaryColor: ISchema; readonly maxValue: ISchema; }>>; AdminTools: LastWriteWinElementSetComponentDefinition; readonly authorizedAdminUsers: ISchema; sceneOwners: ISchema; allowList: ISchema; adminAllowList: ISchema; }>>; readonly moderationControl: ISchema; kickCoordinates: ISchema; y: ISchema; z: ISchema; }>>; allowNonOwnersManageAdminAllowList: ISchema; }>>; readonly textAnnouncementControl: ISchema; playSoundOnEachAnnouncement: ISchema; showAuthorOnEachAnnouncement: ISchema; }>>; readonly videoControl: ISchema; disableVideoPlayersSound: ISchema; showAuthorOnVideoPlayers: ISchema; linkAllVideoPlayers: ISchema; videoPlayers: ISchema; customName: ISchema; }>[] | undefined>; }>>; readonly smartItemsControl: ISchema; linkAllSmartItems: ISchema; smartItems: ISchema; customName: ISchema; defaultAction: ISchema; }>[] | undefined>; }>>; readonly rewardsControl: ISchema; rewardItems: ISchema; customName: ISchema; }>[] | undefined>; }>>; }>>; VideoScreen: LastWriteWinElementSetComponentDefinition; readonly defaultMediaSource: ISchema; readonly defaultURL: ISchema; }>>; Rewards: LastWriteWinElementSetComponentDefinition; readonly dispenserKey: ISchema; readonly testMode: ISchema; }>>; TextAnnouncements: LastWriteWinElementSetComponentDefinition; readonly author: ISchema; readonly id: ISchema; }>>; VideoControlState: LastWriteWinElementSetComponentDefinition; readonly streamKey: ISchema; }>>; Script: LastWriteWinElementSetComponentDefinition; priority: ISchema; layout: ISchema; }>[]>; }>>; Placeholder: LastWriteWinElementSetComponentDefinition; }>>; }; export declare function createComponents(engine: IEngine): { ActionTypes: LastWriteWinElementSetComponentDefinition; jsonSchema: ISchema; }>[]>; }>>; Actions: LastWriteWinElementSetComponentDefinition; readonly value: ISchema; type: ISchema; jsonPayload: ISchema; allowedInBasicView: ISchema; basicViewId: ISchema; default: ISchema; }>[]>; }>>; Counter: LastWriteWinElementSetComponentDefinition; readonly value: ISchema; }>>; Triggers: LastWriteWinElementSetComponentDefinition; conditions: ISchema; type: ISchema; value: ISchema; }>[] | undefined>; operation: ISchema; actions: ISchema; name: ISchema; }>[]>; basicViewId: ISchema; }>[]>; }>>; States: LastWriteWinElementSetComponentDefinition; readonly value: ISchema; readonly defaultValue: ISchema; readonly currentValue: ISchema; readonly previousValue: ISchema; }>>; CounterBar: LastWriteWinElementSetComponentDefinition; readonly secondaryColor: ISchema; readonly maxValue: ISchema; }>>; AdminTools: LastWriteWinElementSetComponentDefinition; readonly authorizedAdminUsers: ISchema; sceneOwners: ISchema; allowList: ISchema; adminAllowList: ISchema; }>>; readonly moderationControl: ISchema; kickCoordinates: ISchema; y: ISchema; z: ISchema; }>>; allowNonOwnersManageAdminAllowList: ISchema; }>>; readonly textAnnouncementControl: ISchema; playSoundOnEachAnnouncement: ISchema; showAuthorOnEachAnnouncement: ISchema; }>>; readonly videoControl: ISchema; disableVideoPlayersSound: ISchema; showAuthorOnVideoPlayers: ISchema; linkAllVideoPlayers: ISchema; videoPlayers: ISchema; customName: ISchema; }>[] | undefined>; }>>; readonly smartItemsControl: ISchema; linkAllSmartItems: ISchema; smartItems: ISchema; customName: ISchema; defaultAction: ISchema; }>[] | undefined>; }>>; readonly rewardsControl: ISchema; rewardItems: ISchema; customName: ISchema; }>[] | undefined>; }>>; }>>; Rewards: LastWriteWinElementSetComponentDefinition; readonly dispenserKey: ISchema; readonly testMode: ISchema; }>>; TextAnnouncements: LastWriteWinElementSetComponentDefinition; readonly author: ISchema; readonly id: ISchema; }>>; VideoControlState: LastWriteWinElementSetComponentDefinition; readonly streamKey: ISchema; }>>; VideoScreen: LastWriteWinElementSetComponentDefinition; readonly defaultMediaSource: ISchema; readonly defaultURL: ISchema; }>>; Script: LastWriteWinElementSetComponentDefinition; priority: ISchema; layout: ISchema; }>[]>; }>>; Placeholder: LastWriteWinElementSetComponentDefinition; }>>; }; export type EngineComponents = { Animator: AnimatorComponentDefinitionExtended; Transform: TransformComponentExtended; AudioSource: AudioSourceComponentDefinitionExtended; AvatarAttach: LastWriteWinElementSetComponentDefinition; VisibilityComponent: LastWriteWinElementSetComponentDefinition; GltfContainer: LastWriteWinElementSetComponentDefinition; Material: MaterialComponentDefinitionExtended; MeshRenderer: MeshRendererComponentDefinitionExtended; VideoPlayer: LastWriteWinElementSetComponentDefinition; LightSource: LastWriteWinElementSetComponentDefinition; VirtualCamera: LastWriteWinElementSetComponentDefinition; MainCamera: LastWriteWinElementSetComponentDefinition; TextShape: LastWriteWinElementSetComponentDefinition; UiTransform: LastWriteWinElementSetComponentDefinition; UiText: LastWriteWinElementSetComponentDefinition; UiBackground: LastWriteWinElementSetComponentDefinition; UiInput: LastWriteWinElementSetComponentDefinition; UiInputResult: LastWriteWinElementSetComponentDefinition; UiCanvasInformation: LastWriteWinElementSetComponentDefinition; Billboard: LastWriteWinElementSetComponentDefinition; Name: LastWriteWinElementSetComponentDefinition; Tween: LastWriteWinElementSetComponentDefinition; TweenSequence: LastWriteWinElementSetComponentDefinition; PointerEvents: LastWriteWinElementSetComponentDefinition; NetworkEntity: typeof NetworkEntity; SyncComponents: typeof SyncComponents; InputModifier: InputModifierComponentDefinitionExtended; SkyboxTime: LastWriteWinElementSetComponentDefinition; }; export declare function initComponents(engine: IEngine): void; export declare function initVideoPlayerComponentMaterial(entity: Entity, { Material }: Pick, material?: PBMaterial | null): null | undefined; export declare function getConditionTypesByComponentName(componentName: ComponentName): TriggerConditionType[]; export type Components = ReturnType; export type ActionTypesComponent = Components['ActionTypes']; export type ActionTypes = ReturnType; export type ActionsComponent = Components['Actions']; export type Actions = ReturnType; export type Action = Actions['value'][0]; export type CounterComponent = Components['Counter']; export type Counter = ReturnType; export type CounterBarComponent = Components['CounterBar']; export type CounterBar = ReturnType; export type TriggersComponent = Components['Triggers']; export type Triggers = ReturnType; export type Trigger = Triggers['value'][0]; export type TriggerAction = Trigger['actions'][0]; export type TriggerCondition = Exclude[0]; export type StatesComponent = Components['States']; export type States = ReturnType; export type AdminToolsComponent = Components['AdminTools']; export type AdminTools = ReturnType; export type VideoScreenComponent = Components['VideoScreen']; export type VideoScreen = ReturnType; export type RewardsComponent = Components['Rewards']; export type Rewards = ReturnType; export type TextAnnouncementsComponent = Components['TextAnnouncements']; export type TextAnnouncements = ReturnType; export type VideoControlStateComponent = Components['VideoControlState']; export type VideoControlState = ReturnType; export type ScriptComponent = Components['Script']; export type Script = ReturnType; export type PlaceholderComponent = Components['Placeholder']; export type Placeholder = ReturnType;