import type { ChatHistoryPage, ChatHistoryRole } from "../context/ChatHistoryContext.js"; import type { Message } from "../types.js"; export declare function selectChatHistoryPage(messages: readonly Message[], options: { cursor?: number; from?: "end" | "start"; limit: number; query?: string; roles?: readonly ChatHistoryRole[]; }): Pick;