import { Jf2 } from "@paulrobertlloyd/mf2tojf2"; export interface BaseValueSyndicate { /** * The URL of the syndicated post (e.g. a URL on a social network). * Not all syndicators might return a URL (e.g. when we syndicate to a * Telegram chat/group, we don't get a URL back), so this field is optional. */ syndication?: string; /** * The UID of the syndicator. */ uid: string; } export interface Failure { error: E; value?: undefined; } export interface Success { error?: undefined; value: V; } export type Result = Failure | Success; export interface Syndicator { uid: string; syndicate: (url: string, jf2: Jf2) => Promise>; } //# sourceMappingURL=syndicator.d.ts.map