stubs/calibre_extensions/fast_css_transform.pyi
raw| 1 | from collections.abc import Callable |
| 2 | |
| 3 | def parse_css_number(src: str) -> int | float: |
| 4 | "Parse a CSS number from a string" |
| 5 | pass |
| 6 | |
| 7 | def transform_properties(src: str, url_callback: Callable[[str], str] | None = None, is_declaration: bool = False) -> str: |
| 8 | "Transform a CSS stylesheet or declaration" |
| 9 | pass |