export * from "./errors.js"; export type CustomOptions = (type: string, options: import("./custom.js").CustomOptions) => void; export const customObserver: Map; export const define: (type: string, options: import("./custom.js").CustomOptions) => void; export const whenDefined: (type: string) => Promise; export const env: any; export const Hook: typeof $Hook; export const XWorker: (url: string, options?: import("./worker/class.js").WorkerOptions) => Worker; import { Hook as $Hook } from './xworker.js';