/** * Traverses a {content, widgets, images} renderer props object, * such as `itemData.question` * * This traversal is deep. * * This is the right way to traverse itemData. * * NOTE: We should not expose this on the perseus API yet. Instead, * build the traversal method you want inside perseus, and use this * from that. We might eventually expose this, but I'd like to be * more confident in the interface provided first. */ import type { PerseusRenderer } from "./data-schema"; export declare const traverse: (rendererOptions: PerseusRenderer, contentCallback?: ((arg1: any) => any) | null, widgetCallback?: ((widgetInfo: any, widgetId: string) => any) | null, optionsCallback?: (arg1: any) => void) => any;