import React from "react";
import "./loader.scss";
export interface LoaderMessage {
    key?: string;
    module?: string;
    type?: string;
    status?: string;
}
declare const LoaderContextDefault: {
    list: LoaderMessage[];
    active: boolean;
    dispatch: () => void;
    start: (data: LoaderMessage) => void;
    success: (data: LoaderMessage) => void;
    failed: (data: LoaderMessage) => void;
};
export type LoaderContextType = typeof LoaderContextDefault;
export declare const LoaderContext: React.Context<{
    list: LoaderMessage[];
    active: boolean;
    dispatch: () => void;
    start: (data: LoaderMessage) => void;
    success: (data: LoaderMessage) => void;
    failed: (data: LoaderMessage) => void;
}>;
export declare const LoaderModuleInit: () => {
    state: any;
    dispatch: React.ActionDispatch<[any]>;
    active: any;
    list: any;
    start: (data: LoaderMessage) => void;
    success: (data: LoaderMessage) => void;
    failed: (data: LoaderMessage) => void;
    context: React.Context<{
        list: LoaderMessage[];
        active: boolean;
        dispatch: () => void;
        start: (data: LoaderMessage) => void;
        success: (data: LoaderMessage) => void;
        failed: (data: LoaderMessage) => void;
    }>;
};
export declare const Loader: (props: {
    active?: boolean;
    size?: number;
    container?: boolean;
}) => React.JSX.Element;
export {};
//# sourceMappingURL=loader.d.ts.map