import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class Title extends APIResource { /** * Generate a title for an existing conversation based on its content. */ generate(conversationID: string, params?: TitleGenerateParams | null | undefined, options?: RequestOptions): APIPromise; } export type TitleGenerateResponse = { [key: string]: unknown; }; export interface TitleGenerateParams { /** * Body param */ anonymize_lm?: boolean; /** * Body param */ message?: string; /** * 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 Title { export { type TitleGenerateResponse as TitleGenerateResponse, type TitleGenerateParams as TitleGenerateParams, }; } //# sourceMappingURL=title.d.ts.map