/** * list[...] Pipe Target Dispatch * * Handles `index -> list[v0, v1, ...]` — evaluates the list literal elements, * then returns the element at the piped numeric index. * * Interface requirements: * - evaluateListLiteralDispatch(node, input) -> Promise * * Error Contracts: * - RILL-R041: Non-integer index * - RILL-R042: Out-of-bounds without ?? fallback * * @internal */ import type { ListLiteralNode } from '../../../../types.js'; import type { RillValue } from '../../types/structures.js'; import type { EvalState } from '../state.js'; /** * Evaluate list[...] as a pipe target. * * The piped value is used as a numeric index. Negative indices count from * the end (-1 is last). Non-integer indices throw RILL-R041. Out-of-bounds * without a default value throws RILL-R042. */ export declare function evaluateListLiteralDispatch(s: EvalState, node: ListLiteralNode, input: RillValue): Promise;