import type { ApiProvider, NunjucksFilterMap, Prompt } from './types';
export type FileMetadata = Record<string, {
    path: string;
    type: string;
    format?: string;
}>;
export declare function extractTextFromPDF(pdfPath: string): Promise<string>;
export declare function resolveVariables(variables: Record<string, string | object>): Record<string, string | object>;
/**
 * Collects metadata about file variables in the vars object.
 * @param vars The variables object containing potential file references
 * @returns An object mapping variable names to their file metadata
 */
export declare function collectFileMetadata(vars: Record<string, string | object>): FileMetadata;
export declare function renderPrompt(prompt: Prompt, vars: Record<string, string | object>, nunjucksFilters?: NunjucksFilterMap, provider?: ApiProvider, skipRenderVars?: string[]): Promise<string>;
/**
 * Runs extension hooks for the given hook name and context.
 * @param extensions - An array of extension paths, or null.
 * @param hookName - The name of the hook to run.
 * @param context - The context object to pass to the hook.
 * @returns A Promise that resolves when all hooks have been run.
 */
export declare function runExtensionHook(extensions: string[] | null | undefined, hookName: string, context: any): Promise<void>;
//# sourceMappingURL=evaluatorHelpers.d.ts.map