import type { Database } from "bun:sqlite";
export interface Label {
    id: string;
    project_id: string | null;
    name: string;
    color: string | null;
    description: string | null;
    created_at: string;
    updated_at: string;
}
export interface CreateLabelInput {
    name: string;
    project_id?: string;
    color?: string;
    description?: string;
}
export interface UpdateLabelInput {
    name?: string;
    color?: string;
    description?: string;
}
export declare function createLabel(input: CreateLabelInput, db?: Database): Label;
export declare function getLabel(idOrName: string, db?: Database): Label | null;
export declare function listLabels(projectId?: string, db?: Database): Label[];
export declare function updateLabel(idOrName: string, input: UpdateLabelInput, db?: Database): Label;
export declare function deleteLabel(idOrName: string, db?: Database): boolean;
export declare function assignLabelToTask(taskId: string, labelIdOrName: string, db?: Database): Label;
export declare function removeLabelFromTask(taskId: string, labelIdOrName: string, db?: Database): boolean;
export declare function getTaskLabels(taskId: string, db?: Database): Label[];
//# sourceMappingURL=labels.d.ts.map