import { FindAttributeOptions, Order } from "sequelize"; import { IncludeConfig, IncludeModel } from "./include.model"; import { PathConfig } from "./path.model"; import { CustomAttributesConfig, CustomAttributesModel } from "./custom-attributes.model"; export interface AttributesConfigModel { key: string; attributes?: FindAttributeOptions; path?: PathConfig; includes: IncludeConfig[]; customAttributes: CustomAttributesConfig[]; } export declare class AttributesConfig implements AttributesConfigModel { key: string; attributes?: FindAttributeOptions; searchableAttributes?: string[]; path: PathConfig; includes: IncludeConfig[]; customAttributes: CustomAttributesConfig[]; ignoreInSearch: boolean; constructor(key: string); setAttributes(attributes?: FindAttributeOptions): void; setSearchableAttributes(attributes: string[]): void; setPath(path: PathConfig): void; containsPath(path: string): boolean; setIgnoreInPath(ignore: boolean): void; setSeparate(): void; setOrder(order: Order): void; addInclude(include: IncludeConfig): void; addCustomAttribute(attribute: CustomAttributesConfig): void; transformAttributesConfig(options?: object): FindAttributeOptions; transformIncludesConfig(options?: object): IncludeModel[]; getCustomAttributes(options?: object, path?: string): CustomAttributesModel[]; }