massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Markdown / markdown / extensions / footnotes.pyi
1 from typing import Any, Pattern
2
3 from markdown.extensions import Extension
4 from markdown.inlinepatterns import InlineProcessor
5 from markdown.postprocessors import Postprocessor
6 from markdown.preprocessors import Preprocessor
7 from markdown.treeprocessors import Treeprocessor
8
9 FN_BACKLINK_TEXT: Any
10 NBSP_PLACEHOLDER: Any
11 DEF_RE: Pattern[str]
12 TABBED_RE: Pattern[str]
13 RE_REF_ID: Any
14
15 class FootnoteExtension(Extension):
16     unique_prefix: int = ...
17     found_refs: Any
18     used_refs: Any
19     def __init__(self, **kwargs) -> None: ...
20     parser: Any
21     md: Any
22     footnotes: Any
23     def reset(self) -> None: ...
24     def unique_ref(self, reference, found: bool = ...): ...
25     def findFootnotesPlaceholder(self, root): ...
26     def setFootnote(self, id, text) -> None: ...
27     def get_separator(self): ...
28     def makeFootnoteId(self, id): ...
29     def makeFootnoteRefId(self, id, found: bool = ...): ...
30     def makeFootnotesDiv(self, root): ...
31
32 class FootnotePreprocessor(Preprocessor):
33     footnotes: Any
34     def __init__(self, footnotes) -> None: ...
35     def detectTabbed(self, lines): ...
36
37 class FootnoteInlineProcessor(InlineProcessor):
38     footnotes: Any
39     def __init__(self, pattern, footnotes) -> None: ...
40
41 class FootnotePostTreeprocessor(Treeprocessor):
42     footnotes: Any
43     def __init__(self, footnotes) -> None: ...
44     def add_duplicates(self, li, duplicates) -> None: ...
45     def get_num_duplicates(self, li): ...
46     def handle_duplicates(self, parent) -> None: ...
47     offset: int = ...
48
49 class FootnoteTreeprocessor(Treeprocessor):
50     footnotes: Any
51     def __init__(self, footnotes) -> None: ...
52
53 class FootnotePostprocessor(Postprocessor):
54     footnotes: Any
55     def __init__(self, footnotes) -> None: ...
56
57 def makeExtension(**kwargs): ...