import type { string_book } from '../book-2.0/agent-source/string_book';
import { Book } from './Book';
/**
 * Book source value accepted by Node-backed Book agents.
 *
 * @public exported from `@promptbook/node`
 */
export type BookNodeAgentSource = Book | string_book;
/**
 * Common source options shared by Node-backed Book agents.
 *
 * Provide either `agentPath` or `book`.
 *
 * @public exported from `@promptbook/node`
 */
export type BookNodeAgentSourceOptions = {
    readonly agentPath?: string;
    readonly book?: string | BookNodeAgentSource;
    readonly currentWorkingDirectory?: string;
};
/**
 * Normalized source snapshot used internally by Node-backed Book agents.
 *
 * @private internal utility of `CliAgent` and `LiteAgent`
 */
export type ResolvedBookNodeAgentSource = {
    readonly agentName: string;
    readonly agentPath: string | null;
    readonly agentSource: string_book;
    readonly currentWorkingDirectory: string;
    readonly sourceDirectoryPath: string;
};
/**
 * Resolves shared Node-backed Book source options into one normalized source snapshot.
 *
 * @private internal utility of `CliAgent` and `LiteAgent`
 */
export declare function resolveBookNodeAgentSource(options: BookNodeAgentSourceOptions): Promise<ResolvedBookNodeAgentSource>;
