import { IConfigEntryOptions } from '@spinajs/configuration-common'; import { Class } from '@spinajs/di'; /** * Injects configuration value to given class property * * @param path - path to configuration value eg. "app.dirs.stats" * @param dafaultValue - default value if path not exists * @returns */ export declare function Config(path: string, options?: IConfigEntryOptions): (target: any, key: string) => any; /** * Inject service based on configuration. * Configuration could be object or string containing service * * If array is provided in configuration, service is resolved by name * stored in 'service' property and returnes as Map\ * * @param path - configuration path where service type is stored * @param type - if type is provided, it will override type obtain from reflection. Use it specific with arrays and maps, becouse ts reflection module cannot extract array and map type data */ export declare function AutoinjectService(path: string, type?: Class): any; //# sourceMappingURL=decorators.d.ts.map