import type { FlowMetadata } from '../../../models/FlowMetadata';
import type { ProposedToolCall } from '../../../models/ProposedToolCall';
import type { PageAiCacheEntry } from './cache';
/**
 * Utility for translating flow metadata into cache entries. By centralising the
 * logic here, both the runtime (`PageAi`) and the code generator can build
 * matching cache files without duplicating knowledge about the schema.
 */
export declare class PageAiCacheEntryBuilder {
    /**
     * Produces a cache entry that mirrors the format persisted by the runtime.
     */
    static fromMetadata(pageUrl: string, metadata: Pick<FlowMetadata, 'overallObjective' | 'resultJsonSchema' | 'allowedTools' | 'maxToolCalls' | 'envVars'>, toolCallCache: ProposedToolCall[]): PageAiCacheEntry;
}
//# sourceMappingURL=cacheEntryBuilder.d.ts.map