import type Letta from "@letta-ai/letta-client"; import type { CreateRepositoryFileParams, CreateRepositoryParams, DeleteRepositoryFileParams, DeleteRepositoryFileResult, GetRepositoryVersionParams, LettaCodeCloudClientOptions, ListRepositoriesParams, ListRepositoriesResult, ListRepositoryFilesParams, ListRepositoryFilesResult, ListRepositoryVersionsParams, Repository, RepositoryFile, RepositoryFileMutationResult, RepositoryVersion, UpdateRepositoryFileParams } from "./types.js"; export declare class RepositoriesClient { private readonly client; constructor(options: LettaCodeCloudClientOptions, client?: Letta); create(params: CreateRepositoryParams): Promise; list(params?: ListRepositoriesParams): Promise; get(repositoryId: string): Promise; /** * Delete a repository. The server soft-deletes it (marks the repository * deleted rather than removing its data). Resolves on success; throws if the * repository does not exist or is not visible to the caller's organization. */ delete(repositoryId: string): Promise; readonly files: { list: (repositoryId: string, params?: ListRepositoryFilesParams) => Promise; create: (repositoryId: string, params: CreateRepositoryFileParams) => Promise; read: (repositoryId: string, params: { path: string; ref?: string; }) => Promise; update: (repositoryId: string, params: UpdateRepositoryFileParams) => Promise; delete: (repositoryId: string, params: DeleteRepositoryFileParams) => Promise; }; readonly versions: { list: (repositoryId: string, params?: ListRepositoryVersionsParams) => Promise; get: (repositoryId: string, sha: string, params: GetRepositoryVersionParams) => Promise; }; private url; private request; private requestUrl; } //# sourceMappingURL=repositories.d.ts.map