import { RavenConfigType } from "../types/configurator.js"; export declare class Configurator { protected configFileObject: RavenConfigType | undefined; protected envFile: string | undefined; constructor(); /** * Create the config file if not there * * @returns void */ private createFileIfNonExisting; /** * Create the config file if not there * * @returns void */ createConfigFile(): Promise; /** * Reads the config file and return its contents * * @returns RavenConfigType */ readConfigFile(): Promise; /** * Reads the '.env' file and return its contents * * @returns RavenConfigType */ protected readEnvFile(): Promise; /** * Validate the given config file against the json-schema for the configs */ protected validateConfigFile(): Promise; protected throwValidationError(isErrorOccurred: boolean, message?: string | null): void; /** * Get the configFileObject * * @returns ConfiguratorProps */ getConfigFileObject: () => RavenConfigType | undefined; }