// src/hooks/table/filters/use-attribute-table-filters.tsx
import { useTranslation } from "react-i18next";
var useAttributeTableFilters = () => {
  const { t } = useTranslation();
  const filterableFilter = {
    key: "is_filterable",
    label: t("attributes.fields.filterable"),
    type: "select",
    options: [
      {
        label: t("filters.radio.yes"),
        value: "true"
      },
      {
        label: t("filters.radio.no"),
        value: "false"
      }
    ]
  };
  const dateFilters = [
    { label: t("fields.createdAt"), key: "created_at" },
    { label: t("fields.updatedAt"), key: "updated_at" }
  ].map((f) => ({
    key: f.key,
    label: f.label,
    type: "date"
  }));
  return [filterableFilter, ...dateFilters];
};

export {
  useAttributeTableFilters
};
