/**
 * Resolves a module identifier relative to the Medusa project directory
 * instead of relative to the directory `@medusajs/utils` itself happens to
 * be installed in.
 *
 * @param id - a bare specifier, subpath specifier, or absolute path
 * @param projectDir - the root directory of the Medusa application
 * @returns the resolved absolute path, or `id` untouched when it cannot be
 *          resolved from the project. Returning `id` keeps the previous
 *          behaviour (and the previous error message) for callers that pass it
 *          straight to `require`.
 */
export declare function resolveFromProject(id: string, projectDir?: string): string;
//# sourceMappingURL=resolve-from-project.d.ts.map