import { PreApplyValidator } from '../interfaces/pre-apply-validator.interface'; /** * A Filter modifier is a component via which the user can modify the filter params * thus effecting the filter results. */ export declare abstract class FilterModifier { /** * Current errors. */ errorMessages: Array; /** * Current warnings. */ warningMessages: Array; /** * Holds the error validation logic that comes from outside the costimize-ui-lib * via the modifiers control options. * * {@link PreApplyValidator} */ validator: PreApplyValidator; /** * Called with specific filter selections when the user wants to apply an already saved filter. * * @param selection */ abstract onSavedGcpFilterApplied(selection: InnerSelection): void; /** * Validates if the modifier selection is valid. * * @param selection {@link GcpFilterSelections} * @returns true if the selection is valid, false otherwise */ isValid(selection: T): boolean; }