@atlaskit/editor-wikimarkup-transformer 11.20.10 → 11.20.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/es2019/parser/tokenize/heading.js +0 -1
  3. package/dist/esm/parser/tokenize/heading.js +0 -1
  4. package/dist/types/encoder/index.d.ts +2 -2
  5. package/dist/types/encoder/marks/code.d.ts +1 -1
  6. package/dist/types/encoder/marks/color.d.ts +1 -1
  7. package/dist/types/encoder/marks/em.d.ts +1 -1
  8. package/dist/types/encoder/marks/link.d.ts +1 -1
  9. package/dist/types/encoder/marks/strike.d.ts +1 -1
  10. package/dist/types/encoder/marks/strong.d.ts +1 -1
  11. package/dist/types/encoder/marks/subsup.d.ts +1 -1
  12. package/dist/types/encoder/marks/underline.d.ts +1 -1
  13. package/dist/types/encoder/nodes/block-card.d.ts +1 -1
  14. package/dist/types/encoder/nodes/blockquote.d.ts +1 -1
  15. package/dist/types/encoder/nodes/bodied-sync-block.d.ts +1 -1
  16. package/dist/types/encoder/nodes/bullet-list.d.ts +1 -1
  17. package/dist/types/encoder/nodes/caption.d.ts +1 -1
  18. package/dist/types/encoder/nodes/code-block.d.ts +1 -1
  19. package/dist/types/encoder/nodes/date.d.ts +1 -1
  20. package/dist/types/encoder/nodes/decisionItem.d.ts +2 -2
  21. package/dist/types/encoder/nodes/decisionList.d.ts +1 -1
  22. package/dist/types/encoder/nodes/doc.d.ts +1 -1
  23. package/dist/types/encoder/nodes/embed-card.d.ts +1 -1
  24. package/dist/types/encoder/nodes/emoji.d.ts +1 -1
  25. package/dist/types/encoder/nodes/expand.d.ts +1 -1
  26. package/dist/types/encoder/nodes/hard-break.d.ts +1 -1
  27. package/dist/types/encoder/nodes/heading.d.ts +1 -1
  28. package/dist/types/encoder/nodes/inline-card.d.ts +1 -1
  29. package/dist/types/encoder/nodes/inlines.d.ts +1 -1
  30. package/dist/types/encoder/nodes/listItem.d.ts +2 -2
  31. package/dist/types/encoder/nodes/media-group.d.ts +1 -1
  32. package/dist/types/encoder/nodes/media-inline.d.ts +1 -1
  33. package/dist/types/encoder/nodes/media.d.ts +1 -1
  34. package/dist/types/encoder/nodes/mention.d.ts +1 -1
  35. package/dist/types/encoder/nodes/ordered-list.d.ts +1 -1
  36. package/dist/types/encoder/nodes/panel.d.ts +1 -1
  37. package/dist/types/encoder/nodes/paragraph.d.ts +1 -1
  38. package/dist/types/encoder/nodes/rule.d.ts +1 -1
  39. package/dist/types/encoder/nodes/status.d.ts +1 -1
  40. package/dist/types/encoder/nodes/table.d.ts +1 -1
  41. package/dist/types/encoder/nodes/taskItem.d.ts +2 -2
  42. package/dist/types/encoder/nodes/taskList.d.ts +1 -1
  43. package/dist/types/encoder/nodes/text.d.ts +1 -1
  44. package/dist/types/encoder/nodes/unknown.d.ts +1 -1
  45. package/dist/types/index.d.ts +2 -2
  46. package/dist/types/interfaces.d.ts +1 -1
  47. package/dist/types/parser/abstract-tree.d.ts +2 -2
  48. package/dist/types/parser/builder/list-builder.d.ts +2 -2
  49. package/dist/types/parser/builder/table-builder.d.ts +2 -2
  50. package/dist/types/parser/nodes/mediaGroup.d.ts +2 -2
  51. package/dist/types/parser/nodes/mediaSingle.d.ts +2 -2
  52. package/dist/types/parser/nodes/paragraph.d.ts +1 -1
  53. package/dist/types/parser/nodes/rule.d.ts +1 -1
  54. package/dist/types/parser/nodes/text.d.ts +1 -1
  55. package/dist/types/parser/text.d.ts +2 -2
  56. package/dist/types/parser/tokenize/adf-macro.d.ts +1 -1
  57. package/dist/types/parser/tokenize/anchor-macro.d.ts +1 -1
  58. package/dist/types/parser/tokenize/blockquote.d.ts +1 -1
  59. package/dist/types/parser/tokenize/citation.d.ts +1 -1
  60. package/dist/types/parser/tokenize/code-macro.d.ts +1 -1
  61. package/dist/types/parser/tokenize/common-macro.d.ts +3 -3
  62. package/dist/types/parser/tokenize/dash-token-creator.d.ts +1 -1
  63. package/dist/types/parser/tokenize/deleted.d.ts +1 -1
  64. package/dist/types/parser/tokenize/double-dash-symbol.d.ts +1 -1
  65. package/dist/types/parser/tokenize/emoji.d.ts +1 -1
  66. package/dist/types/parser/tokenize/emphasis.d.ts +1 -1
  67. package/dist/types/parser/tokenize/file-link.d.ts +2 -2
  68. package/dist/types/parser/tokenize/force-line-break.d.ts +1 -1
  69. package/dist/types/parser/tokenize/hardbreak.d.ts +1 -1
  70. package/dist/types/parser/tokenize/heading.d.ts +1 -1
  71. package/dist/types/parser/tokenize/index.d.ts +2 -2
  72. package/dist/types/parser/tokenize/inserted.d.ts +1 -1
  73. package/dist/types/parser/tokenize/issue-key.d.ts +3 -3
  74. package/dist/types/parser/tokenize/link-text.d.ts +1 -1
  75. package/dist/types/parser/tokenize/links/attachment-link.d.ts +3 -3
  76. package/dist/types/parser/tokenize/links/issue-link.d.ts +3 -3
  77. package/dist/types/parser/tokenize/links/link-format.d.ts +1 -1
  78. package/dist/types/parser/tokenize/links/link-resolver.d.ts +4 -4
  79. package/dist/types/parser/tokenize/links/mention-link.d.ts +3 -3
  80. package/dist/types/parser/tokenize/links/url-link.d.ts +3 -3
  81. package/dist/types/parser/tokenize/list.d.ts +1 -1
  82. package/dist/types/parser/tokenize/media.d.ts +1 -1
  83. package/dist/types/parser/tokenize/monospace.d.ts +1 -1
  84. package/dist/types/parser/tokenize/noformat-macro.d.ts +1 -1
  85. package/dist/types/parser/tokenize/panel-macro.d.ts +1 -1
  86. package/dist/types/parser/tokenize/quadruple-dash-symbol.d.ts +1 -1
  87. package/dist/types/parser/tokenize/ruler.d.ts +1 -1
  88. package/dist/types/parser/tokenize/strong.d.ts +1 -1
  89. package/dist/types/parser/tokenize/subscript.d.ts +1 -1
  90. package/dist/types/parser/tokenize/superscript.d.ts +1 -1
  91. package/dist/types/parser/tokenize/triple-dash-symbol.d.ts +1 -1
  92. package/dist/types/parser/utils/escape.d.ts +1 -1
  93. package/dist/types/parser/utils/normalize.d.ts +1 -1
  94. package/dist/types/parser/utils/text.d.ts +1 -1
  95. package/dist/types/parser/utils/title.d.ts +1 -1
  96. package/dist/types-ts4.5/encoder/index.d.ts +2 -2
  97. package/dist/types-ts4.5/encoder/marks/code.d.ts +1 -1
  98. package/dist/types-ts4.5/encoder/marks/color.d.ts +1 -1
  99. package/dist/types-ts4.5/encoder/marks/em.d.ts +1 -1
  100. package/dist/types-ts4.5/encoder/marks/link.d.ts +1 -1
  101. package/dist/types-ts4.5/encoder/marks/strike.d.ts +1 -1
  102. package/dist/types-ts4.5/encoder/marks/strong.d.ts +1 -1
  103. package/dist/types-ts4.5/encoder/marks/subsup.d.ts +1 -1
  104. package/dist/types-ts4.5/encoder/marks/underline.d.ts +1 -1
  105. package/dist/types-ts4.5/encoder/nodes/block-card.d.ts +1 -1
  106. package/dist/types-ts4.5/encoder/nodes/blockquote.d.ts +1 -1
  107. package/dist/types-ts4.5/encoder/nodes/bodied-sync-block.d.ts +1 -1
  108. package/dist/types-ts4.5/encoder/nodes/bullet-list.d.ts +1 -1
  109. package/dist/types-ts4.5/encoder/nodes/caption.d.ts +1 -1
  110. package/dist/types-ts4.5/encoder/nodes/code-block.d.ts +1 -1
  111. package/dist/types-ts4.5/encoder/nodes/date.d.ts +1 -1
  112. package/dist/types-ts4.5/encoder/nodes/decisionItem.d.ts +2 -2
  113. package/dist/types-ts4.5/encoder/nodes/decisionList.d.ts +1 -1
  114. package/dist/types-ts4.5/encoder/nodes/doc.d.ts +1 -1
  115. package/dist/types-ts4.5/encoder/nodes/embed-card.d.ts +1 -1
  116. package/dist/types-ts4.5/encoder/nodes/emoji.d.ts +1 -1
  117. package/dist/types-ts4.5/encoder/nodes/expand.d.ts +1 -1
  118. package/dist/types-ts4.5/encoder/nodes/hard-break.d.ts +1 -1
  119. package/dist/types-ts4.5/encoder/nodes/heading.d.ts +1 -1
  120. package/dist/types-ts4.5/encoder/nodes/inline-card.d.ts +1 -1
  121. package/dist/types-ts4.5/encoder/nodes/inlines.d.ts +1 -1
  122. package/dist/types-ts4.5/encoder/nodes/listItem.d.ts +2 -2
  123. package/dist/types-ts4.5/encoder/nodes/media-group.d.ts +1 -1
  124. package/dist/types-ts4.5/encoder/nodes/media-inline.d.ts +1 -1
  125. package/dist/types-ts4.5/encoder/nodes/media.d.ts +1 -1
  126. package/dist/types-ts4.5/encoder/nodes/mention.d.ts +1 -1
  127. package/dist/types-ts4.5/encoder/nodes/ordered-list.d.ts +1 -1
  128. package/dist/types-ts4.5/encoder/nodes/panel.d.ts +1 -1
  129. package/dist/types-ts4.5/encoder/nodes/paragraph.d.ts +1 -1
  130. package/dist/types-ts4.5/encoder/nodes/rule.d.ts +1 -1
  131. package/dist/types-ts4.5/encoder/nodes/status.d.ts +1 -1
  132. package/dist/types-ts4.5/encoder/nodes/table.d.ts +1 -1
  133. package/dist/types-ts4.5/encoder/nodes/taskItem.d.ts +2 -2
  134. package/dist/types-ts4.5/encoder/nodes/taskList.d.ts +1 -1
  135. package/dist/types-ts4.5/encoder/nodes/text.d.ts +1 -1
  136. package/dist/types-ts4.5/encoder/nodes/unknown.d.ts +1 -1
  137. package/dist/types-ts4.5/index.d.ts +2 -2
  138. package/dist/types-ts4.5/interfaces.d.ts +1 -1
  139. package/dist/types-ts4.5/parser/abstract-tree.d.ts +2 -2
  140. package/dist/types-ts4.5/parser/builder/list-builder.d.ts +2 -2
  141. package/dist/types-ts4.5/parser/builder/table-builder.d.ts +2 -2
  142. package/dist/types-ts4.5/parser/nodes/mediaGroup.d.ts +2 -2
  143. package/dist/types-ts4.5/parser/nodes/mediaSingle.d.ts +2 -2
  144. package/dist/types-ts4.5/parser/nodes/paragraph.d.ts +1 -1
  145. package/dist/types-ts4.5/parser/nodes/rule.d.ts +1 -1
  146. package/dist/types-ts4.5/parser/nodes/text.d.ts +1 -1
  147. package/dist/types-ts4.5/parser/text.d.ts +2 -2
  148. package/dist/types-ts4.5/parser/tokenize/adf-macro.d.ts +1 -1
  149. package/dist/types-ts4.5/parser/tokenize/anchor-macro.d.ts +1 -1
  150. package/dist/types-ts4.5/parser/tokenize/blockquote.d.ts +1 -1
  151. package/dist/types-ts4.5/parser/tokenize/citation.d.ts +1 -1
  152. package/dist/types-ts4.5/parser/tokenize/code-macro.d.ts +1 -1
  153. package/dist/types-ts4.5/parser/tokenize/common-macro.d.ts +3 -3
  154. package/dist/types-ts4.5/parser/tokenize/dash-token-creator.d.ts +1 -1
  155. package/dist/types-ts4.5/parser/tokenize/deleted.d.ts +1 -1
  156. package/dist/types-ts4.5/parser/tokenize/double-dash-symbol.d.ts +1 -1
  157. package/dist/types-ts4.5/parser/tokenize/emoji.d.ts +1 -1
  158. package/dist/types-ts4.5/parser/tokenize/emphasis.d.ts +1 -1
  159. package/dist/types-ts4.5/parser/tokenize/file-link.d.ts +2 -2
  160. package/dist/types-ts4.5/parser/tokenize/force-line-break.d.ts +1 -1
  161. package/dist/types-ts4.5/parser/tokenize/hardbreak.d.ts +1 -1
  162. package/dist/types-ts4.5/parser/tokenize/heading.d.ts +1 -1
  163. package/dist/types-ts4.5/parser/tokenize/index.d.ts +2 -2
  164. package/dist/types-ts4.5/parser/tokenize/inserted.d.ts +1 -1
  165. package/dist/types-ts4.5/parser/tokenize/issue-key.d.ts +3 -3
  166. package/dist/types-ts4.5/parser/tokenize/link-text.d.ts +1 -1
  167. package/dist/types-ts4.5/parser/tokenize/links/attachment-link.d.ts +3 -3
  168. package/dist/types-ts4.5/parser/tokenize/links/issue-link.d.ts +3 -3
  169. package/dist/types-ts4.5/parser/tokenize/links/link-format.d.ts +1 -1
  170. package/dist/types-ts4.5/parser/tokenize/links/link-resolver.d.ts +4 -4
  171. package/dist/types-ts4.5/parser/tokenize/links/mention-link.d.ts +3 -3
  172. package/dist/types-ts4.5/parser/tokenize/links/url-link.d.ts +3 -3
  173. package/dist/types-ts4.5/parser/tokenize/list.d.ts +1 -1
  174. package/dist/types-ts4.5/parser/tokenize/media.d.ts +1 -1
  175. package/dist/types-ts4.5/parser/tokenize/monospace.d.ts +1 -1
  176. package/dist/types-ts4.5/parser/tokenize/noformat-macro.d.ts +1 -1
  177. package/dist/types-ts4.5/parser/tokenize/panel-macro.d.ts +1 -1
  178. package/dist/types-ts4.5/parser/tokenize/quadruple-dash-symbol.d.ts +1 -1
  179. package/dist/types-ts4.5/parser/tokenize/ruler.d.ts +1 -1
  180. package/dist/types-ts4.5/parser/tokenize/strong.d.ts +1 -1
  181. package/dist/types-ts4.5/parser/tokenize/subscript.d.ts +1 -1
  182. package/dist/types-ts4.5/parser/tokenize/superscript.d.ts +1 -1
  183. package/dist/types-ts4.5/parser/tokenize/triple-dash-symbol.d.ts +1 -1
  184. package/dist/types-ts4.5/parser/utils/escape.d.ts +1 -1
  185. package/dist/types-ts4.5/parser/utils/normalize.d.ts +1 -1
  186. package/dist/types-ts4.5/parser/utils/text.d.ts +1 -1
  187. package/dist/types-ts4.5/parser/utils/title.d.ts +1 -1
  188. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/editor-wikimarkup-transformer
