export type Pagination = { limit: number; after?: string; before?: string; }; export type BlogsFilterOptions = {}; export type BlogSearch = { filter: BlogsFilterOptions; pagination?: Pagination; }; export interface BlogApiConfig { organizationSlug: string; baseUrl?: string; apiPath?: string; defaultLimit?: number; maxPostsForFiltering?: number; cacheRevalidateInterval?: number; staticParamsRevalidateInterval?: number; wordsPerMinute?: number; timeout?: number; retries?: number; } export interface BlogTag { id: number; name: string; } export interface BlogSEO { title?: string; description?: string; image?: string; keywords?: string[]; } export interface BlogOrganization { id: string; name: string; slug: string; } export interface BlogPagination { page: number; limit: number; totalCount: number; totalPages: number; hasNext: boolean; hasPrev: boolean; } export interface BlogApiResponse { posts: BlogPost[]; pagination: BlogPagination; organization: BlogOrganization; } export type DocItem = { id: number; label: string; path?: string; children?: DocItem[]; }; export interface DocsResponse { items: DocItem[]; pagination: BlogPagination; organization: BlogOrganization; } export interface FetchPostsOptions { page?: number; limit?: number; includeHtml?: boolean; tags?: string[]; search?: string; } export interface BlogPost { id: number; name: string; slug: string; createdAt: string; updatedAt: string; published: boolean; hasChildren: boolean; seo?: BlogSEO; tags: BlogTag[]; organization: BlogOrganization; content?: any; parentId?: number; htmlContent?: string; textContent?: string; tocItems: { level: number; text: string; id: string; }[]; createdByUser: { name: string; image?: string; }; } export interface FetchPostOptions { includeHtml?: boolean; } export {}; //# sourceMappingURL=types.d.ts.map