import { ActionCommittedSignal, EntryRecord, LinkTypeForSignal, SignedTypedActionHashed, ZomeClient } from "@holochain-open-dev/utils"; import { ActionHash, CreateLink, Delete, DeleteLink, HoloHash, Link } from "@holochain/client"; import { AsyncReadable } from "./async-readable.js"; export declare function createLinkToLink(createLink: SignedTypedActionHashed): Link; export declare function collectionStore & any>(client: ZomeClient, fetchCollection: () => Promise, linkType: string, pollIntervalMs?: number): AsyncReadable>; export declare class NotFoundError extends Error { constructor(); } export declare class ConflictingUpdatesError extends Error { conflictingUpdates: Array>; constructor(conflictingUpdates: Array>); } export declare function immutableEntryStore(fetch: () => Promise | undefined>, pollInterval?: number, maxRetries?: number): AsyncReadable>; export declare function latestVersionOfEntryStore & any>(client: ZomeClient, fetchLatestVersion: () => Promise | undefined>, pollIntervalMs?: number): AsyncReadable>; export declare function allRevisionsOfEntryStore & any>(client: ZomeClient, fetchAllRevisions: () => Promise>>, pollIntervalMs?: number): AsyncReadable>>; export declare function deletesForEntryStore & any>(client: ZomeClient, originalActionHash: ActionHash, fetchDeletes: () => Promise>>, pollIntervalMs?: number): AsyncReadable>>; export declare const sortLinksByTimestampAscending: (linkA: Link, linkB: Link) => number; export declare const sortDeletedLinksByTimestampAscending: (linkA: [SignedTypedActionHashed, SignedTypedActionHashed[]], linkB: [SignedTypedActionHashed, SignedTypedActionHashed[]]) => number; export declare const sortActionsByTimestampAscending: (actionA: SignedTypedActionHashed, actionB: SignedTypedActionHashed) => number; export declare function uniquify(array: Array): Array; export declare function uniquifyLinks(links: Array): Array; export declare function liveLinksStore & any>(client: ZomeClient, baseAddress: BASE, fetchLinks: () => Promise>, linkType: LinkTypeForSignal, pollIntervalMs?: number, firstFetchLinks?: () => Promise>): AsyncReadable>; export declare function deletedLinksStore & any>(client: ZomeClient, baseAddress: BASE, fetchDeletedLinks: () => Promise, Array> ]>>, linkType: LinkTypeForSignal, pollIntervalMs?: number): AsyncReadable, Array>]>>; //# sourceMappingURL=holochain.d.ts.map