/**
 * Order reader for retry/instruct modes.
 *
 * Reads the previous order.md from a run's context directory
 * to inject into conversation system prompts.
 */
/**
 * Find and read the previous order.md content from a run directory.
 *
 * When runSlug is provided, reads directly from that run's context.
 * When runSlug is null, scans .takt/runs/ directories in reverse order
 * and returns the first order.md found.
 *
 * @returns The order.md content, or null if not found.
 */
export declare function findPreviousOrderContent(worktreeCwd: string, runSlug: string | null): string | null;
//# sourceMappingURL=orderReader.d.ts.map