import { DeleteResult, FindOneOptions } from "typeorm"; import { ProductCategory } from "../models/product-category"; import { ExtendedFindConfig, QuerySelector } from "../types/common"; export declare const ProductCategoryRepository: import("typeorm").TreeRepository & { findOneWithDescendants(query: FindOneOptions, treeScope?: QuerySelector): Promise; getFreeTextSearchResultsAndCount(options?: ExtendedFindConfig, q?: string, treeScope?: QuerySelector, includeTree?: boolean): Promise<[ProductCategory[], number]>; addProducts(productCategoryId: string, productIds: string[]): Promise; removeProducts(productCategoryId: string, productIds: string[]): Promise; }; export default ProductCategoryRepository;