/// import { EventEmitter } from "events"; export declare type Ctx = { base: string; publicDir: string; errors: string[]; willRestart: boolean; events: EventEmitter; assets: Record; injectHtml: { head: Record; footer: Record; }; }; export declare const setCtx: (ctx: Ctx) => void; export declare const useCtx: () => Ctx; export declare const createCtx: ({ base, publicDir }: { base: any; publicDir: any; }) => Ctx; export declare const unsetCtx: () => void;