from _typeshed import Incomplete

version: str
gui: Incomplete
widgets: Incomplete
USER_ROLE: int
g_eight_bit_types: Incomplete
g_higher_bit_types: Incomplete
g_m2m_window: Incomplete
g_export_cancelled: bool
g_debug: bool

def debugMsg(message) -> None: ...

class UserCancelledException(Exception): ...

def showUI(): ...
def isProjectSuitable(): ...
def getProceduralLayers(layer_stack): ...
def getPaintableLayers(layer_stack): ...
def findParentLayerStack(layer, layer_stack): ...
def getMatchingLayers(layer_stack, criterionFn): ...
def updateFilter(filter_box, layer_list) -> None: ...

class LayersToExportList(widgets.QListWidget):
    def __init__(self, title: str = ...) -> None: ...
    def currentLayers(self): ...
    def addLayers(self, layer_list) -> None: ...
    def removeLayers(self) -> None: ...

def setBold(widget) -> None: ...
def browseForFolder() -> None: ...
def clickedOK(ui, layers_to_export_widget, eight_bit, higher_bit, force_overwrite_box) -> None: ...
def removeLayers(layers_to_remove) -> None: ...
def makeBakedLayer(layer_to_bake): ...
def export(ui, layers_to_export, dirname, eight_bit_fmt, higher_bit_fmt, force_overwrite_box): ...

class ProgressDialog(widgets.QDialog):
    instance: Incomplete
    v_layout: Incomplete
    cancel_button: Incomplete
    pbar: Incomplete
    progress_text: Incomplete
    def __init__(self) -> None: ...
    def cancel(self) -> None: ...

def getPadding(num): ...
def mayaGen(files_list, target_file_name, num_layers) -> None: ...
