import type { ArkmeSourceItem } from '../types.js'; import type { BuiltinConversation } from './builtin-directory-preferences.js'; type Page = { items: T[]; cursor?: string; warning?: string; }; /** Read-only pagination, isolated per mounted account and source. Failed pages retain visible content. */ export declare function useBuiltinPreviewPage(read: (cursor: string | undefined, signal: AbortSignal) => Promise>, key: (item: T) => string): { page: Page | undefined; loading: boolean; error: string; more: () => Promise; retry: () => Promise; }; /** Intentionally never mount the composer, native iframe or acknowledgement owners. */ export declare function BuiltinConversationPreview({ kind, name, selfSource, onClose }: { kind: BuiltinConversation; name: string; selfSource?: ArkmeSourceItem | undefined; onClose(): void; }): import("react").ReactPortal | null; export {}; //# sourceMappingURL=BuiltinConversationPreview.d.ts.map