import type { LevelCodeToolCall, LevelCodeToolOutput } from '@levelcode/common/tools/list';
import type { ClientEnv, CiEnv } from '@levelcode/common/types/contracts/env';
import type { Logger } from '@levelcode/common/types/contracts/logger';
export declare const handleWebSearch: (params: {
    previousToolCallFinished: Promise<void>;
    toolCall: LevelCodeToolCall<"web_search">;
    logger: Logger;
    apiKey: string;
    agentStepId: string;
    clientSessionId: string;
    fingerprintId: string;
    repoId: string | undefined;
    repoUrl: string | undefined;
    userInputId: string;
    userId: string | undefined;
    fetch: typeof globalThis.fetch;
    clientEnv: ClientEnv;
    ciEnv: CiEnv;
}) => Promise<{
    output: LevelCodeToolOutput<"web_search">;
    creditsUsed: number;
}>;
