import { APIResource } from "../core/resource.js"; import { APIPromise } from "../core/api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; /** * User-created labels that organize chats */ export declare class BaseLabels extends APIResource { static readonly _key: readonly ['labels']; /** * List the labels the user has created for organizing chats. Filter chats by label * via GET /v1/chats/search with labelID. */ list(options?: RequestOptions): APIPromise; } /** * User-created labels that organize chats */ export declare class Labels extends BaseLabels { } /** * A user-created label that organizes chats across accounts. */ export interface Label { /** * Unique identifier of the label. */ id: string; /** * Display name of the label. */ name: string; } /** * Labels the user has created, sorted by name. */ export type LabelListResponse = Array