import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; import { PageIterator } from "../types/operations.js"; export declare class Projects extends ClientSDK { /** * List projects * * @remarks * List the projects in the organization. The list is paginated. Needs the `projects:read` permission. */ list(page?: number | undefined, pageSize?: number | undefined, options?: RequestOptions): Promise>; /** * Create a project * * @remarks * Create a project with one channel, a review queue inbox and a secret API key. Give a domain or context and the project suggests policies for the platform. Needs the `projects:write` permission and a key that reaches all projects. */ create(request: operations.CreateProjectRequest, options?: RequestOptions): Promise; /** * Get a project * * @remarks * Get a project by ID. Needs the `projects:read` permission. */ retrieve(id: string, options?: RequestOptions): Promise; /** * Update a project * * @remarks * Update a project. Fields you leave out keep their value. Needs the `projects:write` permission. */ update(id: string, body: operations.UpdateProjectRequestBody, options?: RequestOptions): Promise; /** * Delete a project * * @remarks * Delete a project with everything in it: channels, queues, API keys and stored content. This can't be undone. The project's API keys stop working at once. Needs the `projects:write` permission. */ delete(id: string, options?: RequestOptions): Promise; /** * Duplicate a project * * @remarks * Copy a project's configuration into a new project: its settings, every channel with its policies, rules and wordlists, its moderation actions and its review queues. The copy gets its own secret API key. Webhooks, integrations, API keys and content are not copied. Needs the `projects:write` permission and a key that reaches all projects. */ duplicate(id: string, body: operations.DuplicateProjectRequestBody, options?: RequestOptions): Promise; } //# sourceMappingURL=projects.d.ts.map