import * as i0 from '@angular/core';
import { OnInit, AfterViewInit, OnDestroy, EventEmitter, ChangeDetectorRef, PipeTransform, Injector } from '@angular/core';
import * as i7 from '@sellan/core';
import { IInfoUser, IInfoOrganization, UploadedFile, IFieldSetting, ISimpleComboboxItem, IFieldFilter, CoreAbstractAccessorComponent, UploaderConfig, EventBrokerService, PopupResults, Startup, AjaxService, IEntityResponse, IResponse, IComboboxUriDescriptionService, Filtration, InvalidFormService } from '@sellan/core';
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { MatDialogRef } from '@angular/material/dialog';
import { MonoTypeOperatorFunction, Observable } from 'rxjs';

declare class CommonActorInfo {
    isNeedCheckRelation: boolean;
    operator?: IInfoUser;
    organization?: IInfoOrganization;
}

declare class DistributionResultMetadata {
    organizationId: number;
    organizationName: string;
}
declare class DistributionResultNode {
    created: Date;
    message: string;
    isValid: boolean;
}
declare class DistributionResultRoot {
    created: Date;
    priority: number;
    meta: DistributionResultMetadata;
    nodes: DistributionResultNode[];
    message: string;
    isValid: boolean;
}
declare class DistributionResult {
    created: Date;
    roots: DistributionResultRoot[];
    vectorName: string;
    strategyName: string;
}

declare class RequestReviewRuleDepartment {
    departmentId: number;
    department: string;
    isMustAccepted: boolean;
    order: number;
    reviewedResult: number;
    reviewer: IInfoUser;
    reviewDate: Date;
}
declare class RequestReviewRuleMetadata {
    mraSettings?: RequestReviewRuleMetadataMra[];
}
declare class RequestReviewRuleMetadataMra {
    sectorCode: string;
    activityCode: string;
}
declare class RequestReviewRule {
    reviewRuleId: number;
    reviewRuleType: number;
    name: string;
    description: string;
    sort: number;
    uniqueId: string;
    isReadOnly: boolean;
    isRequired: boolean;
    isSequential: boolean;
    isDepartmentsReview: boolean;
    reviewedResult: number;
    reviewer: IInfoUser;
    reviewDate: Date;
    departments?: RequestReviewRuleDepartment[];
    processed?: boolean;
    metadata?: RequestReviewRuleMetadata;
    jsonResult?: string;
}

interface IReviewRuleResult {
    requestId: string;
    distributionId?: string;
    panelUid: string;
    ruleUid: string;
    reviewedResult: number;
}
interface IScoreRuleResult {
    requestId: string;
    distributionId?: string;
    panelUid: string;
    methodicId: number;
    ruleUid: number;
    reviewedResult: number;
}
interface IReviewRuleResponse extends IReviewRuleResult {
    reviewer: IInfoUser;
    reviewDate: Date;
    departmentId?: number;
}

