import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class MemoryPreference extends APIResource { /** * Update user memory preference status. */ update(params: MemoryPreferenceUpdateParams, options?: RequestOptions): APIPromise; /** * Get user memory preference status. */ list(params?: MemoryPreferenceListParams | null | undefined, options?: RequestOptions): APIPromise; } /** * Response model for memory preference. * * Attributes: use_memory (bool): Whether memory is enabled for the user. */ export interface UserMemoryPreferenceResponse { /** * Whether memory is enabled for the user */ use_memory: boolean; } export interface MemoryPreferenceUpdateParams { /** * Body param: Whether to enable memory for the user */ use_memory: boolean; /** * Header param */ 'Accept-Language'?: string; /** * Header param: Set to `structured` to receive errors in the structured envelope. * Omit it to keep the legacy error body. */ 'X-Error-Format'?: string; } export interface MemoryPreferenceListParams { 'Accept-Language'?: string; 'If-None-Match'?: string; /** * Set to `structured` to receive errors in the structured envelope. Omit it to * keep the legacy error body. */ 'X-Error-Format'?: string; } export declare namespace MemoryPreference { export { type UserMemoryPreferenceResponse as UserMemoryPreferenceResponse, type MemoryPreferenceUpdateParams as MemoryPreferenceUpdateParams, type MemoryPreferenceListParams as MemoryPreferenceListParams, }; } //# sourceMappingURL=memory-preference.d.ts.map