from typing import Any

_CONVERT: Any
_RD_SCRATCH: Any
_WR_SCRATCH: Any

class DS18X20:
    ow: Any
    buf: Any
    def __init__(self, onewire) -> None: ...
    def scan(self): ...
    def convert_temp(self) -> None: ...
    def read_scratch(self, rom): ...
    def write_scratch(self, rom, buf) -> None: ...
    def read_temp(self, rom): ...
