/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ declare type Title = { deprecation?: string; error?: string; warning?: string; }; export declare type DeprecatedOptions = Record; export declare type ValidationOptions = { comment?: string; condition?: (option: any, validOption: any) => boolean; deprecate?: (config: Record, option: string, deprecatedOptions: DeprecatedOptions, options: ValidationOptions) => boolean; deprecatedConfig?: DeprecatedOptions; error?: (option: string, received: any, defaultValue: any, options: ValidationOptions, path?: Array) => void; exampleConfig: Record; recursive?: boolean; recursiveBlacklist?: Array; title?: Title; unknown?: (config: Record, exampleConfig: Record, option: string, options: ValidationOptions, path?: Array) => void; }; export {}; //# sourceMappingURL=types.d.ts.map