index.d.ts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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 {Static} from '@sinclair/typebox';
  8. import {TBoolean} from '@sinclair/typebox';
  9. import {TNumber} from '@sinclair/typebox';
  10. import {TObject} from '@sinclair/typebox';
  11. import {TPartial} from '@sinclair/typebox';
  12. import {TReadonly} from '@sinclair/typebox';
  13. import {TString} from '@sinclair/typebox';
  14. declare const RawSnapshotFormat: TPartial<
  15. TObject<{
  16. callToJSON: TReadonly<TBoolean>;
  17. escapeRegex: TReadonly<TBoolean>;
  18. escapeString: TReadonly<TBoolean>;
  19. highlight: TReadonly<TBoolean>;
  20. indent: TReadonly<TNumber>;
  21. maxDepth: TReadonly<TNumber>;
  22. maxWidth: TReadonly<TNumber>;
  23. min: TReadonly<TBoolean>;
  24. printBasicPrototype: TReadonly<TBoolean>;
  25. printFunctionName: TReadonly<TBoolean>;
  26. theme: TReadonly<
  27. TPartial<
  28. TObject<{
  29. comment: TReadonly<TString>;
  30. content: TReadonly<TString>;
  31. prop: TReadonly<TString>;
  32. tag: TReadonly<TString>;
  33. value: TReadonly<TString>;
  34. }>
  35. >
  36. >;
  37. }>
  38. >;
  39. export declare const SnapshotFormat: TPartial<
  40. TObject<{
  41. callToJSON: TReadonly<TBoolean>;
  42. escapeRegex: TReadonly<TBoolean>;
  43. escapeString: TReadonly<TBoolean>;
  44. highlight: TReadonly<TBoolean>;
  45. indent: TReadonly<TNumber>;
  46. maxDepth: TReadonly<TNumber>;
  47. maxWidth: TReadonly<TNumber>;
  48. min: TReadonly<TBoolean>;
  49. printBasicPrototype: TReadonly<TBoolean>;
  50. printFunctionName: TReadonly<TBoolean>;
  51. theme: TReadonly<
  52. TPartial<
  53. TObject<{
  54. comment: TReadonly<TString>;
  55. content: TReadonly<TString>;
  56. prop: TReadonly<TString>;
  57. tag: TReadonly<TString>;
  58. value: TReadonly<TString>;
  59. }>
  60. >
  61. >;
  62. }>
  63. >;
  64. export declare type SnapshotFormat = Static<typeof RawSnapshotFormat>;
  65. export {};