import { FindAttributeOptions } from "sequelize"; import { Model } from "sequelize-typescript"; import { CustomAttributesConfig, CustomAttributesModel } from "./custom-attributes.model"; import { IncludeConfig } from "./include.model"; export interface DataFilterConfigModel { model: typeof Model; attributes?: FindAttributeOptions; exportColumns?: string[]; customAttributes: CustomAttributesConfig[]; } export declare class DataFilterConfig implements DataFilterConfigModel { model: typeof Model; attributes?: FindAttributeOptions; searchableAttributes?: string[]; exportColumns?: string[]; customAttributes: CustomAttributesConfig[]; ignoreInSearch: boolean; setModel(model: typeof Model): void; setIgnoreInPath(ignore: boolean): void; setAttributes(attributes?: FindAttributeOptions): void; setSearchableAttributes(attributes: string[]): void; setExportColumns(exportColumns: string[]): void; addCustomAttribute(attribute: CustomAttributesConfig): void; transformAttributesConfig(options?: object): FindAttributeOptions; getCustomAttributes(options?: object): CustomAttributesModel[]; getCustomAttributesIncludes(): IncludeConfig[]; getSearchableAttributes(): string[]; }