declare class ScoringResult {
    created: Date;
    base: ScoreIndexBase;
    baseDebtor: ScoreIndexBase;
    methodics: ScoreMethodic[];
}
declare class ScoringResultV2 {
    created: Date;
    consumer: ScoreBaseDataV2;
    contractor: ScoreBaseDataV2;
    methodics: ScoreMethodic[];
}
declare class ScoreBaseDataV2 {
    lossMatchingFactor: number;
    mainPeriodDescription: string;
    mainPeriod: ScorePeriodIndexBase;
    mainPeriodBalance: ScoreFinBalance;
    prevPeriodDescription: string;
    prevPeriod: ScorePeriodIndexBase;
    prevPeriodBalance: ScoreFinBalance;
}
declare class ScoreFinBalance {
    year: number;
    lines: ScoreFinBalanceCell[];
}
declare class ScoreFinBalanceCell {
    line: string;
    value: number;
}
declare class ScoreIndexBase {
    lossMatchingFactor: number;
    quarter: ScorePeriodIndexBase;
    year: ScorePeriodIndexBase;
}
declare class ScorePeriodIndexBase {
    netAssets: number;
    balanceActive: number;
    revenue: number;
    financialReserves: number;
    overdueAccountsReceivable: number;
    debt: number;
    ebitda: number;
    ebitdA_A: number;
    currentAssets: number;
    currentAassets_1231: number;
    currentLiabilities: number;
    ownWorkingCapital: number;
}
declare class ScoreMethodic {
    methodicId: number;
    methodic: string;
    version: string;
    isDebtor: boolean;
    organizationScores: ScoreOrganization;
    scoreTables: OrganizationScoreTable[];
}
declare class OrganizationScoreTable {
    period: string;
    scoreTable: ScoreTable;
}
declare class ScoreTable {
    dynamicFinancialRuleGroups: DymanicRuleGroup[];
    dynamicRatingRuleGroups: DymanicRuleGroupWithScore[];
    scoreByGroups: number;
}
declare class DymanicRuleGroup {
    groupName: string;
    results: RuleCalculationResult[];
}
declare class DymanicRuleGroupWithScore extends DymanicRuleGroup {
    score: number;
}
declare class ScoreOrganization {
    ratingGrade: string;
    verdictFiles: UploadedFile[];
}
declare class RuleCalculationResult {
    ruleId: number;
    ruleName: string;
    pseudonym: string;
    source: string;
    log: string;
    result: any;
    ruleReturnType: number;
    reviewedDate: Date;
    isEditable: boolean;
    isReadonly: boolean;
    parentRuleId?: number;
    reviewer?: IInfoUser;
    comment: string;
    fileId: string;
    fileUrl: string;
}

declare enum FieldRuleType {
    IsVisible = 1,
    IsRequired = 2,
    FillDefault = 3,
    GetValue = 4,
    TransferData = 5,
    TransferDataUI = 6,
    SetDocumentsEmpty = 7,
    CleanControls = 8,
    IsDocumentHidden = 9
}
declare class RequestFieldRule {
    fieldRuleTypeId: number;
    settings: any;
}
declare enum CustomFieldEnum {
    ContractObligations = 1,
    GuaranteeType = 2,
    Contract = 3,
    FactoringProducts = 4,
    TariffsRange = 5,
    FinancialRequirements = 6,
    FactoringCondition = 7,
    AdditionalInfo = 8,
    CounteragentBox = 9,
    FactoringConditionRequest = 10,
    CustomerEmail = 11
}
declare class RequestField {
    fieldName: string;
    placeholder: string;
    groupIndex: number;
    order: number;
    fieldType: string;
    fieldSubType?: string;
    settings: IFieldSetting;
    rules: RequestFieldRule[];
    isForCurrentRoleOnly: boolean;
    isReadOnly: boolean;
    isHiddenField: boolean;
    value: any;
    visible: boolean;
    constructor();
}
declare class RequestDocument {
    typeId: number;
    typeName: string;
    isNeedSign: boolean;
    isSingleFile: boolean;
    isDgsFile: boolean;
    isDgmFileViewMode: boolean;
    isAchiveFile: boolean;
    isExternalLoad: boolean;
    isAchiveFileNew: boolean;
    isReadOnly: boolean;
    isRequired: boolean;
    hideSelectBtn: boolean;
    accept: string;
    dgsEntityTypeId: number;
    dgsFileName: string;
    dgsFormat: string;
    dgsBtnName: string;
    achiveFileMultiId?: number;
    files: UploadedFile[];
    signSide: IRequestDocumentSignSide;
    isHidden: boolean;
}
interface IRequestDocumentSignSide {
    all: boolean;
    broker?: boolean;
    customer?: boolean;
    provider?: boolean;
    system?: boolean;
}
declare class RequestDocumentSignSide implements IRequestDocumentSignSide {
    all: boolean;
    broker: boolean;
    customer: boolean;
    provider: boolean;
    system: boolean;
    constructor();
}

interface IRequestDataUpdate {
    requestId: string;
    distributionId?: string;
    panelUniqueId: string;
    elementType: number;
    fieldName?: string;
    fileTypeId?: number;
    newValue: any;
}
declare enum UpdatedPanelElementTypeEnum {
    Field = 1,
    Document = 2,
    FinancialBalance = 3,
    FinancialXmlUid = 4,
    ProfileFile = 5,
    ProfileXmlUid = 6,
    ProfileInternalFiles = 7,
    PrintFromFile = 9
}

