import * as authors from './authors/index'; import * as comments from './commentables/index'; import * as pages from './pages/index'; import * as postCategories from './categorizables/index'; import * as posts from './posts/index'; import * as tags from './taggables/index'; export type { BlockDefinition, BlockError, PageBlock, ValidateBlocksResult } from './blocks/types'; export type { MenuTreeItem } from './menus/index'; export type { EditablePageDocument } from './pages/document'; export type { SavedPageDocument, SavePageDocumentInput } from './pages/document'; export type { PublishedPage } from './public/resolve'; export declare const cms: CmsNamespace; export declare interface CmsNamespace { posts: PostsModule postCategories: PostCategoriesModule tags: TagsModule comments: CommentsModule authors: AuthorsModule pages: PagesModule } declare type PostsModule = typeof posts; declare type PostCategoriesModule = typeof postCategories; declare type TagsModule = typeof tags; declare type CommentsModule = typeof comments; declare type AuthorsModule = typeof authors; declare type PagesModule = typeof pages; export { authors, postCategories as categorizable, comments, pages, posts, tags, }; // Real pages: block documents, revisions, redirects, menus, public serving. export { defaultBlocks, registerDefaultBlocks } from './blocks/defaults'; export { allBlocks, defineBlock, getBlock, parseStoredBlocks, registerBlocks, validateBlocks } from './blocks/registry'; export { fetchMenuTree } from './menus/index'; export { createPageDocument, fetchPageDocument, PageDocumentError, updatePageDocument } from './pages/document'; export { publishDuePages } from './publish/index'; export { cmsNotFoundFallback, cmsPageFallback } from './public/fallback'; export { renderCmsPage } from './public/render'; export { normalizePath, resolvePublishedPage } from './public/resolve'; export { sanitizeRichText } from './public/sanitize'; export { recordSlugChangeRedirects, resolveRedirect } from './redirects/index'; export { fetchRevisions, restoreRevision, storeRevision } from './revisions/index'; export default cms;