import { APIResource } from "../core/resource.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class Tags extends APIResource { /** * Get the list of all tags (from agents and blocks) that have been created. */ list(query?: TagListParams | null | undefined, options?: RequestOptions): APIPromise; } export type TagListResponse = Array; export interface TagListParams { /** * Tag cursor for pagination. Returns tags that come after this tag in the * specified sort order */ after?: string | null; /** * Tag cursor for pagination. Returns tags that come before this tag in the * specified sort order */ before?: string | null; /** * Maximum number of tags to return */ limit?: number | null; /** * Filter tags by name */ name?: string | null; /** * Sort order for tags. 'asc' for alphabetical order, 'desc' for reverse * alphabetical order */ order?: 'asc' | 'desc'; /** * Field to sort by */ order_by?: 'name'; /** * @deprecated Filter tags by text search. Deprecated, please use name field * instead */ query_text?: string | null; } export declare namespace Tags { export { type TagListResponse as TagListResponse, type TagListParams as TagListParams }; } //# sourceMappingURL=tags.d.mts.map