import type { PathSpec } from '../../../../types.ts'; import type { Namespace } from '../../../mount/namespace/namespace.ts'; import type { Session } from '../../../session/session.ts'; import type { DispatchFn } from '../../../../runtime/types.ts'; import type { CondNode } from './types.ts'; import type { BuiltinCall, Result } from '../types.ts'; /** * Evaluate test/[ (flat argv) or [[ (condition tree). `name` is the * invocation spelling used in diagnostics: "test", "[", or "[[". */ export declare function handleTest(dispatch: DispatchFn, namespace: Namespace, args: (string | PathSpec)[] | CondNode, session: Session, name?: string): Promise; /** The `test` / `[` / `[[` arm; `[` must close with `]`. */ export declare function testBuiltin(call: BuiltinCall): Promise; //# sourceMappingURL=condition.d.ts.map