import { OnInit } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { CaseEditComponent } from '../case-edit/case-edit.component';
import { Subject } from 'rxjs';
import { CallbackErrorsContext } from '../../error/domain/error-context';
import { ActivatedRoute } from '@angular/router';
import { ProfileNotifier } from '../../../services/profile';
import { HttpError } from '../../../domain/http';
import { PaletteContext } from '../../palette';
import { FormValueService } from '../../../services/form/form-value.service';
import { FormErrorService } from '../../../services/form/form-error.service';
import { FieldsUtils } from '../../../services/fields/fields.utils';
import { CaseEventTrigger } from '../../../domain/case-view/case-event-trigger.model';
import { Wizard } from '../domain/wizard.model';
import { CaseField } from '../../../domain/definition/case-field.model';
import { CaseFieldService } from '../../../services/case-fields/case-field.service';
import { OrderService } from '../../../services/order/order.service';
import { WizardPage } from '../domain/wizard-page.model';
import { ProfileService } from '../../../services/profile/profile.service';
import { Profile } from '../../../domain';
import { WindowService } from '../../../services';
export declare class CaseEditSubmitComponent implements OnInit {
    private caseEdit;
    private formValueService;
    private formErrorService;
    private fieldsUtils;
    private caseFieldService;
    private route;
    private orderService;
    private profileService;
    private profileNotifier;
    private windowService;
    eventTrigger: CaseEventTrigger;
    editForm: FormGroup;
    error: HttpError;
    callbackErrorsSubject: Subject<any>;
    ignoreWarning: boolean;
    triggerText: string;
    wizard: Wizard;
    profile: Profile;
    showSummaryFields: CaseField[];
    paletteContext: PaletteContext;
    isSubmitting: boolean;
    static readonly SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION: (a: CaseField, b: CaseField) => number;
    constructor(caseEdit: CaseEditComponent, formValueService: FormValueService, formErrorService: FormErrorService, fieldsUtils: FieldsUtils, caseFieldService: CaseFieldService, route: ActivatedRoute, orderService: OrderService, profileService: ProfileService, profileNotifier: ProfileNotifier, windowService: WindowService);
    ngOnInit(): void;
    submit(): void;
    isDisabled(): boolean;
    private getStatus;
    private hasCallbackFailed;
    private hasErrors;
    navigateToPage(pageId: string): void;
    callbackErrorsNotify(errorContext: CallbackErrorsContext): void;
    summaryCaseField(field: CaseField): CaseField;
    cancel(): void;
    isLabel(field: CaseField): boolean;
    isChangeAllowed(field: CaseField): boolean;
    checkYourAnswerFieldsToDisplayExists(): boolean;
    readOnlySummaryFieldsToDisplayExists(): boolean;
    showEventNotes(): boolean;
    private getLastPageShown;
    previous(): void;
    hasPrevious(): boolean;
    isShown(page: WizardPage): boolean;
    canShowFieldInCYA(field: CaseField): boolean;
    isSolicitor(): boolean;
    private announceProfile;
    private buildConfirmation;
    private sortFieldsByShowSummaryContent;
    getCaseId(): String;
    getCancelText(): String;
}
