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 OrganizationClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } /** * Read and update organization-wide settings */ export declare class OrganizationClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: OrganizationClient.Options); /** * Read the shared background that guides memory formation across the organization, together with the number of active namespaces. * * @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Supermemory.UnauthorizedError} * @throws {@link Supermemory.ForbiddenError} * @throws {@link Supermemory.InternalServerError} * @throws {@link errors.SupermemoryError} * @throws {@link errors.SupermemoryTimeoutError} * * @example * await client.organization.get() */ get(requestOptions?: OrganizationClient.RequestOptions): core.HttpResponsePromise; private __get; /** * Give Supermemory organization-wide background that improves how content is interpreted across every namespace. Send null to remove the existing context. * * @param {Supermemory.UpdateOrganizationRequest} request * @param {OrganizationClient.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.organization.update({ * organizationalContext: null * }) */ update(request: Supermemory.UpdateOrganizationRequest, requestOptions?: OrganizationClient.RequestOptions): core.HttpResponsePromise; private __update; } //# sourceMappingURL=Client.d.ts.map