import { APIResource } from "../../core/resource.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class Documents extends APIResource { /** * Update a conversation document's status, number of chunks, and optional message * information. */ update(documentID: string, params: DocumentUpdateParams, options?: RequestOptions): APIPromise; } export type DocumentUpdateResponse = { [key: string]: unknown; }; export interface DocumentUpdateParams { /** * Body param */ number_of_chunks: number; /** * Body param */ status: string; /** * Body param */ error_type?: string | null; /** * Body param */ message?: string | null; /** * 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 declare namespace Documents { export { type DocumentUpdateResponse as DocumentUpdateResponse, type DocumentUpdateParams as DocumentUpdateParams, }; } //# sourceMappingURL=documents.d.mts.map