import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { PageIterator } from "../types/operations.js"; export declare class Links extends ClientSDK { /** * Retrieve a list of links * * @remarks * Retrieve a paginated list of links for the authenticated workspace. */ list(request?: operations.GetLinksRequest | undefined, options?: RequestOptions): Promise>; /** * Create a link * * @remarks * Create a link for the authenticated workspace. */ create(request?: operations.CreateLinkRequestBody | undefined, options?: RequestOptions): Promise; /** * Retrieve links count * * @remarks * Retrieve the number of links for the authenticated workspace. */ count(request?: operations.GetLinksCountRequest | undefined, options?: RequestOptions): Promise; /** * Retrieve a link * * @remarks * Retrieve the info for a link. */ get(request?: operations.GetLinkInfoRequest | undefined, options?: RequestOptions): Promise; /** * Delete a link * * @remarks * Delete a link for the authenticated workspace. */ delete(linkId: string, options?: RequestOptions): Promise; /** * Update a link * * @remarks * Update a link for the authenticated workspace. If there's no change, returns it as it is. */ update(linkId: string, requestBody?: operations.UpdateLinkRequestBody | undefined, options?: RequestOptions): Promise; /** * Bulk create links * * @remarks * Bulk create up to 100 links for the authenticated workspace. */ createMany(request?: Array | undefined, options?: RequestOptions): Promise>; /** * Bulk delete links * * @remarks * Bulk delete up to 100 links for the authenticated workspace. */ deleteMany(request: operations.BulkDeleteLinksRequest, options?: RequestOptions): Promise; /** * Bulk update links * * @remarks * Bulk update up to 100 links with the same data for the authenticated workspace. */ updateMany(request?: operations.BulkUpdateLinksRequestBody | undefined, options?: RequestOptions): Promise>; /** * Upsert a link * * @remarks * Upsert a link for the authenticated workspace by its URL. If a link with the same URL already exists, return it (or update it if there are any changes). Otherwise, a new link will be created. */ upsert(request?: operations.UpsertLinkRequestBody | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=links.d.ts.map