import { BrowserforcePlugin } from './plugin.js'; type Drivers = { [key: string]: typeof BrowserforcePlugin; }; type Data = { settings?: unknown; }; type Config = { Driver: typeof BrowserforcePlugin; key: string; value: unknown; }; /** A problem found in a config, located by its dot path (e.g. `settings.densitySettings.density`). */ export type ConfigIssue = { path: string; message: string; /** documentation of the setting concerned, or of the removed setting, or the list of settings */ docUrl: string; }; export type ValidateOptions = { /** accept `${VAR}` in place of any value, whatever type the schema expects there */ allowEnvReferences?: boolean; }; /** The `settings` of a config when it is an object (keyed by setting), otherwise undefined. */ export declare function getSettingsObject(data: unknown): Record | undefined; export declare class ConfigParser { static parse(drivers: Drivers, data: Data): Config[]; /** * Lists every problem of a config without throwing: missing `settings`, removed settings, and schema violations. * Paths start with `settings`. */ static validate(data: unknown, options?: ValidateOptions): ConfigIssue[]; } export {};