{
    "description": {
        "author": "Salesforce",
        "text": [
            "Component that wraps setup-record-form and handles mode-based configuration with expandable rendition support.",
            "Selector: setup-agentic-record-form"
        ]
    },
    "shadow": {
        "elements": [
            {
                "name": "agenticRecordFormContainer",
                "selector": {
                    "css": ".agentic-record-form-container"
                },
                "description": "Represents the main container for the agentic record form",
                "elements": [
                    {
                        "name": "setupAgenticCard",
                        "selector": {
                            "css": "setup-agentic-card"
                        },
                        "type": "utam-setup/pageObjects/agenticCard",
                        "description": "Represents the agentic card wrapper when agentic card mode is enabled",
                        "nullable": true,
                        "public": true,
                        "elements": [
                            {
                                "name": "setupRecordForm",
                                "selector": {
                                    "css": "setup-record-form"
                                },
                                "type": "utam-setup/pageObjects/recordForm",
                                "description": "Setup record form (slot content) when agentic card mode is enabled",
                                "public": true,
                                "wait": true
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "methods": [
        {
            "name": "isSetupAgenticCardVisible",
            "description": {
                "text": [
                    "Check if the agentic card wrapper is present and visible (agentic card mode)"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "setupAgenticCard",
                    "apply": "isVisible"
                }
            ]
        },
        {
            "name": "isAgenticRecordFormContainerVisible",
            "description": {
                "text": [
                    "Check if the agentic record form container is present and visible"
                ],
                "return": "boolean"
            },
            "compose": [
                {
                    "element": "agenticRecordFormContainer",
                    "apply": "isVisible"
                }
            ]
        }
    ]
}