import type { Transport, BlockConfig, BlockMetadata, HealthCheckResponse } from '@23blocks/contracts'; import { type PostsService, type PostVersionsService, type PostTemplatesService, type CommentsService, type CategoriesService, type TagsService, type ContentUsersService, type ModerationService, type ActivityService, type SeriesService } from './services/index.js'; /** * Configuration for the Content block. */ export interface ContentBlockConfig extends BlockConfig { } /** * Content management block interface. */ export interface ContentBlock { /** Post CRUD operations */ posts: PostsService; /** Post version history management */ postVersions: PostVersionsService; /** Post template management */ postTemplates: PostTemplatesService; /** Comment management */ comments: CommentsService; /** Content category management */ categories: CategoriesService; /** Content tag management */ tags: TagsService; /** Content user management */ users: ContentUsersService; /** Content moderation operations */ moderation: ModerationService; /** Activity feed management */ activity: ActivityService; /** Content series management */ series: SeriesService; /** Ping the service health endpoint */ health(): Promise; } /** * Create the Content block. * * @example * ```typescript * const block = createContentBlock(transport, { apiKey: 'xxx' }); * const posts = await block.posts.list({ page: 1 }); * ``` */ export declare function createContentBlock(transport: Transport, config: ContentBlockConfig): ContentBlock; export declare const contentBlockMetadata: BlockMetadata; //# sourceMappingURL=content.block.d.ts.map