import { APIResource } from "../core/resource.js"; import { PagePromise, TagsCursor, type TagsCursorParams } from "../core/pagination.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class Tags extends APIResource { /** * List all tags in use for the given `projectId` */ list(query?: TagListParams | null | undefined, options?: RequestOptions): PagePromise; } export type TagListResponsesTagsCursor = TagsCursor; export interface TagListResponse { /** * The tag creation date as an ISO string (example: "2023-02-03T11:19:41.579Z") */ createdAt: string; /** * The number of items that have this tag */ itemCount: number; /** * The owner ID (example: "dcf121faaa1a0a0bbbd9ca1b73d62aea") */ ownerId: string; /** * The tag name */ tagName: string; /** * The tag last update date as an ISO string (example: "2023-02-03T11:19:41.579Z") */ updatedAt: string; } export interface TagListParams extends TagsCursorParams { /** * The number of items to return in the response. The default value is 50, maximum * value is 100, minimum value is 1 */ pageSize?: number; /** * The projectId used for ownership resource management. Either to assert ownership * or to set the owner of the resource(s) */ projectId?: string; } export declare namespace Tags { export { type TagListResponse as TagListResponse, type TagListResponsesTagsCursor as TagListResponsesTagsCursor, type TagListParams as TagListParams, }; } //# sourceMappingURL=tags.d.ts.map