2
2
 
3
+ ## 11.20.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e974c7d2d3aef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e974c7d2d3aef) -
8
+ Mechanical type-import autofix for editor-wikimarkup-transformer.
9
+
3
10
  ## 11.20.10
4
11
 
5
12
  ### Patch Changes
@@ -1,6 +1,5 @@
1
1
  import { parseString } from '../text';
2
2
  import { TokenType } from './';
3
-
4
3
  // h1. HEADING
5
4
  // Ignored via go/ees005
6
5
  // eslint-disable-next-line require-unicode-regexp
@@ -1,6 +1,5 @@
1
1
  import { parseString } from '../text';
2
2
  import { TokenType } from './';
3
-
4
3
  // h1. HEADING
5
4
  // Ignored via go/ees005
6
5
  // eslint-disable-next-line require-unicode-regexp
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../interfaces';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../interfaces';
3
3
  export type MarkEncoder = (text: string, attrs: any) => string;
4
4
  export type NodeEncoder = (node: PMNode, opts?: NodeEncoderOpts) => string;
5
5
  export type NodeEncoderOpts = {
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const code: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const textColor: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const em: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const link: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const strike: MarkEncoder;
@@ -1,4 +1,4 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  /**
3
3
  * For text that has leading and ending space. We don't want to
4
4
  * convert it to `*strong *. Instead, we need it to be `*strong* `
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const subsup: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type MarkEncoder } from '..';
1
+ import type { MarkEncoder } from '..';
2
2
  export declare const underline: MarkEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const blockCard: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const blockquote: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const bodiedSyncBlock: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const bulletList: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const caption: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const codeBlock: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const date: NodeEncoder;
@@ -1,3 +1,3 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import { type NodeEncoderOpts } from '..';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { NodeEncoderOpts } from '..';
3
3
  export declare const decisionItem: (node: PMNode, { context }?: NodeEncoderOpts) => string;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const decisionList: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '../';
1
+ import type { NodeEncoder } from '../';
2
2
  export declare const doc: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const embedCard: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const emoji: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const expand: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const hardBreak: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const heading: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const inlineCard: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const inlines: NodeEncoder;
@@ -1,3 +1,3 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../../interfaces';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../../interfaces';
3
3
  export declare const listItem: (node: PMNode, prefix: string, context?: Context) => string;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const mediaGroup: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const mediaInline: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const media: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const mention: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const orderedList: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const panel: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const paragraph: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const rule: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const status: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const table: NodeEncoder;
@@ -1,3 +1,3 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import { type NodeEncoderOpts } from '..';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { NodeEncoderOpts } from '..';
3
3
  export declare const taskItem: (node: PMNode, nestedLevel: number, { context }?: NodeEncoderOpts) => string;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const taskList: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const text: NodeEncoder;
@@ -1,2 +1,2 @@
1
- import { type NodeEncoder } from '..';
1
+ import type { NodeEncoder } from '..';
2
2
  export declare const unknown: NodeEncoder;
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from './interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from './interfaces';
3
3
  interface Transformer<T> {
4
4
  encode: (node: PMNode) => T;
5
5
  parse: (content: T) => PMNode;
@@ -1,4 +1,4 @@
1
- import { type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
2
  export interface AddArgs {
3
3
  content: PMNode[];
4
4
  style: string | null;
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../interfaces';
3
3
  export default class AbstractTree {
4
4
  private schema;
5
5
  private wikiMarkup;
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type AddArgs, type ListType } from '../../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { AddArgs, ListType } from '../../interfaces';
3
3
  /**
4
4
  * Return the type of a list from the bullets
5
5
  */
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type AddCellArgs, type Builder } from '../../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { AddCellArgs, Builder } from '../../interfaces';
3
3
  export declare class TableBuilder implements Builder {
4
4
  private schema;
5
5
  private root;
@@ -1,3 +1,3 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../../interfaces';
3
3
  export default function getMediaGroupNodeView(schema: Schema, filename: string, context?: Context): PMNode;
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../../interfaces';
3
3
  export default function getMediaSingleNodeView(schema: Schema, filename: string, attrs: {
4
4
  [key: string]: string;
5
5
  }, context?: Context): PMNode;
@@ -1,4 +1,4 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  export declare function createEmptyParagraphNode(schema: Schema): PMNode;
3
3
  /**
4
4
  * Create paragraphs from inline nodes. Function will return
@@ -1,3 +1,3 @@
1
- import { type Node as PMNode, type NodeType, type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Node as PMNode, NodeType, Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  export default function getRuleNodeView(schema: Schema, containerNodeType: NodeType | null): PMNode;
3
3
  export declare function createRuleNode(schema: Schema): PMNode[];
@@ -1,2 +1,2 @@
1
- import { type Mark as PMMark, type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Mark as PMMark, Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  export declare function createTextNode(input: string, schema: Schema, marks?: PMMark[]): PMNode[];
@@ -1,6 +1,6 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
2
  import { TokenType } from './tokenize';
3
- import { type Context } from '../interfaces';
3
+ import type { Context } from '../interfaces';
4
4
  export declare function parseString({ input, schema, ignoreTokenTypes, context, includeLeadingSpace, }: {
5
5
  context: Context;
6
6
  ignoreTokenTypes: TokenType[];
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from '.';
1
+ import type { TokenParser } from '.';
2
2
  export declare const adfMacro: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from '.';
1
+ import type { TokenParser } from '.';
2
2
  export declare const anchorMacro: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const blockquote: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const citation: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from '.';
1
+ import type { TokenParser } from '.';
2
2
  export declare const codeMacro: TokenParser;
@@ -1,6 +1,6 @@
1
- import { type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Token } from './';
3
- import { type Context } from '../../interfaces';
1
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Token } from './';
3
+ import type { Context } from '../../interfaces';
4
4
  export interface MacroOption {
5
5
  context: Context;
6
6
  keyword: string;
@@ -1,2 +1,2 @@
1
- import { type TextToken, type TokenParser } from './';
1
+ import type { TextToken, TokenParser } from './';
2
2
  export declare const createDashTokenParser: (token: TextToken, fallback: TextToken) => TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const deleted: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const doubleDashSymbol: TokenParser;
@@ -1,4 +1,4 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const emoji: TokenParser;
3
3
  interface AdfEmojiItems {
4
4
  [key: string]: {
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const emphasis: TokenParser;
@@ -1,3 +1,3 @@
1
- import { type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Token } from './';
1
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Token } from './';
3
3
  export declare function fileLink(input: string, position: number, schema: Schema): Token;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const forceLineBreak: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const hardbreak: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const heading: TokenParser;
@@ -1,5 +1,5 @@
1
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
2
- import { type Context } from '../../interfaces';
1
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Context } from '../../interfaces';
3
3
  export declare enum TokenType {
4
4
  ADF_MACRO = "ADF_MACRO",// {adf}
5
5
  ANCHOR_MACRO = "ANCHOR_MACRO",// {anchor}
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const inserted: TokenParser;
@@ -1,6 +1,6 @@
1
- import { type Schema, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- import { type TokenParser } from './';
3
- import { type Context, type ConversionMap } from '../../interfaces';
1
+ import type { Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
+ import type { TokenParser } from './';
3
+ import type { Context, ConversionMap } from '../../interfaces';
4
4
  /**
5
5
  * Inline Card From Text (ICFT).
6
6
  *
@@ -1,3 +1,3 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const LINK_TEXT_REGEXP: RegExp;
3
3
  export declare const linkText: TokenParser;
@@ -1,4 +1,4 @@
1
- import { type ContentLink } from './link-parser';
2
- import { type Schema, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
- import { type Context } from '../../../interfaces';
1
+ import type { ContentLink } from './link-parser';
2
+ import type { Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Context } from '../../../interfaces';
4
4
  export declare function attachmentLinkResolver(link: ContentLink, schema: Schema, context: Context): PMNode[] | undefined;
@@ -1,4 +1,4 @@
1
- import { type ContentLink } from './link-parser';
2
- import { type Schema, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
- import { type Context } from '../../../interfaces';
1
+ import type { ContentLink } from './link-parser';
2
+ import type { Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Context } from '../../../interfaces';
4
4
  export declare function issueLinkResolver(link: ContentLink, schema: Schema, context: Context): PMNode[] | undefined;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from '../';
1
+ import type { TokenParser } from '../';
2
2
  export declare const linkFormat: TokenParser;
@@ -1,5 +1,5 @@
1
- import { type ContentLink } from './link-parser';
2
- import { type Token } from '../index';
3
- import { type Context } from '../../../interfaces';
4
- import { type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { ContentLink } from './link-parser';
2
+ import type { Token } from '../index';
3
+ import type { Context } from '../../../interfaces';
4
+ import type { Schema } from '@atlaskit/editor-prosemirror/model';
5
5
  export declare function resolveLink(link: ContentLink, schema: Schema, context: Context): Token | undefined;
@@ -1,4 +1,4 @@
1
- import { type ContentLink } from './link-parser';
2
- import { type Schema, type Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
- import { type Context } from '../../../interfaces';
1
+ import type { ContentLink } from './link-parser';
2
+ import type { Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
+ import type { Context } from '../../../interfaces';
4
4
  export declare function mentionLinkResolver(link: ContentLink, schema: Schema, context: Context): PMNode[] | undefined;
@@ -1,4 +1,4 @@
1
- import { type ContentLink } from './link-parser';
2
- import { type Context } from '../../../interfaces';
3
- import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
1
+ import type { ContentLink } from './link-parser';
2
+ import type { Context } from '../../../interfaces';
3
+ import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
4
4
  export declare function urlLinkResolver(link: ContentLink, schema: Schema, context: Context): PMNode[] | undefined;
@@ -1,3 +1,3 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const MAX_LIST_DEPTH = 20;
3
3
  export declare const list: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const media: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const monospace: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from '.';
1
+ import type { TokenParser } from '.';
2
2
  export declare const noformatMacro: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from '.';
1
+ import type { TokenParser } from '.';
2
2
  export declare const panelMacro: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const quadrupleDashSymbol: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const ruler: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const strong: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const subscript: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const superscript: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TokenParser } from './';
1
+ import type { TokenParser } from './';
2
2
  export declare const tripleDashSymbol: TokenParser;
@@ -1,2 +1,2 @@
1
- import { type TextToken } from '../tokenize';
1
+ import type { TextToken } from '../tokenize';
2
2
  export declare function escapeHandler(input: string, position: number): TextToken;