import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { TextareaInputMetadata } from './types';
import * as i0 from "@angular/core";
export declare class TextareaInputComponent implements OnInit, OnChanges {
    private presets;
    /**
     * Preset name to apply. Presets define reusable textarea configurations
     * that can be registered at app level via provideValtechPresets().
     *
     * @example
     * <val-textarea-input preset="form-field" [props]="{ control: ctrl }"></val-textarea-input>
     */
    preset?: string;
    /**
     * Textarea configuration object. Values here override preset values.
     */
    props: Partial<TextareaInputMetadata>;
    /**
     * Resolved props after merging preset + explicit props.
     */
    resolvedProps: TextareaInputMetadata;
    states: {
        ENABLED: "ENABLED";
        DISABLED: "DISABLED";
        WORKING: "WORKING";
        ERROR: "ERROR";
    };
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    /**
     * Merge preset configuration with explicit props.
     * Explicit props take precedence over preset values.
     */
    private resolveProps;
    private applyDefaultValue;
    getLabel(): string;
    getPlaceholder(): string;
    getHint(): string;
    get hasError(): boolean;
    getErrorMessage(): string;
    getRemainingChars(): number;
    getRemainingLabel(): string;
    counterFormatter: (inputLength: number, maxLength: number) => string;
    static ɵfac: i0.ɵɵFactoryDeclaration<TextareaInputComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TextareaInputComponent, "val-textarea-input", never, { "preset": { "alias": "preset"; "required": false; }; "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>;
}
