/** * LangChain wrapper for Talor SERP API. * * Follows the same API surface as GoogleSerperAPIWrapper from langchain_community, * so users can swap integrations with minimal code changes. * * Engine schemas are bundled inside the package for full parameter awareness. */ import { EngineSchema } from "./schema"; export interface TalorDataSerpAPIWrapperOptions { talorApiKey?: string; endpoint?: string; engine?: string; gl?: string; hl?: string; device?: string; responseMode?: string; timeout?: number; k?: number; } export interface SearchResult { ok: boolean; status: number; engine?: string; data?: any; raw?: string; } export declare class TalorDataSerpAPIWrapper { private talorApiKey; private endpoint; private engine; private gl; private hl; private device; private responseMode; private timeout; private k; private httpClient; constructor(options?: TalorDataSerpAPIWrapperOptions); private _registry; getEngineSchema(engineKey?: string): EngineSchema | undefined; listEngines(): string[]; engineDescription(engineKey: string): string; engineParamSchema(engineKey: string): Record | null; private _resolveApiKey; private _buildPayload; results(query?: string, engine?: string, kwargs?: Record): Promise; private _stringifyValue; private _unwrapData; private _processResponse; run(query?: string, engine?: string, kwargs?: Record): Promise; private _historyEndpoint; history(options?: { page?: number; pageSize?: number; searchQuery?: string; searchEngine?: string; status?: string; startTime?: number; endTime?: number; timezone?: string; }): Promise; private _statisticsEndpoint; statistics(options: { startDate: string; endDate: string; engines?: string; timezone?: string; }): Promise; } //# sourceMappingURL=wrapper.d.ts.map