import { CCliTree, CCliRoot } from './c-cli-tree'; /** FOR INTERNAL USE ONLY. The result of calling {@link navigateCommandTree} */ export declare type NavigateCCliTreeResult = { /** Passed args past those used during navigation */ args: string[]; /** An error message describing why navigation stopped */ message?: string; /** The point in the command tree at which navigation stopped */ tree: CCliTree; }; /** FOR INTERNAL USE ONLY. Walk a tree of commands to find the one selected by * the arguments provided * @param root - A command tree root * @param args - An array of command-line arguments * @returns The result of the search */ export declare function navigateCCliTree(root: CCliRoot, args: string[]): NavigateCCliTreeResult; //# sourceMappingURL=navigate-cli-tree.d.ts.map