from .explorerview import ExplorerView as ExplorerView
from _typeshed import Incomplete
from charset_normalizer import from_path as from_path
from pathlib import Path
from qSide import QAction as QAction, QPlugin, QTextDocumentEx, Qt as Qt

class Workspace(QPlugin):
    workingFolderChanged: Path | None
    textDocumentOpened: Incomplete
    textDocumentClosed: Incomplete
    filesCreated: list[Path]
    filesChanged: list[Path]
    filesDeleted: list[Path]
    def __init__(self) -> None: ...
    def bootup(self) -> None: ...
    def workingFolder(self) -> Path | None: ...
    def setWorkingFolder(self, folder: Path | None) -> None: ...
    def createFile(self, file: Path, content: bytes = ..., overwriteSilently: bool = False): ...
    def createFolder(self, folder: Path, ignoreIfExists: bool = False): ...
    def selectFiles(self, files: list[Path]): ...
    def selectedFiles(self) -> list[Path]: ...
    def copyFiles(self, files: list[Path], toFolder: Path, overwriteSilently: bool = False): ...
    def deleteFiles(self, files: list[Path], ignoreErrors: bool = False): ...
    def saveAll(self) -> bool: ...
    def openTextDocument(self, path: Path, encoding=None) -> QTextDocumentEx: ...
