import { Component, CSSProperties } from 'react'; import { Middleware, Reducer, Action } from 'redux'; export const DEFAULT_SCOPE: string; export const HIDE: string; export const SHOW: string; export const RESET: string; export interface LoadingBarContainerProps { className?: string; direction?: string; maxProgress?: number; progressIncrease?: number; scope?: string; showFastActions?: boolean; style?: CSSProperties; updateTime?: number; } 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;