import { DialogRef } from '@angular/cdk/dialog';
import { QdFormDropdownConfiguration, QdFormInputConfiguration, QdRichtextConfig } from '../../forms/model/forms.interface';
import { QdCommentsAddConfig } from '../model/comments.interface';
import { FormGroup, ValidatorFn } from '@angular/forms';
import { ValidatorFnWithProps } from '../../forms/reactive-forms/controls/form-control';
import * as i0 from "@angular/core";
export declare class AddCommentDialogComponent {
    private dialogRef;
    private readonly authenticationService;
    richtextConfig: QdRichtextConfig;
    addCommentsConfig: QdCommentsAddConfig;
    authorInputConfig?: QdFormInputConfiguration;
    customInputConfig?: QdFormDropdownConfiguration;
    qdAuthUsername?: string;
    form: FormGroup;
    constructor(dialogRef: DialogRef<string>, authenticationService: any);
    private findSelectedCustomOption;
    private createConfig;
    close(result?: any): void;
    plainTextMinLength(min: number): ValidatorFn;
    plainTextMaxLength(max: number): ValidatorFnWithProps;
    plainTextRequired(): ValidatorFn;
    static ɵfac: i0.ɵɵFactoryDeclaration<AddCommentDialogComponent, [null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AddCommentDialogComponent, "qd-comment-dialog", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=add-comment-dialog.component.d.ts.map