import type { TSNodeLike } from '../../shell/types.ts'; import type { ParsedCommand } from './types.ts'; /** * Every command node of a parsed line, in source order, nested ones * included (a substitution's command follows the word holding it). */ export declare function commandNodes(root: TSNodeLike): TSNodeLike[]; /** * Distill a parsed line into one ParsedCommand per command. `clis` * holds the installed CLI head words; a command whose name is one of * them carries it as `cli`. */ export declare function parsedCommands(root: TSNodeLike, clis?: ReadonlySet): ParsedCommand[]; //# sourceMappingURL=facts.d.ts.map