import type { Database } from "bun:sqlite";
export interface Tag {
    id: string;
    name: string;
    color: string | null;
    description: string | null;
    task_count: number;
    created_at: string | null;
    updated_at: string | null;
}
export interface CreateTagInput {
    name: string;
    color?: string;
    description?: string;
}
export interface UpdateTagInput {
    name?: string;
    color?: string;
    description?: string;
}
export declare function createTag(input: CreateTagInput, db?: Database): Tag;
export declare function listTags(db?: Database): Tag[];
export declare function getTag(idOrName: string, db?: Database): Tag | null;
export declare function updateTag(idOrName: string, input: UpdateTagInput, db?: Database): Tag;
export declare function deleteTag(idOrName: string, db?: Database): boolean;
//# sourceMappingURL=tags.d.ts.map