$shareTypes * * @return $this * @since 28.0.0 */ public function setShareTypes(array $shareTypes): static; /** * get share types * * @return list * @since 28.0.0 */ public function getShareTypes(): array; /** * set available protocols * * @param array $protocols * * @return $this * @since 28.0.0 */ public function setProtocols(array $protocols): static; /** * get configured protocols * * @return array * @since 28.0.0 */ public function getProtocols(): array; /** * import data from an array * * @param array $data * * @return $this * @since 28.0.0 */ public function import(array $data): static; /** * @return array{ * name: string, * shareTypes: list, * protocols: array * } * @since 28.0.0 */ public function jsonSerialize(): array; }