/** * Set the AdonisJS application root for module resolution. * In monorepos, cwd may be the workspace root while the app lives * in a sub-directory — this ensures we also look there. */ export declare function setAppRoot(appRoot: string): void; /** * Dynamically import a module, resolving from the app root * instead of from this package's location. * * Tries multiple strategies for monorepo/symlink compatibility: * 1. createRequire from each resolution root + ESM import * 2. createRequire from each resolution root + CJS require (for native modules) * 3. Bare import() fallback */ export declare function appImport(specifier: string): Promise; /** * Same as {@link appImport} but also returns the resolved file path. */ export declare function appImportWithPath(specifier: string): Promise<{ module: T; resolvedPath: string; }>;