import { type ServerGlobalVarsOptions } from '../server-global-vars/index.js'; export type EffectSourceLoaderOptions = { resourcePath: string; appDir?: string; /** `source.globalVars`, replaced in the loaded source graph. */ globalVars?: ServerGlobalVarsOptions; onDependency?: (dependency: string) => void; }; export declare function bundleEffectEntryForNode(options: { appDir: string; entryPath: string; format: 'cjs' | 'esm'; }): Promise; /** Loads a production artifact without changing its native Node boundary. */ export declare function loadEffectBuiltModule(resourcePath: string): Promise; /** * Loads an Effect source entry as native ESM while reporting its complete * local source graph to the framework watcher. */ export declare function loadEffectSourceModule(options: EffectSourceLoaderOptions): Promise;