import { Component, CSSProperties } from 'react'; import { Middleware, Reducer, Action } from 'redux'; export interface LoadingBarContainerProps { scope?: string style?: CSSProperties; className?: string; actions?: Object; updateTime?: number; maxProgress?: number; progressIncrease?: number; showFastActions?: boolean; } export default class LoadingBarContainer extends Component {} export interface LoadingBarProps extends LoadingBarContainerProps { loading?: number; } export class LoadingBar extends Component {} export class ImmutableLoadingBar extends Component {} export interface MiddlewareConfig { scope?: string promiseTypeSuffixes?: string[]; } export function loadingBarMiddleware(config?: MiddlewareConfig): Middleware; export const loadingBarReducer: Reducer; export function showLoading(scope?: string): Action; export function hideLoading(scope?: string): Action; export function resetLoading(scope?: string): Action;