import { Container } from "../container"; /** * Decorator to mark a class as a service that can be injected. * * @param container - (Optional) The `Container` instance to register the service with. If not provided, a module-scoped container is used. * @returns The decorated constructor function. * @example * ```typescript * import { Container, Service, Inject } from '@brainstack/inject'; * * const customScopeContainer = new Container(); * * @Service(customScopeContainer) * class MyService { ... } * ``` * */ export declare function Service any>(container?: Container): (constructor: T) => T;