declare class RequestPanelMetadataParentLogic {
    enabled: boolean;
    systemObjectParentId?: number;
    namePattern: string;
    descriptionPattern: string;
    title: string;
}
declare class RequestPanelMetadata {
    distibutionId?: number;
    ownerOrganizationId?: number;
    currentCustomerId?: number;
    currentProviderId?: number;
    panelTypeId: number;
    viewMode: string;
    uniqueId: string;
    statusId: number;
    order: number;
    parentLogic: RequestPanelMetadataParentLogic;
    currentCustomer: IInfoOrganization;
}
declare class RequestPanel {
    metadata: RequestPanelMetadata;
    title: string;
    titleType: string;
    fields: RequestField[];
    documents: RequestDocument[];
    reviewRules: RequestReviewRule[];
    adaResultLog: DistributionResult[];
    scoringResultLog: ScoringResult[];
    itUseProfile: boolean;
    profileXmlUid?: string;
    profileInternalFiles: string[];
    profileFile?: UploadedFile[];
    itUseFinancialBalance?: boolean;
    financialXmlUid?: string;
    financialBalance?: UploadedFile[];
    printFormFile?: UploadedFile[];
    paymentOrder?: UploadedFile[];
    printForms: IMultiPrintForm[];
    constructor();
}
interface IMultiPrintForm {
    fileTypeId: number;
    description?: string;
    printFormFile: UploadedFile[];
    needSavePreviousForms?: boolean;
    signSide: IRequestDocumentSignSide;
    id?: string;
}

declare enum ReviewResultEnum {
    NotSelected = 0,
    Passed = 1,
    NotPassed = 2,
    Condition = 3,
    Skip = 4,
    Error = 5
}
declare enum ReviewRuleTypeEnum {
    DefaultRule = 1,
    MraRule = 2
}
interface IRequestPanelEvent {
    panel: RequestPanel;
}

declare enum ActionEnum {
    SaveAsDraft = 1,
    SendRequest = 2,
    RevokeRequest = 3,
    GoToStatus = 4,
    ChangeStatus = 5,
    TakeToReviewRequest = 6,
    AssignToRequest = 7,
    ForceTransaction = 8,
    Refuse = 10,
    CreateSubtask = 11,
    AgentSaveAsDraft = 12,
    AgentSend = 13,
    AgentRevoke = 14,
    ReturnRevision = 15,
    DownloadDocuments = 16,
    ChatDialog = 17,
    Rescore = 18,
    DownloadFundingGuide = 19,
    GetDocumentPageLink = 20
}
declare enum TransactionTypeEnum {
    Refill = 1,
    Withdrawals = 2,
    Blocking = 3,
    Unblocking = 4,
    DebitCommission = 5,
    Debit = 6,
    UnblockingPart = 7
}
declare class RequestButton {
    processActionId: number;
    processActionModule?: string;
    processSystemObjectId?: number;
    processActionFinishTypeId: number;
    text: string;
    typeClass: string;
    isOutline: boolean;
    goToNextStatus: boolean;
    goToPreviousStatus: boolean;
    previousStatusChain: number[];
    previousStatusSaveData: boolean;
    goToStatusId?: number;
    itMustValidate: boolean;
    itMustConfirmed: boolean;
    itMustSign: boolean;
    order: number;
    hasProvidersChoice: boolean;
    showInRequest: boolean;
    showInDistribution: boolean;
    showDocumentPackageLink: boolean;
    isNeedSaveStatusHistoryMetadata: boolean;
    doTransactionTypeId?: TransactionTypeEnum;
    printFormSettings: IPrintFormSettings;
}
interface IPrintFormSettings {
    itMustGeneratePrintForm: boolean;
    itMustGenerateVersionedForm: boolean;
    printForms: IPrintFormSettingItem[];
    versionedForms: IPrintFormSettingItem[];
    isNeedCustomData?: boolean;
}
interface IPrintFormSettingItem {
    isVersioned?: boolean;
    formType: ISimpleComboboxItem;
    itMustProviderForm: boolean;
    signSide: IRequestDocumentSignSide;
    filters: IFieldFilter[];
    isNeedCustomData?: boolean;
}

