import { ILogger } from './interfaces/ILogger'; import { ILoggerFactory } from './interfaces/ILoggerFactory'; /** * Defines the props of Control services. */ export interface ControlServicesProps { /** * Logger instance used across controls. */ logger: ILoggerFactory; } /** * Defines the ControlService used to customize logger implementation used * across the framework. */ export declare namespace ControlServices { /** * Function to override the default Control service props. * * @param customServices - Input custom controls services */ function setDefaults(customServices: ControlServicesProps): void; /** * Function to retrieve Control services. * * @returns Control Service */ function getDefaults(): ControlServicesProps; /** * Function to retrieve logger implementation with a provided * namespace. * * Usage: * - ControlServices.getLogger('AskSdkControls:ControlManager'); * returns a logger implementation containing methods to log * info/debug/error and sanitize restrictive information. * * * @param namespace - Input Module Name */ function getLogger(namespace: string): ILogger; } //# sourceMappingURL=ControlServices.d.ts.map