/** * Perplexity Provider Implementation * * Perplexity uses an OpenAI-compatible API format. * This provider extends OpenAIProvider with the correct name identifier. * * NOTE: Perplexity does NOT have a /models endpoint, so health check uses chat completion. */ import { OpenAIProvider } from './openai.js'; import type { ProviderConfig } from './types.js'; /** * Perplexity API provider adapter. * * Uses OpenAI-compatible API format with Perplexity endpoints. * Provides web search grounded responses with citations. * * Default base URL: https://api.perplexity.ai * Available models: sonar-deep-research, sonar-reasoning-pro, sonar-reasoning, sonar-pro, sonar, r1-1776 */ export declare class PerplexityProvider extends OpenAIProvider { readonly name = "perplexity"; constructor(config: ProviderConfig); /** * Check if the provider is available and configured correctly. * Perplexity does NOT have a /models endpoint, so we use a minimal chat completion test. */ healthCheck(): Promise; /** * Get the base URL for API requests. * Exposed as protected method for use in healthCheck. */ protected getBaseUrl(defaultUrl: string): string; } //# sourceMappingURL=perplexity.d.ts.map