import type { Logger } from 'pino'; import type { PreprocessRequest, RequestMetadata } from '../../preprocess-request.js'; import type { SearchAPIErrorWithStatusCode } from '../search-api-error-response.js'; import type { HtmlRequest } from './html-request.js'; export interface HtmlApiClient { html: (req: HtmlRequest) => Promise<{ success: string; error?: undefined; } | { error: SearchAPIErrorWithStatusCode; success?: undefined; }>; } export interface HtmlAPIClientOptions { logger: Logger; preprocessRequest: PreprocessRequest; requestMetadata?: RequestMetadata; } export declare const buildContentURL: (req: HtmlRequest, path: string) => string; export declare const getHtml: (req: HtmlRequest, options: HtmlAPIClientOptions) => Promise<{ success: string; error?: undefined; } | { error: SearchAPIErrorWithStatusCode; success?: undefined; }>;