import type { EvaluationContext } from '../evaluation.ts';
import type { SessionView } from '../../view/types.ts';
import type { CallStack } from '../../shell/call_stack.ts';
import type { CondNode } from '../executor/builtins/condition/index.ts';
import type { TSNodeLike } from '../../shell/types.ts';
import type { ExecuteFn } from '../expand/types.ts';
/**
 * Build a structured condition tree from a `[[ ... ]]` node.
 *
 * The parser nests the expression by its own precedence (`=~` looser than
 * `||`, `!` tighter than `=~`), so its tokens are read again as bash parses
 * them.
 */
export declare function expandDoubleBracket(node: TSNodeLike, context: EvaluationContext, executeFn: ExecuteFn, cs: CallStack | null, view?: SessionView): Promise<CondNode>;
//# sourceMappingURL=test_expr.d.ts.map