parse5-element.d.ts 527 B

123456789101112
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.dev/license
  7. */
  8. import { DefaultTreeAdapterMap } from 'parse5';
  9. export type Element = DefaultTreeAdapterMap['element'];
  10. export type ChildNode = DefaultTreeAdapterMap['childNode'];
  11. /** Determines the indentation of child elements for the given Parse5 element. */
  12. export declare function getChildElementIndentation(element: Element): number;