declare enum DestinationType {
    Direct = 1,
    Ada = 2,
    OneByOne = 3
}
declare abstract class EtpBaseEntity {
    created: Date;
    statusId: number;
    statusDate: Date;
    statusDescription: string;
    validTo?: Date;
}
declare class Distribution extends EtpBaseEntity {
    distributionNum: string;
    provider: CommonActorInfo;
}
declare class RequestMetadata {
    statusGroupId: number;
    destinationTypeId: number;
    systemObjectId: number;
    systemObjectDescription: string;
    parentRequestId?: string;
    moduleUrl: string;
    selectedProviders: number[];
    statusBarItems: StatusBarItem[];
    runDocument: RequestRunDocument[];
}
declare class StatusBarItem {
    name: string;
    isPassed: boolean;
}
declare class RequestRunDocument {
    fileTypeId: number;
    isFoundationDocument: boolean;
    isSingleCopyDocument: boolean;
    useForAll: boolean;
    organizationIds: number[];
}
declare class Request extends EtpBaseEntity {
    requestUid: string;
    requestNum: string;
    metadata: RequestMetadata;
    consumer: CommonActorInfo;
    broker: CommonActorInfo;
    distribution: Distribution;
    editable: RequestPanel;
    panels: RequestPanel[];
    buttons: RequestButton[];
    constructor();
    static DefaltRequest(systemObjectId: number): Request;
}
declare class RequestParentLink {
    text: string;
    content: string;
    systemObjectId: number;
    requestId: string;
    distributionId?: string;
}

interface VersionedCheck {
    versionedTypes: VersionedCheckItem[];
}
interface VersionedCheckItem {
    providerId: number;
    versionedTypeId: number;
}
interface VersionedCheckResult {
    typeId: number;
    isGenerated: boolean;
}
interface IActionExecutionData {
    isSignatureWorkEnabled?: boolean;
    target: any;
    action: RequestButton;
    request: Request;
    isFormValid?: boolean;
    dialogRefs?: any[];
    addionalFile?: UploadedFile[];
    additionalPrintForms?: IMultiPrintForm[];
    textInFilesPreview?: string;
    button?: any;
}

declare enum ActionFinishTypeEnum {
    RequestList = 1,
    OperationDone = 2,
    RefreshPage = 3,
    None = 4,
    OpenNewWindow = 5
}
declare class ActionFinishOptions {
    requestId: string;
    requestNum: string;
    distributionNum?: string;
    systemObjectId: number;
    systemObject: string;
    html: string;
    showFundingGuideButton: boolean;
    showDocumentPackageLink: boolean;
    constructor(html: string, request: Request, isFormValid?: boolean);
}

declare class BpmActorCommonInfoComponent {
    title: string;
    actor: CommonActorInfo;
    get operatorShortName(): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<BpmActorCommonInfoComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<BpmActorCommonInfoComponent, "bpm-actor-info", never, { "title": { "alias": "title"; "required": false; }; "actor": { "alias": "actor"; "required": false; }; }, {}, never, never, false, never>;
}

declare class CommonAdditionalInfoComponent extends CoreAbstractAccessorComponent implements ControlValueAccessor, Validator, OnInit {
    fieldType: string;
    fieldSubType?: string;
    anonymAccessItemId: string;
    additionalFilesCfg: UploaderConfig;
    ngOnInit(): void;
    writeLogic(model: any): void;
    disabledLogic(isDisabled: boolean): void;
    formatValue(model: any): any;
    onInternalValueChange($event: any): void;
    onUnfocus($event: any): void;
    onAdditionalFilesChange(model: any): void;
    private _initAdditionalFilesUploader;
    validate(control: AbstractControl<any, any>): ValidationErrors;
    registerOnValidatorChange?(fn: () => void): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<CommonAdditionalInfoComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CommonAdditionalInfoComponent, "bpm-common-additional-info", never, { "fieldType": { "alias": "fieldType"; "required": false; }; "fieldSubType": { "alias": "fieldSubType"; "required": false; }; "anonymAccessItemId": { "alias": "anonymAccessItemId"; "required": false; }; }, {}, never, never, false, never>;
}

