import { type Document } from "yaml"; /** The module doc (`Telo.Application` / `Telo.Library`) within a parsed file, * if any. Imports live as an `imports:` map on this doc. */ export declare function findModuleDoc(docs: Document[]): Document | undefined; export interface ImportSourceRef { alias: string; /** Current source string value. */ source: string; /** Object-form `integrity:` sibling value, when present. The scalar form * carries integrity inside `source` (a `#sha256-...` fragment) instead, so * this is only set for the object form. A caller pinning imports must treat * either representation as an existing author pin. */ integrity?: string; /** The YAML Scalar node holding the source value — carries `.range`, used * for byte-level splices that preserve quote style and unrelated bytes. */ node: unknown; /** Path into the module doc for AST writes via `Document.setIn`. */ path: string[]; } /** * Every import entry's source scalar in the module doc's `imports:` map. * Handles both the scalar shorthand (`Alias: `) and the object form * (`Alias: { source: , … }`). The returned `node`/`path` let callers * edit the source in place — byte-splice via `node.range` (upgrade) or * AST write via `setIn(path, …)` (publish canonicalization). */ export declare function importSourceRefs(moduleDoc: Document): ImportSourceRef[]; //# sourceMappingURL=manifest-imports.d.ts.map