import { HotCallBack } from "./hot";
import { clearErrorOverlay, createErrorOverlay } from "./overlay";
export declare function updateStyle(id: string, content: string): void;
export declare function removeStyle(id: string): void;
export declare class JokerHotContext {
    private path;
    private listeners;
    constructor(path: string);
    get data(): any;
    /**接收引用 */
    accept(deps: string | string[] | HotCallBack["fn"], callBacks?: HotCallBack["fn"]): void;
    dispose(cb: (data: any) => void | Promise<void>): void;
    prune(cb: (data: any) => void | Promise<void>): void;
    on(event: string, cb: Function): void;
    send(event: string, data: any): void;
    private acceptDeps;
    private addToListionMap;
}
export declare function injectQuery(url: string, query: string): string;
export { createErrorOverlay, clearErrorOverlay };
export * from "./hot";
export * from "./hmr";
