import { AutorestLogger } from "@autorest/common"; import { ProcessedConfiguration, RawConfiguration, ConfigurationSchemaDefinition } from "./types"; import { RootConfigurationSchema } from "."; export declare enum ProcessingErrorCode { UnknownProperty = "unknownProperty", InvalidType = "invalidType" } export interface ProcessingError { code: ProcessingErrorCode; message: string; path: string[]; } export interface ErrorResult { errors: ProcessingError[]; } export interface ValueResult { value: T; } export type Result = ErrorResult | ValueResult; export interface ProcessConfigurationOptions { logger: AutorestLogger; } export declare class ConfigurationSchemaProcessor> { private def; constructor(def: ConfigurationSchemaDefinition); processConfiguration(configuration: RawConfiguration, options: ProcessConfigurationOptions): Result>; /** * Returns an empty config with all array property to be able to work with @see mergeConfigurations. */ getInitialConfig(): Readonly>; } //# sourceMappingURL=processor.d.ts.map