// #region Imports
import { Container, KEY_IS_INJECTABLE } from '../Container';
// #endregion
/**
 * Marks a class as injectable and registers it with the container.
 *
 * @public
 * @param options - Options to configure the injectable behavior.
 */
export function Injectable(options) {
    return function (target) {
        Reflect.set(target, KEY_IS_INJECTABLE, true);
        Container.instance.provide(target, target, options?.lifetime);
    };
}
//# sourceMappingURL=InjectableDecorator.js.map