# This file was auto-generated by Fern from our API Definition.

import typing_extensions
from ..core.serialization import FieldMetadata
from ..types.block_metadata_text_direction import BlockMetadataTextDirection
from .block_metadata_page import BlockMetadataPageParams


class BlockMetadataParams(typing_extensions.TypedDict):
    """
    Metadata about the block.
    """

    page: typing_extensions.NotRequired[BlockMetadataPageParams]
    """
    Information about the page this block appears on.
    """

    text_direction: typing_extensions.NotRequired[
        typing_extensions.Annotated[BlockMetadataTextDirection, FieldMetadata(alias="textDirection")]
    ]
    """
    Text direction for this block's content ("ltr" for left-to-right, "rtl" for right-to-left).
    """
