import { a as product, t as CatalogSchema } from "./schema-DgnFCZmi.js";
import { EntityTranslationStatus } from "@platform-modules/i18n-translator";
import { Querier } from "@platform-modules/db";
//#region src/i18n.d.ts
type ProductRow = typeof product.$inferSelect;
type LocalizedProduct = ProductRow;
declare function localizeProducts(q: Querier<CatalogSchema>, rows: readonly ProductRow[], args: {
  locale: string;
  defaultLocale: string;
  fields?: readonly string[];
}): Promise<LocalizedProduct[]>;
declare function productVisibleInLocale(status: EntityTranslationStatus): boolean;
declare function filterVisibleInLocale(q: Querier<CatalogSchema>, rows: readonly ProductRow[], args: {
  locale: string;
  fields?: readonly string[];
}): Promise<ProductRow[]>;
//#endregion
export { LocalizedProduct, ProductRow, filterVisibleInLocale, localizeProducts, productVisibleInLocale };