import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; import { PageIterator } from "../types/operations.js"; export declare class Observability extends ClientSDK { /** * List observability destinations * * @remarks * List the observability destinations configured for the authenticated entity's default workspace, or a workspace-scoped management key's own workspace. Use the `workspace_id` query parameter to scope the result to a different workspace. A workspace-scoped management key can only list its own workspace; any other `workspace_id` returns 403. Only destinations with stable release status are surfaced — destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required. */ list(request?: operations.ListObservabilityDestinationsRequest | undefined, options?: RequestOptions): Promise>; /** * Create an observability destination * * @remarks * Create a new observability destination. A maximum of 5 enabled destinations per workspace, across all types, is allowed; disabled destinations do not count. A workspace already above the cap keeps its enabled destinations but cannot create or enable more until fewer than 5 are enabled. Defaults to the authenticated entity's default workspace, or a workspace-scoped management key's own workspace; use the `workspace_id` body field to scope to a different workspace. A workspace-scoped management key can only create in its own workspace; any other `workspace_id` returns 403. [Management key](/docs/guides/overview/auth/management-api-keys) required. */ create(request: operations.CreateObservabilityDestinationRequest, options?: RequestOptions): Promise; /** * Delete an observability destination * * @remarks * Delete an existing observability destination. This performs a soft delete. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. */ delete(request: operations.DeleteObservabilityDestinationRequest, options?: RequestOptions): Promise; /** * Get an observability destination * * @remarks * Fetch a single observability destination by its UUID. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. */ get(request: operations.GetObservabilityDestinationRequest, options?: RequestOptions): Promise; /** * Update an observability destination * * @remarks * Update an existing observability destination. Only the fields provided in the request body are updated. Enabling a disabled destination returns 400 while the workspace already has 5 enabled destinations. A workspace-scoped management key only reaches destinations in its own workspace; any other `id` returns 404. [Management key](/docs/guides/overview/auth/management-api-keys) required. */ update(request: operations.UpdateObservabilityDestinationRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=observability.d.ts.map