import { MatDialog, MatDialogConfig, MatDialogRef } from '@angular/material/dialog';
import { ZUILoadingTypeComponent } from './type/index.component';
import { ZUILoading } from './../constants';
export declare class ZuiLoadingService {
    dialog: MatDialog;
    config: MatDialogConfig<ZUILoading>;
    dialogRef: MatDialogRef<ZUILoadingTypeComponent>;
    constructor(dialog: MatDialog);
    setConfig: (data: ZUILoading, config?: MatDialogConfig<any>) => void;
    start: (data?: ZUILoading) => void;
    /**
     * @param isClose condition to close loading, default true
     */
    close: (isClose?: boolean) => void;
}
