1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
from __future__ import annotations
from collections.abc import Iterator
from typing import Self
from libzim.reader import Archive
class Query:
def set_query(self, query: str) -> Self: ...
class SearchResultSet:
def __iter__(self) -> Iterator[str]: ...
class Search:
def getEstimatedMatches(self) -> int: ... # noqa: N802
def getResults(self, start: int, count: int) -> SearchResultSet: ... # noqa: N802
class Searcher:
def __init__(self, archive: Archive) -> None: ...
def search(self, query: Query) -> Search: ...
|