export default Script;
/**
 * Generic script component. Will execute code supplied in the constructor.
 * Requires {@link ScriptSystem} to be registered on {@link EntityManager}.
 *
 * Prefer to use {@link BehaviorComponent} instead, as it's a more flexible solution.
 * `BehaviorComponent.from(ActionBehavior.from(function(){...}))` is equivalent to `new Script(function(){...})`
 *
 */
declare class Script {
    /**
     *
     * @param {function|function[]} [options]
     * @constructor
     */
    constructor(options?: Function | Function[]);
    scripts: any[];
}
declare namespace Script {
    let typeName: string;
    let serializable: boolean;
}
//# sourceMappingURL=Script.d.ts.map