/**
 * Two-phase tool loading: {@link getActors} fetches Actor metadata (async, mode-agnostic);
 * {@link loadToolsFromInput} runs both in sequence.
 */
import type { ApifyClient } from 'apify-client';
import type { ActorStore, Input, ToolEntry } from '../types.js';
import { ServerMode } from '../types.js';
/** Fetch Actor tool entries for all Actor names in `input`. */
export declare function getActors(input: Input, apifyClient: ApifyClient, actorStore?: ActorStore): Promise<ToolEntry[]>;
/** Build a restore {@link Input} from concrete tool names: internal names → `tools`, actor names → `actors`. */
export declare function toolNamesToInput(toolNames: string[]): Input;
/** Compose the final tool list from pre-fetched actor tools and the original input for the given mode. */
export declare function getToolsForServerMode(input: Input, actorTools: ToolEntry[], mode?: ServerMode): ToolEntry[];
/** Convenience wrapper: {@link getActors} + {@link getToolsForServerMode} in sequence. */
export declare function loadToolsFromInput(input: Input, apifyClient: ApifyClient, mode?: ServerMode, actorStore?: ActorStore): Promise<ToolEntry[]>;
//# sourceMappingURL=tools_loader.d.ts.map