import { requestRelevantFiles, requestRelevantFilesForTraining } from '../../../find-files/request-files-prompt';
import { getFileReadingUpdates } from '../../../get-file-reading-updates';
import type { LevelCodeToolCall, LevelCodeToolOutput } from '@levelcode/common/tools/list';
import type { RequestFilesFn } from '@levelcode/common/types/contracts/client';
import type { Logger } from '@levelcode/common/types/contracts/logger';
import type { ParamsExcluding, ParamsOf } from '@levelcode/common/types/function-params';
import type { AgentState } from '@levelcode/common/types/session-state';
import type { ProjectFileContext } from '@levelcode/common/util/file';
export declare const handleFindFiles: (params: {
    previousToolCallFinished: Promise<any>;
    toolCall: LevelCodeToolCall<"find_files">;
    logger: Logger;
    agentState: AgentState;
    agentStepId: string;
    clientSessionId: string;
    fileContext: ProjectFileContext;
    fingerprintId: string;
    repoId: string | undefined;
    userId: string | undefined;
    userInputId: string;
} & ParamsExcluding<typeof requestRelevantFiles, "messages" | "system" | "assistantPrompt"> & ParamsExcluding<typeof uploadExpandedFileContextForTraining, "messages" | "system" | "assistantPrompt"> & ParamsExcluding<typeof getFileReadingUpdates, "requestedFiles">) => Promise<{
    output: LevelCodeToolOutput<"find_files">;
}>;
declare function uploadExpandedFileContextForTraining(params: {
    requestFiles: RequestFilesFn;
} & ParamsOf<typeof requestRelevantFilesForTraining>): Promise<void>;
export {};
