import { type Code } from "../runtime/template/code.js"; export type AgencySourceValue = { kind: "module"; module: string; } | { kind: "file"; dir: string; filename: string; } | { kind: "source"; source: string | Code; dir?: string; }; export type PreparedFunctions = { compiled: { moduleId: string; code: string; modules?: Record; entryPath?: string; }; exportNames: string[]; sourceModule: string; invokeNode: "invokeLearned"; metadataNode?: "describeLearned"; }; /** Prepare once; execution and metadata inspection both use this compiled * value, including every local dependency captured by the compiler. */ export declare function _prepareFunctions(source: AgencySourceValue, names: string[], includeMetadata?: boolean): PreparedFunctions;