import type { Category, Tag, BlogPost } from "../types";
/**
 * Fetch all categories
 */
export declare function fetchCategories(): Promise<Category[]>;
/**
 * Fetch all tags
 */
export declare function fetchTags(): Promise<Tag[]>;
/**
 * Fetch posts with their categories and tags
 */
export declare function fetchPostsWithCategoriesAndTags(): Promise<BlogPost[]>;
/**
 * Create a new category
 */
export declare function createCategory(name: string, description?: string, color?: string): Promise<Category | null>;
/**
 * Create a new tag
 */
export declare function createTag(name: string, color?: string): Promise<Tag | null>;
/**
 * Add categories to a post
 */
export declare function addCategoriesToPost(postId: string, categoryIds: string[]): Promise<boolean>;
/**
 * Add tags to a post
 */
export declare function addTagsToPost(postId: string, tagIds: string[]): Promise<boolean>;
/**
 * Filter posts by category
 */
export declare function filterPostsByCategory(posts: BlogPost[], categorySlug: string): BlogPost[];
/**
 * Filter posts by tag
 */
export declare function filterPostsByTag(posts: BlogPost[], tagSlug: string): BlogPost[];
