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

import builtins
import google.protobuf.descriptor
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 Block(google.protobuf.message.Message):
    DESCRIPTOR: google.protobuf.descriptor.Descriptor
    @typing.final
    class Vertical(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        BORDER_FIELD_NUMBER: builtins.int
        HEIGHT_FIELD_NUMBER: builtins.int
        border: builtins.bool
        height: builtins.int
        def __init__(self, *, border: builtins.bool = ..., height: builtins.int = ...) -> None:
            ...
        
        def ClearField(self, field_name: typing.Literal["border", b"border", "height", b"height"]) -> None:
            ...
        
    
    
    @typing.final
    class Horizontal(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        GAP_FIELD_NUMBER: builtins.int
        gap: builtins.str
        def __init__(self, *, gap: builtins.str = ...) -> None:
            ...
        
        def ClearField(self, field_name: typing.Literal["gap", b"gap"]) -> None:
            ...
        
    
    
    @typing.final
    class Column(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        class _VerticalAlignment:
            ValueType = typing.NewType("ValueType", builtins.int)
            V: typing_extensions.TypeAlias = ValueType
        
        
        class _VerticalAlignmentEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Block.Column._VerticalAlignment.ValueType], builtins.type):
            DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
            TOP: Block.Column._VerticalAlignment.ValueType
            CENTER: Block.Column._VerticalAlignment.ValueType
            BOTTOM: Block.Column._VerticalAlignment.ValueType
            ...
        
        
        class VerticalAlignment(_VerticalAlignment, metaclass=_VerticalAlignmentEnumTypeWrapper):
            ...
        
        
        TOP: Block.Column.VerticalAlignment.ValueType
        CENTER: Block.Column.VerticalAlignment.ValueType
        BOTTOM: Block.Column.VerticalAlignment.ValueType
        WEIGHT_FIELD_NUMBER: builtins.int
        GAP_FIELD_NUMBER: builtins.int
        VERTICAL_ALIGNMENT_FIELD_NUMBER: builtins.int
        SHOW_BORDER_FIELD_NUMBER: builtins.int
        weight: builtins.float
        gap: builtins.str
        vertical_alignment: global___Block.Column.VerticalAlignment.ValueType
        show_border: builtins.bool
        def __init__(self, *, weight: builtins.float = ..., gap: builtins.str = ..., vertical_alignment: global___Block.Column.VerticalAlignment.ValueType = ..., show_border: builtins.bool = ...) -> None:
            ...
        
        def ClearField(self, field_name: typing.Literal["gap", b"gap", "show_border", b"show_border", "vertical_alignment", b"vertical_alignment", "weight", b"weight"]) -> None:
            ...
        
    
    
    @typing.final
    class Expandable(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        LABEL_FIELD_NUMBER: builtins.int
        EXPANDED_FIELD_NUMBER: builtins.int
        ICON_FIELD_NUMBER: builtins.int
        label: builtins.str
        expanded: builtins.bool
        icon: builtins.str
        def __init__(self, *, label: builtins.str = ..., expanded: builtins.bool | None = ..., icon: builtins.str = ...) -> None:
            ...
        
        def HasField(self, field_name: typing.Literal["_expanded", b"_expanded", "expanded", b"expanded"]) -> builtins.bool:
            ...
        
        def ClearField(self, field_name: typing.Literal["_expanded", b"_expanded", "expanded", b"expanded", "icon", b"icon", "label", b"label"]) -> None:
            ...
        
        def WhichOneof(self, oneof_group: typing.Literal["_expanded", b"_expanded"]) -> typing.Literal["expanded"] | None:
            ...
        
    
    
    @typing.final
    class Dialog(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        class _DialogWidth:
            ValueType = typing.NewType("ValueType", builtins.int)
            V: typing_extensions.TypeAlias = ValueType
        
        
        class _DialogWidthEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Block.Dialog._DialogWidth.ValueType], builtins.type):
            DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
            SMALL: Block.Dialog._DialogWidth.ValueType
            LARGE: Block.Dialog._DialogWidth.ValueType
            ...
        
        
        class DialogWidth(_DialogWidth, metaclass=_DialogWidthEnumTypeWrapper):
            ...
        
        
        SMALL: Block.Dialog.DialogWidth.ValueType
        LARGE: Block.Dialog.DialogWidth.ValueType
        TITLE_FIELD_NUMBER: builtins.int
        DISMISSIBLE_FIELD_NUMBER: builtins.int
        WIDTH_FIELD_NUMBER: builtins.int
        IS_OPEN_FIELD_NUMBER: builtins.int
        title: builtins.str
        dismissible: builtins.bool
        width: global___Block.Dialog.DialogWidth.ValueType
        is_open: builtins.bool
        def __init__(self, *, title: builtins.str = ..., dismissible: builtins.bool = ..., width: global___Block.Dialog.DialogWidth.ValueType = ..., is_open: builtins.bool | None = ...) -> None:
            ...
        
        def HasField(self, field_name: typing.Literal["_is_open", b"_is_open", "is_open", b"is_open"]) -> builtins.bool:
            ...
        
        def ClearField(self, field_name: typing.Literal["_is_open", b"_is_open", "dismissible", b"dismissible", "is_open", b"is_open", "title", b"title", "width", b"width"]) -> None:
            ...
        
        def WhichOneof(self, oneof_group: typing.Literal["_is_open", b"_is_open"]) -> typing.Literal["is_open"] | None:
            ...
        
    
    
    @typing.final
    class Form(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        FORM_ID_FIELD_NUMBER: builtins.int
        CLEAR_ON_SUBMIT_FIELD_NUMBER: builtins.int
        BORDER_FIELD_NUMBER: builtins.int
        ENTER_TO_SUBMIT_FIELD_NUMBER: builtins.int
        form_id: builtins.str
        clear_on_submit: builtins.bool
        border: builtins.bool
        enter_to_submit: builtins.bool
        def __init__(self, *, form_id: builtins.str = ..., clear_on_submit: builtins.bool = ..., border: builtins.bool = ..., enter_to_submit: builtins.bool = ...) -> None:
            ...
        
        def ClearField(self, field_name: typing.Literal["border", b"border", "clear_on_submit", b"clear_on_submit", "enter_to_submit", b"enter_to_submit", "form_id", b"form_id"]) -> None:
            ...
        
    
    
    @typing.final
    class TabContainer(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        def __init__(self) -> None:
            ...
        
    
    
    @typing.final
    class Tab(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        LABEL_FIELD_NUMBER: builtins.int
        label: builtins.str
        def __init__(self, *, label: builtins.str = ...) -> None:
            ...
        
        def ClearField(self, field_name: typing.Literal["label", b"label"]) -> None:
            ...
        
    
    
    @typing.final
    class Popover(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        LABEL_FIELD_NUMBER: builtins.int
        USE_CONTAINER_WIDTH_FIELD_NUMBER: builtins.int
        HELP_FIELD_NUMBER: builtins.int
        DISABLED_FIELD_NUMBER: builtins.int
        ICON_FIELD_NUMBER: builtins.int
        label: builtins.str
        use_container_width: builtins.bool
        help: builtins.str
        disabled: builtins.bool
        icon: builtins.str
        def __init__(self, *, label: builtins.str = ..., use_container_width: builtins.bool = ..., help: builtins.str = ..., disabled: builtins.bool = ..., icon: builtins.str = ...) -> None:
            ...
        
        def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "help", b"help", "icon", b"icon", "label", b"label", "use_container_width", b"use_container_width"]) -> None:
            ...
        
    
    
    @typing.final
    class ChatMessage(google.protobuf.message.Message):
        DESCRIPTOR: google.protobuf.descriptor.Descriptor
        class _AvatarType:
            ValueType = typing.NewType("ValueType", builtins.int)
            V: typing_extensions.TypeAlias = ValueType
        
        
        class _AvatarTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Block.ChatMessage._AvatarType.ValueType], builtins.type):
            DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
            IMAGE: Block.ChatMessage._AvatarType.ValueType
            EMOJI: Block.ChatMessage._AvatarType.ValueType
            ICON: Block.ChatMessage._AvatarType.ValueType
            ...
        
        
        class AvatarType(_AvatarType, metaclass=_AvatarTypeEnumTypeWrapper):
            ...
        
        
        IMAGE: Block.ChatMessage.AvatarType.ValueType
        EMOJI: Block.ChatMessage.AvatarType.ValueType
        ICON: Block.ChatMessage.AvatarType.ValueType
        NAME_FIELD_NUMBER: builtins.int
        AVATAR_FIELD_NUMBER: builtins.int
        AVATAR_TYPE_FIELD_NUMBER: builtins.int
        name: builtins.str
        avatar: builtins.str
        avatar_type: global___Block.ChatMessage.AvatarType.ValueType
        def __init__(self, *, name: builtins.str = ..., avatar: builtins.str = ..., avatar_type: global___Block.ChatMessage.AvatarType.ValueType = ...) -> None:
            ...
        
        def ClearField(self, field_name: typing.Literal["avatar", b"avatar", "avatar_type", b"avatar_type", "name", b"name"]) -> None:
            ...
        
    
    
    VERTICAL_FIELD_NUMBER: builtins.int
    HORIZONTAL_FIELD_NUMBER: builtins.int
    COLUMN_FIELD_NUMBER: builtins.int
    EXPANDABLE_FIELD_NUMBER: builtins.int
    FORM_FIELD_NUMBER: builtins.int
    TAB_CONTAINER_FIELD_NUMBER: builtins.int
    TAB_FIELD_NUMBER: builtins.int
    CHAT_MESSAGE_FIELD_NUMBER: builtins.int
    POPOVER_FIELD_NUMBER: builtins.int
    DIALOG_FIELD_NUMBER: builtins.int
    ALLOW_EMPTY_FIELD_NUMBER: builtins.int
    ID_FIELD_NUMBER: builtins.int
    allow_empty: builtins.bool
    id: builtins.str
    @property
    def vertical(self) -> global___Block.Vertical:
        ...
    
    @property
    def horizontal(self) -> global___Block.Horizontal:
        ...
    
    @property
    def column(self) -> global___Block.Column:
        ...
    
    @property
    def expandable(self) -> global___Block.Expandable:
        ...
    
    @property
    def form(self) -> global___Block.Form:
        ...
    
    @property
    def tab_container(self) -> global___Block.TabContainer:
        ...
    
    @property
    def tab(self) -> global___Block.Tab:
        ...
    
    @property
    def chat_message(self) -> global___Block.ChatMessage:
        ...
    
    @property
    def popover(self) -> global___Block.Popover:
        ...
    
    @property
    def dialog(self) -> global___Block.Dialog:
        ...
    
    def __init__(self, *, vertical: global___Block.Vertical | None = ..., horizontal: global___Block.Horizontal | None = ..., column: global___Block.Column | None = ..., expandable: global___Block.Expandable | None = ..., form: global___Block.Form | None = ..., tab_container: global___Block.TabContainer | None = ..., tab: global___Block.Tab | None = ..., chat_message: global___Block.ChatMessage | None = ..., popover: global___Block.Popover | None = ..., dialog: global___Block.Dialog | None = ..., allow_empty: builtins.bool = ..., id: builtins.str | None = ...) -> None:
        ...
    
    def HasField(self, field_name: typing.Literal["_id", b"_id", "chat_message", b"chat_message", "column", b"column", "dialog", b"dialog", "expandable", b"expandable", "form", b"form", "horizontal", b"horizontal", "id", b"id", "popover", b"popover", "tab", b"tab", "tab_container", b"tab_container", "type", b"type", "vertical", b"vertical"]) -> builtins.bool:
        ...
    
    def ClearField(self, field_name: typing.Literal["_id", b"_id", "allow_empty", b"allow_empty", "chat_message", b"chat_message", "column", b"column", "dialog", b"dialog", "expandable", b"expandable", "form", b"form", "horizontal", b"horizontal", "id", b"id", "popover", b"popover", "tab", b"tab", "tab_container", b"tab_container", "type", b"type", "vertical", b"vertical"]) -> None:
        ...
    
    @typing.overload
    def WhichOneof(self, oneof_group: typing.Literal["_id", b"_id"]) -> typing.Literal["id"] | None:
        ...
    
    @typing.overload
    def WhichOneof(self, oneof_group: typing.Literal["type", b"type"]) -> typing.Literal["vertical", "horizontal", "column", "expandable", "form", "tab_container", "tab", "chat_message", "popover", "dialog"] | None:
        ...
    


global___Block = Block
