evalution
    Preparing search index...

    Type Alias CalleeBinding

    CalleeBinding:
        | { kind: "import"; spec: ImportSpecifier }
        | {
            enclosingCall?: { callee: string; import?: ImportSpecifier };
            kind: "parameter";
        }

    Describes how a function-call callee is bound at the call site.

    • import: the callee resolves to a top-level import statement.
    • parameter: the callee resolves to a parameter of an enclosing function (including destructured names). If that function is itself an argument passed to another call, enclosingCall carries that call's identity so consumers can recognize specific patterns (e.g. prompts(({ openai }) => …)).