mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-31 19:12:36 +01:00
13 lines
477 B
TypeScript
13 lines
477 B
TypeScript
|
export interface IConfigurationManager
|
|||
|
{
|
|||
|
init(): Promise<void>;
|
|||
|
reloadConfiguration(): Promise<void>;
|
|||
|
resetConfiguration(): void;
|
|||
|
parseConfiguration(data: { [index: string]: any }, overrides?: boolean): boolean;
|
|||
|
interpolate(value: string, regex?: RegExp): string;
|
|||
|
getValue<T>(key: string, value?: T): T;
|
|||
|
setValue<T>(key: string, value: T): void;
|
|||
|
getDefaultConfig(): { [index: string]: any };
|
|||
|
readonly definitions: Map<string, unknown>;
|
|||
|
}
|