import { getAuthorNameFromWire } from "../../../../publications/publication-author.js"; import type { LocalCommunity } from "../local-community.js"; export type AuthorIdentityMatcher = { signerAddress: string; wireName: string | undefined; /** Does `identity` (a key-derived address or a domain) refer to this publication's author? */ matchesIdentity: (identity: string) => Promise; /** Does any of `identities` refer to this publication's author? Resolves the wire name at most once. */ matchesAnyIdentity: (identities: Iterable) => Promise; }; export declare function createAuthorIdentityMatcher({ community, publication }: { community: Pick; publication: { author?: Parameters[0]; signature: { publicKey: string; }; }; }): AuthorIdentityMatcher;