export type HappierReplayStrategy = 'recent_messages' | 'summary_plus_recent';
export type HappierReplayDialogItem = Readonly<{
    role: 'User' | 'Assistant';
    createdAt: number;
    text: string;
}>;
export declare function buildHappierReplayPromptFromDialog(params: Readonly<{
    previousSessionId: string;
    dialog: readonly HappierReplayDialogItem[];
    strategy: HappierReplayStrategy;
    recentMessagesCount: number;
    summaryText?: string | null;
    /**
     * Best-effort cap on the total replay seed prompt size.
     *
     * When provided, the builder will shrink the `Recent transcript:` tail (dropping the oldest
     * items first) until the total prompt length fits under this budget.
     */
    maxPromptChars?: number | null;
}>): string;
//# sourceMappingURL=happierReplayPrompt.d.ts.map