/**
 * Transform: app.ts → src/index.ts
 *
 * Converts a v2 createApp()-based entry point into a plain Hono application
 * with agentuity() middleware.
 *
 * Strategy: rather than doing complex AST surgery on the user's file, we
 * generate a clean src/index.ts from the detection data and leave the old
 * app.ts intact (caller deletes it after confirming).  This avoids edge cases
 * with custom formatting and gives users a clean starting point.
 */
import type { V3DetectionResult } from '../../detect-v3';
export interface EntryPointTransformResult {
    /** Generated source for src/index.ts, or null if skipped */
    source: string | null;
    /** What was changed */
    changes: string[];
}
/**
 * Generate a new src/index.ts from the detection result.
 */
export declare function generateEntryPoint(detection: V3DetectionResult): EntryPointTransformResult;
//# sourceMappingURL=entry-point.d.ts.map