import type { SessionView } from '../../ops/types.ts'; import type { CallStack } from '../../shell/call_stack.ts'; import type { Session } from '../session/session.ts'; import { type ExecuteFn } from './node.ts'; import type { TSNodeLike } from '../../shell/types.ts'; /** * Expand one pattern word into the matcher's glob dialect. * * bash 5.2 semantics, shared by case patterns, the `[[ == ]]` right side * and quoted parameter-expansion operands: text under any quote matches * literally, unquoted text keeps its glob characters live with backslash * escaping the next character, and an expansion's value is a live pattern * when unquoted but literal inside double quotes. Patterns are never * word-split, so `$p` holding `a b` matches the word `a b`. */ export declare function expandPattern(tsNode: TSNodeLike, session: Session, executeFn: ExecuteFn, callStack?: CallStack | null, view?: SessionView): Promise; //# sourceMappingURL=pattern.d.ts.map