export declare const DEFAULT_MESSAGES_PAGE_SIZE = 20; interface UseMessagesInfiniteOptions { /** * By default messages are only fetched for chats registered in the store's * chat list (guards against fetching for local draft keys). Subagent chats * are real server chats that never appear in that list, so their previews * opt out of the check. */ requireRegisteredChat?: boolean; /** * Set false to defer fetching (e.g. a collapsed preview that hasn't been * opened yet). Already-fetched data stays available. Defaults to true. */ enabled?: boolean; } export declare const useMessagesInfinite: (chatId: string | undefined, options?: UseMessagesInfiniteOptions) => import('@tanstack/react-query').UseInfiniteQueryResult, Error>; export {}; //# sourceMappingURL=useMessagesInfinite.d.ts.map