import type { SpecComment } from '../types/index.js';
/**
 * Add a new comment to a spec. Returns the created comment.
 */
export declare function addComment(dataDir: string, projectPath: string, specId: string, input: {
    author: string;
    text: string;
    acIndex?: number;
    blocking?: boolean;
}): Promise<SpecComment>;
/**
 * Add a reply to an existing comment (thread).
 * Returns the created reply comment, or null if parentId not found.
 */
export declare function replyComment(dataDir: string, projectPath: string, specId: string, input: {
    parentId: string;
    author: string;
    text: string;
}): Promise<SpecComment | null>;
/**
 * List comments for a spec, optionally filtering by resolved status.
 */
export declare function listComments(dataDir: string, projectPath: string, specId: string, filter?: {
    resolved?: boolean;
}): SpecComment[];
/**
 * Mark a comment as resolved. Returns the updated comment or null if not found.
 */
export declare function resolveComment(dataDir: string, projectPath: string, specId: string, commentId: string): Promise<SpecComment | null>;
/**
 * Count unresolved (and optionally blocking) comments for a spec.
 * Used by planu_status, list_specs, and check_readiness integrations.
 */
export declare function countUnresolvedComments(dataDir: string, projectPath: string, specId: string): {
    total: number;
    blocking: number;
};
//# sourceMappingURL=comments-store.d.ts.map