import { Resource } from "../resource.js"; import type { GuardrailConfig, GuardrailProvider, GuardrailProviderCreateParams, GuardrailTemplate, GuardrailTestResult } from "../types.js"; export declare class Guardrails extends Resource { /** List available guardrail providers (built-in + external). */ providers(): Promise<{ providers: GuardrailProvider[]; }>; /** List well-known provider templates (Lakera, Pangea, etc.). */ templates(): Promise<{ templates: GuardrailTemplate[]; }>; /** Register an external guardrail provider. */ registerProvider(params: GuardrailProviderCreateParams): Promise<{ id: string; name: string; endpoint: string; status: string; }>; /** Remove an external guardrail provider. */ removeProvider(id: string): Promise<{ id: string; status: string; }>; /** Get the tenant's guardrail pipeline config. */ getConfig(): Promise<{ config: GuardrailConfig; }>; /** Update the tenant's guardrail pipeline config. */ updateConfig(config: GuardrailConfig): Promise<{ config: GuardrailConfig; status: string; }>; /** Test the guardrail pipeline with sample text. */ test(text: string, providers?: string[]): Promise; }