import { ErrorContext } from './error-context'; /** * Global configuration passed into epic-supervisor. */ export interface IGlobalConfiguration { /** * Handler method called when any error happens in any epic. */ onAnyError(context: ErrorContext): void; /** * Handler method called if no onError is given in the supervisor, or * if the onError itself throws an error, */ onUnhandledError(context: ErrorContext): void; } export declare const noop: () => void; /** * Returns the supervisor's current configuration. */ export declare const getCurrentConfiguration: () => Readonly; /** * Updates the supervisor's configuration. */ export declare const configure: (configuration: Partial) => void;