import type { Context } from './context.js'; import type { Arg, CallExpr, Place } from './syntax.js'; import type { Mapping } from './table.js'; import type { Out } from './values.js'; /** A call's arguments against a parameter list: by name, and what fitted none. */ export interface Bound { readonly byName: ReadonlyMap; /** Arguments past the positional list, named by their position. */ readonly stray: readonly { readonly arg: Arg; readonly name: string; }[]; } export declare function bind(call: CallExpr, positional: readonly string[]): Bound; /** * Refuses the first argument that is not one of `known`, with OS9006. Returns * whether the call may go on. */ export declare function onlyKnown(ctx: Context, path: string, bound: Bound, known: readonly string[]): boolean; /** OS9007, once per built-in: its first bars follow OpenScript's own rules. */ export declare function warmupNote(ctx: Context, at: Place, call: string, target: string): void; /** The translated text of one argument, or undefined where the call left it out. */ export declare function argText(ctx: Context, bound: Bound, name: string): string | undefined; /** A row whose arguments line up one to one, which is most of the table. */ export declare function generic(ctx: Context, call: CallExpr, row: Mapping, path: string): Out; /** `ta.tr` read as a value, which is the call with `handle_na` false. */ export declare function trueRangeValue(): Out; export declare function translateCall(ctx: Context, call: CallExpr): Out; //# sourceMappingURL=calls.d.ts.map