link-reference.d.ts 615 B

1234567891011121314151617181920
  1. /**
  2. * @param {LinkReference} node
  3. * @param {Parents | undefined} _
  4. * @param {State} state
  5. * @param {Info} info
  6. * @returns {string}
  7. */
  8. export function linkReference(node: LinkReference, _: Parents | undefined, state: State, info: Info): string;
  9. export namespace linkReference {
  10. export { linkReferencePeek as peek };
  11. }
  12. export type LinkReference = import('mdast').LinkReference;
  13. export type Parents = import('mdast').Parents;
  14. export type Info = import('../types.js').Info;
  15. export type State = import('../types.js').State;
  16. /**
  17. * @returns {string}
  18. */
  19. declare function linkReferencePeek(): string;
  20. export {};