import type { ArkmePrivateInteractionDirectoryPage, ArkmeSourceItem } from '../types.js'; type ReadPriority = 'background' | 'foreground'; /** Automatic events coalesce; an explicit retry can replace a background read. */ export declare function watchPrivateInteractionDirectory({ read, publish, subscribe, delay }: { read: (cursor: string | undefined, version: string | undefined, signal: AbortSignal, priority: ReadPriority) => Promise; publish: (rows: ArkmeSourceItem[], error?: string) => void; subscribe: (invalidate: () => void) => () => void; delay?: number; }): { dispose(): void; retry(): void; }; export declare function usePrivateInteractionDirectory(accountKey: string | undefined, enabled: boolean): { retry: () => void; accountKey?: string; rows: ArkmeSourceItem[]; error?: string; }; export {}; //# sourceMappingURL=use-private-interaction-directory.d.ts.map