import { PromptCompletionModel, EmbeddingsModel } from "alphawave"; import { AxiosRequestConfig } from "axios"; import { SchemaBasedCommand } from "../SchemaBasedCommand"; import { TaskContext } from "../types"; export type WebPageParseMode = "text" | "markdown" | "html"; export interface WebPageSearchCommandOptions { model: PromptCompletionModel; embeddings: EmbeddingsModel; axios_config?: Omit; chunk_size?: number; chunk_overlap?: number; headers?: Record; parse_mode?: WebPageParseMode; max_input_tokens?: number; } export interface WebPageSearchCommandInput { url: string; query?: string; } export interface WebPageSearchResult { url: string; answered: boolean; answer?: string; next_page?: string; error?: string; } export declare class WebPageSearchCommand extends SchemaBasedCommand { private readonly _options; constructor(options: WebPageSearchCommandOptions, title?: string, description?: string); execute(context: TaskContext, input: WebPageSearchCommandInput): Promise; private fetchPageText; private getTextChunks; } //# sourceMappingURL=WebPageSearchCommand.d.ts.map