import { BaseRepository } from "./BaseRepository"; import { Category } from "../models/Category"; import { SqliteAdapter } from "../database/SqliteAdapter"; export declare class CategoryRepository extends BaseRepository { constructor(dbAdapter: SqliteAdapter); /** * Create a new category */ create(data: Omit): Promise; /** * Update an existing category */ update(id: string, data: Partial): Promise; /** * Find categories by teacher ID */ findByTeacherId(teacherId: string): Promise; /** * Get all categories with pagination */ findAllPaginated(page?: number, limit?: number): Promise; /** * Find a category by name (case insensitive) */ findByName(name: string): Promise; /** * Get total count of categories */ getTotalCount(): Promise; }