import type { SessionView } from '../../ops/types.ts'; import type { CallStack } from '../../shell/call_stack.ts'; import type { PathSpec } from '../../types.ts'; import type { MountRegistry } from '../mount/registry.ts'; import type { Session } from '../session/session.ts'; import { type ExecuteFn } from './node.ts'; import type { TSNodeLike } from '../../shell/types.ts'; /** * Expand tree-sitter child nodes to words that still know their quoting. * * The words are exactly expandParts', except that a glob character * quoting made literal travels under its own mark, so * `"/data/"*.txt` still globs while `'/data/*'.txt` does not and * `'/data/*'?.txt` globs on the `?` alone. Only pathname expansion reads * these; everything else takes the unmarked `expandParts`. */ export declare function expandWords(parts: TSNodeLike[], session: Session, executeFn: ExecuteFn, callStack?: CallStack | null, view?: SessionView): Promise; export declare function expandParts(parts: TSNodeLike[], session: Session, executeFn: ExecuteFn, callStack?: CallStack | null): Promise; export declare function expandAndClassify(words: TSNodeLike[], session: Session, executeFn: ExecuteFn, registry: MountRegistry, cwd: string, callStack?: CallStack | null, view?: SessionView): Promise<(string | PathSpec)[]>; //# sourceMappingURL=parts.d.ts.map