/** * Composes the world-readable share URL for one document in a public * (plaintext) collection. The returned URL is what an unauthenticated reader * fetches (e.g. via `WasClient.publicRead`) to consume the share link, and it * is stable across edits because a public collection stores the payload under * its own logical uuid. Requires an open store and a wallet-connected session, * and throws (fails closed) on a non-public / unprovisioned collection or an * empty id. The URL resolves publicly only once the document has replicated to * the server -- a locally-inserted doc shares after the next sync push. * * @param options {object} * @param options.collectionKey {string} the app-side local collection key * @param options.id {string} the document's logical uuid * @returns {string} */ export declare function publicUrlFor({ collectionKey, id }: { collectionKey: string; id: string; }): string; //# sourceMappingURL=publicUrl.d.ts.map