import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import * as Supermemory from "../../../index.js"; export declare namespace ProfilesClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } /** * Maintained static, dynamic, and custom-bucket profiles scoped by namespace */ export declare class ProfilesClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: ProfilesClient.Options); /** * Inspect the profile taxonomy active in this namespace. The response combines organization-wide buckets with namespace-owned additions as a concise name-to-description map. * * @param {string} namespace - The isolated namespace to search. This can be an ID for your user, a project ID, or any other identifier you wish to use to scope memories. * @param {Supermemory.GetBucketsProfilesRequest} request * @param {ProfilesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Supermemory.BadRequestError} * @throws {@link Supermemory.UnauthorizedError} * @throws {@link Supermemory.ForbiddenError} * @throws {@link errors.SupermemoryError} * @throws {@link errors.SupermemoryTimeoutError} * * @example * await client.profiles.getBuckets("user_alex") */ getBuckets(namespace: string, request?: Supermemory.GetBucketsProfilesRequest, requestOptions?: ProfilesClient.RequestOptions): core.HttpResponsePromise; private __getBuckets; /** * Teach Supermemory new ways to organize this namespace's profile, or refine how existing namespace-owned buckets are classified. Omitted buckets remain unchanged and organization-wide buckets stay protected. * * @param {string} namespace - The isolated namespace to search. This can be an ID for your user, a project ID, or any other identifier you wish to use to scope memories. * @param {Supermemory.SetBucketsProfilesRequest} request * @param {ProfilesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Supermemory.BadRequestError} * @throws {@link Supermemory.UnauthorizedError} * @throws {@link Supermemory.ForbiddenError} * @throws {@link Supermemory.NotFoundError} * @throws {@link Supermemory.ConflictError} * @throws {@link Supermemory.InternalServerError} * @throws {@link errors.SupermemoryError} * @throws {@link errors.SupermemoryTimeoutError} * * @example * await client.profiles.setBuckets("user_alex", { * buckets: { * "interests": "Topics the subject actively follows" * } * }) */ setBuckets(namespace: string, request: Supermemory.SetBucketsProfilesRequest, requestOptions?: ProfilesClient.RequestOptions): core.HttpResponsePromise; private __setBuckets; /** * Remove profile categories created specifically for this namespace. Unknown names are safely ignored, while organization-wide buckets remain protected. * * @param {string} namespace - The isolated namespace to search. This can be an ID for your user, a project ID, or any other identifier you wish to use to scope memories. * @param {Supermemory.DeleteBucketsProfilesRequest} request * @param {ProfilesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Supermemory.BadRequestError} * @throws {@link Supermemory.UnauthorizedError} * @throws {@link Supermemory.ForbiddenError} * @throws {@link Supermemory.NotFoundError} * @throws {@link Supermemory.ConflictError} * @throws {@link Supermemory.InternalServerError} * @throws {@link errors.SupermemoryError} * @throws {@link errors.SupermemoryTimeoutError} * * @example * await client.profiles.deleteBuckets("user_alex", { * buckets: ["interests"] * }) */ deleteBuckets(namespace: string, request: Supermemory.DeleteBucketsProfilesRequest, requestOptions?: ProfilesClient.RequestOptions): core.HttpResponsePromise; private __deleteBuckets; } //# sourceMappingURL=Client.d.ts.map