import { Filters } from "@configura/web-utilities"; import { DtoCatalogueParams, DtoLevel, DtoProductRef } from "../CatalogueAPI.js"; export declare function applyCatalogueFilters(filters: Filters, catalogues: T[]): [{ [K in keyof DtoCatalogueParams]: string[]; }, T[]]; export interface ProductRefParams { partNr: string; } export declare function applyProductRefFilters(filters: Filters, productRefs: DtoProductRef[]): [string[], DtoProductRef[]]; /** * Clones the table of content levels tree. * Filters to only include passed products. * @param levels The original data * @param prdRefsFilter Products not in this array are removed * @param showEmpty Shall empty levels be shown? */ export declare function cloneFilterSortLevels(levels: DtoLevel[], prdRefsFilter: DtoProductRef[], showEmpty: boolean, doSort?: boolean): DtoLevel[] | undefined; //# sourceMappingURL=filters.d.ts.map