import React from "react";
import { Slot } from "../../slot/Slot.js";
import { useListboxContext } from "../root/Listbox.context.js";
const ListboxInputSlot = ({ children }) => {
    const { activeId } = useListboxContext();
    return (React.createElement(Slot, { "aria-activedescendant": activeId, 
        // @ts-expect-error - You are meant to use an <input>, but Slot doesn't know that.
        autoComplete: "off", role: "combobox" }, children));
};
export { ListboxInputSlot };
//# sourceMappingURL=ListboxInputSlot.js.map