import { EventEmitter, OnChanges } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { RaiseQueryErrorMessage } from '../../../enums';
import { CaseEventData, CaseEventTrigger, CaseView } from '../../../../../../../../lib/shared/domain';
import { Observable } from 'rxjs';
import { QmCaseQueriesCollection, QueryCreateContext, QueryListItem } from '../../../models';
import { EventCompletionParams } from '../../../../../case-editor/domain/event-completion-params.model';
import { QueryManagementService } from '../../../services';
import { ActivatedRoute } from '@angular/router';
import * as i0 from "@angular/core";
export declare class QueryWriteRaiseQueryComponent implements OnChanges {
    private queryManagementService;
    private readonly route;
    formGroup: FormGroup;
    submitted: boolean;
    caseDetails: CaseView;
    showForm: boolean;
    serviceMessage: string | null;
    queryCreateContext: QueryCreateContext;
    eventData: CaseEventTrigger | null;
    queryItem: QueryListItem;
    validate: (caseEventData: CaseEventData, pageId: string) => Observable<object>;
    triggerSubmission: boolean;
    queryDataCreated: EventEmitter<QmCaseQueriesCollection>;
    raiseQueryErrorMessage: typeof RaiseQueryErrorMessage;
    eventCompletionParams: EventCompletionParams;
    messageId: string;
    constructor(queryManagementService: QueryManagementService, route: ActivatedRoute);
    ngOnChanges(): void;
    onSubjectInput(): void;
    getSubjectErrorMessage(): string;
    setCaseQueriesCollectionData(): boolean;
    private generateCaseQueriesCollectionData;
    static ɵfac: i0.ɵɵFactoryDeclaration<QueryWriteRaiseQueryComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<QueryWriteRaiseQueryComponent, "ccd-query-write-raise-query", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "caseDetails": { "alias": "caseDetails"; "required": false; }; "showForm": { "alias": "showForm"; "required": false; }; "serviceMessage": { "alias": "serviceMessage"; "required": false; }; "queryCreateContext": { "alias": "queryCreateContext"; "required": false; }; "eventData": { "alias": "eventData"; "required": false; }; "queryItem": { "alias": "queryItem"; "required": false; }; "validate": { "alias": "validate"; "required": false; }; "triggerSubmission": { "alias": "triggerSubmission"; "required": false; }; }, { "queryDataCreated": "queryDataCreated"; }, never, never, false, never>;
}
//# sourceMappingURL=query-write-raise-query.component.d.ts.map