import type { FilterParams, NostrFilter } from './types.js'; /** * Build a d-tag from type and identifier. * Type values must not contain colons — the first colon is the delimiter. */ export declare function buildDTag(type: string, identifier: string): string; /** * Build a d-tag for an assertion-only attestation. * Uses the `assertion:` prefix followed by the assertion reference. */ export declare function buildAssertionDTag(ref: string): string; /** * Parse a d-tag into type and identifier. * Returns null if the d-tag does not contain a colon. * For assertion-only attestations (prefix `assertion:`), type is the string "assertion". */ export declare function parseDTag(dTag: string): { type: string; identifier: string; } | null; /** Build a Nostr relay filter for querying attestation events. */ export declare function attestationFilter(params: FilterParams): NostrFilter; /** Build a Nostr relay filter for fetching the latest version of a specific attestation (for revocation checking). */ export declare function revocationFilter(type: string, identifier: string): NostrFilter; /** Build a Nostr relay filter for an assertion-only attestation by its reference. */ export declare function revocationFilter(options: { assertionId?: string; assertionAddress?: string; }): NostrFilter; //# sourceMappingURL=filters.d.ts.map