import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { Subject } from 'rxjs';
import { CaseEventTrigger, CaseView, ErrorMessage } from '../../../../../../../lib/shared/domain';
import { EventCompletionParams } from '../../../../case-editor/domain/event-completion-params.model';
import { CaseNotifier, CasesService, WorkAllocationService } from '../../../../case-editor/services';
import { CaseQueriesCollection, QmCaseQueriesCollection, QueryCreateContext, QueryListItem } from '../../models';
import { FormDocument } from '../../../../../../../lib/shared/domain/document';
import { QualifyingQuestionService } from '../../services/qualifying-question.service';
import { Task } from '../../../../../domain/work-allocation/Task';
import { QueryManagementService } from '../../services/query-management.service';
import { AlertService, ErrorNotifierService } from '../../../../../services';
import * as i0 from "@angular/core";
export declare class QueryCheckYourAnswersComponent implements OnInit, OnDestroy {
    private readonly route;
    private readonly router;
    private readonly casesService;
    private readonly caseNotifier;
    private readonly workAllocationService;
    private readonly qualifyingQuestionService;
    private queryManagementService;
    private readonly errorNotifierService;
    private readonly alertService;
    private readonly RAISE_A_QUERY_EVENT_TRIGGER_ID;
    private readonly RESPOND_TO_QUERY_EVENT_TRIGGER_ID;
    private readonly CASE_QUERIES_COLLECTION_ID;
    static readonly TRIGGER_TEXT_CONTINUE = "Ignore Warning and Continue";
    static readonly TRIGGER_TEXT_START = "Continue";
    readonly FIELD_TYPE_COMPLEX = "Complex";
    readonly DISPLAY_CONTEXT_READONLY = "READONLY";
    readonly QM_SELECT_FIRST_COLLECTION = "selectFirstCollection";
    readonly QM_COLLECTION_PROMPT = "promptQmCollection";
    readonly CIVIL_JURISDICTION = "CIVIL";
    triggerTextStart: string;
    triggerTextIgnoreWarnings: string;
    formGroup: FormGroup;
    queryItem: QueryListItem;
    queryCreateContext: QueryCreateContext;
    eventData: CaseEventTrigger | null;
    multipleFollowUpFeature: boolean;
    qmCaseQueriesCollectionData: QmCaseQueriesCollection;
    backClicked: EventEmitter<boolean>;
    querySubmitted: EventEmitter<boolean>;
    callbackConfirmationMessage: EventEmitter<{
        [key: string]: string;
    }>;
    private caseViewTrigger;
    caseDetails: CaseView;
    private queryId;
    private tid;
    private createEventSubscription;
    private searchTasksSubscription;
    queryCreateContextEnum: typeof QueryCreateContext;
    eventCompletionParams: EventCompletionParams;
    caseQueriesCollections: CaseQueriesCollection[];
    fieldId: string;
    attachments: FormDocument[];
    errorMessages: ErrorMessage[];
    filteredTasks: Task[];
    readyToSubmit: boolean;
    isSubmitting: boolean;
    messageId: string;
    callbackErrorsSubject: Subject<any>;
    error: any;
    constructor(route: ActivatedRoute, router: Router, casesService: CasesService, caseNotifier: CaseNotifier, workAllocationService: WorkAllocationService, qualifyingQuestionService: QualifyingQuestionService, queryManagementService: QueryManagementService, errorNotifierService: ErrorNotifierService, alertService: AlertService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    goBack(): void;
    submit(): void;
    private createEvent;
    private finaliseSubmission;
    private handleError;
    private getDocumentAttachments;
    isServiceErrorFound(error: any): boolean;
    setCaseQueriesCollectionData(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<QueryCheckYourAnswersComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<QueryCheckYourAnswersComponent, "ccd-query-check-your-answers", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "queryItem": { "alias": "queryItem"; "required": false; }; "queryCreateContext": { "alias": "queryCreateContext"; "required": false; }; "eventData": { "alias": "eventData"; "required": false; }; "multipleFollowUpFeature": { "alias": "multipleFollowUpFeature"; "required": false; }; "qmCaseQueriesCollectionData": { "alias": "qmCaseQueriesCollectionData"; "required": false; }; }, { "backClicked": "backClicked"; "querySubmitted": "querySubmitted"; "callbackConfirmationMessage": "callbackConfirmationMessage"; }, never, never, false, never>;
}
//# sourceMappingURL=query-check-your-answers.component.d.ts.map