*/ public function getParameters(): array; /** * @param list $parameters */ public function addParameters(array $parameters): self; public function addParameter(DefinitionParameter $parameter): self; /** * @return string[] */ public function getCustomJs(): array; public function addCustomJs(string $custom): self; /** * Serialize into JSON for client-side JS */ public function jsonSerializeDefinition(): array; /** * Check if parameters are satisfied in a StorageConfig */ public function validateStorageDefinition(StorageConfig $storage): bool; }