import { computed as t } from "vue";
function y({ isKeyboardPlace: n, objects: e, emit: r }) {
  return {
    showKeyboard: t(() => !!(n.value && e.value.length > 0 && e.value[e.value.length - 1].keyboard)),
    keyboardAction: (o) => {
      r("keyboardAction", o);
    },
    feedKeyboardAction: (o) => {
      r("feedAction", o);
    }
  };
}
export {
  y as useFeedKeyboard
};
