/// <reference types="react" />
import { ErrorType } from '@contember/ui';
export declare class ErrorBus {
    private queue;
    private listener;
    handleError(source: string, error: ErrorType): Promise<void>;
    register(listener: (error: {
        error: ErrorType;
        source: string;
    }) => void): () => void;
}
export interface DevErrorManagerProps {
    bus: ErrorBus;
}
export declare function DevErrorManager(props: DevErrorManagerProps): JSX.Element | null;
//# sourceMappingURL=DevErrorManager.d.ts.map