let botElement = null;
export function setBotElement(el) {
    botElement = el;
    window.ai12zBot = el; // optional fallback
}
export function getBotElement() {
    return botElement || window.ai12zBot || null;
}
let ctaElement = null;
export function setCtaElement(el) {
    ctaElement = el;
    window.ai12zCta = el; // optional fallback
}
export function getCtaElement() {
    return ctaElement || window.ai12zCta || null;
}
let carousel = null;
export function setItemListElement(el) {
    carousel = el;
    window.carousel = el; // optional fallback
}
export function getItemListElement() {
    return carousel || window.carousel || null;
}
let searchResultsElement = null;
export function setSearchResultsElement(el) {
    searchResultsElement = el;
    window.ai12zSearchResult = el; // optional fallback
}
export function getSearchResultsElement() {
    return searchResultsElement || window.ai12zSearchResult || null;
}
let knowledgeBoxElement = null;
export function setKnowledgeBoxElement(el) {
    knowledgeBoxElement = el;
    window.ai12zKnowledgeBox = el; // optional fallback
}
export function getKnowledgeBoxElement() {
    return knowledgeBoxElement || window.ai12zKnowledgeBox || null;
}
