# Stubs for docutils.parsers.rst.directives.body (Python 3.6)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from docutils.nodes import Element, Node, topic, sidebar
from docutils.parsers.rst import Directive
from typing import Any, Callable, Dict, List

__docformat__: str

class BasePseudoSection(Directive):
    required_arguments: int = ...
    optional_arguments: int = ...
    final_argument_whitespace: bool = ...
    option_spec: Dict[str, Callable[[str], Any]] = ...
    has_content: bool = ...
    node_class: Element = ...
    def run(self) -> List[Node]: ...

class Topic(BasePseudoSection):
    node_class: topic = ...

class Sidebar(BasePseudoSection):
    node_class: sidebar = ...
    option_spec: Dict[str, Callable[[str], Any]] = ...
    def run(self) -> List[Node]: ...

class LineBlock(Directive):
    option_spec: Dict[str, Callable[[str], Any]] = ...
    has_content: bool = ...
    def run(self) -> List[Node]: ...

class ParsedLiteral(Directive):
    option_spec: Dict[str, Callable[[str], Any]] = ...
    has_content: bool = ...
    def run(self) -> List[Node]: ...

class CodeBlock(Directive):
    optional_arguments: int = ...
    option_spec: Dict[str, Callable[[str], Any]] = ...
    has_content: bool = ...
    def run(self) -> List[Node]: ...

class MathBlock(Directive):
    option_spec: Dict[str, Callable[[str], Any]] = ...
    has_content: bool = ...
    def run(self) -> List[Node]: ...

class Rubric(Directive):
    required_arguments: int = ...
    optional_arguments: int = ...
    final_argument_whitespace: bool = ...
    option_spec: Dict[str, Callable[[str], Any]] = ...
    def run(self) -> List[Node]: ...

class BlockQuote(Directive):
    has_content: bool = ...
    classes: List[str] = ...
    def run(self) -> List[Node]: ...

class Epigraph(BlockQuote):
    classes: List[str] = ...

class Highlights(BlockQuote):
    classes: List[str] = ...

class PullQuote(BlockQuote):
    classes: List[str] = ...

class Compound(Directive):
    option_spec: Dict[str, Callable[[str], Any]] = ...
    has_content: bool = ...
    def run(self) -> List[Node]: ...

class Container(Directive):
    optional_arguments: int = ...
    final_argument_whitespace: bool = ...
    option_spec: Dict[str, Callable[[str], Any]] = ...
    has_content: bool = ...
    def run(self) -> List[Node]: ...
