import type { ITtscProjectIdentity } from "../../../structures/internal/ITtscProjectIdentity";
import type { ITtscProjectLocatorOptions } from "../../../structures/internal/ITtscProjectLocatorOptions";
/**
 * Resolve the tsconfig/jsconfig that owns a ttsc invocation.
 *
 * Resolution order:
 *
 * 1. `opts.tsconfig` — resolved absolute and checked for existence.
 * 2. `opts.file` — the nearest ancestor config that contains the file is found by
 *    walking up from the file's directory.
 * 3. `opts.cwd` — the nearest ancestor config walking up from cwd.
 *
 * Returns the real (symlink-resolved) absolute config path. Use
 * {@link resolveProjectIdentity} when both the caller-selected spelling and the
 * Program identity are required.
 */
export declare function resolveProjectConfig(opts?: ITtscProjectLocatorOptions): string;
/**
 * Resolve the selected config while retaining its lexical spelling separately
 * from the physical paths used by the TypeScript Program.
 */
export declare function resolveProjectIdentity(opts?: ITtscProjectLocatorOptions): Omit<ITtscProjectIdentity, "pluginConfigOrigin">;
