"""
This type stub file was generated by pyright.
"""

import builtins
import collections.abc
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.internal.enum_type_wrapper
import google.protobuf.message
import sys
import typing

"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
*!
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2025)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
if sys.version_info >= (3, 10):
    ...
else:
    ...
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@typing.final
class Arrow(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    class _EditingMode:
        ValueType = typing.NewType("ValueType", builtins.int)
        V: typing_extensions.TypeAlias = ValueType
    
    
    class _EditingModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Arrow._EditingMode.ValueType], builtins.type):
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
        READ_ONLY: Arrow._EditingMode.ValueType
        FIXED: Arrow._EditingMode.ValueType
        DYNAMIC: Arrow._EditingMode.ValueType
        ...
    
    
    class EditingMode(_EditingMode, metaclass=_EditingModeEnumTypeWrapper):
        """Available editing modes:"""
        ...
    
    
    READ_ONLY: Arrow.EditingMode.ValueType
    FIXED: Arrow.EditingMode.ValueType
    DYNAMIC: Arrow.EditingMode.ValueType
    class _SelectionMode:
        ValueType = typing.NewType("ValueType", builtins.int)
        V: typing_extensions.TypeAlias = ValueType
    
    
    class _SelectionModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Arrow._SelectionMode.ValueType], builtins.type):
        DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
        SINGLE_ROW: Arrow._SelectionMode.ValueType
        MULTI_ROW: Arrow._SelectionMode.ValueType
        SINGLE_COLUMN: Arrow._SelectionMode.ValueType
        MULTI_COLUMN: Arrow._SelectionMode.ValueType
        ...
    
    
    class SelectionMode(_SelectionMode, metaclass=_SelectionModeEnumTypeWrapper):
        """Available editing modes:"""
        ...
    
    
    SINGLE_ROW: Arrow.SelectionMode.ValueType
    MULTI_ROW: Arrow.SelectionMode.ValueType
    SINGLE_COLUMN: Arrow.SelectionMode.ValueType
    MULTI_COLUMN: Arrow.SelectionMode.ValueType
    DATA_FIELD_NUMBER: builtins.int
    STYLER_FIELD_NUMBER: builtins.int
    WIDTH_FIELD_NUMBER: builtins.int
    HEIGHT_FIELD_NUMBER: builtins.int
    USE_CONTAINER_WIDTH_FIELD_NUMBER: builtins.int
    ID_FIELD_NUMBER: builtins.int
    COLUMNS_FIELD_NUMBER: builtins.int
    EDITING_MODE_FIELD_NUMBER: builtins.int
    DISABLED_FIELD_NUMBER: builtins.int
    FORM_ID_FIELD_NUMBER: builtins.int
    COLUMN_ORDER_FIELD_NUMBER: builtins.int
    SELECTION_MODE_FIELD_NUMBER: builtins.int
    ROW_HEIGHT_FIELD_NUMBER: builtins.int
    data: builtins.bytes
    width: builtins.int
    height: builtins.int
    use_container_width: builtins.bool
    id: builtins.str
    columns: builtins.str
    editing_mode: global___Arrow.EditingMode.ValueType
    disabled: builtins.bool
    form_id: builtins.str
    row_height: builtins.int
    @property
    def styler(self) -> global___Styler:
        """Pandas styler information"""
        ...
    
    @property
    def column_order(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
        """Defines the order in which columns are displayed"""
        ...
    
    @property
    def selection_mode(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___Arrow.SelectionMode.ValueType]:
        """Activated dataframe selections events"""
        ...
    
    def __init__(self, *, data: builtins.bytes = ..., styler: global___Styler | None = ..., width: builtins.int = ..., height: builtins.int = ..., use_container_width: builtins.bool = ..., id: builtins.str = ..., columns: builtins.str = ..., editing_mode: global___Arrow.EditingMode.ValueType = ..., disabled: builtins.bool = ..., form_id: builtins.str = ..., column_order: collections.abc.Iterable[builtins.str] | None = ..., selection_mode: collections.abc.Iterable[global___Arrow.SelectionMode.ValueType] | None = ..., row_height: builtins.int | None = ...) -> None:
        ...
    
    def HasField(self, field_name: typing.Literal["_row_height", b"_row_height", "row_height", b"row_height", "styler", b"styler"]) -> builtins.bool:
        ...
    
    def ClearField(self, field_name: typing.Literal["_row_height", b"_row_height", "column_order", b"column_order", "columns", b"columns", "data", b"data", "disabled", b"disabled", "editing_mode", b"editing_mode", "form_id", b"form_id", "height", b"height", "id", b"id", "row_height", b"row_height", "selection_mode", b"selection_mode", "styler", b"styler", "use_container_width", b"use_container_width", "width", b"width"]) -> None:
        ...
    
    def WhichOneof(self, oneof_group: typing.Literal["_row_height", b"_row_height"]) -> typing.Literal["row_height"] | None:
        ...
    


global___Arrow = Arrow
@typing.final
class Styler(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    UUID_FIELD_NUMBER: builtins.int
    CAPTION_FIELD_NUMBER: builtins.int
    STYLES_FIELD_NUMBER: builtins.int
    DISPLAY_VALUES_FIELD_NUMBER: builtins.int
    uuid: builtins.str
    caption: builtins.str
    styles: builtins.str
    display_values: builtins.bytes
    def __init__(self, *, uuid: builtins.str = ..., caption: builtins.str = ..., styles: builtins.str = ..., display_values: builtins.bytes = ...) -> None:
        ...
    
    def ClearField(self, field_name: typing.Literal["caption", b"caption", "display_values", b"display_values", "styles", b"styles", "uuid", b"uuid"]) -> None:
        ...
    


global___Styler = Styler
