import { OnDestroy, OnInit } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { TranslateService } from '@ngx-translate/core';
import { ErrorsExtractor, IBaseEntityModalOptions, ModalsService, User } from '@rucken/core';
import { Project } from '@rucken/todo-core';
import { UsersGridComponent, UsersGridModalComponent } from '@rucken/web';
import { BsModalService } from 'ngx-bootstrap/modal';
import { DynamicRepository, IRestProviderOptions } from 'ngx-repository';
import { Subscription } from 'rxjs';
export declare class ProjectUsersGridComponent extends UsersGridComponent implements ControlValueAccessor, OnInit, OnDestroy {
    protected errorsExtractor: ErrorsExtractor;
    protected translateService: TranslateService;
    protected dynamicRepository: DynamicRepository;
    modalService: BsModalService;
    protected usersConfig: IRestProviderOptions<User>;
    modalItem: IBaseEntityModalOptions;
    modalDelete: {
        initialState: {
            title: string;
            message: string;
        };
    };
    modalAppendFromGrid: {
        component: typeof UsersGridModalComponent;
        initialState: {
            title: string;
            simpleMode: boolean;
        };
    };
    project: Project;
    mockedItemsChangeSubscription: Subscription;
    constructor(modalsService: ModalsService, errorsExtractor: ErrorsExtractor, translateService: TranslateService, dynamicRepository: DynamicRepository, modalService: BsModalService, usersConfig: IRestProviderOptions<User>);
    ngOnInit(overrided?: boolean): void;
    ngOnDestroy(): void;
    writeValue(users: User[]): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    setDisabledState?(isDisabled: boolean): void;
    _onChange: (value: User) => void;
    _onTouched: () => void;
}
