import { jsx } from "react/jsx-runtime";
import { useLingui } from "@lingui/react";
import { Box } from "@mui/material";
import { FontVariantToken } from "@uipath/apollo-core";
import react from "react";
import { ApTypography } from "../../../ap-typography/index.js";
import { useChatState } from "../../providers/chat-state-provider.js";
function AutopilotChatInputFooterComponent() {
    const { _ } = useLingui();
    const { overrideLabels } = useChatState();
    return /*#__PURE__*/ jsx(Box, {
        sx: {
            textAlign: 'center'
        },
        children: /*#__PURE__*/ jsx(ApTypography, {
            color: 'var(--color-foreground-de-emp)',
            variant: FontVariantToken.fontSizeXs,
            children: overrideLabels?.footerDisclaimer ?? _({
                id: 'autopilot-chat.input.footer'
            })
        })
    });
}
const AutopilotChatInputFooter = /*#__PURE__*/ react.memo(AutopilotChatInputFooterComponent);
export { AutopilotChatInputFooter };
