import { Maybe } from "../utils/type";
import { ErrorHandler } from "./error_handler";
import { DefaultErrorNotifier } from "./error_notifier";
import { Platform } from '../platform_support';
export declare const INVALID_ERROR_HANDLER = "Invalid error handler";
declare const errorNotifierSymbol: unique symbol;
export type OpaqueErrorNotifier = {
    [errorNotifierSymbol]: unknown;
};
export declare const createErrorNotifier: (errorHandler: ErrorHandler) => OpaqueErrorNotifier;
export declare const extractErrorNotifier: (errorNotifier: Maybe<OpaqueErrorNotifier>) => Maybe<DefaultErrorNotifier>;
export declare const __platforms: Platform[];
export {};
