import type { Rule } from "./types.ts";
type Decision = {
    readonly action: Rule["action"];
    readonly rules: readonly Rule[];
};
/**
 * Walk a component queue like the kernel: the position is always physical, and link targets
 * are prepended without normalizing away dots. A .. moves to the physical parent's directory.
 * Keep the absolute request, the physical prefix plus unresolved suffix at each followed link,
 * and the final physical path, with proven case forms. Never combine a relative target with
 * an unresolved lexical parent. Discovery uses only lstat/readlink; case recovery is separate.
 */
export declare function decideExternalPaths(target: string | readonly string[], aliases: readonly string[], decide: (spelling: string, resolved: string, canonicalCase: (value: string) => string) => Decision): Decision;
export {};
//# sourceMappingURL=external-spellings.d.ts.map