import { StarkLoggingService } from "@nationalbankbelgium/stark-core"; import * as i0 from "@angular/core"; /** * Abstract class defining the source model to bind to form components in Stark (i.e. {@link AbstractStarkSearchComponent}) * as well as methods to manipulate it. */ export declare abstract class AbstractStarkFormComponent { logger: StarkLoggingService; /** * The form's original copy (the initial model when the form is pristine) */ originalCopy: CriteriaType; /** * The form's working copy (the current model with the latest changes) */ workingCopy: CriteriaType; /** * Class constructor * @param logger - The `StarkLoggingService` instance of the application. */ protected constructor(logger: StarkLoggingService); /** * Set the form's original copy to the object passed as parameter (a deep cloned copy). * * Default: `{}` (empty object) * @param originalCopy - The object to be set as the form's original copy */ protected setOriginalCopy(originalCopy?: CriteriaType): void; /** * Revert the form's working copy back to the original copy (a deep clone copy) */ protected reset(): void; /** * Check whether the working copy is exactly the same as the original copy. * Performs a deep comparison between the two objects to determine if they are equivalent. */ protected isDirty(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, {}, {}, never, never, false, never>; }