def detect_version(path: str) -> str: ...
def write_ac1015_dwg(
    output_path: str,
    lines: list[tuple[int, float, float, float, float, float, float]],
    arcs: list[tuple[int, float, float, float, float, float, float]],
    circles: list[tuple[int, float, float, float, float]],
    lwpolylines: list[tuple[int, int, list[tuple[float, float]], list[float], list[tuple[float, float]], float | None]],
    texts: list[tuple[int, str, tuple[float, float, float], float, float]],
    mtexts: list[tuple[int, str, tuple[float, float, float], tuple[float, float, float], float, float, int, int]],
    points: list[tuple[int, float, float, float, float]] | None = ...,
    rays: list[tuple[int, tuple[float, float, float], tuple[float, float, float]]] | None = ...,
    xlines: list[tuple[int, tuple[float, float, float], tuple[float, float, float]]] | None = ...,
) -> None: ...
def write_ac1015_line_dwg(output_path: str, lines: list[tuple[int, float, float, float, float, float, float]]) -> None: ...
def list_section_locators(path: str) -> list[tuple[str, int, int]]: ...
def read_section_bytes(path: str, index: int) -> bytes: ...
def list_object_map_entries(path: str, limit: int | None = ...) -> list[tuple[int, int]]: ...
def list_object_headers(path: str, limit: int | None = ...) -> list[tuple[int, int, int, int]]: ...
def list_object_headers_with_type(path: str, limit: int | None = ...) -> list[tuple[int, int, int, int, str, str]]: ...
def list_object_headers_by_type(path: str, type_codes: list[int], limit: int | None = ...) -> list[tuple[int, int, int, int, str, str]]: ...
def read_object_records_by_type(path: str, type_codes: list[int], limit: int | None = ...) -> list[tuple[int, int, int, int, bytes]]: ...
def read_object_records_by_handle(path: str, handles: list[int], limit: int | None = ...) -> list[tuple[int, int, int, int, bytes]]: ...
def decode_object_handle_stream_refs(path: str, handles: list[int], limit: int | None = ...) -> list[tuple[int, list[int]]]: ...
def decode_acis_candidate_infos(path: str, handles: list[int], limit: int | None = ...) -> list[tuple[int, int, int, str, list[int], int]]: ...
def decode_entity_styles(path: str, limit: int | None = ...) -> list[tuple[int, int | None, int | None, int]]: ...
def decode_layer_colors(path: str, limit: int | None = ...) -> list[tuple[int, int, int | None]]: ...
def decode_line_entities(path: str, limit: int | None = ...) -> list[tuple[int, float, float, float, float, float, float]]: ...
def decode_point_entities(path: str, limit: int | None = ...) -> list[tuple[int, float, float, float, float]]: ...
def decode_3dface_entities(path: str, limit: int | None = ...) -> list[tuple[int, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], int]]: ...
def decode_arc_entities(path: str, limit: int | None = ...) -> list[tuple[int, float, float, float, float, float, float]]: ...
def decode_circle_entities(path: str, limit: int | None = ...) -> list[tuple[int, float, float, float, float]]: ...
def decode_line_arc_circle_entities(path: str, limit: int | None = ...) -> tuple[list[tuple[int, float, float, float, float, float, float]], list[tuple[int, float, float, float, float, float, float]], list[tuple[int, float, float, float, float]]]: ...
def decode_ellipse_entities(path: str, limit: int | None = ...) -> list[tuple[int, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], float, float, float]]: ...
def decode_spline_entities(path: str, limit: int | None = ...) -> list[tuple[int, tuple[int, int, bool, bool, bool], tuple[float | None, float | None, float | None], list[float], list[tuple[float, float, float]], list[float], list[tuple[float, float, float]]]]: ...
def decode_dimension_entities(path: str, limit: int | None = ...) -> list[tuple[str, tuple[int, str, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float] | None, tuple[tuple[float, float, float], tuple[float, float, float]], tuple[float, float, float, float], tuple[int, float | None, int | None, int | None, float | None, float], tuple[int | None, int | None]]]]: ...
def decode_dim_diameter_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float] | None, tuple[tuple[float, float, float], tuple[float, float, float]], tuple[float, float, float, float], tuple[int, float | None, int | None, int | None, float | None, float], tuple[int | None, int | None]]]: ...
def decode_dim_linear_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float] | None, tuple[tuple[float, float, float], tuple[float, float, float]], tuple[float, float, float, float], tuple[int, float | None, int | None, int | None, float | None, float], tuple[int | None, int | None]]]: ...
def decode_dim_ordinate_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float] | None, tuple[tuple[float, float, float], tuple[float, float, float]], tuple[float, float, float, float], tuple[int, float | None, int | None, int | None, float | None, float], tuple[int | None, int | None]]]: ...
def decode_dim_aligned_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float] | None, tuple[tuple[float, float, float], tuple[float, float, float]], tuple[float, float, float, float], tuple[int, float | None, int | None, int | None, float | None, float], tuple[int | None, int | None]]]: ...
def decode_dim_ang3pt_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float] | None, tuple[tuple[float, float, float], tuple[float, float, float]], tuple[float, float, float, float], tuple[int, float | None, int | None, int | None, float | None, float], tuple[int | None, int | None]]]: ...
def decode_dim_ang2ln_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float] | None, tuple[tuple[float, float, float], tuple[float, float, float]], tuple[float, float, float, float], tuple[int, float | None, int | None, int | None, float | None, float], tuple[int | None, int | None]]]: ...
def decode_dim_radius_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float] | None, tuple[tuple[float, float, float], tuple[float, float, float]], tuple[float, float, float, float], tuple[int, float | None, int | None, int | None, float | None, float], tuple[int | None, int | None]]]: ...
def decode_text_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, tuple[float, float, float], tuple[float, float, float] | None, tuple[float, float, float], tuple[float, float, float, float, float], tuple[int, int, int], int | None]]: ...
def decode_attrib_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, str | None, str | None, tuple[float, float, float], tuple[float, float, float] | None, tuple[float, float, float], tuple[float, float, float, float, float], tuple[int, int, int], int, bool, tuple[int | None, int | None]]]: ...
def decode_attdef_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, str | None, str | None, tuple[float, float, float], tuple[float, float, float] | None, tuple[float, float, float], tuple[float, float, float, float, float], tuple[int, int, int], int, bool, tuple[int | None, int | None]]]: ...
def decode_mtext_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], float, float, int, int, tuple[int, float | None, int | None, int | None, int | None]]]: ...
def decode_leader_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, int, list[tuple[float, float, float]]]]: ...
def decode_hatch_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, bool, bool, float, tuple[float, float, float], list[tuple[bool, list[tuple[float, float]]]]]]: ...
def decode_tolerance_entities(path: str, limit: int | None = ...) -> list[tuple[int, str, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], float, float, int | None]]: ...
def decode_mline_entities(path: str, limit: int | None = ...) -> list[tuple[int, float, int, tuple[float, float, float], tuple[float, float, float], int, int, list[tuple[tuple[float, float, float], tuple[float, float, float], tuple[float, float, float]]], int | None]]: ...
def decode_insert_entities(path: str, limit: int | None = ...) -> list[tuple[int, float, float, float, float, float, float, float, str | None]]: ...
def decode_minsert_entities(path: str, limit: int | None = ...) -> list[tuple[int, float, float, float, float, float, float, float, tuple[int, int, float, float, str | None]]]: ...
def decode_insert_minsert_entities(path: str, limit: int | None = ...) -> tuple[
    list[tuple[int, float, float, float, float, float, float, float, str | None]],
    list[tuple[int, float, float, float, float, float, float, float, tuple[int, int, float, float, str | None]]],
]: ...
def decode_block_header_names(path: str, limit: int | None = ...) -> list[tuple[int, str]]: ...
def decode_block_entity_names(path: str, limit: int | None = ...) -> list[tuple[int, str, str]]: ...
def decode_polyline_3d_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, int]]: ...
def decode_polyline_3d_with_vertices(path: str, limit: int | None = ...) -> list[tuple[int, int, bool, list[tuple[float, float, float]]]]: ...
def decode_polyline_mesh_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, int, int, int, int, int]]: ...
def decode_polyline_mesh_with_vertices(path: str, limit: int | None = ...) -> list[tuple[int, int, int, int, bool, list[tuple[float, float, float]]]]: ...
def decode_polyline_pface_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, int]]: ...
def decode_polyline_pface_with_faces(path: str, limit: int | None = ...) -> list[tuple[int, int, int, list[tuple[float, float, float]], list[tuple[int, int, int, int]]]]: ...
def decode_solid_entities(path: str, limit: int | None = ...) -> list[tuple[int, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], float, tuple[float, float, float]]]: ...
def decode_trace_entities(path: str, limit: int | None = ...) -> list[tuple[int, tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], tuple[float, float, float], float, tuple[float, float, float]]]: ...
def decode_shape_entities(path: str, limit: int | None = ...) -> list[tuple[int, tuple[float, float, float], float, float, float, float, float, int, tuple[float, float, float], int | None]]: ...
def decode_viewport_entities(path: str, limit: int | None = ...) -> list[tuple[int]]: ...
def decode_oleframe_entities(path: str, limit: int | None = ...) -> list[tuple[int]]: ...
def decode_ole2frame_entities(path: str, limit: int | None = ...) -> list[tuple[int]]: ...
def decode_long_transaction_entities(path: str, limit: int | None = ...) -> list[tuple[int, int | None, list[int], int | None, int | None, int | None, int | None, list[int]]]: ...
def decode_region_entities(path: str, limit: int | None = ...) -> list[tuple[int, list[int]]]: ...
def decode_3dsolid_entities(path: str, limit: int | None = ...) -> list[tuple[int, list[int]]]: ...
def decode_body_entities(path: str, limit: int | None = ...) -> list[tuple[int, list[int]]]: ...
def decode_ray_entities(path: str, limit: int | None = ...) -> list[tuple[int, tuple[float, float, float], tuple[float, float, float]]]: ...
def decode_xline_entities(path: str, limit: int | None = ...) -> list[tuple[int, tuple[float, float, float], tuple[float, float, float]]]: ...
def decode_polyline_2d_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, int, float, float, float, float]]: ...
def decode_polyline_2d_entities_interpreted(path: str, limit: int | None = ...) -> list[tuple[int, int, int, str, bool, bool, bool, bool, bool, bool, bool, bool]]: ...
def decode_lwpolyline_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, list[tuple[float, float]], list[float], list[tuple[float, float]], float | None]]: ...
def decode_polyline_2d_with_vertices(path: str, limit: int | None = ...) -> list[tuple[int, int, list[tuple[float, float, float]]]]: ...
def decode_polyline_2d_with_vertices_interpolated(path: str, segments_per_span: int = ..., limit: int | None = ...) -> list[tuple[int, int, bool, list[tuple[float, float, float]]]]: ...
def decode_vertex_2d_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, float, float, float, float, float, float, float]]: ...
def decode_vertex_3d_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, float, float, float]]: ...
def decode_vertex_mesh_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, float, float, float]]: ...
def decode_vertex_pface_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, float, float, float]]: ...
def decode_vertex_pface_face_entities(path: str, limit: int | None = ...) -> list[tuple[int, int, int, int, int]]: ...
def decode_polyline_2d_with_vertex_data(path: str, limit: int | None = ...) -> list[tuple[int, int, list[tuple[float, float, float, float, float, float, float, int]]]]: ...
def decode_polyline_sequence_members(path: str, limit: int | None = ...) -> list[tuple[int, str, list[int], list[int], int | None]]: ...
