/// import { Decimal, DocumentLoader, DocumentLoader as DocumentLoader$1, GetUserAgentOptions, GetUserAgentOptions as GetUserAgentOptions$1, LanguageString, LanguageString as LanguageString$1, RemoteDocument } from "@fedify/vocab-runtime"; import { Span, TracerProvider } from "@opentelemetry/api"; //#region src/vocab.d.ts /** Describes an object of any kind. The Object type serves as the base type for * most of the other kinds of objects defined in the Activity Vocabulary, * including other Core types such as {@link Activity}, * {@link IntransitiveActivity}, {@link Collection} and * {@link OrderedCollection}. */ declare class Object$1 { #private; readonly id: URL | null; protected get _documentLoader(): DocumentLoader$1 | undefined; protected get _contextLoader(): DocumentLoader$1 | undefined; protected get _tracerProvider(): TracerProvider | undefined; protected get _warning(): { category: string[]; message: string; values?: Record; } | undefined; protected get _cachedJsonLd(): unknown | undefined; protected set _cachedJsonLd(value: unknown | undefined); /** * The type URI of {@link Object}: `https://www.w3.org/ns/activitystreams#Object`. */ static get typeId(): URL; /** * Constructs a new instance of Object with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Object$1; /** * Similar to * {@link Object.getAttachments}, * but returns their `@id`s instead of the objects themselves. */ get attachmentIds(): URL[]; /** Identifies a resource attached or related to an object that potentially * requires special handling. The intent is to provide a model that is at * least semantically similar to attachments in email. */ getAttachments(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Object.getAttribution}, * but returns its `@id` URL instead of the object itself. */ get attributionId(): URL | null; /** Identifies one or more entities to which this object is attributed. * The attributed entities might not be Actors. For instance, * an object might be attributed to the completion of another activity. */ getAttribution(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getAttributions}, * but returns their `@id`s instead of the objects themselves. */ get attributionIds(): URL[]; /** Identifies one or more entities to which this object is attributed. * The attributed entities might not be Actors. For instance, * an object might be attributed to the completion of another activity. */ getAttributions(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Object.getAudience}, * but returns its `@id` URL instead of the object itself. */ get audienceId(): URL | null; /** Identifies one or more entities that represent the total population of * entities for which the object can considered to be relevant. */ getAudience(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getAudiences}, * but returns their `@id`s instead of the objects themselves. */ get audienceIds(): URL[]; /** Identifies one or more entities that represent the total population of * entities for which the object can considered to be relevant. */ getAudiences(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** The content or textual representation of the Object encoded as a JSON * string. By default, the value of `content` is HTML. The `mediaType` * property can be used in the object to indicate a different content type. * * The content MAY be expressed using multiple language-tagged values. */ get content(): string | LanguageString$1 | null; /** The content or textual representation of the Object encoded as a JSON * string. By default, the value of `content` is HTML. The `mediaType` * property can be used in the object to indicate a different content type. * * The content MAY be expressed using multiple language-tagged values. */ get contents(): ((string | LanguageString$1))[]; /** * Similar to * {@link Object.getContexts}, * but returns their `@id`s instead of the objects themselves. */ get contextIds(): URL[]; /** Identifies the context within which the object exists or an activity was * performed. * * The notion of "context" used is intentionally vague. The intended function * is to serve as a means of grouping objects and activities that share * a common originating context or purpose. An example could be all activities * relating to a common project or event. */ getContexts(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** A simple, human-readable, plain-text name for the object. HTML markup MUST * NOT be included. The name MAY be expressed using multiple language-tagged * values. */ get name(): string | LanguageString$1 | null; /** A simple, human-readable, plain-text name for the object. HTML markup MUST * NOT be included. The name MAY be expressed using multiple language-tagged * values. */ get names(): ((string | LanguageString$1))[]; /** The date and time describing the actual or expected ending time of * the object. When used with an {@link Activity} object, for instance, * the `endTime`` property specifies the moment the activity concluded * or is expected to conclude. */ get endTime(): Temporal.Instant | null; /** * Similar to * {@link Object.getGenerators}, * but returns their `@id`s instead of the objects themselves. */ get generatorIds(): URL[]; /** Identifies the entity (e.g. an application) that generated the object. */ getGenerators(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Object.getIcon}, * but returns its `@id` URL instead of the object itself. */ get iconId(): URL | null; /** Indicates an entity that describes an icon for this object. * The image should have an aspect ratio of one (horizontal) to one * (vertical) and should be suitable for presentation at a small size. */ getIcon(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getIcons}, * but returns their `@id`s instead of the objects themselves. */ get iconIds(): URL[]; /** Indicates an entity that describes an icon for this object. * The image should have an aspect ratio of one (horizontal) to one * (vertical) and should be suitable for presentation at a small size. */ getIcons(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Object.getImage}, * but returns its `@id` URL instead of the object itself. */ get imageId(): URL | null; /** Indicates an entity that describes an image for this object. * Unlike the icon property, there are no aspect ratio or display size * limitations assumed. */ getImage(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getImages}, * but returns their `@id`s instead of the objects themselves. */ get imageIds(): URL[]; /** Indicates an entity that describes an image for this object. * Unlike the icon property, there are no aspect ratio or display size * limitations assumed. */ getImages(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Object.getReplyTarget}, * but returns its `@id` URL instead of the object itself. */ get replyTargetId(): URL | null; /** Indicates one or more entities for which this object is considered * a response. */ getReplyTarget(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getReplyTargets}, * but returns their `@id`s instead of the objects themselves. */ get replyTargetIds(): URL[]; /** Indicates one or more entities for which this object is considered * a response. */ getReplyTargets(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Object.getLocation}, * but returns its `@id` URL instead of the object itself. */ get locationId(): URL | null; /** Indicates one or more physical or logical locations associated with * the object. */ getLocation(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getLocations}, * but returns their `@id`s instead of the objects themselves. */ get locationIds(): URL[]; /** Indicates one or more physical or logical locations associated with * the object. */ getLocations(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Object.getPreview}, * but returns its `@id` URL instead of the object itself. */ get previewId(): URL | null; /** Identifies an entity that provides a preview of this object. */ getPreview(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getPreviews}, * but returns their `@id`s instead of the objects themselves. */ get previewIds(): URL[]; /** Identifies an entity that provides a preview of this object. */ getPreviews(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** The date and time at which the object was published. */ get published(): Temporal.Instant | null; /** * Similar to * {@link Object.getReplies}, * but returns its `@id` URL instead of the object itself. */ get repliesId(): URL | null; /** Identifies a {@link Collection} containing objects considered to be * responses to this object. */ getReplies(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getShares}, * but returns its `@id` URL instead of the object itself. */ get sharesId(): URL | null; /** Every object *may* have a `shares` collection. This is a list of all * {@link Announce} activities with this object as the `object` property, * added as a [side effect]. The `shares` collection *must* be either * an {@link OrderedCollection} or a {@link Collection} and *may* be filtered * on privileges of an authenticated user or as appropriate * when no authentication is given. * * [side effect]: https://www.w3.org/TR/activitypub/#announce-activity-inbox */ getShares(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getLikes}, * but returns its `@id` URL instead of the object itself. */ get likesId(): URL | null; /** Every object *may* have a `likes` collection. This is a list of all * {@link Like} activities with this object as the `object` property, * added as a [side effect]. The `likes` collection *must* be either * an {@link OrderedCollection} or a {@link Collection} and *may* be filtered * on privileges of an authenticated user or as appropriate * when no authentication is given. * * [side effect]: https://www.w3.org/TR/activitypub/#announce-activity-inbox */ getLikes(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getEmojiReactions}, * but returns its `@id` URL instead of the object itself. */ get emojiReactionsId(): URL | null; /** Identifies a {@link Collection} containing objects considered to be * emoji reactions to this object. */ getEmojiReactions(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** The date and time describing the actual or expected starting time of * the object. When used with an {@link Activity} object, for instance, * the `startTime` property specifies the moment the activity began or * is scheduled to begin. */ get startTime(): Temporal.Instant | null; /** A natural language summarization of the object encoded as HTML. * Multiple language tagged summaries MAY be provided. */ get summary(): string | LanguageString$1 | null; /** A natural language summarization of the object encoded as HTML. * Multiple language tagged summaries MAY be provided. */ get summaries(): ((string | LanguageString$1))[]; /** * Similar to * {@link Object.getTags}, * but returns their `@id`s instead of the objects themselves. */ get tagIds(): URL[]; /** One or more "tags" that have been associated with an objects. * A tag can be any kind of Object. The key difference between `attachment` * and `tag` is that the former implies association by inclusion, * while the latter implies associated by reference. */ getTags(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** The date and time at which the object was updated. */ get updated(): Temporal.Instant | null; /** Identifies one or more links to representations of the object. */ get url(): URL | Link | null; /** Identifies one or more links to representations of the object. */ get urls(): ((URL | Link))[]; /** * Similar to * {@link Object.getTo}, * but returns its `@id` URL instead of the object itself. */ get toId(): URL | null; /** Identifies an entity considered to be part of the public primary audience * of an Object. */ getTo(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getTos}, * but returns their `@id`s instead of the objects themselves. */ get toIds(): URL[]; /** Identifies an entity considered to be part of the public primary audience * of an Object. */ getTos(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Object.getBto}, * but returns its `@id` URL instead of the object itself. */ get btoId(): URL | null; /** Identifies an Object that is part of the private primary audience of * this Object. */ getBto(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getBtos}, * but returns their `@id`s instead of the objects themselves. */ get btoIds(): URL[]; /** Identifies an Object that is part of the private primary audience of * this Object. */ getBtos(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Object.getCc}, * but returns its `@id` URL instead of the object itself. */ get ccId(): URL | null; /** Identifies an Object that is part of the public secondary audience of * this Object. */ getCc(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getCcs}, * but returns their `@id`s instead of the objects themselves. */ get ccIds(): URL[]; /** Identifies an Object that is part of the public secondary audience of * this Object. */ getCcs(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Object.getBcc}, * but returns its `@id` URL instead of the object itself. */ get bccId(): URL | null; /** Identifies one or more Objects that are part of the private secondary * audience of this Object. */ getBcc(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getBccs}, * but returns their `@id`s instead of the objects themselves. */ get bccIds(): URL[]; /** Identifies one or more Objects that are part of the private secondary * audience of this Object. */ getBccs(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** When used on an {@link Object}, identifies the MIME media type of the value * of the `content` property. If not specified, the `content` property is * assumed to contain `text/html` content. */ get mediaType(): string | null; /** When the object describes a time-bound resource, such as an audio or video, * a meeting, etc, the `duration` property indicates the object's approximate * duration. The value MUST be expressed as an `xsd:duration` as defined by * W3C XML Schema Definition Language (XSD) 1.1 Part 2: DataTypes, section * 3.3.6 (e.g. a period of 5 seconds is represented as `PT5S`). */ get duration(): Temporal.Duration | null; /** Whether it contains any sensitive contents. */ get sensitive(): boolean | null; /** The `source` property is intended to convey some sort of source from which * the `content` markup was derived, as a form of provenance, or to support * future editing by clients. In general, clients do the conversion from * `source` to `content`, not the other way around. */ get source(): Source | null; /** * Similar to * {@link Object.getProof}, * but returns its `@id` URL instead of the object itself. */ get proofId(): URL | null; /** A cryptographic proof that can be used to verify the integrity of an object. */ getProof(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getProofs}, * but returns their `@id`s instead of the objects themselves. */ get proofIds(): URL[]; /** A cryptographic proof that can be used to verify the integrity of an object. */ getProofs(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** The interaction policy for this object, specifying who can like, reply to, * announce, or quote it. Contains sub-policies (`canLike`, `canReply`, * `canAnnounce`, `canQuote`) each defining `automaticApproval` and * `manualApproval` lists. * * When absent, implementations should assume anyone can interact with * the object. Setting this property signals that the server understands * and will enforce interaction controls. * * See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/) * for details. */ get interactionPolicy(): InteractionPolicy | null; /** A URI referencing an authorization object that proves this interaction * was approved by the target post's author. */ get approvedBy(): URL | null; /** * Similar to * {@link Object.getLikeAuthorization}, * but returns its `@id` URL instead of the object itself. */ get likeAuthorizationId(): URL | null; /** A {@link LikeAuthorization} object that proves this like interaction * was approved by the target post's author. */ getLikeAuthorization(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getReplyAuthorization}, * but returns its `@id` URL instead of the object itself. */ get replyAuthorizationId(): URL | null; /** A {@link ReplyAuthorization} object that proves this reply was approved * by the target post's author. */ getReplyAuthorization(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Object.getAnnounceAuthorization}, * but returns its `@id` URL instead of the object itself. */ get announceAuthorizationId(): URL | null; /** An {@link AnnounceAuthorization} object that proves this announce * (boost) was approved by the target post's author. */ getAnnounceAuthorization(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Object__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected _getCustomInspectProxy(): Record; } /** Represents a custom emoji. */ declare class Emoji extends Object$1 { /** * The type URI of {@link Emoji}: `http://joinmastodon.org/ns#Emoji`. */ static override get typeId(): URL; /** * Constructs a new instance of Emoji with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Emoji; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Emoji__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** `ChatMessage`s are the messages sent in 1-on-1 chats. They are similar to * {@link Note}s, but the addressing is done by having a single AP actor in * the `to` field. Addressing multiple actors is not allowed. These messages * are always private, there is no public version of them. They are created with * a {@link Create} activity. */ declare class ChatMessage extends Object$1 { #private; /** * The type URI of {@link ChatMessage}: `http://litepub.social/ns#ChatMessage`. */ static override get typeId(): URL; /** * Constructs a new instance of ChatMessage with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; quote?: Object$1 | URL | null; quoteUrl?: URL | null; quoteAuthorization?: QuoteAuthorization | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; quote?: Object$1 | URL | null; quoteUrl?: URL | null; quoteAuthorization?: QuoteAuthorization | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): ChatMessage; /** * Similar to * {@link ChatMessage.getQuote}, * but returns its `@id` URL instead of the object itself. */ get quoteId(): URL | null; /** The quoted ActivityStreams object. * * This property is serialized as an IRI-valued JSON-LD property. */ getQuote(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** The URI of the ActivityStreams object that this object quotes. * * This property sets three JSON-LD properties at once under the hood: * * 1. https://www.w3.org/ns/activitystreams#quoteUrl * 2. https://misskey-hub.net/ns#_misskey_quote * 3. http://fedibird.com/ns#quoteUri * * When a JSON-LD object is parsed, this property is filled with one of * the values of those three properties in order. */ get quoteUrl(): URL | null; /** * Similar to * {@link ChatMessage.getQuoteAuthorization}, * but returns its `@id` URL instead of the object itself. */ get quoteAuthorizationId(): URL | null; /** A {@link QuoteAuthorization} object that proves this quote was approved * by the quoted object's author. */ getQuoteAuthorization(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__ChatMessage__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** An Activity is a subtype of {@link Object} that describes some form of action * that may happen, is currently happening, or has already happened. * The {@link Activity} type itself serves as an abstract base type for all types * of activities. It is important to note that the {@link Activity} type itself * does not carry any specific semantics about the kind of action being taken. */ declare class Activity extends Object$1 { #private; /** * The type URI of {@link Activity}: `https://www.w3.org/ns/activitystreams#Activity`. */ static override get typeId(): URL; /** * Constructs a new instance of Activity with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Activity; /** * Similar to * {@link Activity.getActor}, * but returns its `@id` URL instead of the object itself. */ get actorId(): URL | null; /** Describes one or more entities that either performed or are expected to * perform the activity. Any single activity can have multiple actors. * The actor MAY be specified using an indirect {@link Link}. */ getActor(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Activity.getActors}, * but returns their `@id`s instead of the objects themselves. */ get actorIds(): URL[]; /** Describes one or more entities that either performed or are expected to * perform the activity. Any single activity can have multiple actors. * The actor MAY be specified using an indirect {@link Link}. */ getActors(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Activity.getObject}, * but returns its `@id` URL instead of the object itself. */ get objectId(): URL | null; /** When used within an {@link Activity}, describes the direct object of * the activity. For instance, in the activity "John added a movie to his * wishlist", the object of the activity is the movie added. */ getObject(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Activity.getObjects}, * but returns their `@id`s instead of the objects themselves. */ get objectIds(): URL[]; /** When used within an {@link Activity}, describes the direct object of * the activity. For instance, in the activity "John added a movie to his * wishlist", the object of the activity is the movie added. */ getObjects(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Activity.getTarget}, * but returns its `@id` URL instead of the object itself. */ get targetId(): URL | null; /** Describes the indirect object, or target, of the activity. The precise * meaning of the target is largely dependent on the type of action being * described but will often be the object of the English preposition "to". * For instance, in the activity "John added a movie to his wishlist", * the target of the activity is John's wishlist. An activity can have more * than one target. */ getTarget(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Activity.getTargets}, * but returns their `@id`s instead of the objects themselves. */ get targetIds(): URL[]; /** Describes the indirect object, or target, of the activity. The precise * meaning of the target is largely dependent on the type of action being * described but will often be the object of the English preposition "to". * For instance, in the activity "John added a movie to his wishlist", * the target of the activity is John's wishlist. An activity can have more * than one target. */ getTargets(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Activity.getResult}, * but returns its `@id` URL instead of the object itself. */ get resultId(): URL | null; /** Describes the result of the activity. For instance, if a particular action * results in the creation of a new resource, the result property can be used * to describe that new resource. */ getResult(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Activity.getResults}, * but returns their `@id`s instead of the objects themselves. */ get resultIds(): URL[]; /** Describes the result of the activity. For instance, if a particular action * results in the creation of a new resource, the result property can be used * to describe that new resource. */ getResults(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Activity.getOrigin}, * but returns its `@id` URL instead of the object itself. */ get originId(): URL | null; /** Describes an indirect object of the activity from which the activity is * directed. The precise meaning of the origin is the object of the English * preposition "from". For instance, in the activity "John moved an item to * List B from List A", the origin of the activity is "List A". */ getOrigin(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Activity.getOrigins}, * but returns their `@id`s instead of the objects themselves. */ get originIds(): URL[]; /** Describes an indirect object of the activity from which the activity is * directed. The precise meaning of the origin is the object of the English * preposition "from". For instance, in the activity "John moved an item to * List B from List A", the origin of the activity is "List A". */ getOrigins(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Activity.getInstrument}, * but returns its `@id` URL instead of the object itself. */ get instrumentId(): URL | null; /** Identifies one or more objects used (or to be used) in the completion of * an {@link Activity}. */ getInstrument(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Activity.getInstruments}, * but returns their `@id`s instead of the objects themselves. */ get instrumentIds(): URL[]; /** Identifies one or more objects used (or to be used) in the completion of * an {@link Activity}. */ getInstruments(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Activity__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Represents an emoji reaction. See also [FEP-c0e0](https://w3id.org/fep/c0e0). */ declare class EmojiReact extends Activity { /** * The type URI of {@link EmojiReact}: `http://litepub.social/ns#EmojiReact`. */ static override get typeId(): URL; /** * Constructs a new instance of EmojiReact with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): EmojiReact; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__EmojiReact__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** A pair of property name and value. */ declare class PropertyValue { #private; readonly id: URL | null; protected get _documentLoader(): DocumentLoader$1 | undefined; protected get _contextLoader(): DocumentLoader$1 | undefined; protected get _tracerProvider(): TracerProvider | undefined; protected get _warning(): { category: string[]; message: string; values?: Record; } | undefined; protected get _cachedJsonLd(): unknown | undefined; protected set _cachedJsonLd(value: unknown | undefined); /** * The type URI of {@link PropertyValue}: `http://schema.org#PropertyValue`. */ static get typeId(): URL; /** * Constructs a new instance of PropertyValue with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; name?: string | LanguageString$1 | null; value?: string | LanguageString$1 | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ clone(values?: { id?: URL | null; name?: string | LanguageString$1 | null; value?: string | LanguageString$1 | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): PropertyValue; /** The name of a property. */ get name(): string | LanguageString$1 | null; /** The value of a property. */ get value(): string | LanguageString$1 | null; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__PropertyValue__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected _getCustomInspectProxy(): Record; } /** A quantity with a unit of measure. */ declare class Measure { #private; readonly id: URL | null; protected get _documentLoader(): DocumentLoader$1 | undefined; protected get _contextLoader(): DocumentLoader$1 | undefined; protected get _tracerProvider(): TracerProvider | undefined; protected get _warning(): { category: string[]; message: string; values?: Record; } | undefined; protected get _cachedJsonLd(): unknown | undefined; protected set _cachedJsonLd(value: unknown | undefined); /** * The type URI of {@link Measure}: `http://www.ontology-of-units-of-measure.org/resource/om-2/Measure`. */ static get typeId(): URL; /** * Constructs a new instance of Measure with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; unit?: string | null; numericalValue?: Decimal | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ clone(values?: { id?: URL | null; unit?: string | null; numericalValue?: Decimal | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Measure; /** The name of the unit, according to the Ontology of units of Measure * classification. The recommended unit for countable items is `"one"`. */ get unit(): string | null; /** The amount of the resource. If not specified, arbitrary amounts can be * used when responding to the proposal. */ get numericalValue(): Decimal | null; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Measure__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected _getCustomInspectProxy(): Record; } /** Proves that an {@link Announce} interaction has been approved by * the post author. * * This object is dereferenceable and is used by third parties to verify * that an announce (boost) was authorized. The `attributedTo` property * identifies the post author who granted the approval. * * See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/) * for details. */ declare class AnnounceAuthorization extends Object$1 { #private; /** * The type URI of {@link AnnounceAuthorization}: `https://gotosocial.org/ns#AnnounceAuthorization`. */ static override get typeId(): URL; /** * Constructs a new instance of AnnounceAuthorization with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; interactingObject?: Object$1 | URL | null; interactionTarget?: Object$1 | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; interactingObject?: Object$1 | URL | null; interactionTarget?: Object$1 | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): AnnounceAuthorization; /** * Similar to * {@link AnnounceAuthorization.getInteractingObject}, * but returns its `@id` URL instead of the object itself. */ get interactingObjectId(): URL | null; /** The URI of the interaction (e.g., an {@link Announce} activity) that * has been authorized. */ getInteractingObject(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link AnnounceAuthorization.getInteractionTarget}, * but returns its `@id` URL instead of the object itself. */ get interactionTargetId(): URL | null; /** The URI of the post that is the target of the authorized announce. */ getInteractionTarget(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__AnnounceAuthorization__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** A request to announce (boost) a post that requires approval from * the post author. * * The `object` property references the post to be announced, and * the `instrument` property contains the {@link Announce} activity itself. * * The post author responds with an {@link Accept} (with an * {@link AnnounceAuthorization} as `result`) or a {@link Reject}. * * See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/) * for details. */ declare class AnnounceRequest extends Activity { /** * The type URI of {@link AnnounceRequest}: `https://gotosocial.org/ns#AnnounceRequest`. */ static override get typeId(): URL; /** * Constructs a new instance of AnnounceRequest with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): AnnounceRequest; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__AnnounceRequest__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Represents an interaction policy attached to a post, specifying who can * like, reply to, announce, or quote it. Each sub-policy * ({@link InteractionRule}) defines which actors receive automatic or manual * approval. * * See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/) * for details. */ declare class InteractionPolicy { #private; readonly id: URL | null; protected get _documentLoader(): DocumentLoader$1 | undefined; protected get _contextLoader(): DocumentLoader$1 | undefined; protected get _tracerProvider(): TracerProvider | undefined; protected get _warning(): { category: string[]; message: string; values?: Record; } | undefined; protected get _cachedJsonLd(): unknown | undefined; protected set _cachedJsonLd(value: unknown | undefined); /** * The type URI of {@link InteractionPolicy}: `https://gotosocial.org/ns#InteractionPolicy`. */ static get typeId(): URL; /** * Constructs a new instance of InteractionPolicy with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; canLike?: InteractionRule | null; canReply?: InteractionRule | null; canAnnounce?: InteractionRule | null; canQuote?: InteractionRule | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ clone(values?: { id?: URL | null; canLike?: InteractionRule | null; canReply?: InteractionRule | null; canAnnounce?: InteractionRule | null; canQuote?: InteractionRule | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): InteractionPolicy; /** The sub-policy specifying who can like the post. * * When absent, implementations should assume that anyone can like the post * (i.e., `automaticApproval` defaults to the public collection). */ get canLike(): InteractionRule | null; /** The sub-policy specifying who can reply to the post. * * When absent, implementations should assume that anyone can reply * (i.e., `automaticApproval` defaults to the public collection). */ get canReply(): InteractionRule | null; /** The sub-policy specifying who can announce (boost) the post. * * When absent, implementations should assume that anyone can announce * (i.e., `automaticApproval` defaults to the public collection). */ get canAnnounce(): InteractionRule | null; /** The sub-policy specifying who can quote the post. * * When absent, implementations should assume that anyone can quote the post * (i.e., `automaticApproval` defaults to the public collection). */ get canQuote(): InteractionRule | null; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__InteractionPolicy__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected _getCustomInspectProxy(): Record; } /** Represents a sub-policy within an {@link InteractionPolicy}, defining which * actors receive automatic or manual approval for a specific interaction type * (like, reply, or announce). * * Valid values in the approval lists include: * * - The ActivityStreams public collection * (`https://www.w3.org/ns/activitystreams#Public`) for anyone * - The post author's `followers` or `following` collection URIs * - Individual actor URIs * * When an actor appears in both `automaticApproval` and `manualApproval`, * the more specific value takes precedence (individual URI overrides * collection membership), and `automaticApproval` takes precedence over * `manualApproval` for identical URIs. * * See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/) * for details. */ declare class InteractionRule { #private; readonly id: URL | null; protected get _documentLoader(): DocumentLoader$1 | undefined; protected get _contextLoader(): DocumentLoader$1 | undefined; protected get _tracerProvider(): TracerProvider | undefined; protected get _warning(): { category: string[]; message: string; values?: Record; } | undefined; protected get _cachedJsonLd(): unknown | undefined; protected set _cachedJsonLd(value: unknown | undefined); /** * The type URI of {@link InteractionRule}: `https://gotosocial.org/ns#InteractionRule`. */ static get typeId(): URL; /** * Constructs a new instance of InteractionRule with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; automaticApproval?: URL | null; automaticApprovals?: (URL)[]; manualApproval?: URL | null; manualApprovals?: (URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ clone(values?: { id?: URL | null; automaticApproval?: URL | null; automaticApprovals?: (URL)[]; manualApproval?: URL | null; manualApprovals?: (URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): InteractionRule; /** URIs of actors or collections whose interactions are automatically * approved without requiring manual review by the post author. */ get automaticApproval(): URL | null; /** URIs of actors or collections whose interactions are automatically * approved without requiring manual review by the post author. */ get automaticApprovals(): (URL)[]; /** URIs of actors or collections whose interactions require manual approval * by the post author. The post author can accept or reject these * interactions at their discretion. */ get manualApproval(): URL | null; /** URIs of actors or collections whose interactions require manual approval * by the post author. The post author can accept or reject these * interactions at their discretion. */ get manualApprovals(): (URL)[]; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__InteractionRule__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected _getCustomInspectProxy(): Record; } /** Proves that a {@link Like} interaction has been approved by the post author. * * This object is dereferenceable and is used by third parties to verify * that a like was authorized. The `attributedTo` property identifies * the post author who granted the approval. * * See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/) * for details. */ declare class LikeAuthorization extends Object$1 { #private; /** * The type URI of {@link LikeAuthorization}: `https://gotosocial.org/ns#LikeApproval`. */ static override get typeId(): URL; /** * Constructs a new instance of LikeAuthorization with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; interactingObject?: Object$1 | URL | null; interactionTarget?: Object$1 | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; interactingObject?: Object$1 | URL | null; interactionTarget?: Object$1 | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): LikeAuthorization; /** * Similar to * {@link LikeAuthorization.getInteractingObject}, * but returns its `@id` URL instead of the object itself. */ get interactingObjectId(): URL | null; /** The URI of the interaction (e.g., a {@link Like} activity) that * has been authorized. */ getInteractingObject(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link LikeAuthorization.getInteractionTarget}, * but returns its `@id` URL instead of the object itself. */ get interactionTargetId(): URL | null; /** The URI of the post that is the target of the authorized interaction. */ getInteractionTarget(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__LikeAuthorization__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** A request to like a post that requires approval from the post author. * * The `object` property references the post to be liked, and * the `instrument` property contains the {@link Like} activity itself. * * The post author responds with an {@link Accept} (with a * {@link LikeAuthorization} as `result`) or a {@link Reject}. * * See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/) * for details. */ declare class LikeRequest extends Activity { /** * The type URI of {@link LikeRequest}: `https://gotosocial.org/ns#LikeRequest`. */ static override get typeId(): URL; /** * Constructs a new instance of LikeRequest with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): LikeRequest; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__LikeRequest__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Proves that a reply interaction has been approved by the post author. * * This object is dereferenceable and is used by third parties to verify * that a reply was authorized. The `attributedTo` property identifies * the post author who granted the approval. * * See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/) * for details. */ declare class ReplyAuthorization extends Object$1 { #private; /** * The type URI of {@link ReplyAuthorization}: `https://gotosocial.org/ns#ReplyAuthorization`. */ static override get typeId(): URL; /** * Constructs a new instance of ReplyAuthorization with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; interactingObject?: Object$1 | URL | null; interactionTarget?: Object$1 | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; interactingObject?: Object$1 | URL | null; interactionTarget?: Object$1 | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): ReplyAuthorization; /** * Similar to * {@link ReplyAuthorization.getInteractingObject}, * but returns its `@id` URL instead of the object itself. */ get interactingObjectId(): URL | null; /** The URI of the reply object (e.g., a {@link Note}) that has been * authorized. */ getInteractingObject(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link ReplyAuthorization.getInteractionTarget}, * but returns its `@id` URL instead of the object itself. */ get interactionTargetId(): URL | null; /** The URI of the post that is the target of the authorized reply. */ getInteractionTarget(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__ReplyAuthorization__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** A request to reply to a post that requires approval from the post author. * * The `object` property references the post to be replied to, and * the `instrument` property contains the reply itself (e.g., a {@link Note}). * * The post author responds with an {@link Accept} (with a * {@link ReplyAuthorization} as `result`) or a {@link Reject}. * * See [GoToSocial interaction controls](https://docs.gotosocial.org/en/latest/federation/interaction_controls/) * for details. */ declare class ReplyRequest extends Activity { /** * The type URI of {@link ReplyRequest}: `https://gotosocial.org/ns#ReplyRequest`. */ static override get typeId(): URL; /** * Constructs a new instance of ReplyRequest with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): ReplyRequest; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__ReplyRequest__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Proves that a quote interaction has been approved by the quoted object's * author. * * This object is dereferenceable and is used by third parties to verify that a * quote was authorized. The `attributedTo` property identifies the author who * granted the authorization. * * See [FEP-044f](https://w3id.org/fep/044f) for details. */ declare class QuoteAuthorization extends Object$1 { #private; /** * The type URI of {@link QuoteAuthorization}: `https://w3id.org/fep/044f#QuoteAuthorization`. */ static override get typeId(): URL; /** * Constructs a new instance of QuoteAuthorization with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; interactingObject?: Object$1 | URL | null; interactionTarget?: Object$1 | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; interactingObject?: Object$1 | URL | null; interactionTarget?: Object$1 | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): QuoteAuthorization; /** * Similar to * {@link QuoteAuthorization.getInteractingObject}, * but returns its `@id` URL instead of the object itself. */ get interactingObjectId(): URL | null; /** The URI of the quote object that has been authorized. */ getInteractingObject(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link QuoteAuthorization.getInteractionTarget}, * but returns its `@id` URL instead of the object itself. */ get interactionTargetId(): URL | null; /** The URI of the object that is the target of the authorized quote. */ getInteractionTarget(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__QuoteAuthorization__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** A request to quote an object that requires approval from the quoted object's * author. * * The `object` property references the quoted object, and the `instrument` * property contains the quote post itself. * * The quoted object's author responds with an {@link Accept} (with a * {@link QuoteAuthorization} as `result`) or a {@link Reject}. * * See [FEP-044f](https://w3id.org/fep/044f) for details. */ declare class QuoteRequest extends Activity { /** * The type URI of {@link QuoteRequest}: `https://w3id.org/fep/044f#QuoteRequest`. */ static override get typeId(): URL; /** * Constructs a new instance of QuoteRequest with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): QuoteRequest; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__QuoteRequest__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Means of communicating or interacting with the DID subject or associated * entities via one or more service endpoints. Examples include discovery * services, agent services, social networking services, file storage services, * and verifiable credential repository services. */ declare class DidService { #private; readonly id: URL | null; protected get _documentLoader(): DocumentLoader$1 | undefined; protected get _contextLoader(): DocumentLoader$1 | undefined; protected get _tracerProvider(): TracerProvider | undefined; protected get _warning(): { category: string[]; message: string; values?: Record; } | undefined; protected get _cachedJsonLd(): unknown | undefined; protected set _cachedJsonLd(value: unknown | undefined); /** * The type URI of {@link DidService}: `https://www.w3.org/ns/did#Service`. */ static get typeId(): URL; /** * Constructs a new instance of DidService with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; endpoint?: URL | null; endpoints?: (URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ clone(values?: { id?: URL | null; endpoint?: URL | null; endpoints?: (URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): DidService; /** A network address, such as an HTTP URL, at which services operate on behalf * of a DID subject. */ get endpoint(): URL | null; /** A network address, such as an HTTP URL, at which services operate on behalf * of a DID subject. */ get endpoints(): (URL)[]; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__DidService__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected _getCustomInspectProxy(): Record; } /** "Export Actor" service. */ declare class Export extends DidService { /** * The type URI of {@link Export}: `https://w3id.org/fep/9091#Export`. */ static override get typeId(): URL; /** * Constructs a new instance of Export with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; endpoint?: URL | null; endpoints?: (URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; endpoint?: URL | null; endpoints?: (URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Export; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Export__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** A proof that can be added to any activity or object, allowing recipients to * verify the identity of the actor and the integrity of the data. */ declare class DataIntegrityProof { #private; readonly id: URL | null; protected get _documentLoader(): DocumentLoader$1 | undefined; protected get _contextLoader(): DocumentLoader$1 | undefined; protected get _tracerProvider(): TracerProvider | undefined; protected get _warning(): { category: string[]; message: string; values?: Record; } | undefined; protected get _cachedJsonLd(): unknown | undefined; protected set _cachedJsonLd(value: unknown | undefined); /** * The type URI of {@link DataIntegrityProof}: `https://w3id.org/security#DataIntegrityProof`. */ static get typeId(): URL; /** * Constructs a new instance of DataIntegrityProof with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; cryptosuite?: "eddsa-jcs-2022" | null; verificationMethod?: Multikey | URL | null; proofPurpose?: "assertionMethod" | "authentication" | "capabilityInvocation" | "capabilityDelegation" | "keyAgreement" | null; proofValue?: Uint8Array | null; created?: Temporal.Instant | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ clone(values?: { id?: URL | null; cryptosuite?: "eddsa-jcs-2022" | null; verificationMethod?: Multikey | URL | null; proofPurpose?: "assertionMethod" | "authentication" | "capabilityInvocation" | "capabilityDelegation" | "keyAgreement" | null; proofValue?: Uint8Array | null; created?: Temporal.Instant | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): DataIntegrityProof; /** The cryptographic suite used to create the proof. */ get cryptosuite(): "eddsa-jcs-2022" | null; /** * Similar to * {@link DataIntegrityProof.getVerificationMethod}, * but returns its `@id` URL instead of the object itself. */ get verificationMethodId(): URL | null; /** A key owned by an actor according to [FEP-521a: Representing actor's public * keys][1]. * * [1]: https://w3id.org/fep/521a */ getVerificationMethod(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** The reason the proof was created. * * - `"assertionMethod"` * - `"authentication"` * - `"capabilityInvocation"` * - `"capabilityDelegation"` * - `"keyAgreement"` */ get proofPurpose(): "assertionMethod" | "authentication" | "capabilityInvocation" | "capabilityDelegation" | "keyAgreement" | null; /** The proof value. */ get proofValue(): Uint8Array | null; /** The date and time the proof was created. */ get created(): Temporal.Instant | null; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__DataIntegrityProof__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected _getCustomInspectProxy(): Record; } /** A key owned by an actor. */ declare class CryptographicKey { #private; readonly id: URL | null; protected get _documentLoader(): DocumentLoader$1 | undefined; protected get _contextLoader(): DocumentLoader$1 | undefined; protected get _tracerProvider(): TracerProvider | undefined; protected get _warning(): { category: string[]; message: string; values?: Record; } | undefined; protected get _cachedJsonLd(): unknown | undefined; protected set _cachedJsonLd(value: unknown | undefined); /** * The type URI of {@link CryptographicKey}: `https://w3id.org/security#Key`. */ static get typeId(): URL; /** * Constructs a new instance of CryptographicKey with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; owner?: Application | Group | Organization | Person | Service | URL | null; publicKey?: CryptoKey | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ clone(values?: { id?: URL | null; owner?: Application | Group | Organization | Person | Service | URL | null; publicKey?: CryptoKey | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): CryptographicKey; /** * Similar to * {@link CryptographicKey.getOwner}, * but returns its `@id` URL instead of the object itself. */ get ownerId(): URL | null; /** An actor who owns this key. */ getOwner(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** A PEM-encoded public key. */ get publicKey(): CryptoKey | null; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__CryptographicKey__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected _getCustomInspectProxy(): Record; } /** Represents a key owned by an actor according to [FEP-521a: Representing * actor's public keys.][1] * * [1]: https://w3id.org/fep/521a */ declare class Multikey { #private; readonly id: URL | null; protected get _documentLoader(): DocumentLoader$1 | undefined; protected get _contextLoader(): DocumentLoader$1 | undefined; protected get _tracerProvider(): TracerProvider | undefined; protected get _warning(): { category: string[]; message: string; values?: Record; } | undefined; protected get _cachedJsonLd(): unknown | undefined; protected set _cachedJsonLd(value: unknown | undefined); /** * The type URI of {@link Multikey}: `https://w3id.org/security#Multikey`. */ static get typeId(): URL; /** * Constructs a new instance of Multikey with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; controller?: Application | Group | Organization | Person | Service | URL | null; publicKey?: CryptoKey | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ clone(values?: { id?: URL | null; controller?: Application | Group | Organization | Person | Service | URL | null; publicKey?: CryptoKey | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Multikey; /** * Similar to * {@link Multikey.getController}, * but returns its `@id` URL instead of the object itself. */ get controllerId(): URL | null; /** An actor who owns this key. */ getController(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** A [Multibase]-encoded value of a [Multicodec] prefix and the key. * * [Multibase]: https://www.w3.org/TR/vc-data-integrity/#multibase-0 * [Multicodec]: https://github.com/multiformats/multicodec/ */ get publicKey(): CryptoKey | null; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Multikey__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected _getCustomInspectProxy(): Record; } /** A proposed economic transaction describing what is being offered or requested * in a {@link Proposal}. */ declare class Intent { #private; readonly id: URL | null; protected get _documentLoader(): DocumentLoader$1 | undefined; protected get _contextLoader(): DocumentLoader$1 | undefined; protected get _tracerProvider(): TracerProvider | undefined; protected get _warning(): { category: string[]; message: string; values?: Record; } | undefined; protected get _cachedJsonLd(): unknown | undefined; protected set _cachedJsonLd(value: unknown | undefined); /** * The type URI of {@link Intent}: `https://w3id.org/valueflows/ont/vf#Intent`. */ static get typeId(): URL; /** * Constructs a new instance of Intent with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; action?: string | null; resourceConformsTo?: URL | null; resourceQuantity?: Measure | null; availableQuantity?: Measure | null; minimumQuantity?: Measure | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ clone(values?: { id?: URL | null; action?: string | null; resourceConformsTo?: URL | null; resourceQuantity?: Measure | null; availableQuantity?: Measure | null; minimumQuantity?: Measure | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Intent; /** The type of economic transaction. The value of this property should be * either `"deliverService"` or `"transfer"`. */ get action(): string | null; /** The type of an economic resource. Could be any URI. */ get resourceConformsTo(): URL | null; /** The amount and unit of the economic resource. */ get resourceQuantity(): Measure | null; /** The quantity of the offered resource currently available. */ get availableQuantity(): Measure | null; /** The minimum possible quantity of the resource. */ get minimumQuantity(): Measure | null; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Intent__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected _getCustomInspectProxy(): Record; } /** A published request or offer, sometimes with what is expected in return. * * Proposals contain a primary {@link Intent} (via `publishes`) describing * what is being offered or requested, and optionally a reciprocal * {@link Intent} describing what is expected or offered in return. * * Note: This type extends ActivityStreams `Object` for practical * interoperability within ActivityPub federation, even though FEP-0837 * defines `Proposal` as a pure ValueFlows type. Extending `Object` * provides useful inherited properties such as `name`, `content`, * `attributedTo`, `published`, `to`, and `location` without needing to * redefine them. */ declare class Proposal extends Object$1 { #private; /** * The type URI of {@link Proposal}: `https://w3id.org/valueflows/ont/vf#Proposal`. */ static override get typeId(): URL; /** * Constructs a new instance of Proposal with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; purpose?: string | null; publishes?: Intent | null; reciprocal?: Intent | null; unitBased?: boolean | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; purpose?: string | null; publishes?: Intent | null; reciprocal?: Intent | null; unitBased?: boolean | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Proposal; /** The type of proposal. Possible values are `"offer"` and `"request"`. */ get purpose(): string | null; /** The primary intent of this proposal, describing what is being offered * or requested. */ get publishes(): Intent | null; /** The reciprocal intent of this proposal, describing what is expected * or offered in return. */ get reciprocal(): Intent | null; /** Indicates whether the quantities expressed in the proposal can be * multiplied or not. The default is `false`. */ get unitBased(): boolean | null; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Proposal__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Indicates that the `actor` accepts the `object`. The `target` property can be * used in certain circumstances to indicate the context into which the `object` * has been accepted. */ declare class Accept extends Activity { /** * The type URI of {@link Accept}: `https://www.w3.org/ns/activitystreams#Accept`. */ static override get typeId(): URL; /** * Constructs a new instance of Accept with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Accept; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Accept__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Indicates that the `actor` has added the `object` to the `target`. * If the `target` property is not explicitly specified, the target would need * to be determined implicitly by context. The `origin` can be used to identify * the context from which the `object` originated. */ declare class Add extends Activity { /** * The type URI of {@link Add}: `https://www.w3.org/ns/activitystreams#Add`. */ static override get typeId(): URL; /** * Constructs a new instance of Add with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Add; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Add__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Indicates that the `actor` is calling the `target`'s attention the `object`. * * The `origin` typically has no defined meaning. */ declare class Announce extends Activity { /** * The type URI of {@link Announce}: `https://www.w3.org/ns/activitystreams#Announce`. */ static override get typeId(): URL; /** * Constructs a new instance of Announce with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Announce; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Announce__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Describes a software application. */ declare class Application extends Object$1 { #private; /** * The type URI of {@link Application}: `https://www.w3.org/ns/activitystreams#Application`. */ static override get typeId(): URL; /** * Constructs a new instance of Application with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; preferredUsername?: string | LanguageString$1 | null; preferredUsernames?: ((string | LanguageString$1))[]; publicKey?: CryptographicKey | URL | null; publicKeys?: (CryptographicKey | URL)[]; assertionMethod?: Multikey | URL | null; assertionMethods?: (Multikey | URL)[]; manuallyApprovesFollowers?: boolean | null; inbox?: OrderedCollection | OrderedCollectionPage | URL | null; outbox?: OrderedCollection | OrderedCollectionPage | URL | null; following?: Collection | URL | null; followers?: Collection | URL | null; liked?: Collection | URL | null; featured?: Collection | URL | null; featuredTags?: Collection | URL | null; streams?: (Collection | URL)[]; endpoints?: Endpoints | null; discoverable?: boolean | null; suspended?: boolean | null; memorial?: boolean | null; indexable?: boolean | null; successor?: Application | Group | Organization | Person | Service | URL | null; alias?: Application | Group | Organization | Person | Service | URL | null; aliases?: (Application | Group | Organization | Person | Service | URL)[]; service?: DidService | URL | null; services?: (DidService | URL)[]; followedMessage?: string | null; cat?: boolean | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; preferredUsername?: string | LanguageString$1 | null; preferredUsernames?: ((string | LanguageString$1))[]; publicKey?: CryptographicKey | URL | null; publicKeys?: (CryptographicKey | URL)[]; assertionMethod?: Multikey | URL | null; assertionMethods?: (Multikey | URL)[]; manuallyApprovesFollowers?: boolean | null; inbox?: OrderedCollection | OrderedCollectionPage | URL | null; outbox?: OrderedCollection | OrderedCollectionPage | URL | null; following?: Collection | URL | null; followers?: Collection | URL | null; liked?: Collection | URL | null; featured?: Collection | URL | null; featuredTags?: Collection | URL | null; streams?: (Collection | URL)[]; endpoints?: Endpoints | null; discoverable?: boolean | null; suspended?: boolean | null; memorial?: boolean | null; indexable?: boolean | null; successor?: Application | Group | Organization | Person | Service | URL | null; alias?: Application | Group | Organization | Person | Service | URL | null; aliases?: (Application | Group | Organization | Person | Service | URL)[]; service?: DidService | URL | null; services?: (DidService | URL)[]; followedMessage?: string | null; cat?: boolean | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Application; /** A short username which may be used to refer to the actor, * with no uniqueness guarantees. */ get preferredUsername(): string | LanguageString$1 | null; /** A short username which may be used to refer to the actor, * with no uniqueness guarantees. */ get preferredUsernames(): ((string | LanguageString$1))[]; /** * Similar to * {@link Application.getPublicKey}, * but returns its `@id` URL instead of the object itself. */ get publicKeyId(): URL | null; /** A public part of the key pair owned by this actor. */ getPublicKey(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getPublicKeys}, * but returns their `@id`s instead of the objects themselves. */ get publicKeyIds(): URL[]; /** A public part of the key pair owned by this actor. */ getPublicKeys(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Application.getAssertionMethod}, * but returns its `@id` URL instead of the object itself. */ get assertionMethodId(): URL | null; /** Represents this actor's public keys. It serves as equivalent to * the `publicKeys` property, but is used for [FEP-521a] compliance. * * [FEP-521a]: https://w3id.org/fep/521a */ getAssertionMethod(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getAssertionMethods}, * but returns their `@id`s instead of the objects themselves. */ get assertionMethodIds(): URL[]; /** Represents this actor's public keys. It serves as equivalent to * the `publicKeys` property, but is used for [FEP-521a] compliance. * * [FEP-521a]: https://w3id.org/fep/521a */ getAssertionMethods(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** When `true`, conveys that for this actor, follow requests are not usually * automatically approved, but instead are examined by a person who may accept * or reject the request, at some time in the future. Setting of `false` * conveys no information and may be ignored. This information is typically * used to affect display of accounts, such as showing an account as private or * locked. */ get manuallyApprovesFollowers(): boolean | null; /** * Similar to * {@link Application.getInbox}, * but returns its `@id` URL instead of the object itself. */ get inboxId(): URL | null; /** The inbox stream contains all activities received by the actor. The server * SHOULD filter content according to the requester's permission. In general, * the owner of an inbox is likely to be able to access all of their inbox * contents. Depending on access control, some other content may be public, * whereas other content may require authentication for non-owner users, * if they can access the inbox at all. * * The server MUST perform de-duplication of activities returned by the inbox. * Duplication can occur if an activity is addressed both to an actor's * followers, and a specific actor who also follows the recipient actor, * and the server has failed to de-duplicate the recipients list. * Such deduplication MUST be performed by comparing the `id` of the activities * and dropping any activities already seen. */ getInbox(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getOutbox}, * but returns its `@id` URL instead of the object itself. */ get outboxId(): URL | null; /** The outbox stream contains activities the user has published, * subject to the ability of the requestor to retrieve the activity * (that is, the contents of the outbox are filtered by the permissions of * the person reading it). If a user submits a request without * [Authorization](https://www.w3.org/TR/activitypub/#authorization) * the server should respond with all of the * [Public](https://www.w3.org/TR/activitypub/#public-addressing) posts. * This could potentially be all relevant objects published by the user, * though the number of available items is left to the discretion of those * implementing and deploying the server. */ getOutbox(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getFollowing}, * but returns its `@id` URL instead of the object itself. */ get followingId(): URL | null; /** This is a list of everybody that the actor has followed, added as a * [side effect](https://www.w3.org/TR/activitypub/#follow-activity-outbox). * The `following` collection MUST be either an {@link OrderedCollection} * or a {@link Collection} and MAY be filtered on privileges of * an authenticated user or as appropriate when no authentication is given. */ getFollowing(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getFollowers}, * but returns its `@id` URL instead of the object itself. */ get followersId(): URL | null; /** This is a list of everyone who has sent a {@link Follow} activity * for the actor, added as a * [side effect](https://www.w3.org/TR/activitypub/#follow-activity-outbox). * This is where one would find a list of all the actors that are following * the actor. The `followers` collection MUST be either * an {@link OrderedCollection} or a {@link Collection} and MAY be filtered on * privileges of an authenticated user or as appropriate when no authentication * is given. */ getFollowers(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getLiked}, * but returns its `@id` URL instead of the object itself. */ get likedId(): URL | null; /** This is a list of every object from all of the actor's {@link Like} * activities, added as a * [side effect](https://www.w3.org/TR/activitypub/#like-activity-outbox). * The `liked` collection MUST be either an {@link OrderedCollection} or * a {@link Collection} and MAY be filtered on privileges of an authenticated * user or as appropriate when no authentication is given. */ getLiked(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getFeatured}, * but returns its `@id` URL instead of the object itself. */ get featuredId(): URL | null; /** What is known in Mastodon as "pinned statuses", or statuses that are always * featured at the top of people's profiles, is implemented using an extra * property `featured` on the actor object that points to a {@link Collection} * of objects. */ getFeatured(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getFeaturedTags}, * but returns its `@id` URL instead of the object itself. */ get featuredTagsId(): URL | null; /** What is known in Mastodon as "featured hashtags", hashtags that are featured * at people's profiles, is implemented using an extra property `featuredTags` * on the actor object that points to a {@link Collection} of {@link Hashtag} * objects specifically. */ getFeaturedTags(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getStreams}, * but returns their `@id`s instead of the objects themselves. */ get streamIds(): URL[]; /** A list of supplementary Collections which may be of interest. */ getStreams(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** A JSON object which maps additional (typically server/domain-wide) endpoints * which may be useful either for this actor or someone referencing this actor. * This mapping may be nested inside the actor document as the value or may be * a link to a JSON-LD document with these properties. */ get endpoints(): Endpoints | null; /** Allows users to opt-in or opt-out of discoverability features like * the profile directory. This flag may also be used as an indicator of * the user's preferences toward being included in external discovery services, * such as search engines or other indexing tools. */ get discoverable(): boolean | null; /** Reports whether a user was locally suspended, for better handling of * these accounts. */ get suspended(): boolean | null; /** Whether the actor is in-memorial state. */ get memorial(): boolean | null; /** Whether the actor allows to be indexed. */ get indexable(): boolean | null; /** * Similar to * {@link Application.getSuccessor}, * but returns its `@id` URL instead of the object itself. */ get successorId(): URL | null; /** Signifies that an actor has been moved to a different ID. Used in Mastodon-style data portability with the {@link Move} activity; see [ActivityPub Data Portability/Move Action](https://swicg.github.io/activitypub-data-portability/#move-action) for more details. */ getSuccessor(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getAlias}, * but returns its `@id` URL instead of the object itself. */ get aliasId(): URL | null; /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names * or aliases for an entity. It can be used to provide additional identifiers * or labels for an entity, which can be useful in scenarios where an entity * may have multiple names or aliases. */ getAlias(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getAliases}, * but returns their `@id`s instead of the objects themselves. */ get aliasIds(): URL[]; /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names * or aliases for an entity. It can be used to provide additional identifiers * or labels for an entity, which can be useful in scenarios where an entity * may have multiple names or aliases. */ getAliases(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** * Similar to * {@link Application.getService}, * but returns its `@id` URL instead of the object itself. */ get serviceId(): URL | null; /** Means of communicating or interacting with the DID subject or associated * entities via one or more service endpoints. Examples include discovery * services, agent services, social networking services, file storage services, * and verifiable credential repository services. */ getService(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Similar to * {@link Application.getServices}, * but returns their `@id`s instead of the objects themselves. */ get serviceIds(): URL[]; /** Means of communicating or interacting with the DID subject or associated * entities via one or more service endpoints. Examples include discovery * services, agent services, social networking services, file storage services, * and verifiable credential repository services. */ getServices(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): AsyncIterable; /** This value is used for `Actor` type objects to show message on followed. */ get followedMessage(): string | null; /** Used on actors to indicate that they in some way identify as a cat, * expressed as a boolean value. If this property is set to `true`, * displaying the actor or their notes will have some special effects * attached in some clients. */ get cat(): boolean | null; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Application__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Instances of `IntransitiveActivity` are a subtype of {@link Activity} * representing intransitive actions. The `object` property is therefore * inappropriate for these activities. */ declare class IntransitiveActivity extends Activity { /** * The type URI of {@link IntransitiveActivity}: `https://www.w3.org/ns/activitystreams#IntransitiveActivity`. */ static override get typeId(): URL; /** * Constructs a new instance of IntransitiveActivity with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): IntransitiveActivity; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__IntransitiveActivity__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** An `IntransitiveActivity` that indicates that the `actor` has arrived at the `location`. * The `origin` can be used to identify the context from which the `actor` originated. * The `target` typically has no defined meaning. */ declare class Arrive extends IntransitiveActivity { /** * The type URI of {@link Arrive}: `https://www.w3.org/ns/activitystreams#Arrive`. */ static override get typeId(): URL; /** * Constructs a new instance of Arrive with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; actor?: Application | Group | Organization | Person | Service | URL | null; actors?: (Application | Group | Organization | Person | Service | URL)[]; object?: Object$1 | URL | null; objects?: (Object$1 | URL)[]; target?: Object$1 | URL | null; targets?: (Object$1 | URL)[]; result?: Object$1 | URL | null; results?: (Object$1 | URL)[]; origin?: Object$1 | URL | null; origins?: (Object$1 | URL)[]; instrument?: Object$1 | URL | null; instruments?: (Object$1 | URL)[]; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Arrive; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Arrive__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Represents any kind of multi-paragraph written work. */ declare class Article extends Object$1 { #private; /** * The type URI of {@link Article}: `https://www.w3.org/ns/activitystreams#Article`. */ static override get typeId(): URL; /** * Constructs a new instance of Article with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; quote?: Object$1 | URL | null; quoteUrl?: URL | null; quoteAuthorization?: QuoteAuthorization | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; quote?: Object$1 | URL | null; quoteUrl?: URL | null; quoteAuthorization?: QuoteAuthorization | URL | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Article; /** * Similar to * {@link Article.getQuote}, * but returns its `@id` URL instead of the object itself. */ get quoteId(): URL | null; /** The quoted ActivityStreams object. * * This property is serialized as an IRI-valued JSON-LD property. */ getQuote(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** The URI of the ActivityStreams object that this object quotes. * * This property sets three JSON-LD properties at once under the hood: * * 1. https://www.w3.org/ns/activitystreams#quoteUrl * 2. https://misskey-hub.net/ns#_misskey_quote * 3. http://fedibird.com/ns#quoteUri * * When a JSON-LD object is parsed, this property is filled with one of * the values of those three properties in order. */ get quoteUrl(): URL | null; /** * Similar to * {@link Article.getQuoteAuthorization}, * but returns its `@id` URL instead of the object itself. */ get quoteAuthorizationId(): URL | null; /** A {@link QuoteAuthorization} object that proves this quote was approved * by the quoted object's author. */ getQuoteAuthorization(options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise
; protected static __fromJsonLd__Article__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise
; protected override _getCustomInspectProxy(): Record; } /** Represents a document of any kind. */ declare class Document extends Object$1 { #private; /** * The type URI of {@link Document}: `https://www.w3.org/ns/activitystreams#Document`. */ static override get typeId(): URL; /** * Constructs a new instance of Document with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; width?: number | null; height?: number | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; width?: number | null; height?: number | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Document; /** Specifies a hint as to the rendering width in * device-independent pixels of the linked resource. */ get width(): number | null; /** Specifies a hint as to the rendering height in * device-independent pixels of the linked resource. */ get height(): number | null; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected static __fromJsonLd__Document__(json: unknown, span: Span, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise; protected override _getCustomInspectProxy(): Record; } /** Represents an audio document of any kind. */ declare class Audio extends Document { /** * The type URI of {@link Audio}: `https://www.w3.org/ns/activitystreams#Audio`. */ static override get typeId(): URL; /** * Constructs a new instance of Audio with the given values. * @param values The values to initialize the instance with. * @param options The options to use for initialization. */ constructor(values: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; width?: number | null; height?: number | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; }); /** * Clones this instance, optionally updating it with the given values. * @param values The values to update the clone with. * @param options The options to use for cloning. * @returns The cloned instance. */ override clone(values?: { id?: URL | null; attachments?: (Object$1 | Link | PropertyValue | URL)[]; attribution?: Application | Group | Organization | Person | Service | URL | null; attributions?: (Application | Group | Organization | Person | Service | URL)[]; audience?: Object$1 | URL | null; audiences?: (Object$1 | URL)[]; content?: string | LanguageString$1 | null; contents?: ((string | LanguageString$1))[]; contexts?: (Object$1 | Link | URL)[]; name?: string | LanguageString$1 | null; names?: ((string | LanguageString$1))[]; endTime?: Temporal.Instant | null; generators?: (Object$1 | Link | URL)[]; icon?: Image | URL | null; icons?: (Image | URL)[]; image?: Image | URL | null; images?: (Image | URL)[]; replyTarget?: Object$1 | Link | URL | null; replyTargets?: (Object$1 | Link | URL)[]; location?: Object$1 | Link | URL | null; locations?: (Object$1 | Link | URL)[]; preview?: Link | Object$1 | URL | null; previews?: (Link | Object$1 | URL)[]; published?: Temporal.Instant | null; replies?: Collection | URL | null; shares?: Collection | URL | null; likes?: Collection | URL | null; emojiReactions?: Collection | URL | null; startTime?: Temporal.Instant | null; summary?: string | LanguageString$1 | null; summaries?: ((string | LanguageString$1))[]; tags?: (Object$1 | Link | URL)[]; updated?: Temporal.Instant | null; url?: URL | Link | null; urls?: ((URL | Link))[]; to?: Object$1 | URL | null; tos?: (Object$1 | URL)[]; bto?: Object$1 | URL | null; btos?: (Object$1 | URL)[]; cc?: Object$1 | URL | null; ccs?: (Object$1 | URL)[]; bcc?: Object$1 | URL | null; bccs?: (Object$1 | URL)[]; mediaType?: string | null; duration?: Temporal.Duration | null; sensitive?: boolean | null; source?: Source | null; proof?: DataIntegrityProof | URL | null; proofs?: (DataIntegrityProof | URL)[]; interactionPolicy?: InteractionPolicy | null; approvedBy?: URL | null; likeAuthorization?: LikeAuthorization | URL | null; replyAuthorization?: ReplyAuthorization | URL | null; announceAuthorization?: AnnounceAuthorization | URL | null; width?: number | null; height?: number | null; }, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; }): Audio; /** * Converts this object to a JSON-LD structure. * @param options The options to use. * - `format`: The format of the output: `compact` or `expand`. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `context`: The JSON-LD context to use. Not applicable when `format` is set to `'expand'`. * @returns The JSON-LD representation of this object. */ override toJsonLd(options?: { format?: "compact" | "expand"; contextLoader?: DocumentLoader$1; context?: string | Record | (string | Record)[]; }): Promise; protected override isCompactable(): boolean; /** * Converts a JSON-LD structure to an object of this type. * @param json The JSON-LD structure to convert. * @param options The options to use. * - `documentLoader`: The loader for remote JSON-LD documents. * - `contextLoader`: The loader for remote JSON-LD contexts. * - `tracerProvider`: The OpenTelemetry tracer provider to use. * If omitted, the global tracer provider is used. * @returns The object of this type. * @throws {TypeError} If the given `json` is invalid. */ static override fromJsonLd(json: unknown, options?: { documentLoader?: DocumentLoader$1; contextLoader?: DocumentLoader$1; tracerProvider?: TracerProvider; baseUrl?: URL; }): Promise