import { Dictionary } from '../types'; import { ITargetOptions, Target } from './target'; export declare const sceneElementToTargets: ($scene: Element) => ITargetOptions[]; export declare const elementToScene: ($scene: Element) => ISceneOptions; export declare class Scene { readonly id: string; _targets: Target[]; props: Dictionary; defaultState: string; currentState: string; name: string; constructor(name: string); add(...objects: Target[]): this; remove(...objects: Target[]): this; load(options: ISceneOptions | Element | string): this; set(toStateName: string): this; transition(states: string): this; transition(states: string[]): this; } export interface ISceneOptions { name?: string; targets: ITargetOptions[]; [propName: string]: string | ITargetOptions[]; } export declare const scene: (name?: string, options?: ISceneOptions) => Scene;