import { WidgetContent } from "../content/widget.js"; import { DocumentContent } from "../content/document.js"; import { StaticCustomTypeModel } from "../model/customType.js"; import { Path } from "./contentPath.js"; import { DocumentLegacy } from "../content/legacy/document.js"; //#region src/helpers/documentContent.d.ts declare namespace documentContent_d_exports { export { collectWidgets, fromLegacy, serializeUID, toLegacy }; } declare function collectWidgets(document: DocumentContent, test: (content: WidgetContent, args: { path: Path; key: string; apiID: string; }) => content is TWidgetContent): Record; declare function fromLegacy(legacy: DocumentLegacy, model: StaticCustomTypeModel): DocumentContent | undefined; declare function toLegacy(document: DocumentContent): DocumentLegacy; declare function serializeUID(input: string): string; //#endregion export { documentContent_d_exports }; //# sourceMappingURL=documentContent.d.ts.map