import { ProvisionResult } from '../../provision/types.ts'; import type { Session } from '../session/session.ts'; import type { ProvisionNodeFn } from './pipes.ts'; /** * Plan a shell function call: the body's cost. Recursive functions * would loop the planner, so a function already being planned reports * UNKNOWN instead of recursing again. */ export declare function handleFunctionProvision(provisionNode: ProvisionNodeFn, name: string, body: readonly unknown[], planning: Set, session: Session): Promise; /** * Plan an if: branches bracket as alternatives. Taking branch i * evaluates conditions 1..i plus body i, so each alternative sums its * condition ladder with its body. The else (or, without one, the * fall-through) still pays every condition. */ export declare function handleIfProvision(provisionNode: ProvisionNodeFn, branches: readonly [unknown, readonly unknown[]][], elseBody: readonly unknown[] | null, session: Session): Promise; export declare function handleForProvision(provisionNode: ProvisionNodeFn, body: readonly unknown[], n: number, session: Session): Promise; export declare function handleWhileProvision(provisionNode: ProvisionNodeFn, body: readonly unknown[], session: Session): Promise; //# sourceMappingURL=control.d.ts.map