# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing_extensions import Required, Annotated, TypedDict

from .._utils import PropertyInfo

__all__ = ["ClientMarkdownParams", "BrowserConfig"]


class ClientMarkdownParams(TypedDict, total=False):
    url: Required[str]
    """The URL to fetch markdown content from"""

    browser_config: Annotated[BrowserConfig, PropertyInfo(alias="browserConfig")]
    """Configuration options for browser behavior during the fetch"""


class BrowserConfig(TypedDict, total=False):
    """Configuration options for browser behavior during the fetch"""

    scroll_full_page: Annotated[bool, PropertyInfo(alias="scrollFullPage")]
    """Whether to scroll the entire page to capture lazy-loaded content"""
