import { Options, Context } from '../../types/build.js';
import '@deepkit/type';
import '@storm-software/build-tools/types';
import '@storm-software/config/types';
import '@stryke/env/get-env-paths';
import '@stryke/env/types';
import '@stryke/types/base';
import '@stryke/types/configuration';
import '@stryke/types/package-json';
import '@stryke/types/tsconfig';
import 'hookable';
import 'jiti';
import 'magic-string';
import 'typescript';
import 'unimport';
import '../../types/config.js';
import '@storm-software/config-tools/types';

/**
 * Resolves the path of a file in the workspace or project root.
 *
 * @param context - The context object containing the environment paths.
 * @param file - The file path to resolve.
 * @returns A promise that resolves to the resolved path.
 */
declare function resolvePath<TOptions extends Options = Options>(context: Context<TOptions>, file: string): Promise<string | undefined>;

export { resolvePath };
