import type { ApiContext } from "./context.js"; import type { Paginated } from "./http/pagination.js"; export interface ListCommitCommentsParams { project?: string; repository: string; commitId: string; limit?: number; start?: number; } export interface CreateCommitCommentParams { project?: string; repository: string; commitId: string; text?: string; } export interface UpdateCommitCommentParams extends CreateCommitCommentParams { commentId?: number; version?: number; } export interface DeleteCommitCommentParams { project?: string; repository: string; commitId: string; commentId?: number; version?: number; } export declare function commitCommentsApi(ctx: ApiContext): { list({ project, repository, commitId, limit, start, }: ListCommitCommentsParams): Promise>>; create({ project, repository, commitId, text, }: CreateCommitCommentParams): Promise>; update({ project, repository, commitId, commentId, text, version, }: UpdateCommitCommentParams): Promise>; delete({ project, repository, commitId, commentId, version, }: DeleteCommitCommentParams): Promise<{ deleted: true; commentId?: number; }>; }; export type CommitCommentsApi = ReturnType;