import type { fetchContext7LibraryDocumentation } from '../../../llm-api/context7-api';
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';
import type { ParamsExcluding } from '@levelcode/common/types/function-params';
export declare const handleReadDocs: (params: {
    previousToolCallFinished: Promise<void>;
    toolCall: LevelCodeToolCall<"read_docs">;
    agentStepId: string;
    clientSessionId: string;
    fingerprintId: string;
    logger: Logger;
    repoId: string | undefined;
    userId: string | undefined;
    userInputId: string;
    clientEnv: ClientEnv;
    ciEnv: CiEnv;
} & ParamsExcluding<typeof fetchContext7LibraryDocumentation, "query" | "topic" | "tokens">) => Promise<{
    output: LevelCodeToolOutput<"read_docs">;
    creditsUsed: number;
}>;
