index.d.ts 992 B

1234567891011121314151617181920212223
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. import { ValidationError } from './utils';
  8. import validateCLIOptions from './validateCLIOptions';
  9. import { multipleValidOptions } from './condition';
  10. declare const _default: {
  11. ValidationError: typeof ValidationError;
  12. createDidYouMeanMessage: (unrecognized: string, allowedOptions: string[]) => string;
  13. format: (value: any) => string;
  14. logValidationWarning: (name: string, message: string, comment?: string | null | undefined) => void;
  15. multipleValidOptions: typeof multipleValidOptions;
  16. validate: (config: Record<string, any>, options: import("./types").ValidationOptions) => {
  17. hasDeprecationWarnings: boolean;
  18. isValid: boolean;
  19. };
  20. validateCLIOptions: typeof validateCLIOptions;
  21. };
  22. export = _default;
  23. //# sourceMappingURL=index.d.ts.map