import type { AgentSourceParseResult } from './AgentSourceParseResult';
import type { string_book } from './string_book';
/**
 * Parses agent source using the new commitment system with multiline support
 * This function replaces the hardcoded commitment parsing in the original parseAgentSource
 *
 * The first non-empty line is always consumed as plain-text agent name. Commitment parsing
 * starts only after that title line has been fixed.
 *
 * @private internal utility of `parseAgentSource`
 */
export declare function parseAgentSourceWithCommitments(agentSource: string_book): Omit<AgentSourceParseResult, 'agentHash'>;
