/** * Content-item reverse-projection (`read-current`) — kind 10, the * content-bearing kind. * * Per-(language, version) field decoding via a template-field-shape map. * `contentItemFromItem` fans a per-language read plus a historic per-version * read into one round trip each, picks simple vs. story mode (the schema's * XOR), and fills the recipe accordingly. `walkContentItemsTree` discovers * the items. Shares the per-(lang, version) decoding helpers in * `content-helpers.ts` with the page family. * * See `../read-current.ts` for the module-level contract. */ import type { AuthoringApiClient } from "../../api/client.js"; import type { Recipe } from "../../schema/recipe.js"; import { type GuidHandleIndex, type TemplateFieldShapes } from "./helpers.js"; /** * Walk the content-items root recursively, reverse-projecting every item * whose template GUID resolves through the marker index into a * `ContentItemRecipe`. Items whose template carries no marker (genuinely * OOTB, or authored outside scai) are silently skipped — there is no * `templateType` handle to emit. * * Recurses into nested folders (a content-items bucket commonly has * grouping sub-folders authors create); `__Standard Values` children are * skipped. The walk surfaces `ContentItemRecipe`s in tree order. */ export declare const walkContentItemsTree: (rootPath: string, client: AuthoringApiClient, guidIndex: GuidHandleIndex, templateShapeCache: Map, tenantLanguages: readonly string[]) => Promise;