import type { RouteRecordRaw, Router } from 'vue-router';
type IsvErrorRouteOptions = {
    homePath?: string;
};
export type IsvRuntimeErrorInfo = {
    type: 'error' | 'unhandledrejection';
    event: ErrorEvent | PromiseRejectionEvent;
    error?: unknown;
    message: string;
    filename?: string;
    stack?: string;
};
export type IsvRuntimeErrorBridgeOptions = {
    enableErrorPage?: boolean;
    useDefaultIgnore?: boolean;
    ignoreRuntimeError?: (errorInfo: IsvRuntimeErrorInfo) => boolean;
    onRuntimeError?: (errorInfo: IsvRuntimeErrorInfo) => void;
};
declare enum MicroAppNameEnum {
    CC = "ms-cc",
    DC = "ms-dc",
    DS = "ms-ds",
    IDS = "ms-ids"
}
declare enum IsvAppNameEnum {
    WO = "ms-wo",
    JI = "ms-ji",
    AI = "ms-ai",
    ZM = "ms-zm",
    PA = "ms-pa",
    RT = "ms-rt",
    BA = "ms-ba",
    EC = "ms-ec",
    CA = "ms-ca",
    EN = "ms-en",
    GP = "ms-gp",
    PR = "ms-pr"
}
export declare const MicroAppList: ({
    appName: MicroAppNameEnum;
    rawWindowName: string;
} | {
    appName: IsvAppNameEnum;
    rawWindowName: string;
})[];
export declare function getBase(): string;
export declare function getMicroAppBaseRoute(): string;
export declare function locationAssign(url: string | URL): void;
export declare function redirectToLogin(): void;
export declare function microAppRewrite(): void;
export declare function microAppRouterHandle(router: Router): void;
export declare function withIsvErrorRoutes(routes: RouteRecordRaw[], options?: IsvErrorRouteOptions): RouteRecordRaw[];
export declare function setupIsvRuntimeErrorBridge(options?: IsvRuntimeErrorBridgeOptions): () => void;
declare const _default: {
    getBase: typeof getBase;
    getMicroAppBaseRoute: typeof getMicroAppBaseRoute;
    microAppRewrite: typeof microAppRewrite;
    microAppRouterHandle: typeof microAppRouterHandle;
    setupIsvRuntimeErrorBridge: typeof setupIsvRuntimeErrorBridge;
    withIsvErrorRoutes: typeof withIsvErrorRoutes;
    redirectToLogin: typeof redirectToLogin;
};
export default _default;
