|DecoderInterface $decoders * @throws RuntimeException * @return ImageInterface */ public function read(mixed $input, string|array|DecoderInterface $decoders = []): ImageInterface; /** * Create new animated image by given callback * * @link https://image.intervention.io/v3/basics/instantiation#creating-animations * @param callable $init * @throws RuntimeException * @return ImageInterface */ public function animate(callable $init): ImageInterface; /** * Return currently used driver * * @return DriverInterface */ public function driver(): DriverInterface; }