{
    "description": {
        "author": "Salesforce",
        "text": [
            "Component that displays a page header with an icon and text.",
            "Selector: setup-agentic-chat-header"
        ]
    },
    "shadow": {
        "elements": [
            {
                "name": "pageHeaderContainer",
                "selector": {
                    "css": ".page-header-container"
                },
                "description": "Represents the main container for the page header.",
                "elements": [
                    {
                        "name": "topicIcon",
                        "selector": {
                            "css": "lightning-icon.topic-icon"
                        },
                        "type": "utam-lightning/pageObjects/icon",
                        "description": "Represents the lightning icon with a class of \"topic-icon\"",
                        "public": true
                    },
                    {
                        "name": "headerText",
                        "selector": {
                            "css": ".header-text"
                        },
                        "description": "Represents the container for the header text.",
                        "elements": [
                            {
                                "name": "topicText",
                                "selector": {
                                    "css": "h1.topic-text"
                                },
                                "description": "Represents the topic text displayed in the header."
                            }
                        ]
                    },
                    {
                        "name": "renditionsMenu",
                        "selector": {
                            "css": "lightning-button-menu"
                        },
                        "type": "utam-lightning/pageObjects/buttonMenu",
                        "description": "Represents the button menu for expandable renditions.",
                        "nullable": true,
                        "public": true,
                        "elements": [
                            {
                                "name": "renditionsMenuSubheader",
                                "selector": {
                                    "css": "lightning-menu-subheader"
                                },
                                "description": "Represents the subheader within the renditions menu.",
                                "public": true
                            },
                            {
                                "name": "renditionsMenuItems",
                                "selector": {
                                    "css": "lightning-menu-item",
                                    "returnAll": true
                                },
                                "type": "utam-lightning/pageObjects/menuItem",
                                "description": "Represents the menu items for each expandable rendition.",
                                "public": true
                            }
                        ]
                    },
                    {
                        "name": "collapseDrillIn",
                        "selector": {
                            "css": "lightning-button-icon.slds-p-right_small"
                        },
                        "type": "utam-lightning/pageObjects/buttonIcon",
                        "description": "Represents the button for collapsing the drill-in view.",
                        "nullable": true,
                        "public": true
                    }
                ]
            }
        ]
    },
    "methods": [
        {
            "name": "isPageHeaderVisible",
            "description": {
                "text": [
                    "Check if the page header container is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "pageHeaderContainer",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "isHeaderTextVisible",
            "description": {
                "text": [
                    "Check that header text is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "headerText",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "getHeaderText",
            "description": {
                "text": [
                    "Get text from the header"
                ],
                "return": "string"
            },
            "compose": [
                {
                    "element": "headerText",
                    "apply": "getText"
                }
            ]
        },
        {
            "name": "isHeaderTextPresent",
            "description": {
                "text": [
                    "Check if the header topic text is present"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "topicText",
                    "apply": "isPresent"
                }
            ]
        },
        {
            "name": "isCollapseButtonVisible",
            "description": {
                "text": [
                    "Check that collapse button is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "collapseDrillIn",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "isRenditionsMenuVisible",
            "description": {
                "text": [
                    "Check that renditions menu is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "renditionsMenu",
                    "apply": "isVisible"
                }
            ]
        }
    ]
}