import { ProgressBarMode } from '@angular/material/progress-bar';
import { ZUILoadingContentComponent } from './../loading/content/index.component';
interface ICommon {
    backgroundColor?: string;
    /** default: 0.5 */
    opacity?: number;
    /** default: block, ex: inline-block | block */
    display?: string;
    /** default: 1 */
    zIndex?: number;
}
export interface ISpinner extends ICommon {
    type: 'spinner';
    color?: string;
    size?: string;
}
export interface IBar extends ICommon {
    type: 'bar';
    mode?: ProgressBarMode;
    height?: string;
    color1?: string;
    color2?: string;
    barColor?: string;
}
export interface IImage extends ICommon {
    type: 'image';
    loadingComponent: ZUILoadingContentComponent;
    /** default: false */
    rotate?: boolean;
    /** default: 1s, ex: 2ms */
    time?: string;
}
export declare type ZUILoading = ISpinner | IBar | IImage;
export {};
