import { APIResource } from "../resource.js"; import * as Core from "../core.js"; export declare class Projects extends APIResource { /** * Get project */ retrieve(projectId: string, options?: Core.RequestOptions): Core.APIPromise; /** * Get all project for the current user */ list(options?: Core.RequestOptions): Core.APIPromise; /** * Delete a project */ delete(projectId: string, options?: Core.RequestOptions): Core.APIPromise; /** * Share or unshare a project */ sharing(projectId: string, params?: ProjectSharingParams, options?: Core.RequestOptions): Core.APIPromise; sharing(projectId: string, options?: Core.RequestOptions): Core.APIPromise; } export interface AvatarProjectItem { aspectRatio: '1:1' | '16:9' | '9:16'; id?: string | null; audioSource?: string | null; avatarImageInput?: unknown | null; avatarImageUrl?: string | null; createdAt?: string | null; errorMessage?: string | null; jobType?: string | null; progress?: number | null; shared?: boolean; stage?: string | null; status?: string | null; text?: string | null; userId?: string | null; username?: string | null; videoUrl?: string | null; voiceId?: string | null; voiceUrl?: string | null; } export interface ProjectListResponse { projects: Array; } export type ProjectDeleteResponse = unknown; export type ProjectSharingResponse = unknown; export interface ProjectSharingParams { shared?: boolean; } export declare namespace Projects { export { type AvatarProjectItem as AvatarProjectItem, type ProjectListResponse as ProjectListResponse, type ProjectDeleteResponse as ProjectDeleteResponse, type ProjectSharingResponse as ProjectSharingResponse, type ProjectSharingParams as ProjectSharingParams, }; } //# sourceMappingURL=projects.d.ts.map