declare class CommonCustomerEmailComponent extends CoreAbstractAccessorComponent implements ControlValueAccessor, Validator {
    writeLogic(_: any): void;
    disabledLogic(_: boolean): void;
    formatValue(model: any): any;
    onInternalValueChange($event: any): void;
    onUnfocus($event: any): void;
    onAdditionalFilesChange(model: any): void;
    validate(control: AbstractControl<any, any>): ValidationErrors;
    registerOnValidatorChange?(fn: () => void): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<CommonCustomerEmailComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CommonCustomerEmailComponent, "bpm-common-customer-email", never, {}, {}, never, never, false, never>;
}

declare class CommonCounteragentDepartmentIdComponent extends CoreAbstractAccessorComponent implements CoreAbstractAccessorComponent, Validator, OnInit, AfterViewInit, OnDestroy {
    private _eventBroker;
    private _route;
    private _cd;
    private _counteragentCmbx;
    private _eventListener;
    requestId: string;
    fieldType: string;
    fieldSubType?: string;
    freezeCalled: EventEmitter<any>;
    get parent(): ISimpleComboboxItem;
    constructor(_eventBroker: EventBrokerService, _route: ActivatedRoute, _cd: ChangeDetectorRef);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    writeLogic(_: any): void;
    disabledLogic(_: boolean): void;
    formatValue(model: any): any;
    onInternalValueChange($event: any): void;
    onUnfocus($event: any): void;
    validate(control: AbstractControl<any, any>): ValidationErrors;
    registerOnValidatorChange?(fn: () => void): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<CommonCounteragentDepartmentIdComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CommonCounteragentDepartmentIdComponent, "bpm-common-counteragent-department-id", never, { "fieldType": { "alias": "fieldType"; "required": false; }; "fieldSubType": { "alias": "fieldSubType"; "required": false; }; }, { "freezeCalled": "freezeCalled"; }, never, never, false, never>;
}

declare class IProvider {
    selected?: boolean;
    isAgreementFileSign: boolean;
    organizationId: number;
    name: string;
    inn: string;
    kpp: string;
    icon: string;
    fileGenerations: IProviderFileGeneration[];
    products: IProviderProduct[];
}
declare class IProviderProduct {
    code: number;
    product: string;
}
declare class IProviderFileGeneration {
    fileTypeId: number;
    isNeedGenerate: boolean;
}
interface IProviderInfo {
    organizationId: number;
    fileGenerations: IProviderFileGeneration[];
}

