import { LfI18n, LfStorage, PathBased } from '@lightweightform/core'; import * as i0 from "@angular/core"; /** * Abstract class that all components which "encapsulate" a storage value should * inherit. */ export declare abstract class Value extends PathBased { /** * Whether the component should render in "read-only" mode (this has no effect * if this component is within an already "read-only" component). */ _isReadOnly: boolean; /** * Add an `lf-value` class to all value components. */ _classLfValue: boolean; constructor(parentPathBasedComponent: PathBased | null, lfStorage: LfStorage, lfI18n: LfI18n); /** * Label associated with this value. */ get label(): string | undefined; /** * Code associated with this value. */ get code(): string | undefined; /** * Help message associated with this value. */ get helpMessage(): string | undefined; /** * Legend associated with this value. */ get legend(): string | undefined; /** * Message used to ask the user to retry validating the value. */ get retryValidateText(): string | undefined; /** * Whether the component should render in "read-only" mode. Inherits the * "read-only" state of parent components (meaning that it's not possible to * have an "editable" component within a "read-only" one). Furthermore, if the * component's value is computed, the component will always be in "read-only" * mode. */ get isReadOnly(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }