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

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.
"""

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
import builtins as _builtins
import sys
import typing as _typing

if sys.version_info >= (3, 10):
    from typing import TypeAlias as _TypeAlias
else:
    from typing_extensions import TypeAlias as _TypeAlias

if sys.version_info >= (3, 13):
    from warnings import deprecated as _deprecated
else:
    from typing_extensions import deprecated as _deprecated

DESCRIPTOR: _descriptor.FileDescriptor

@_typing.final
class Skeleton(_message.Message):
    """An empty-like element that displays an app skeleton."""

    DESCRIPTOR: _descriptor.Descriptor

    class _SkeletonStyle:
        ValueType = _typing.NewType("ValueType", _builtins.int)
        V: _TypeAlias = ValueType  # noqa: Y015

    class _SkeletonStyleEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[Skeleton._SkeletonStyle.ValueType], _builtins.type):
        DESCRIPTOR: _descriptor.EnumDescriptor
        ELEMENT: Skeleton._SkeletonStyle.ValueType  # 0
        APP: Skeleton._SkeletonStyle.ValueType  # 1
        """internal-only, for now"""

    class SkeletonStyle(_SkeletonStyle, metaclass=_SkeletonStyleEnumTypeWrapper): ...
    ELEMENT: Skeleton.SkeletonStyle.ValueType  # 0
    APP: Skeleton.SkeletonStyle.ValueType  # 1
    """internal-only, for now"""

    STYLE_FIELD_NUMBER: _builtins.int
    HEIGHT_FIELD_NUMBER: _builtins.int
    style: Global___Skeleton.SkeletonStyle.ValueType
    """Skeleton visual style"""
    @_builtins.property
    @_deprecated("""This field has been marked as deprecated using proto field options.""")
    def height(self) -> _builtins.int:
        """Deprecated: no longer used. The public st.skeleton() API sizes the skeleton
        via the element's layout config, and the deprecated internal _skeleton()
        always renders at the default element height. Retained for wire
        compatibility; do not reuse this field number.
        """

    @height.setter
    @_deprecated("""This field has been marked as deprecated using proto field options.""")
    def height(self, value: _builtins.int) -> None:
        """Deprecated: no longer used. The public st.skeleton() API sizes the skeleton
        via the element's layout config, and the deprecated internal _skeleton()
        always renders at the default element height. Retained for wire
        compatibility; do not reuse this field number.
        """

    def __init__(
        self,
        *,
        style: Global___Skeleton.SkeletonStyle.ValueType = ...,
        height: _builtins.int | None = ...,
    ) -> None: ...
    _HasFieldArgType: _TypeAlias = _typing.Literal["_height", b"_height", "height", b"height"]  # noqa: Y015
    def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
    _ClearFieldArgType: _TypeAlias = _typing.Literal["_height", b"_height", "height", b"height", "style", b"style"]  # noqa: Y015
    def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
    _WhichOneofReturnType__height: _TypeAlias = _typing.Literal["height"]  # noqa: Y015
    _WhichOneofArgType__height: _TypeAlias = _typing.Literal["_height", b"_height"]  # noqa: Y015
    def WhichOneof(self, oneof_group: _WhichOneofArgType__height) -> _WhichOneofReturnType__height | None: ...

Global___Skeleton: _TypeAlias = Skeleton  # noqa: Y015