declare class SearchProductPipe implements PipeTransform {
    transform(value: IProvider[], key: string, term: ISimpleComboboxItem): IProvider[];
    static ɵfac: i0.ɵɵFactoryDeclaration<SearchProductPipe, never>;
    static ɵpipe: i0.ɵɵPipeDeclaration<SearchProductPipe, "searchProduct", false>;
}
declare class BpmProviderListDialogWindow {
    private _dialogRef;
    data: any;
    providers: IProvider[];
    get selectedP(): number;
    get notSelectedP(): number;
    get availableP(): number;
    productF: ISimpleComboboxItem;
    constructor(_dialogRef: MatDialogRef<BpmProviderListDialogWindow>, data: any);
    getMaxContentHeight(): Object;
    selectedAll(): void;
    selectItem(provider: IProvider): void;
    save(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<BpmProviderListDialogWindow, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<BpmProviderListDialogWindow, "ng-component", never, {}, {}, never, never, false, never>;
}

declare class BpmFieldSettingsComponent {
    fieldType: number;
    isHiddenField?: boolean;
    settings: IFieldSetting;
    valueChange: EventEmitter<any>;
    onValueChange(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<BpmFieldSettingsComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<BpmFieldSettingsComponent, "bpm-field-settings", never, { "fieldType": { "alias": "fieldType"; "required": false; }; "isHiddenField": { "alias": "isHiddenField"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
}

declare class ProcessCommonModule {
    static ɵfac: i0.ɵɵFactoryDeclaration<ProcessCommonModule, never>;
    static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessCommonModule, [typeof BpmActorCommonInfoComponent, typeof CommonAdditionalInfoComponent, typeof CommonCustomerEmailComponent, typeof CommonCounteragentDepartmentIdComponent, typeof SearchProductPipe, typeof BpmProviderListDialogWindow, typeof BpmFieldSettingsComponent], [typeof i7.CoreBaseModule, typeof i7.CoreMatModule, typeof i7.CoreDirectiveModule, typeof i7.CoreControlModule, typeof i7.CoreDialogModule, typeof i7.CoreDaDataModule, typeof i7.CorePipeModule, typeof i7.CoreCompositeAccessSchemaModule, typeof i7.CoreOrganizationModule, typeof i7.CoreUploaderModule, typeof i7.CoreNotificationModule], [typeof BpmActorCommonInfoComponent, typeof CommonAdditionalInfoComponent, typeof CommonCustomerEmailComponent, typeof CommonCounteragentDepartmentIdComponent, typeof SearchProductPipe, typeof BpmProviderListDialogWindow, typeof BpmFieldSettingsComponent, typeof i7.CoreNotificationModule]>;
    static ɵinj: i0.ɵɵInjectorDeclaration<ProcessCommonModule>;
}

interface IAdditionalInfo {
    needAdditionInfo: boolean;
    additionalText: number;
    additionalFiles: UploadedFile[];
}
declare class AdditionalInfo implements IAdditionalInfo {
    needAdditionInfo: boolean;
    additionalText: number;
    additionalFiles: UploadedFile[];
}

interface ICustomerEmail {
    needSendingEmail: boolean;
    email: number;
}
declare class CustomerEmail implements ICustomerEmail {
    needSendingEmail: boolean;
    email: number;
}

interface ICounteragentDepartmentId {
    departmentId: string;
    departmentName: string;
}
declare class CounteragentDepartmentId implements ICounteragentDepartmentId {
    departmentId: string;
    departmentName: string;
}

declare class EventBusConstants {
    static readonly RequestPageProviderListener = "bpm-request-page-provider-listener";
    static readonly RequestPageProviderListUpdatedListener = "bpm-request-page-provider-list-updated-listener";
    static readonly RequestPageEditableStateListener = "bpm-request-page-editable-state-listener";
    static readonly RequestPageParentSelectedEvent = "bpm-request-page-parent-selected-event";
    static readonly RequestPanelScoringResultUpdatedListener = "bpm-request-panel-scoring-result-updated-listener";
    static readonly RequestPanelScoringTabIndexUpdatedListener = "bpm-request-panel-scoring-tab-index-updated-listener";
}

declare abstract class ActionExecutionBaseService implements OnDestroy {
    protected _injector: Injector;
    protected _popup: PopupResults;
    private _destroy$;
    constructor(_injector: Injector, _popup: PopupResults);
    ngOnDestroy(): void;
    protected abstract getFilesFunction(field: RequestField): UploadedFile[];
    protected takeUntilDestroyed<T>(): MonoTypeOperatorFunction<T>;
    actionBlock(target: any): void;
    actionUnblock(target: any): void;
    saveAsDraft(data: IActionExecutionData, finishFunc: Function): void;
    functionChainLogic(data: IActionExecutionData, mainFunc: Function): void;
    private _providersCheck;
    private _generateProviderForms;
    private _signFiles;
    private _checkSignSide;
    private _generatePrint;
    private _callGenerateLink;
    private _getContext;
    static ɵfac: i0.ɵɵFactoryDeclaration<ActionExecutionBaseService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ActionExecutionBaseService>;
}

declare class ActionFinishService {
    private _router;
    constructor(_router: Router);
    execute(finishTypeId: number, option: ActionFinishOptions): void;
    private _goToRequestList;
    private _goToOperationDone;
    private _refreshPage;
    static ɵfac: i0.ɵɵFactoryDeclaration<ActionFinishService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ActionFinishService>;
}

declare class RequestBaseService {
    _startUp: Startup;
    _ajaxM: AjaxService;
    constructor(_startUp: Startup, _ajaxM: AjaxService);
    saveDraft(request: Request): Observable<IEntityResponse>;
    getProviders(metadata: RequestMetadata, requestUid?: string): Observable<IEntityResponse>;
    checkRequestVersionedDocument(pack: VersionedCheck): Observable<IEntityResponse>;
    updateRequestData(item: IRequestDataUpdate): Observable<IEntityResponse>;
    checkActualChildRequest(requestId: string): Observable<IResponse>;
    static ɵfac: i0.ɵɵFactoryDeclaration<RequestBaseService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<RequestBaseService>;
}

declare class BpmComboboxBaseUriDescriptionService implements IComboboxUriDescriptionService {
    private _startUp;
    constructor(_startUp: Startup);
    getUri(code: string, module?: string): string;
    private _url;
    getLocalSourse(code: string, filters?: Filtration): Observable<IEntityResponse>;
    private getActionTypeClass;
    private getDestinationType;
    private getValidToUnit;
    private getViewMode;
    private getRequestButtonMode;
    /**Cправочники для настройки списка заявок**/
    private getDataType;
    private getPipeType;
    private getFilterCondition;
    private getItMustBeBrokerRequest;
    static ɵfac: i0.ɵɵFactoryDeclaration<BpmComboboxBaseUriDescriptionService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<BpmComboboxBaseUriDescriptionService>;
}

declare class InvalidFormServiceExtension extends InvalidFormService {
    showErrorMessage(fields: string[]): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<InvalidFormServiceExtension, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<InvalidFormServiceExtension>;
}

export { ActionEnum, ActionExecutionBaseService, ActionFinishOptions, ActionFinishService, ActionFinishTypeEnum, AdditionalInfo, BpmActorCommonInfoComponent, BpmComboboxBaseUriDescriptionService, BpmFieldSettingsComponent, BpmProviderListDialogWindow, CommonActorInfo, CommonAdditionalInfoComponent, CommonCounteragentDepartmentIdComponent, CommonCustomerEmailComponent, CounteragentDepartmentId, CustomFieldEnum, CustomerEmail, DestinationType, Distribution, DistributionResult, DistributionResultMetadata, DistributionResultNode, DistributionResultRoot, DymanicRuleGroup, DymanicRuleGroupWithScore, EtpBaseEntity, EventBusConstants, FieldRuleType, IProvider, IProviderFileGeneration, IProviderProduct, InvalidFormServiceExtension, OrganizationScoreTable, ProcessCommonModule, Request, RequestBaseService, RequestButton, RequestDocument, RequestDocumentSignSide, RequestField, RequestFieldRule, RequestMetadata, RequestPanel, RequestPanelMetadata, RequestPanelMetadataParentLogic, RequestParentLink, RequestReviewRule, RequestReviewRuleDepartment, RequestReviewRuleMetadata, RequestReviewRuleMetadataMra, RequestRunDocument, ReviewResultEnum, ReviewRuleTypeEnum, RuleCalculationResult, ScoreBaseDataV2, ScoreFinBalance, ScoreFinBalanceCell, ScoreIndexBase, ScoreMethodic, ScoreOrganization, ScorePeriodIndexBase, ScoreTable, ScoringResult, ScoringResultV2, SearchProductPipe, StatusBarItem, TransactionTypeEnum, UpdatedPanelElementTypeEnum };
export type { IActionExecutionData, IAdditionalInfo, ICounteragentDepartmentId, ICustomerEmail, IMultiPrintForm, IPrintFormSettingItem, IPrintFormSettings, IProviderInfo, IRequestDataUpdate, IRequestDocumentSignSide, IRequestPanelEvent, IReviewRuleResponse, IReviewRuleResult, IScoreRuleResult, VersionedCheck, VersionedCheckItem, VersionedCheckResult };
