markup.d.ts 986 B

12345678910111213
  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 type { Config, Printer, Refs } from '../../types';
  8. export declare const printProps: (keys: Array<string>, props: Record<string, unknown>, config: Config, indentation: string, depth: number, refs: Refs, printer: Printer) => string;
  9. export declare const printChildren: (children: Array<unknown>, config: Config, indentation: string, depth: number, refs: Refs, printer: Printer) => string;
  10. export declare const printText: (text: string, config: Config) => string;
  11. export declare const printComment: (comment: string, config: Config) => string;
  12. export declare const printElement: (type: string, printedProps: string, printedChildren: string, config: Config, indentation: string) => string;
  13. export declare const printElementAsLeaf: (type: string, config: Config) => string;