import { OnInit, Injector } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { NgbModal, NgbActiveModal, NgbModalOptions } from '@ng-bootstrap/ng-bootstrap';
import { ToasterService } from 'angular2-toaster';
import { JZPageService, PermissionService } from '../../service';
export declare class JZPageComponentConfig {
    pageService: JZPageService;
    needLoadPage?: boolean;
}
export declare class JZPageComponent implements OnInit {
    injector: Injector;
    operating: boolean;
    private isPageChanged;
    config: JZPageComponentConfig;
    isDialog: boolean;
    route: ActivatedRoute;
    router: Router;
    pageService: JZPageService;
    modalService: NgbModal;
    activeModal: NgbActiveModal;
    toasterService: ToasterService;
    permissionService: PermissionService;
    routeSub: any;
    queryParams: any;
    protected _criteria: any;
    protected _defaultCriteria: any;
    criteria: any;
    dics: any;
    constructor(injector: Injector, config: JZPageComponentConfig);
    subscribeQueryParams(): void;
    loadPage(): void;
    ngOnInit(): void;
    onAfterLoadPage(data: any): void;
    ngOnDestory(): void;
    operationSucess: (data: any) => void;
    operationFailed: (error: any) => void;
    openDialog(component: any, item?: any, successCallback?: Function, failedCallback?: Function, config?: NgbModalOptions, extraData?: any): void;
    createRouterLink(url: string): any;
    go(url: string, isNewWindow?: boolean): void;
    handleError: any;
}
