import type { MoteurClient } from '../client.js'; import type { ProjectSchema, Comment, RadarReport, ActivityLogPage, ProjectMemberUser } from '@moteurio/types'; export declare function projectsApi(client: MoteurClient): { list(): Promise<{ projects: ProjectSchema[]; }>; get(projectId: string): Promise<{ project: ProjectSchema; }>; create(body: Record): Promise<{ project: ProjectSchema; }>; update(projectId: string, body: Record): Promise<{ project: ProjectSchema; }>; delete(projectId: string): Promise; users(projectId: string): Promise<{ users: ProjectMemberUser[]; }>; /** Platform operator (`admin`) only. Target user must belong to the project. */ patchProjectUser(projectId: string, userId: string, body: { name?: string; email?: string; isActive?: boolean; roles?: string[]; avatar?: string; }): Promise<{ user: ProjectMemberUser; }>; activity: { list(projectId: string, params?: { limit?: number; before?: string; }): Promise; }; branches: { list(projectId: string): Promise<{ branches: string[]; current?: string; }>; create(projectId: string, name: string, from?: string): Promise<{ branch: string; from: string; }>; switch(projectId: string, branch: string): Promise<{ branch: string; }>; merge(projectId: string, sourceBranch: string): Promise<{ merged: string; }>; }; radar: { get(projectId: string, options?: { /** When true, runs a full scan (query: `scan=true`). */ fullScan?: boolean; severity?: string; model?: string; locale?: string; ruleId?: string; }): Promise; }; comments: { list(projectId: string, params: { resourceType: string; resourceId: string; includeResolved?: boolean; fieldPath?: string; }): Promise<{ comments: Comment[]; }>; add(projectId: string, body: { resourceType: string; resourceId: string; body: string; fieldPath?: string; blockId?: string; parentId?: string; }): Promise<{ comment: Comment; }>; resolve(projectId: string, commentId: string): Promise<{ comment: Comment; }>; delete(projectId: string, commentId: string): Promise; edit(projectId: string, commentId: string, body: { body: string; }): Promise<{ comment: Comment; }>; }; }; //# sourceMappingURL=projects.d.ts.map