import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements';
import type { string_book } from '../../book-2.0/agent-source/string_book';
import type { BookTranspilerOptions } from './BookTranspilerOptions';
import type { TranspiledTeamExport } from './TranspiledTeamExport';
/**
 * Parsed data shared by SDK-oriented transpilers.
 *
 * @private shared between SDK transpilers
 */
export type PreparedSdkTranspilerContext = {
    /**
     * Parsed agent name used in the generated CLI harness.
     */
    readonly agentName: string;
    /**
     * Fully compiled model requirements generated from the Book source.
     */
    readonly modelRequirements: AgentModelRequirements;
    /**
     * Inline knowledge snippets embedded directly into the generated harness.
     */
    readonly directKnowledge: Array<string>;
    /**
     * Remote or file-based knowledge sources loaded by the generated harness at runtime.
     */
    readonly knowledgeSources: Array<string>;
    /**
     * Tool implementations extracted from commitment definitions and embedded into the harness.
     */
    readonly usedToolFunctions: Record<string, string>;
    /**
     * Whether the transpiler should emit the retrieval-augmented scaffold.
     */
    readonly isKnowledgeHandledWithRetrieval: boolean;
    /**
     * Built-in TEAM hierarchy embedded into the generated harness.
     */
    readonly transpiledTeam: TranspiledTeamExport | null;
};
/**
 * Prepares the common parsed context reused by JavaScript SDK transpilers.
 *
 * @param book - Agent Book source being transpiled.
 * @param options - Optional transpiler hooks such as reference resolvers and built-in TEAM data.
 * @returns Shared transpiler context derived from the Book.
 * @private shared between SDK transpilers
 */
export declare function prepareSdkTranspilerContext(book: string_book, options?: BookTranspilerOptions): Promise<PreparedSdkTranspilerContext>;
