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 MemoriesClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class MemoriesClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: MemoriesClient.Options); /** * Remove exact memories from normal recall while preserving their audit history. Each ID is handled independently and any missing or ineligible memory is reported without rolling back successful changes. * * @param {string} namespace - Namespace containing the memories to forget. This can be an ID for your user, a project ID, or any other identifier you wish to use to scope memories. * @param {Supermemory.ForgetMemoriesRequest} request * @param {MemoriesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Supermemory.BadRequestError} * @throws {@link Supermemory.UnauthorizedError} * @throws {@link Supermemory.ForbiddenError} * @throws {@link Supermemory.InternalServerError} * @throws {@link errors.SupermemoryError} * @throws {@link errors.SupermemoryTimeoutError} * * @example * await client.memories.forget("user_alex", { * ids: ["mem_abc123"] * }) */ forget(namespace: string, request: Supermemory.ForgetMemoriesRequest, requestOptions?: MemoriesClient.RequestOptions): core.HttpResponsePromise; private __forget; /** * Describe what should be forgotten in natural language, then preview or apply the matching set. Use dry-run results with the exact-ID endpoint when you need a reviewable, drift-free workflow. * * @param {string} namespace - Namespace containing the memories to forget. This can be an ID for your user, a project ID, or any other identifier you wish to use to scope memories. * @param {Supermemory.ForgetMatchingMemoriesRequest} request * @param {MemoriesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Supermemory.BadRequestError} * @throws {@link Supermemory.UnauthorizedError} * @throws {@link Supermemory.ForbiddenError} * @throws {@link Supermemory.InternalServerError} * @throws {@link errors.SupermemoryError} * @throws {@link errors.SupermemoryTimeoutError} * * @example * await client.memories.forgetMatching("user_alex", { * query: "everything about the old pricing plans", * dryRun: true * }) */ forgetMatching(namespace: string, request: Supermemory.ForgetMatchingMemoriesRequest, requestOptions?: MemoriesClient.RequestOptions): core.HttpResponsePromise; private __forgetMatching; /** * Retrieve one memory by ID. Optionally include its versions (up to three steps away, nearest first), its direct extends and derives links, up to relatedLimit each, and its source document. * * @param {string} namespace - Namespace containing the memories to forget. This can be an ID for your user, a project ID, or any other identifier you wish to use to scope memories. * @param {string} id - Memory identifier * @param {Supermemory.GetMemoriesRequest} request * @param {MemoriesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Supermemory.BadRequestError} * @throws {@link Supermemory.UnauthorizedError} * @throws {@link Supermemory.ForbiddenError} * @throws {@link Supermemory.NotFoundError} * @throws {@link Supermemory.InternalServerError} * @throws {@link errors.SupermemoryError} * @throws {@link errors.SupermemoryTimeoutError} * * @example * await client.memories.get("user_alex", "mem_abc123") */ get(namespace: string, id: string, request?: Supermemory.GetMemoriesRequest, requestOptions?: MemoriesClient.RequestOptions): core.HttpResponsePromise; private __get; } //# sourceMappingURL=Client.d.ts.map