<?php

// Start of imagick v.3.4.3

use JetBrains\PhpStorm\ArrayShape;
use JetBrains\PhpStorm\Deprecated;
use JetBrains\PhpStorm\Pure;

class ImagickException extends Exception {}

class ImagickDrawException extends Exception {}

class ImagickPixelIteratorException extends Exception {}

class ImagickPixelException extends Exception {}

class ImagickKernelException extends Exception {}

/**
 * @method Imagick clone() (PECL imagick 2.0.0)<br/>Makes an exact copy of the Imagick object
 * @link https://php.net/manual/en/class.imagick.php
 */
class Imagick implements Iterator, Countable
{
    // Constants available in Imagick 7.1
    // https://im7.phpimagick.com/Imagick/constants

    public const ALIGN_CENTER = 2;
    public const ALIGN_LEFT = 1;
    public const ALIGN_RIGHT = 3;
    public const ALIGN_UNDEFINED = 0;
    public const ALPHACHANNEL_ACTIVATE = 1;
    public const ALPHACHANNEL_ASSOCIATE = 2;
    public const ALPHACHANNEL_BACKGROUND = 3;
    public const ALPHACHANNEL_COPY = 4;
    public const ALPHACHANNEL_DEACTIVATE = 5;
    public const ALPHACHANNEL_DISCRETE = 6;
    public const ALPHACHANNEL_DISSOCIATE = 7;
    public const ALPHACHANNEL_EXTRACT = 8;
    public const ALPHACHANNEL_OFF = 9;
    public const ALPHACHANNEL_ON = 10;
    public const ALPHACHANNEL_OPAQUE = 11;
    public const ALPHACHANNEL_REMOVE = 12;
    public const ALPHACHANNEL_SET = 13;
    public const ALPHACHANNEL_SHAPE = 14;
    public const ALPHACHANNEL_TRANSPARENT = 15;
    public const ALPHACHANNEL_UNDEFINED = 0;
    public const AUTO_THRESHOLD_KAPUR = 1;
    public const AUTO_THRESHOLD_OTSU = 2;
    public const AUTO_THRESHOLD_TRIANGLE = 3;
    public const CHANNEL_ALL = 134217727;
    public const CHANNEL_ALPHA = 16;
    public const CHANNEL_BLACK = 8;
    public const CHANNEL_BLUE = 4;
    public const CHANNEL_COMPOSITES = 31;
    public const CHANNEL_COMPOSITE_MASK = 512;
    public const CHANNEL_CYAN = 1;
    public const CHANNEL_DEFAULT = 134217727;
    public const CHANNEL_GRAY = 1;
    public const CHANNEL_GRAY_CHANNELS = 1024;
    public const CHANNEL_GREEN = 2;
    public const CHANNEL_INDEX = 32;
    public const CHANNEL_MAGENTA = 2;
    public const CHANNEL_META = 256;
    public const CHANNEL_OPACITY = 16;
    public const CHANNEL_READ_MASK = 64;
    public const CHANNEL_RED = 1;
    public const CHANNEL_RGBA = 23;
    public const CHANNEL_RGBS = 512;
    public const CHANNEL_SYNC = 131072;
    public const CHANNEL_TRUEALPHA = 256;
    public const CHANNEL_UNDEFINED = 0;
    public const CHANNEL_WRITE_MASK = 128;
    public const CHANNEL_YELLOW = 4;
    public const COLORSPACE_ADOBE98 = 36;
    public const COLORSPACE_CMY = 1;
    public const COLORSPACE_CMYK = 2;
    public const COLORSPACE_DISPLAYP3 = 35;
    public const COLORSPACE_GRAY = 3;
    public const COLORSPACE_HCL = 4;
    public const COLORSPACE_HCLP = 5;
    public const COLORSPACE_HSB = 6;
    public const COLORSPACE_HSI = 7;
    public const COLORSPACE_HSL = 8;
    public const COLORSPACE_HSV = 9;
    public const COLORSPACE_HWB = 10;
    public const COLORSPACE_JZAZBZ = 34;
    public const COLORSPACE_LCH = 12;
    public const COLORSPACE_LCHAB = 13;
    public const COLORSPACE_LCHUV = 14;
    public const COLORSPACE_LINEARGRAY = 33;
    public const COLORSPACE_LMS = 16;
    public const COLORSPACE_LOG = 15;
    public const COLORSPACE_LUV = 17;
    public const COLORSPACE_OHTA = 18;
    public const COLORSPACE_PROPHOTO = 37;
    public const COLORSPACE_REC601YCBCR = 19;
    public const COLORSPACE_REC709YCBCR = 20;
    public const COLORSPACE_RGB = 21;
    public const COLORSPACE_SCRGB = 22;
    public const COLORSPACE_SRGB = 23;
    public const COLORSPACE_TRANSPARENT = 24;
    public const COLORSPACE_UNDEFINED = 0;
    public const COLORSPACE_XYY = 25;
    public const COLORSPACE_XYZ = 26;
    public const COLORSPACE_YCBCR = 27;
    public const COLORSPACE_YCC = 28;
    public const COLORSPACE_YDBDR = 29;
    public const COLORSPACE_YIQ = 30;
    public const COLORSPACE_YPBPR = 31;
    public const COLORSPACE_YUV = 32;
    public const COLOR_ALPHA = 18;
    public const COLOR_BLACK = 11;
    public const COLOR_BLUE = 12;
    public const COLOR_CYAN = 13;
    public const COLOR_FUZZ = 19;
    public const COLOR_GREEN = 14;
    public const COLOR_MAGENTA = 17;
    public const COLOR_RED = 15;
    public const COLOR_YELLOW = 16;
    public const COMPLEX_OPERATOR_ADD = 1;
    public const COMPLEX_OPERATOR_CONJUGATE = 2;
    public const COMPLEX_OPERATOR_DIVIDE = 3;
    public const COMPLEX_OPERATOR_MAGNITUDEPHASE = 4;
    public const COMPLEX_OPERATOR_MULTIPLY = 5;
    public const COMPLEX_OPERATOR_REALIMAGINARY = 6;
    public const COMPLEX_OPERATOR_SUBTRACT = 7;
    public const COMPOSITE_ATOP = 2;
    public const COMPOSITE_BLEND = 3;
    public const COMPOSITE_BLUR = 4;
    public const COMPOSITE_BUMPMAP = 5;
    public const COMPOSITE_CHANGEMASK = 6;
    public const COMPOSITE_CLEAR = 7;
    public const COMPOSITE_COLORBURN = 8;
    public const COMPOSITE_COLORDODGE = 9;
    public const COMPOSITE_COLORIZE = 10;
    public const COMPOSITE_COPY = 13;
    public const COMPOSITE_COPYALPHA = 17;
    public const COMPOSITE_COPYBLACK = 11;
    public const COMPOSITE_COPYBLUE = 12;
    public const COMPOSITE_COPYCYAN = 14;
    public const COMPOSITE_COPYGREEN = 15;
    public const COMPOSITE_COPYMAGENTA = 16;
    public const COMPOSITE_COPYOPACITY = 17;
    public const COMPOSITE_COPYRED = 18;
    public const COMPOSITE_COPYYELLOW = 19;
    public const COMPOSITE_DARKEN = 20;
    public const COMPOSITE_DARKENINTENSITY = 21;
    public const COMPOSITE_DEFAULT = 54;
    public const COMPOSITE_DIFFERENCE = 22;
    public const COMPOSITE_DISPLACE = 23;
    public const COMPOSITE_DISSOLVE = 24;
    public const COMPOSITE_DISTORT = 25;
    public const COMPOSITE_DIVIDEDST = 26;
    public const COMPOSITE_DIVIDESRC = 27;
    public const COMPOSITE_DST = 29;
    public const COMPOSITE_DSTATOP = 28;
    public const COMPOSITE_DSTIN = 30;
    public const COMPOSITE_DSTOUT = 31;
    public const COMPOSITE_DSTOVER = 32;
    public const COMPOSITE_EXCLUSION = 33;
    public const COMPOSITE_FREEZE = 72;
    public const COMPOSITE_HARDLIGHT = 34;
    public const COMPOSITE_HARDMIX = 35;
    public const COMPOSITE_HUE = 36;
    public const COMPOSITE_IN = 37;
    public const COMPOSITE_INTERPOLATE = 73;
    public const COMPOSITE_LIGHTEN = 39;
    public const COMPOSITE_LIGHTENINTENSITY = 40;
    public const COMPOSITE_LINEARBURN = 41;
    public const COMPOSITE_LINEARDODGE = 42;
    public const COMPOSITE_LINEARLIGHT = 43;
    public const COMPOSITE_LUMINIZE = 44;
    public const COMPOSITE_MATHEMATICS = 45;
    public const COMPOSITE_MINUSDST = 46;
    public const COMPOSITE_MINUSSRC = 47;
    public const COMPOSITE_MODULATE = 48;
    public const COMPOSITE_MODULUSADD = 49;
    public const COMPOSITE_MODULUSSUBTRACT = 50;
    public const COMPOSITE_MULTIPLY = 51;
    public const COMPOSITE_NEGATE = 74;
    public const COMPOSITE_NO = 52;
    public const COMPOSITE_OUT = 53;
    public const COMPOSITE_OVER = 54;
    public const COMPOSITE_OVERLAY = 55;
    public const COMPOSITE_PEGTOPLIGHT = 56;
    public const COMPOSITE_PINLIGHT = 57;
    public const COMPOSITE_PLUS = 58;
    public const COMPOSITE_REFLECT = 75;
    public const COMPOSITE_REPLACE = 59;
    public const COMPOSITE_RMSE = 79;
    public const COMPOSITE_SALIENCY_BLEND = 80;
    public const COMPOSITE_SEAMLESS_BLEND = 81;
    public const COMPOSITE_SATURATE = 60;
    public const COMPOSITE_SCREEN = 61;
    public const COMPOSITE_SOFTBURN = 76;
    public const COMPOSITE_SOFTDODGE = 77;
    public const COMPOSITE_SOFTLIGHT = 62;
    public const COMPOSITE_SRC = 64;
    public const COMPOSITE_SRCATOP = 63;
    public const COMPOSITE_SRCIN = 65;
    public const COMPOSITE_SRCOUT = 66;
    public const COMPOSITE_SRCOVER = 67;
    public const COMPOSITE_STAMP = 78;
    public const COMPOSITE_STEREO = 71;
    public const COMPOSITE_THRESHOLD = 68;
    public const COMPOSITE_UNDEFINED = 0;
    public const COMPOSITE_VIVIDLIGHT = 69;
    public const COMPOSITE_XOR = 70;
    public const COMPRESSION_B44 = 2;
    public const COMPRESSION_B44A = 1;
    public const COMPRESSION_BZIP = 3;
    public const COMPRESSION_DWAA = 24;
    public const COMPRESSION_DWAB = 25;
    public const COMPRESSION_DXT1 = 4;
    public const COMPRESSION_DXT3 = 5;
    public const COMPRESSION_DXT5 = 6;
    public const COMPRESSION_FAX = 7;
    public const COMPRESSION_GROUP4 = 8;
    public const COMPRESSION_JBIG1 = 9;
    public const COMPRESSION_JBIG2 = 10;
    public const COMPRESSION_JPEG = 12;
    public const COMPRESSION_JPEG2000 = 11;
    public const COMPRESSION_LOSSLESSJPEG = 13;
    public const COMPRESSION_LZMA = 14;
    public const COMPRESSION_LZW = 15;
    public const COMPRESSION_NO = 16;
    public const COMPRESSION_PIZ = 17;
    public const COMPRESSION_PXR24 = 18;
    public const COMPRESSION_RLE = 19;
    public const COMPRESSION_UNDEFINED = 0;
    public const COMPRESSION_WEBP = 23;
    public const COMPRESSION_ZIP = 20;
    public const COMPRESSION_ZIPS = 21;
    public const COMPRESSION_ZSTD = 22;
    public const DECORATION_LINETHROUGH = 4;
    public const DECORATION_LINETROUGH = 4;
    public const DECORATION_NO = 1;
    public const DECORATION_OVERLINE = 3;
    public const DECORATION_UNDERLINE = 2;
    public const DIRECTION_LEFT_TO_RIGHT = 2;
    public const DIRECTION_RIGHT_TO_LEFT = 1;
    public const DISPOSE_BACKGROUND = 2;
    public const DISPOSE_NONE = 1;
    public const DISPOSE_PREVIOUS = 3;
    public const DISPOSE_UNDEFINED = 0;
    public const DISPOSE_UNRECOGNIZED = 0;
    public const DISTORTION_AFFINE = 1;
    public const DISTORTION_AFFINEPROJECTION = 2;
    public const DISTORTION_ARC = 9;
    public const DISTORTION_BARREL = 14;
    public const DISTORTION_BARRELINVERSE = 15;
    public const DISTORTION_BILINEAR = 6;
    public const DISTORTION_BILINEARFORWARD = 6;
    public const DISTORTION_BILINEARREVERSE = 7;
    public const DISTORTION_CYLINDER2PLANE = 12;
    public const DISTORTION_DEPOLAR = 11;
    public const DISTORTION_PERSPECTIVE = 4;
    public const DISTORTION_PERSPECTIVEPROJECTION = 5;
    public const DISTORTION_PLANE2CYLINDER = 13;
    public const DISTORTION_POLAR = 10;
    public const DISTORTION_POLYNOMIAL = 8;
    public const DISTORTION_RESIZE = 17;
    public const DISTORTION_RIGID_AFFINE = 19;
    public const DISTORTION_SCALEROTATETRANSLATE = 3;
    public const DISTORTION_SENTINEL = 18;
    public const DISTORTION_SHEPARDS = 16;
    public const DISTORTION_UNDEFINED = 0;
    public const DITHERMETHOD_FLOYDSTEINBERG = 3;
    public const DITHERMETHOD_NO = 1;
    public const DITHERMETHOD_RIEMERSMA = 2;
    public const DITHERMETHOD_UNDEFINED = 0;
    public const EVALUATE_ABS = 1;
    public const EVALUATE_ADD = 2;
    public const EVALUATE_ADDMODULUS = 3;
    public const EVALUATE_AND = 4;
    public const EVALUATE_COSINE = 5;
    public const EVALUATE_DIVIDE = 6;
    public const EVALUATE_EXPONENTIAL = 7;
    public const EVALUATE_GAUSSIANNOISE = 8;
    public const EVALUATE_IMPULSENOISE = 9;
    public const EVALUATE_INVERSE_LOG = 33;
    public const EVALUATE_LAPLACIANNOISE = 10;
    public const EVALUATE_LEFTSHIFT = 11;
    public const EVALUATE_LOG = 12;
    public const EVALUATE_MAX = 13;
    public const EVALUATE_MEAN = 14;
    public const EVALUATE_MEDIAN = 15;
    public const EVALUATE_MIN = 16;
    public const EVALUATE_MULTIPLICATIVENOISE = 17;
    public const EVALUATE_MULTIPLY = 18;
    public const EVALUATE_OR = 19;
    public const EVALUATE_POISSONNOISE = 20;
    public const EVALUATE_POW = 21;
    public const EVALUATE_RIGHTSHIFT = 22;
    public const EVALUATE_ROOT_MEAN_SQUARE = 23;
    public const EVALUATE_SET = 24;
    public const EVALUATE_SINE = 25;
    public const EVALUATE_SUBTRACT = 26;
    public const EVALUATE_SUM = 27;
    public const EVALUATE_THRESHOLD = 29;
    public const EVALUATE_THRESHOLDBLACK = 28;
    public const EVALUATE_THRESHOLDWHITE = 30;
    public const EVALUATE_UNDEFINED = 0;
    public const EVALUATE_UNIFORMNOISE = 31;
    public const EVALUATE_XOR = 32;
    public const FILLRULE_EVENODD = 1;
    public const FILLRULE_NONZERO = 2;
    public const FILLRULE_UNDEFINED = 0;
    public const FILTER_BARTLETT = 20;
    public const FILTER_BESSEL = 13;
    public const FILTER_BLACKMAN = 7;
    public const FILTER_BOHMAN = 19;
    public const FILTER_BOX = 2;
    public const FILTER_CATROM = 11;
    public const FILTER_COSINE = 28;
    public const FILTER_CUBIC = 10;
    public const FILTER_CUBIC_SPLINE = 31;
    public const FILTER_GAUSSIAN = 8;
    public const FILTER_HAMMING = 6;
    public const FILTER_HANN = 5;
    public const FILTER_HANNING = 5;
    public const FILTER_HERMITE = 4;
    public const FILTER_JINC = 13;
    public const FILTER_KAISER = 16;
    public const FILTER_LAGRANGE = 21;
    public const FILTER_LANCZOS = 22;
    public const FILTER_LANCZOS2 = 24;
    public const FILTER_LANCZOS2SHARP = 25;
    public const FILTER_LANCZOSRADIUS = 30;
    public const FILTER_LANCZOSSHARP = 23;
    public const FILTER_MITCHELL = 12;
    public const FILTER_PARZEN = 18;
    public const FILTER_POINT = 1;
    public const FILTER_QUADRATIC = 9;
    public const FILTER_ROBIDOUX = 26;
    public const FILTER_ROBIDOUXSHARP = 27;
    public const FILTER_SENTINEL = 34;
    public const FILTER_SINC = 14;
    public const FILTER_SINCFAST = 15;
    public const FILTER_SPLINE = 29;
    public const FILTER_TRIANGLE = 3;
    public const FILTER_UNDEFINED = 0;
    public const FILTER_WELCH = 17;
    public const FILTER_WELSH = 17;
    public const FUNCTION_ARCSIN = 1;
    public const FUNCTION_ARCTAN = 2;
    public const FUNCTION_POLYNOMIAL = 3;
    public const FUNCTION_SINUSOID = 4;
    public const FUNCTION_UNDEFINED = 0;
    public const GRAVITY_CENTER = 5;
    public const GRAVITY_EAST = 6;
    public const GRAVITY_FORGET = 0;
    public const GRAVITY_NORTH = 2;
    public const GRAVITY_NORTHEAST = 3;
    public const GRAVITY_NORTHWEST = 1;
    public const GRAVITY_SOUTH = 8;
    public const GRAVITY_SOUTHEAST = 9;
    public const GRAVITY_SOUTHWEST = 7;
    public const GRAVITY_WEST = 4;
    public const IMAGE_TYPE_BILEVEL = 1;
    public const IMAGE_TYPE_COLOR_SEPARATION = 8;
    public const IMAGE_TYPE_COLOR_SEPARATION_ALPHA = 9;
    public const IMAGE_TYPE_GRAYSCALE = 2;
    public const IMAGE_TYPE_GRAYSCALE_ALPHA = 3;
    public const IMAGE_TYPE_OPTIMIZE = 10;
    public const IMAGE_TYPE_PALETTE = 4;
    public const IMAGE_TYPE_PALETTE_ALPHA = 5;
    public const IMAGE_TYPE_PALETTE_BILEVEL_ALPHA = 11;
    public const IMAGE_TYPE_TRUE_COLOR = 6;
    public const IMAGE_TYPE_TRUE_COLOR_ALPHA = 7;
    public const IMAGICK_EXTNUM = 30800;
    public const IMAGICK_EXTVER = "3.8.0";
    public const IMGTYPE_BILEVEL = 1;
    public const IMGTYPE_COLORSEPARATION = 8;
    public const IMGTYPE_COLORSEPARATIONALPHA = 9;
    public const IMGTYPE_COLORSEPARATIONMATTE = 9;
    public const IMGTYPE_GRAYSCALE = 2;
    public const IMGTYPE_GRAYSCALEALPHA = 3;
    public const IMGTYPE_GRAYSCALEMATTE = 3;
    public const IMGTYPE_OPTIMIZE = 10;
    public const IMGTYPE_PALETTE = 4;
    public const IMGTYPE_PALETTEALPHA = 5;
    public const IMGTYPE_PALETTEBILEVELALPHA = 11;
    public const IMGTYPE_PALETTEBILEVELMATTE = 11;
    public const IMGTYPE_PALETTEMATTE = 5;
    public const IMGTYPE_TRUECOLOR = 6;
    public const IMGTYPE_TRUECOLORALPHA = 7;
    public const IMGTYPE_TRUECOLORMATTE = 7;
    public const IMGTYPE_UNDEFINED = 0;
    public const INTERLACE_GIF = 5;
    public const INTERLACE_JPEG = 6;
    public const INTERLACE_LINE = 2;
    public const INTERLACE_NO = 1;
    public const INTERLACE_PARTITION = 4;
    public const INTERLACE_PLANE = 3;
    public const INTERLACE_PNG = 7;
    public const INTERLACE_UNDEFINED = 0;
    public const INTERPOLATE_AVERAGE = 1;
    public const INTERPOLATE_AVERAGE_16 = 3;
    public const INTERPOLATE_AVERAGE_9 = 2;
    public const INTERPOLATE_BACKGROUND_COLOR = 4;
    public const INTERPOLATE_BILINEAR = 5;
    public const INTERPOLATE_BLEND = 6;
    public const INTERPOLATE_CATROM = 7;
    public const INTERPOLATE_INTEGER = 8;
    public const INTERPOLATE_MESH = 9;
    public const INTERPOLATE_NEAREST_PIXEL = 10;
    public const INTERPOLATE_SPLINE = 11;
    public const INTERPOLATE_UNDEFINED = 0;
    public const KERNEL_BINOMIAL = 7;
    public const KERNEL_BLUR = 5;
    public const KERNEL_CHEBYSHEV = 33;
    public const KERNEL_COMET = 6;
    public const KERNEL_COMPASS = 13;
    public const KERNEL_CONVEX_HULL = 30;
    public const KERNEL_CORNERS = 25;
    public const KERNEL_CROSS = 21;
    public const KERNEL_DIAGONALS = 26;
    public const KERNEL_DIAMOND = 15;
    public const KERNEL_DIFFERENCE_OF_GAUSSIANS = 3;
    public const KERNEL_DISK = 19;
    public const KERNEL_EDGES = 24;
    public const KERNEL_EUCLIDEAN = 36;
    public const KERNEL_FREI_CHEN = 10;
    public const KERNEL_GAUSSIAN = 2;
    public const KERNEL_KIRSCH = 14;
    public const KERNEL_LAPLACIAN = 8;
    public const KERNEL_LAPLACIAN_OF_GAUSSIANS = 4;
    public const KERNEL_LINE_ENDS = 27;
    public const KERNEL_LINE_JUNCTIONS = 28;
    public const KERNEL_MANHATTAN = 34;
    public const KERNEL_OCTAGON = 18;
    public const KERNEL_OCTAGONAL = 35;
    public const KERNEL_PEAKS = 23;
    public const KERNEL_PLUS = 20;
    public const KERNEL_PREWITT = 12;
    public const KERNEL_RECTANGLE = 17;
    public const KERNEL_RIDGES = 29;
    public const KERNEL_RING = 22;
    public const KERNEL_ROBERTS = 11;
    public const KERNEL_SKELETON = 32;
    public const KERNEL_SOBEL = 9;
    public const KERNEL_SQUARE = 16;
    public const KERNEL_THIN_SE = 31;
    public const KERNEL_UNITY = 1;
    public const KERNEL_USER_DEFINED = 37;
    public const LAYERMETHOD_COALESCE = 1;
    public const LAYERMETHOD_COMPAREANY = 2;
    public const LAYERMETHOD_COMPARECLEAR = 3;
    public const LAYERMETHOD_COMPAREOVERLAY = 4;
    public const LAYERMETHOD_COMPOSITE = 12;
    public const LAYERMETHOD_DISPOSE = 5;
    public const LAYERMETHOD_FLATTEN = 14;
    public const LAYERMETHOD_MERGE = 13;
    public const LAYERMETHOD_MOSAIC = 15;
    public const LAYERMETHOD_OPTIMIZE = 6;
    public const LAYERMETHOD_OPTIMIZEIMAGE = 7;
    public const LAYERMETHOD_OPTIMIZEPLUS = 8;
    public const LAYERMETHOD_OPTIMIZETRANS = 9;
    public const LAYERMETHOD_REMOVEDUPS = 10;
    public const LAYERMETHOD_REMOVEZERO = 11;
    public const LAYERMETHOD_TRIMBOUNDS = 16;
    public const LAYERMETHOD_UNDEFINED = 0;
    public const LINECAP_BUTT = 1;
    public const LINECAP_ROUND = 2;
    public const LINECAP_SQUARE = 3;
    public const LINECAP_UNDEFINED = 0;
    public const LINEJOIN_BEVEL = 3;
    public const LINEJOIN_MITER = 1;
    public const LINEJOIN_ROUND = 2;
    public const LINEJOIN_UNDEFINED = 0;
    public const METRIC_ABSOLUTEERRORMETRIC = 1;
    public const METRIC_FUZZERROR = 2;
    public const METRIC_MEANABSOLUTEERROR = 3;
    public const METRIC_MEANERRORPERPIXELMETRIC = 4;
    public const METRIC_MEANSQUAREERROR = 5;
    public const METRIC_NORMALIZEDCROSSCORRELATIONERRORMETRIC = 6;
    public const METRIC_PEAKABSOLUTEERROR = 7;
    public const METRIC_PEAKSIGNALTONOISERATIO = 8;
    public const METRIC_PERCEPTUALHASH_ERROR = 9;
    public const METRIC_ROOTMEANSQUAREDERROR = 10;
    public const METRIC_STRUCTURAL_DISSIMILARITY_ERROR = 12;
    public const METRIC_STRUCTURAL_SIMILARITY_ERROR = 11;
    public const MONTAGEMODE_CONCATENATE = 3;
    public const MONTAGEMODE_FRAME = 1;
    public const MONTAGEMODE_UNFRAME = 2;
    public const MORPHOLOGY_BOTTOM_HAT = 17;
    public const MORPHOLOGY_CLOSE = 9;
    public const MORPHOLOGY_CLOSE_INTENSITY = 11;
    public const MORPHOLOGY_CONVOLVE = 1;
    public const MORPHOLOGY_CORRELATE = 2;
    public const MORPHOLOGY_DILATE = 4;
    public const MORPHOLOGY_DILATE_INTENSITY = 6;
    public const MORPHOLOGY_DISTANCE = 21;
    public const MORPHOLOGY_EDGE = 15;
    public const MORPHOLOGY_EDGE_IN = 13;
    public const MORPHOLOGY_EDGE_OUT = 14;
    public const MORPHOLOGY_ERODE = 3;
    public const MORPHOLOGY_ERODE_INTENSITY = 5;
    public const MORPHOLOGY_HIT_AND_MISS = 18;
    public const MORPHOLOGY_ITERATIVE = 7;
    public const MORPHOLOGY_OPEN = 8;
    public const MORPHOLOGY_OPEN_INTENSITY = 10;
    public const MORPHOLOGY_SMOOTH = 12;
    public const MORPHOLOGY_THICKEN = 20;
    public const MORPHOLOGY_THINNING = 19;
    public const MORPHOLOGY_TOP_HAT = 16;
    public const MORPHOLOGY_VORONOI = 22;
    public const NOISE_GAUSSIAN = 2;
    public const NOISE_IMPULSE = 4;
    public const NOISE_LAPLACIAN = 5;
    public const NOISE_MULTIPLICATIVEGAUSSIAN = 3;
    public const NOISE_POISSON = 6;
    public const NOISE_RANDOM = 7;
    public const NOISE_UNIFORM = 1;
    public const NORMALIZE_KERNEL_CORRELATE = 65536;
    public const NORMALIZE_KERNEL_NONE = 0;
    public const NORMALIZE_KERNEL_PERCENT = 4096;
    public const NORMALIZE_KERNEL_VALUE = 8192;
    public const ORIENTATION_BOTTOMLEFT = 4;
    public const ORIENTATION_BOTTOMRIGHT = 3;
    public const ORIENTATION_LEFTBOTTOM = 8;
    public const ORIENTATION_LEFTTOP = 5;
    public const ORIENTATION_RIGHTBOTTOM = 7;
    public const ORIENTATION_RIGHTTOP = 6;
    public const ORIENTATION_TOPLEFT = 1;
    public const ORIENTATION_TOPRIGHT = 2;
    public const ORIENTATION_UNDEFINED = 0;
    public const PAINT_FILLTOBORDER = 4;
    public const PAINT_FLOODFILL = 3;
    public const PAINT_POINT = 1;
    public const PAINT_REPLACE = 2;
    public const PAINT_RESET = 5;
    public const PATHUNITS_OBJECTBOUNDINGBOX = 3;
    public const PATHUNITS_UNDEFINED = 0;
    public const PATHUNITS_USERSPACE = 1;
    public const PATHUNITS_USERSPACEONUSE = 2;
    public const PIXELMASK_COMPOSITE = 4;
    public const PIXELMASK_READ = 1;
    public const PIXELMASK_WRITE = 2;
    public const PIXELSTORAGE_CHAR = 1;
    public const PIXELSTORAGE_DOUBLE = 2;
    public const PIXELSTORAGE_FLOAT = 3;
    public const PIXELSTORAGE_LONG = 4;
    public const PIXELSTORAGE_QUANTUM = 6;
    public const PIXELSTORAGE_SHORT = 7;
    public const PIXEL_CHAR = 1;
    public const PIXEL_DOUBLE = 2;
    public const PIXEL_FLOAT = 3;
    public const PIXEL_LONG = 4;
    public const PIXEL_QUANTUM = 6;
    public const PIXEL_SHORT = 7;
    public const PREVIEW_ADDNOISE = 14;
    public const PREVIEW_BLUR = 16;
    public const PREVIEW_BRIGHTNESS = 6;
    public const PREVIEW_CHARCOALDRAWING = 28;
    public const PREVIEW_DESPECKLE = 12;
    public const PREVIEW_DULL = 9;
    public const PREVIEW_EDGEDETECT = 18;
    public const PREVIEW_GAMMA = 7;
    public const PREVIEW_GRAYSCALE = 10;
    public const PREVIEW_HUE = 4;
    public const PREVIEW_IMPLODE = 25;
    public const PREVIEW_JPEG = 29;
    public const PREVIEW_OILPAINT = 27;
    public const PREVIEW_QUANTIZE = 11;
    public const PREVIEW_RAISE = 22;
    public const PREVIEW_REDUCENOISE = 13;
    public const PREVIEW_ROLL = 3;
    public const PREVIEW_ROTATE = 1;
    public const PREVIEW_SATURATION = 5;
    public const PREVIEW_SEGMENT = 23;
    public const PREVIEW_SHADE = 21;
    public const PREVIEW_SHARPEN = 15;
    public const PREVIEW_SHEAR = 2;
    public const PREVIEW_SOLARIZE = 20;
    public const PREVIEW_SPIFF = 8;
    public const PREVIEW_SPREAD = 19;
    public const PREVIEW_SWIRL = 24;
    public const PREVIEW_THRESHOLD = 17;
    public const PREVIEW_UNDEFINED = 0;
    public const PREVIEW_WAVE = 26;
    public const QUANTUM_RANGE = 65535;
    public const RENDERINGINTENT_ABSOLUTE = 3;
    public const RENDERINGINTENT_PERCEPTUAL = 2;
    public const RENDERINGINTENT_RELATIVE = 4;
    public const RENDERINGINTENT_SATURATION = 1;
    public const RENDERINGINTENT_UNDEFINED = 0;
    public const RESOLUTION_PIXELSPERCENTIMETER = 2;
    public const RESOLUTION_PIXELSPERINCH = 1;
    public const RESOLUTION_UNDEFINED = 0;
    public const RESOURCETYPE_AREA = 1;
    public const RESOURCETYPE_DISK = 2;
    public const RESOURCETYPE_FILE = 3;
    public const RESOURCETYPE_HEIGHT = 4;
    public const RESOURCETYPE_LISTLENGTH = 11;
    public const RESOURCETYPE_MAP = 5;
    public const RESOURCETYPE_MEMORY = 6;
    public const RESOURCETYPE_THREAD = 7;
    public const RESOURCETYPE_THROTTLE = 8;
    public const RESOURCETYPE_TIME = 9;
    public const RESOURCETYPE_UNDEFINED = 0;
    public const RESOURCETYPE_WIDTH = 10;
    public const SPARSECOLORMETHOD_BARYCENTRIC = 1;
    public const SPARSECOLORMETHOD_BILINEAR = 7;
    public const SPARSECOLORMETHOD_INVERSE = 19;
    public const SPARSECOLORMETHOD_MANHATTAN = 20;
    public const SPARSECOLORMETHOD_POLYNOMIAL = 8;
    public const SPARSECOLORMETHOD_SPEPARDS = 16;
    public const SPARSECOLORMETHOD_UNDEFINED = 0;
    public const SPARSECOLORMETHOD_VORONOI = 18;
    public const STATISTIC_CONTRAST = 10;
    public const STATISTIC_GRADIENT = 1;
    public const STATISTIC_MAXIMUM = 2;
    public const STATISTIC_MEAN = 3;
    public const STATISTIC_MEDIAN = 4;
    public const STATISTIC_MINIMUM = 5;
    public const STATISTIC_MODE = 6;
    public const STATISTIC_NONPEAK = 7;
    public const STATISTIC_ROOT_MEAN_SQUARE = 8;
    public const STATISTIC_STANDARD_DEVIATION = 9;
    public const STRETCH_ANY = 10;
    public const STRETCH_CONDENSED = 4;
    public const STRETCH_EXPANDED = 7;
    public const STRETCH_EXTRACONDENSED = 3;
    public const STRETCH_EXTRAEXPANDED = 8;
    public const STRETCH_NORMAL = 1;
    public const STRETCH_SEMICONDENSED = 5;
    public const STRETCH_SEMIEXPANDED = 6;
    public const STRETCH_ULTRACONDENSED = 2;
    public const STRETCH_ULTRAEXPANDED = 9;
    public const STYLE_ANY = 4;
    public const STYLE_BOLD = 5;
    public const STYLE_ITALIC = 2;
    public const STYLE_NORMAL = 1;
    public const STYLE_OBLIQUE = 3;
    public const USE_ZEND_MM = 0;
    public const VIRTUALPIXELMETHOD_BACKGROUND = 1;
    public const VIRTUALPIXELMETHOD_BLACK = 9;
    public const VIRTUALPIXELMETHOD_CHECKERTILE = 16;
    public const VIRTUALPIXELMETHOD_DITHER = 2;
    public const VIRTUALPIXELMETHOD_EDGE = 3;
    public const VIRTUALPIXELMETHOD_GRAY = 10;
    public const VIRTUALPIXELMETHOD_HORIZONTALTILE = 12;
    public const VIRTUALPIXELMETHOD_HORIZONTALTILEEDGE = 14;
    public const VIRTUALPIXELMETHOD_MASK = 8;
    public const VIRTUALPIXELMETHOD_MIRROR = 4;
    public const VIRTUALPIXELMETHOD_RANDOM = 5;
    public const VIRTUALPIXELMETHOD_TILE = 6;
    public const VIRTUALPIXELMETHOD_TRANSPARENT = 7;
    public const VIRTUALPIXELMETHOD_UNDEFINED = 0;
    public const VIRTUALPIXELMETHOD_VERTICALTILE = 13;
    public const VIRTUALPIXELMETHOD_VERTICALTILEEDGE = 15;
    public const VIRTUALPIXELMETHOD_WHITE = 11;

    /**
     * (PECL imagick 2.0.0)<br/>
     * Removes repeated portions of images to optimize
     * @link https://php.net/manual/en/imagick.optimizeimagelayers.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function optimizeImageLayers() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the maximum bounding region between images
     * @link https://php.net/manual/en/imagick.compareimagelayers.php
     * @param int $method <p>
     * One of the layer method constants.
     * </p>
     * @return Imagick <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function compareImageLayers($method) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Quickly fetch attributes
     * @link https://php.net/manual/en/imagick.pingimageblob.php
     * @param string $image <p>
     * A string containing the image.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function pingImageBlob($image) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Get basic image attributes in a lightweight manner
     * @link https://php.net/manual/en/imagick.pingimagefile.php
     * @param resource $filehandle <p>
     * An open filehandle to the image.
     * </p>
     * @param string $fileName [optional] <p>
     * Optional filename for this image.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function pingImageFile($filehandle, $fileName = null) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a vertical mirror image
     * @link https://php.net/manual/en/imagick.transposeimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function transposeImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a horizontal mirror image
     * @link https://php.net/manual/en/imagick.transverseimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function transverseImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Remove edges from the image
     * @link https://php.net/manual/en/imagick.trimimage.php
     * @param float $fuzz <p>
     * By default target must match a particular pixel color exactly.
     * However, in many cases two colors may differ by a small amount.
     * The fuzz member of image defines how much tolerance is acceptable
     * to consider two colors as the same. This parameter represents the variation
     * on the quantum range.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function trimImage($fuzz) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Applies wave filter to the image
     * @link https://php.net/manual/en/imagick.waveimage.php
     * @param float $amplitude <p>
     * The amplitude of the wave.
     * </p>
     * @param float $length <p>
     * The length of the wave.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function waveImage($amplitude, $length) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds vignette filter to the image
     * @link https://php.net/manual/en/imagick.vignetteimage.php
     * @param float $blackPoint <p>
     * The black point.
     * </p>
     * @param float $whitePoint <p>
     * The white point
     * </p>
     * @param int $x <p>
     * X offset of the ellipse
     * </p>
     * @param int $y <p>
     * Y offset of the ellipse
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function vignetteImage($blackPoint, $whitePoint, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Discards all but one of any pixel color
     * @link https://php.net/manual/en/imagick.uniqueimagecolors.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function uniqueImageColors() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Return if the image has a matte channel
     * @link https://php.net/manual/en/imagick.getimagematte.php
     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    #[Pure]
    public function getImageMatte() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image matte channel
     * @link https://php.net/manual/en/imagick.setimagematte.php
     * @param bool $matte <p>
     * True activates the matte channel and false disables it.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageMatte($matte) {}

    /**
     * Adaptively resize image with data dependent triangulation
     *
     * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
     * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
     * <br>
     * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.
     * In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
     * @link https://php.net/manual/en/imagick.adaptiveresizeimage.php
     * @param int $columns The number of columns in the scaled image.
     * @param int $rows The number of rows in the scaled image.
     * @param bool $bestfit [optional] Whether to fit the image inside a bounding box.<br>
     *                                 The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
     * @return bool TRUE on success
     * @throws ImagickException Throws ImagickException on error
     * @since 2.0.0
     */
    public function adaptiveResizeImage($columns, $rows, $bestfit = false, $legacy = false) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Simulates a pencil sketch
     * @link https://php.net/manual/en/imagick.sketchimage.php
     * @param float $radius <p>
     * The radius of the Gaussian, in pixels, not counting the center pixel
     * </p>
     * @param float $sigma <p>
     * The standard deviation of the Gaussian, in pixels.
     * </p>
     * @param float $angle <p>
     * Apply the effect along this angle.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function sketchImage($radius, $sigma, $angle) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a 3D effect
     * @link https://php.net/manual/en/imagick.shadeimage.php
     * @param bool $gray <p>
     * A value other than zero shades the intensity of each pixel.
     * </p>
     * @param float $azimuth <p>
     * Defines the light source direction.
     * </p>
     * @param float $elevation <p>
     * Defines the light source direction.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function shadeImage($gray, $azimuth, $elevation) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the size offset
     * @link https://php.net/manual/en/imagick.getsizeoffset.php
     * @return int the size offset associated with the Imagick object.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getSizeOffset() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the size and offset of the Imagick object
     * @link https://php.net/manual/en/imagick.setsizeoffset.php
     * @param int $columns <p>
     * The width in pixels.
     * </p>
     * @param int $rows <p>
     * The height in pixels.
     * </p>
     * @param int $offset <p>
     * The image offset.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setSizeOffset($columns, $rows, $offset) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds adaptive blur filter to image
     * @link https://php.net/manual/en/imagick.adaptiveblurimage.php
     * @param float $radius <p>
     * The radius of the Gaussian, in pixels, not counting the center pixel.
     * Provide a value of 0 and the radius will be chosen automagically.
     * </p>
     * @param float $sigma <p>
     * The standard deviation of the Gaussian, in pixels.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function adaptiveBlurImage($radius, $sigma, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Enhances the contrast of a color image
     * @link https://php.net/manual/en/imagick.contraststretchimage.php
     * @param float $black_point <p>
     * The black point.
     * </p>
     * @param float $white_point <p>
     * The white point.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. <b>Imagick::CHANNEL_ALL</b>. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function contrastStretchImage($black_point, $white_point, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adaptively sharpen the image
     * @link https://php.net/manual/en/imagick.adaptivesharpenimage.php
     * @param float $radius <p>
     * The radius of the Gaussian, in pixels, not counting the center pixel. Use 0 for auto-select.
     * </p>
     * @param float $sigma <p>
     * The standard deviation of the Gaussian, in pixels.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function adaptiveSharpenImage($radius, $sigma, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a high-contrast, two-color image
     * @link https://php.net/manual/en/imagick.randomthresholdimage.php
     * @param float $low <p>
     * The low point
     * </p>
     * @param float $high <p>
     * The high point
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function randomThresholdImage($low, $high, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * @param $xRounding
     * @param $yRounding
     * @param $strokeWidth [optional]
     * @param $displace [optional]
     * @param $sizeCorrection [optional]
     * @throws ImagickException on error.
     */
    public function roundCornersImage($xRounding, $yRounding, $strokeWidth, $displace, $sizeCorrection) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Rounds image corners
     * Alias to {@see Imagick::roundCornersImage}
     * @link https://php.net/manual/en/imagick.roundcorners.php
     * @param float $x_rounding <p>
     * x rounding
     * </p>
     * @param float $y_rounding <p>
     * y rounding
     * </p>
     * @param float $stroke_width [optional] <p>
     * stroke width
     * </p>
     * @param float $displace [optional] <p>
     * image displace
     * </p>
     * @param float $size_correction [optional] <p>
     * size correction
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated(replacement: "%class%->roundCornersImage(%parametersList%)")]
    public function roundCorners($x_rounding, $y_rounding, $stroke_width = 10.0, $displace = 5.0, $size_correction = -6.0) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Set the iterator position
     * @link https://php.net/manual/en/imagick.setiteratorindex.php
     * @param int $index <p>
     * The position to set the iterator to
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setIteratorIndex($index) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the index of the current active image
     * @link https://php.net/manual/en/imagick.getiteratorindex.php
     * @return int an integer containing the index of the image in the stack.
     */
    #[Pure]
    public function getIteratorIndex() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Convenience method for setting crop size and the image geometry
     * @link https://php.net/manual/en/imagick.transformimage.php
     * @param string $crop <p>
     * A crop geometry string. This geometry defines a subregion of the image to crop.
     * </p>
     * @param string $geometry <p>
     * An image geometry string. This geometry defines the final size of the image.
     * </p>
     * @return Imagick <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function transformImage($crop, $geometry) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image opacity level
     * @link https://php.net/manual/en/imagick.setimageopacity.php
     * @param float $opacity <p>
     * The level of transparency: 1.0 is fully opaque and 0.0 is fully
     * transparent.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageOpacity($opacity) {}

    /**
     * (PECL imagick 2.2.2)<br/>
     * Performs an ordered dither
     * @link https://php.net/manual/en/imagick.orderedposterizeimage.php
     * @param string $threshold_map <p>
     * A string containing the name of the threshold dither map to use
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function orderedPosterizeImage($threshold_map, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Simulates a Polaroid picture
     * @link https://php.net/manual/en/imagick.polaroidimage.php
     * @param ImagickDraw $properties <p>
     * The polaroid properties
     * </p>
     * @param float $angle <p>
     * The polaroid angle
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function polaroidImage(ImagickDraw $properties, $angle) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the named image property
     * @link https://php.net/manual/en/imagick.getimageproperty.php
     * @param string $name <p>
     * name of the property (for example Exif:DateTime)
     * </p>
     * @return string|false a string containing the image property, false if a
     * property with the given name does not exist.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageProperty($name) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets an image property
     * @link https://php.net/manual/en/imagick.setimageproperty.php
     * @param string $name
     * @param string $value
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageProperty($name, $value) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image interpolate pixel method
     * @link https://php.net/manual/en/imagick.setimageinterpolatemethod.php
     * @param int $method <p>
     * The method is one of the <b>Imagick::INTERPOLATE_*</b> constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageInterpolateMethod($method) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the interpolation method
     * @link https://php.net/manual/en/imagick.getimageinterpolatemethod.php
     * @return int the interpolate method on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageInterpolateMethod() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Stretches with saturation the image intensity
     * @link https://php.net/manual/en/imagick.linearstretchimage.php
     * @param float $blackPoint <p>
     * The image black point
     * </p>
     * @param float $whitePoint <p>
     * The image white point
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function linearStretchImage($blackPoint, $whitePoint) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the image length in bytes
     * @link https://php.net/manual/en/imagick.getimagelength.php
     * @return int an int containing the current image size.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageLength() {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Set image size
     * @link https://php.net/manual/en/imagick.extentimage.php
     * @param int $width <p>
     * The new width
     * </p>
     * @param int $height <p>
     * The new height
     * </p>
     * @param int $x <p>
     * X position for the new size
     * </p>
     * @param int $y <p>
     * Y position for the new size
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function extentImage($width, $height, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image orientation
     * @link https://php.net/manual/en/imagick.getimageorientation.php
     * @return int an int on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageOrientation() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image orientation
     * @link https://php.net/manual/en/imagick.setimageorientation.php
     * @param int $orientation <p>
     * One of the orientation constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageOrientation($orientation) {}

    /**
     * (PECL imagick 2.1.0)<br/>
     * Changes the color value of any pixel that matches target
     * @link https://php.net/manual/en/imagick.paintfloodfillimage.php
     * @param mixed $fill <p>
     * ImagickPixel object or a string containing the fill color
     * </p>
     * @param float $fuzz <p>
     * The amount of fuzz. For example, set fuzz to 10 and the color red at
     * intensities of 100 and 102 respectively are now interpreted as the
     * same color for the purposes of the floodfill.
     * </p>
     * @param mixed $bordercolor <p>
     * ImagickPixel object or a string containing the border color
     * </p>
     * @param int $x <p>
     * X start position of the floodfill
     * </p>
     * @param int $y <p>
     * Y start position of the floodfill
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function paintFloodfillImage($fill, $fuzz, $bordercolor, $x, $y, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Replaces colors in the image from a color lookup table. Optional second parameter to replace colors in a specific channel. This method is available if Imagick has been compiled against ImageMagick version 6.3.6 or newer.
     * @link https://php.net/manual/en/imagick.clutimage.php
     * @param Imagick $lookup_table <p>
     * Imagick object containing the color lookup table
     * </p>
     * @param int $channel [optional] <p>
     * The Channeltype
     * constant. When not supplied, default channels are replaced.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     * @since 2.0.0
     */
    public function clutImage(Imagick $lookup_table, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the image properties
     * @link https://php.net/manual/en/imagick.getimageproperties.php
     * @param string $pattern [optional] <p>
     * The pattern for property names.
     * </p>
     * @param bool $only_names [optional] <p>
     * Whether to return only property names. If <b>FALSE</b> then also the values are returned
     * </p>
     * @return array an array containing the image properties or property names.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageProperties($pattern = "*", $only_names = true) {}

    /**
     * (PECL imagick 2.2.0)<br/>
     * Returns the image profiles
     * @link https://php.net/manual/en/imagick.getimageprofiles.php
     * @param string $pattern [optional] <p>
     * The pattern for profile names.
     * </p>
     * @param bool $include_values [optional] <p>
     * Whether to return only profile names. If <b>FALSE</b> then only profile names will be returned.
     * </p>
     * @return array an array containing the image profiles or profile names.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageProfiles($pattern = "*", $include_values = true) {}

    /**
     * (PECL imagick 2.0.1)<br/>
     * Distorts an image using various distortion methods
     * @link https://php.net/manual/en/imagick.distortimage.php
     * @param int $method <p>
     * The method of image distortion. See distortion constants
     * </p>
     * @param array $arguments <p>
     * The arguments for this distortion method
     * </p>
     * @param bool $bestfit <p>
     * Attempt to resize destination to fit distorted source
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function distortImage($method, array $arguments, $bestfit) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Writes an image to a filehandle
     * @link https://php.net/manual/en/imagick.writeimagefile.php
     * @param resource $filehandle <p>
     * Filehandle where to write the image
     * </p>
     * @param string|null $format <p>
     * The image format. The list of valid format specifiers depends on the compiled feature set of ImageMagick, and can be queried at runtime via Imagick::queryFormats().
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function writeImageFile($filehandle, ?string $format = null) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Writes frames to a filehandle
     * @link https://php.net/manual/en/imagick.writeimagesfile.php
     * @param resource $filehandle <p>
     * Filehandle where to write the images
     * </p>
     * @param string|null $format <p>
     * The image format. The list of valid format specifiers depends on the compiled feature set of ImageMagick, and can be queried at runtime via Imagick::queryFormats().
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function writeImagesFile($filehandle, ?string $format = null) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Reset image page
     * @link https://php.net/manual/en/imagick.resetimagepage.php
     * @param string $page <p>
     * The page definition. For example 7168x5147+0+0
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function resetImagePage($page) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Sets image clip mask
     * @link https://php.net/manual/en/imagick.setimageclipmask.php
     * @param Imagick $clip_mask <p>
     * The Imagick object containing the clip mask
     * </p>
     * @return bool <b>TRUE</b> on success.
     */
    public function setImageClipMask(Imagick $clip_mask) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Gets image clip mask
     * @link https://php.net/manual/en/imagick.getimageclipmask.php
     * @return Imagick an Imagick object containing the clip mask.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageClipMask() {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Animates an image or images
     * @link https://php.net/manual/en/imagick.animateimages.php
     * @param string $x_server <p>
     * X server address
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function animateImages($x_server) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Recolors image
     * @link https://php.net/manual/en/imagick.recolorimage.php
     * @param array $matrix <p>
     * The matrix containing the color values
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function recolorImage(array $matrix) {}

    /**
     * (PECL imagick 2.1.0)<br/>
     * Sets font
     * @link https://php.net/manual/en/imagick.setfont.php
     * @param string $font <p>
     * Font name or a filename
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setFont($font) {}

    /**
     * (PECL imagick 2.1.0)<br/>
     * Gets font
     * @link https://php.net/manual/en/imagick.getfont.php
     * @return string|false the string containing the font name or <b>FALSE</b> if not font is set.
     */
    #[Pure]
    public function getFont() {}

    /**
     * (PECL imagick 2.1.0)<br/>
     * Sets point size
     * @link https://php.net/manual/en/imagick.setpointsize.php
     * @param float $point_size <p>
     * Point size
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setPointSize($point_size) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Gets point size
     * @link https://php.net/manual/en/imagick.getpointsize.php
     * @return float a float containing the point size.
     */
    #[Pure]
    public function getPointSize() {}

    /**
     * (PECL imagick 2.1.0)<br/>
     * Merges image layers
     * @link https://php.net/manual/en/imagick.mergeimagelayers.php
     * @param int $layer_method <p>
     * One of the <b>Imagick::LAYERMETHOD_*</b> constants
     * </p>
     * @return Imagick Returns an Imagick object containing the merged image.
     * @throws ImagickException
     */
    public function mergeImageLayers($layer_method) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Sets image alpha channel
     * @link https://php.net/manual/en/imagick.setimagealphachannel.php
     * @param int $mode <p>
     * One of the <b>Imagick::ALPHACHANNEL_*</b> constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageAlphaChannel($mode) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Changes the color value of any pixel that matches target
     * @link https://php.net/manual/en/imagick.floodfillpaintimage.php
     * @param mixed $fill <p>
     * ImagickPixel object or a string containing the fill color
     * </p>
     * @param float $fuzz <p>
     * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
     * </p>
     * @param mixed $target <p>
     * ImagickPixel object or a string containing the target color to paint
     * </p>
     * @param int $x <p>
     * X start position of the floodfill
     * </p>
     * @param int $y <p>
     * Y start position of the floodfill
     * </p>
     * @param bool $invert <p>
     * If <b>TRUE</b> paints any pixel that does not match the target color.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function floodFillPaintImage($fill, $fuzz, $target, $x, $y, $invert, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Changes the color value of any pixel that matches target
     * @link https://php.net/manual/en/imagick.opaquepaintimage.php
     * @param mixed $target <p>
     * ImagickPixel object or a string containing the color to change
     * </p>
     * @param mixed $fill <p>
     * The replacement color
     * </p>
     * @param float $fuzz <p>
     * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
     * </p>
     * @param bool $invert <p>
     * If <b>TRUE</b> paints any pixel that does not match the target color.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function opaquePaintImage($target, $fill, $fuzz, $invert, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Paints pixels transparent
     * @link https://php.net/manual/en/imagick.transparentpaintimage.php
     * @param mixed $target <p>
     * The target color to paint
     * </p>
     * @param float $alpha <p>
     * The level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.
     * </p>
     * @param float $fuzz <p>
     * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
     * </p>
     * @param bool $invert <p>
     * If <b>TRUE</b> paints any pixel that does not match the target color.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function transparentPaintImage($target, $alpha, $fuzz, $invert) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Animates an image or images
     * @link https://php.net/manual/en/imagick.liquidrescaleimage.php
     * @param int $width <p>
     * The width of the target size
     * </p>
     * @param int $height <p>
     * The height of the target size
     * </p>
     * @param float $delta_x <p>
     * How much the seam can traverse on x-axis.
     * Passing 0 causes the seams to be straight.
     * </p>
     * @param float $rigidity <p>
     * Introduces a bias for non-straight seams. This parameter is
     * typically 0.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function liquidRescaleImage($width, $height, $delta_x, $rigidity) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Enciphers an image
     * @link https://php.net/manual/en/imagick.encipherimage.php
     * @param string $passphrase <p>
     * The passphrase
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function encipherImage($passphrase) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Deciphers an image
     * @link https://php.net/manual/en/imagick.decipherimage.php
     * @param string $passphrase <p>
     * The passphrase
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function decipherImage($passphrase) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Sets the gravity
     * @link https://php.net/manual/en/imagick.setgravity.php
     * @param int $gravity <p>
     * The gravity property. Refer to the list of
     * gravity constants.
     * </p>
     * @return bool No value is returned.
     * @throws ImagickException on error.
     */
    public function setGravity($gravity) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Gets the gravity
     * @link https://php.net/manual/en/imagick.getgravity.php
     * @return int the gravity property. Refer to the list of
     * gravity constants.
     */
    #[Pure]
    public function getGravity() {}

    /**
     * (PECL imagick 2.2.1)<br/>
     * Gets channel range
     * @link https://php.net/manual/en/imagick.getimagechannelrange.php
     * @param int $channel <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return float[] an array containing minima and maxima values of the channel(s).
     * @throws ImagickException on error.
     */
    #[ArrayShape(["minima" => "float", "maxima" => "float"])]
    #[Pure]
    public function getImageChannelRange($channel) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Gets the image alpha channel
     * @link https://php.net/manual/en/imagick.getimagealphachannel.php
     * @return bool a constant defining the current alpha channel value. Refer to this
     * list of alpha channel constants.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageAlphaChannel() {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Gets channel distortions
     * @link https://php.net/manual/en/imagick.getimagechanneldistortions.php
     * @param Imagick $reference <p>
     * Imagick object containing the reference image
     * </p>
     * @param int $metric <p>
     * Refer to this list of metric type constants.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return float a float describing the channel distortion.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageChannelDistortions(Imagick $reference, $metric, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Sets the image gravity
     * @link https://php.net/manual/en/imagick.setimagegravity.php
     * @param int $gravity <p>
     * The gravity property. Refer to the list of
     * gravity constants.
     * </p>
     * @return bool No value is returned.
     * @throws ImagickException on error.
     */
    public function setImageGravity($gravity) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Gets the image gravity
     * @link https://php.net/manual/en/imagick.getimagegravity.php
     * @return int the images gravity property. Refer to the list of
     * gravity constants.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageGravity() {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Imports image pixels
     * @link https://php.net/manual/en/imagick.importimagepixels.php
     * @param int $x <p>
     * The image x position
     * </p>
     * @param int $y <p>
     * The image y position
     * </p>
     * @param int $width <p>
     * The image width
     * </p>
     * @param int $height <p>
     * The image height
     * </p>
     * @param string $map <p>
     * Map of pixel ordering as a string. This can be for example RGB.
     * The value can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent),
     * O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.
     * </p>
     * @param int $storage <p>
     * The pixel storage method.
     * Refer to this list of pixel constants.
     * </p>
     * @param array $pixels <p>
     * The array of pixels
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function importImagePixels($x, $y, $width, $height, $map, $storage, array $pixels) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Removes skew from the image
     * @link https://php.net/manual/en/imagick.deskewimage.php
     * @param float $threshold <p>
     * Deskew threshold
     * </p>
     * @return bool
     * @throws ImagickException on error.
     */
    public function deskewImage($threshold) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Segments an image
     * @link https://php.net/manual/en/imagick.segmentimage.php
     * @param int $COLORSPACE <p>
     * One of the COLORSPACE constants.
     * </p>
     * @param float $cluster_threshold <p>
     * A percentage describing minimum number of pixels
     * contained in hexedra before it is considered valid.
     * </p>
     * @param float $smooth_threshold <p>
     * Eliminates noise from the histogram.
     * </p>
     * @param bool $verbose [optional] <p>
     * Whether to output detailed information about recognised classes.
     * </p>
     * @return bool
     * @throws ImagickException on error.
     */
    public function segmentImage($COLORSPACE, $cluster_threshold, $smooth_threshold, $verbose = false) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Interpolates colors
     * @link https://php.net/manual/en/imagick.sparsecolorimage.php
     * @param int $SPARSE_METHOD <p>
     * Refer to this list of sparse method constants
     * </p>
     * @param array $arguments <p>
     * An array containing the coordinates.
     * The array is in format array(1,1, 2,45)
     * </p>
     * @param int $channel [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function sparseColorImage($SPARSE_METHOD, array $arguments, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Remaps image colors
     * @link https://php.net/manual/en/imagick.remapimage.php
     * @param Imagick $replacement <p>
     * An Imagick object containing the replacement colors
     * </p>
     * @param int $DITHER <p>
     * Refer to this list of dither method constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function remapImage(Imagick $replacement, $DITHER) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Exports raw image pixels
     * @link https://php.net/manual/en/imagick.exportimagepixels.php
     * @param int $x <p>
     * X-coordinate of the exported area
     * </p>
     * @param int $y <p>
     * Y-coordinate of the exported area
     * </p>
     * @param int $width <p>
     * Width of the exported aread
     * </p>
     * @param int $height <p>
     * Height of the exported area
     * </p>
     * @param string $map <p>
     * Ordering of the exported pixels. For example "RGB".
     * Valid characters for the map are R, G, B, A, O, C, Y, M, K, I and P.
     * </p>
     * @param int $STORAGE <p>
     * Refer to this list of pixel type constants
     * </p>
     * @return int[] an array containing the pixels values.
     * @throws ImagickException on error.
     */
    public function exportImagePixels($x, $y, $width, $height, $map, $STORAGE) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * The getImageChannelKurtosis purpose
     * @link https://php.net/manual/en/imagick.getimagechannelkurtosis.php
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return float[] an array with kurtosis and skewness
     * members.
     * @throws ImagickException on error.
     */
    #[ArrayShape(["kurtosis" => "float", "skewness" => "float"])]
    #[Pure]
    public function getImageChannelKurtosis($channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Applies a function on the image
     * @link https://php.net/manual/en/imagick.functionimage.php
     * @param int $function <p>
     * Refer to this list of function constants
     * </p>
     * @param array $arguments <p>
     * Array of arguments to pass to this function.
     * </p>
     * @param int $channel [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function functionImage($function, array $arguments, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * Transform image colorspace
     * @param $COLORSPACE
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function transformImageColorspace($COLORSPACE) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Replaces colors in the image
     * @link https://php.net/manual/en/imagick.haldclutimage.php
     * @param Imagick $clut <p>
     * Imagick object containing the Hald lookup image.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function haldClutImage(Imagick $clut, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * Adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.
     * @param $CHANNEL [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function autoLevelImage($CHANNEL) {}

    /**
     * @link https://www.php.net/manual/en/imagick.blueshiftimage.php
     * @param float $factor [optional]
     * @return bool
     * @throws ImagickException on error.
     */
    public function blueShiftImage($factor = 1.5) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Get image artifact
     * @link https://php.net/manual/en/imagick.getimageartifact.php
     * @param string $artifact <p>
     * The name of the artifact
     * </p>
     * @return string the artifact value on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageArtifact($artifact) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Set image artifact
     * @link https://php.net/manual/en/imagick.setimageartifact.php
     * @param string $artifact <p>
     * The name of the artifact
     * </p>
     * @param string $value <p>
     * The value of the artifact
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageArtifact($artifact, $value) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Delete image artifact
     * @link https://php.net/manual/en/imagick.deleteimageartifact.php
     * @param string $artifact <p>
     * The name of the artifact to delete
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function deleteImageArtifact($artifact) {}

    /**
     * (PECL imagick 0.9.10-0.9.9)<br/>
     * Gets the colorspace
     * @link https://php.net/manual/en/imagick.getcolorspace.php
     * @return int an integer which can be compared against COLORSPACE constants.
     */
    #[Pure]
    public function getColorspace() {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Set colorspace
     * @link https://php.net/manual/en/imagick.setcolorspace.php
     * @param int $COLORSPACE <p>
     * One of the COLORSPACE constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     */
    public function setColorspace($COLORSPACE) {}

    /**
     * @param $CHANNEL [optional]
     * @throws ImagickException on error.
     */
    public function clampImage($CHANNEL) {}

    /**
     * @param bool $stack
     * @param int $offset
     * @return Imagick
     * @throws ImagickException on error.
     */
    public function smushImages($stack, $offset) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * The Imagick constructor
     * @link https://php.net/manual/en/imagick.construct.php
     * @param mixed $files <p>
     * The path to an image to load or an array of paths. Paths can include
     * wildcards for file names, or can be URLs.
     * </p>
     * @throws ImagickException Throws ImagickException on error.
     */
    public function __construct($files = null) {}

    /**
     * @return string
     */
    public function __toString() {}

    public function count() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns a MagickPixelIterator
     * @link https://php.net/manual/en/imagick.getpixeliterator.php
     * @return ImagickPixelIterator an ImagickPixelIterator on success.
     * @throws ImagickException on error.
     * @throws ImagickPixelIteratorException on error.
     */
    #[Pure]
    public function getPixelIterator() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Get an ImagickPixelIterator for an image section
     * @link https://php.net/manual/en/imagick.getpixelregioniterator.php
     * @param int $x <p>
     * The x-coordinate of the region.
     * </p>
     * @param int $y <p>
     * The y-coordinate of the region.
     * </p>
     * @param int $columns <p>
     * The width of the region.
     * </p>
     * @param int $rows <p>
     * The height of the region.
     * </p>
     * @return ImagickPixelIterator an ImagickPixelIterator for an image section.
     * @throws ImagickException on error.
     * @throws ImagickPixelIteratorException on error.
     */
    #[Pure]
    public function getPixelRegionIterator($x, $y, $columns, $rows) {}

    /**
     * (PECL imagick 0.9.0-0.9.9)<br/>
     * Reads image from filename
     * @link https://php.net/manual/en/imagick.readimage.php
     * @param string $filename
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException Throws ImagickException on error.
     */
    public function readImage($filename) {}

    /**
     * @param $filenames
     * @throws ImagickException Throws ImagickException on error.
     */
    public function readImages($filenames) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Reads image from a binary string
     * @link https://php.net/manual/en/imagick.readimageblob.php
     * @param string $image
     * @param string $filename [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException Throws ImagickException on error.
     */
    public function readImageBlob($image, $filename = null) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the format of a particular image
     * @link https://php.net/manual/en/imagick.setimageformat.php
     * @param string $format <p>
     * String presentation of the image format. Format support
     * depends on the ImageMagick installation.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageFormat($format) {}

    /**
     * Scales the size of an image to the given dimensions. Passing zero as either of the arguments will preserve dimension while scaling.<br>
     * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
     * If false, the calculations should produce the same results as ImageMagick CLI does.
     * @link https://php.net/manual/en/imagick.scaleimage.php
     * @param int $columns
     * @param int $rows
     * @param bool $bestfit [optional] The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException Throws ImagickException on error
     * @since 2.0.0
     */
    public function scaleImage($columns, $rows, $bestfit = false, $legacy = false) {}

    /**
     * (PECL imagick 0.9.0-0.9.9)<br/>
     * Writes an image to the specified filename
     * @link https://php.net/manual/en/imagick.writeimage.php
     * @param string $filename [optional] <p>
     * Filename where to write the image. The extension of the filename
     * defines the type of the file.
     * Format can be forced regardless of file extension using format: prefix,
     * for example "jpg:test.png".
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function writeImage($filename = null) {}

    /**
     * (PECL imagick 0.9.0-0.9.9)<br/>
     * Writes an image or image sequence
     * @link https://php.net/manual/en/imagick.writeimages.php
     * @param string $filename
     * @param bool $adjoin
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function writeImages($filename, $adjoin) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds blur filter to image
     * @link https://php.net/manual/en/imagick.blurimage.php
     * @param float $radius <p>
     * Blur radius
     * </p>
     * @param float $sigma <p>
     * Standard deviation
     * </p>
     * @param int $channel [optional] <p>
     * The Channeltype
     * constant. When not supplied, all channels are blurred.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function blurImage($radius, $sigma, $channel = null) {}

    /**
     * Changes the size of an image to the given dimensions and removes any associated profiles.<br>
     * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
     * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
     * <br>
     * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
     * @link https://php.net/manual/en/imagick.thumbnailimage.php
     * @param int $columns <p>
     * Image width
     * </p>
     * @param int $rows <p>
     * Image height
     * </p>
     * @param bool $bestfit [optional] <p>
     * Whether to force maximum values
     * </p>
     * The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
     * @param bool $fill [optional]
     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     * @since 2.0.0
     */
    public function thumbnailImage($columns, $rows, $bestfit = false, $fill = false, $legacy = false) {}

    /**
     * Creates a cropped thumbnail at the requested size.
     * If legacy is true, uses the incorrect behaviour that was present until Imagick 3.4.0.
     * If false it uses the correct behaviour.
     * @link https://php.net/manual/en/imagick.cropthumbnailimage.php
     * @param int $width The width of the thumbnail
     * @param int $height The Height of the thumbnail
     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
     * @return bool TRUE on succes
     * @throws ImagickException Throws ImagickException on error
     * @since 2.0.0
     */
    public function cropThumbnailImage($width, $height, $legacy = false) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the filename of a particular image in a sequence
     * @link https://php.net/manual/en/imagick.getimagefilename.php
     * @return string a string with the filename of the image.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageFilename() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the filename of a particular image
     * @link https://php.net/manual/en/imagick.setimagefilename.php
     * @param string $filename
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageFilename($filename) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the format of a particular image in a sequence
     * @link https://php.net/manual/en/imagick.getimageformat.php
     * @return string a string containing the image format on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageFormat() {}

    /**
     * @link https://secure.php.net/manual/en/imagick.getimagemimetype.php
     * @return string Returns the image mime-type.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageMimeType() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Removes an image from the image list
     * @link https://php.net/manual/en/imagick.removeimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function removeImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Destroys the Imagick object
     * @link https://php.net/manual/en/imagick.destroy.php
     * @return bool <b>TRUE</b> on success.
     */
    #[Deprecated(replacement: "%class%->clear()")]
    public function destroy() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Clears all resources associated to Imagick object
     * @link https://php.net/manual/en/imagick.clear.php
     * @return bool <b>TRUE</b> on success.
     */
    public function clear() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the image length in bytes
     * @link https://php.net/manual/en/imagick.getimagesize.php
     * @return int an int containing the current image size.
     * @throws ImagickException on error.
     */
    #[Deprecated(replacement: "%class%->getImageLength()")]
    #[Pure]
    public function getImageSize() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the image sequence as a blob
     * @link https://php.net/manual/en/imagick.getimageblob.php
     * @return string a string containing the image.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageBlob() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns all image sequences as a blob
     * @link https://php.net/manual/en/imagick.getimagesblob.php
     * @return string a string containing the images. On failure, throws ImagickException on failure
     * @throws ImagickException on failure
     */
    #[Pure]
    public function getImagesBlob() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the Imagick iterator to the first image
     * @link https://php.net/manual/en/imagick.setfirstiterator.php
     * @return bool <b>TRUE</b> on success.
     */
    public function setFirstIterator() {}

    /**
     * (PECL imagick 2.0.1)<br/>
     * Sets the Imagick iterator to the last image
     * @link https://php.net/manual/en/imagick.setlastiterator.php
     * @return bool <b>TRUE</b> on success.
     */
    public function setLastIterator() {}

    public function resetIterator() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Move to the previous image in the object
     * @link https://php.net/manual/en/imagick.previousimage.php
     * @return bool <b>TRUE</b> on success.
     */
    public function previousImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Moves to the next image
     * @link https://php.net/manual/en/imagick.nextimage.php
     * @return bool <b>TRUE</b> on success.
     */
    public function nextImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Checks if the object has a previous image
     * @link https://php.net/manual/en/imagick.haspreviousimage.php
     * @return bool <b>TRUE</b> if the object has more images when traversing the list in the
     * reverse direction, returns <b>FALSE</b> if there are none.
     */
    public function hasPreviousImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Checks if the object has more images
     * @link https://php.net/manual/en/imagick.hasnextimage.php
     * @return bool <b>TRUE</b> if the object has more images when traversing the list in the
     * forward direction, returns <b>FALSE</b> if there are none.
     */
    public function hasNextImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Set the iterator position
     * @link https://php.net/manual/en/imagick.setimageindex.php
     * @param int $index <p>
     * The position to set the iterator to
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function setImageIndex($index) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the index of the current active image
     * @link https://php.net/manual/en/imagick.getimageindex.php
     * @return int an integer containing the index of the image in the stack.
     */
    #[Deprecated]
    #[Pure]
    public function getImageIndex() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds a comment to your image
     * @link https://php.net/manual/en/imagick.commentimage.php
     * @param string $comment <p>
     * The comment to add
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function commentImage($comment) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Extracts a region of the image
     * @link https://php.net/manual/en/imagick.cropimage.php
     * @param int $width <p>
     * The width of the crop
     * </p>
     * @param int $height <p>
     * The height of the crop
     * </p>
     * @param int $x <p>
     * The X coordinate of the cropped region's top left corner
     * </p>
     * @param int $y <p>
     * The Y coordinate of the cropped region's top left corner
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function cropImage($width, $height, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds a label to an image
     * @link https://php.net/manual/en/imagick.labelimage.php
     * @param string $label <p>
     * The label to add
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function labelImage($label) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the width and height as an associative array
     * @link https://php.net/manual/en/imagick.getimagegeometry.php
     * @return int[] an array with the width/height of the image.
     * @throws ImagickException on error.
     */
    #[ArrayShape(["width" => "int", "height" => "int"])]
    #[Pure]
    public function getImageGeometry() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Renders the ImagickDraw object on the current image
     * @link https://php.net/manual/en/imagick.drawimage.php
     * @param ImagickDraw $draw <p>
     * The drawing operations to render on the image.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function drawImage(ImagickDraw $draw) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Sets the image compression quality
     * @link https://php.net/manual/en/imagick.setimagecompressionquality.php
     * @param int $quality <p>
     * The image compression quality as an integer
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageCompressionQuality($quality) {}

    /**
     * (PECL imagick 2.2.2)<br/>
     * Gets the current image's compression quality
     * @link https://php.net/manual/en/imagick.getimagecompressionquality.php
     * @return int integer describing the images compression quality
     */
    #[Pure]
    public function getImageCompressionQuality() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Annotates an image with text
     * @link https://php.net/manual/en/imagick.annotateimage.php
     * @param ImagickDraw $draw_settings <p>
     * The ImagickDraw object that contains settings for drawing the text
     * </p>
     * @param float $x <p>
     * Horizontal offset in pixels to the left of text
     * </p>
     * @param float $y <p>
     * Vertical offset in pixels to the baseline of text
     * </p>
     * @param float $angle <p>
     * The angle at which to write the text
     * </p>
     * @param string $text <p>
     * The string to draw
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function annotateImage(ImagickDraw $draw_settings, $x, $y, $angle, $text) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Composite one image onto another
     * @link https://php.net/manual/en/imagick.compositeimage.php
     * @param Imagick $composite_object <p>
     * Imagick object which holds the composite image
     * </p>
     * @param int $composite Composite operator
     * @param int $x <p>
     * The column offset of the composited image
     * </p>
     * @param int $y <p>
     * The row offset of the composited image
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function compositeImage(Imagick $composite_object, $composite, $x, $y, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Control the brightness, saturation, and hue
     * @link https://php.net/manual/en/imagick.modulateimage.php
     * @param float $brightness
     * @param float $saturation
     * @param float $hue
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function modulateImage($brightness, $saturation, $hue) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the number of unique colors in the image
     * @link https://php.net/manual/en/imagick.getimagecolors.php
     * @return int <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageColors() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a composite image
     * @link https://php.net/manual/en/imagick.montageimage.php
     * @param ImagickDraw $draw <p>
     * The font name, size, and color are obtained from this object.
     * </p>
     * @param string $tile_geometry <p>
     * The number of tiles per row and page (e.g. 6x4+0+0).
     * </p>
     * @param string $thumbnail_geometry <p>
     * Preferred image size and border size of each thumbnail
     * (e.g. 120x120+4+3&#x3E;).
     * </p>
     * @param int $mode <p>
     * Thumbnail framing mode, see Montage Mode constants.
     * </p>
     * @param string $frame <p>
     * Surround the image with an ornamental border (e.g. 15x15+3+3). The
     * frame color is that of the thumbnail's matte color.
     * </p>
     * @return Imagick <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function montageImage(ImagickDraw $draw, $tile_geometry, $thumbnail_geometry, $mode, $frame) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Identifies an image and fetches attributes
     * @link https://php.net/manual/en/imagick.identifyimage.php
     * @param bool $appendRawOutput [optional]
     * @return array Identifies an image and returns the attributes. Attributes include
     * the image width, height, size, and others.
     * @throws ImagickException on error.
     */
    public function identifyImage($appendRawOutput = false) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Changes the value of individual pixels based on a threshold
     * @link https://php.net/manual/en/imagick.thresholdimage.php
     * @param float $threshold
     * @param int $channel [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function thresholdImage($threshold, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Selects a threshold for each pixel based on a range of intensity
     * @link https://php.net/manual/en/imagick.adaptivethresholdimage.php
     * @param int $width <p>
     * Width of the local neighborhood.
     * </p>
     * @param int $height <p>
     * Height of the local neighborhood.
     * </p>
     * @param int $offset <p>
     * The mean offset
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function adaptiveThresholdImage($width, $height, $offset) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Forces all pixels below the threshold into black
     * @link https://php.net/manual/en/imagick.blackthresholdimage.php
     * @param mixed $threshold <p>
     * The threshold below which everything turns black
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function blackThresholdImage($threshold) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Force all pixels above the threshold into white
     * @link https://php.net/manual/en/imagick.whitethresholdimage.php
     * @param mixed $threshold
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function whiteThresholdImage($threshold) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Append a set of images
     * @link https://php.net/manual/en/imagick.appendimages.php
     * @param bool $stack [optional] <p>
     * Whether to stack the images vertically.
     * By default (or if <b>FALSE</b> is specified) images are stacked left-to-right.
     * If <i>stack</i> is <b>TRUE</b>, images are stacked top-to-bottom.
     * </p>
     * @return Imagick Imagick instance on success.
     * @throws ImagickException on error.
     */
    public function appendImages($stack = false) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Simulates a charcoal drawing
     * @link https://php.net/manual/en/imagick.charcoalimage.php
     * @param float $radius <p>
     * The radius of the Gaussian, in pixels, not counting the center pixel
     * </p>
     * @param float $sigma <p>
     * The standard deviation of the Gaussian, in pixels
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function charcoalImage($radius, $sigma) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Enhances the contrast of a color image
     * @link https://php.net/manual/en/imagick.normalizeimage.php
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function normalizeImage($channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Simulates an oil painting
     * @link https://php.net/manual/en/imagick.oilpaintimage.php
     * @param float $radius <p>
     * The radius of the circular neighborhood.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function oilPaintImage($radius) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Reduces the image to a limited number of color level
     * @link https://php.net/manual/en/imagick.posterizeimage.php
     * @param int $levels
     * @param bool $dither
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function posterizeImage($levels, $dither) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Radial blurs an image
     * @link https://php.net/manual/en/imagick.radialblurimage.php
     * @param float $angle
     * @param int $channel [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function radialBlurImage($angle, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a simulated 3d button-like effect
     * @link https://php.net/manual/en/imagick.raiseimage.php
     * @param int $width
     * @param int $height
     * @param int $x
     * @param int $y
     * @param bool $raise
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function raiseImage($width, $height, $x, $y, $raise) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Resample image to desired resolution
     * @link https://php.net/manual/en/imagick.resampleimage.php
     * @param float $x_resolution
     * @param float $y_resolution
     * @param int $filter
     * @param float $blur
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function resampleImage($x_resolution, $y_resolution, $filter, $blur) {}

    /**
     * Scales an image to the desired dimensions with one of these filters:<br>
     * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
     * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
     * <br>
     * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.<br>
     * In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
     * @link https://php.net/manual/en/imagick.resizeimage.php
     * @param int $columns Width of the image
     * @param int $rows Height of the image
     * @param int $filter Refer to the list of filter constants.
     * @param float $blur The blur factor where > 1 is blurry, < 1 is sharp.
     * @param bool $bestfit [optional] Added since 2.1.0. Added optional fit parameter. This method now supports proportional scaling. Pass zero as either parameter for proportional scaling
     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
     * @return bool TRUE on success
     * @throws ImagickException on error.
     * @since 2.0.0
     */
    public function resizeImage($columns, $rows, $filter, $blur, $bestfit = false, $legacy = false) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Offsets an image
     * @link https://php.net/manual/en/imagick.rollimage.php
     * @param int $x <p>
     * The X offset.
     * </p>
     * @param int $y <p>
     * The Y offset.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function rollImage($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Rotates an image
     * @link https://php.net/manual/en/imagick.rotateimage.php
     * @param mixed $background <p>
     * The background color
     * </p>
     * @param float $degrees <p>
     * The number of degrees to rotate the image
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function rotateImage($background, $degrees) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Scales an image with pixel sampling
     * @link https://php.net/manual/en/imagick.sampleimage.php
     * @param int $columns
     * @param int $rows
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function sampleImage($columns, $rows) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Applies a solarizing effect to the image
     * @link https://php.net/manual/en/imagick.solarizeimage.php
     * @param int $threshold
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function solarizeImage($threshold) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Simulates an image shadow
     * @link https://php.net/manual/en/imagick.shadowimage.php
     * @param float $opacity
     * @param float $sigma
     * @param int $x
     * @param int $y
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function shadowImage($opacity, $sigma, $x, $y) {}

    /**
     * @param string $key
     * @param string $value
     * @return bool
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function setImageAttribute($key, $value) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image background color
     * @link https://php.net/manual/en/imagick.setimagebackgroundcolor.php
     * @param mixed $background
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageBackgroundColor($background) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image composite operator
     * @link https://php.net/manual/en/imagick.setimagecompose.php
     * @param int $compose
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageCompose($compose) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image compression
     * @link https://php.net/manual/en/imagick.setimagecompression.php
     * @param int $compression <p>
     * One of the <b>COMPRESSION</b> constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageCompression($compression) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image delay
     * @link https://php.net/manual/en/imagick.setimagedelay.php
     * @param int $delay <p>
     * The amount of time expressed in 'ticks' that the image should be
     * displayed for. For animated GIFs there are 100 ticks per second, so a
     * value of 20 would be 20/100 of a second aka 1/5th of a second.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageDelay($delay) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image depth
     * @link https://php.net/manual/en/imagick.setimagedepth.php
     * @param int $depth
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageDepth($depth) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image gamma
     * @link https://php.net/manual/en/imagick.setimagegamma.php
     * @param float $gamma
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageGamma($gamma) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image iterations
     * @link https://php.net/manual/en/imagick.setimageiterations.php
     * @param int $iterations <p>
     * The number of iterations the image should loop over. Set to '0' to loop
     * continuously.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageIterations($iterations) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image matte color
     * @link https://php.net/manual/en/imagick.setimagemattecolor.php
     * @param mixed $matte
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageMatteColor($matte) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the page geometry of the image
     * @link https://php.net/manual/en/imagick.setimagepage.php
     * @param int $width
     * @param int $height
     * @param int $x
     * @param int $y
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImagePage($width, $height, $x, $y) {}

    /**
     * @param $filename
     * @throws ImagickException on error.
     */
    public function setImageProgressMonitor($filename) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image resolution
     * @link https://php.net/manual/en/imagick.setimageresolution.php
     * @param float $x_resolution
     * @param float $y_resolution
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageResolution($x_resolution, $y_resolution) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image scene
     * @link https://php.net/manual/en/imagick.setimagescene.php
     * @param int $scene
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageScene($scene) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image ticks-per-second
     * @link https://php.net/manual/en/imagick.setimagetickspersecond.php
     * @param int $ticks_per_second <p>
     * The duration for which an image should be displayed expressed in ticks
     * per second.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageTicksPerSecond($ticks_per_second) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image type
     * @link https://php.net/manual/en/imagick.setimagetype.php
     * @param int $image_type
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageType($image_type) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image units of resolution
     * @link https://php.net/manual/en/imagick.setimageunits.php
     * @param int $units
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageUnits($units) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sharpens an image
     * @link https://php.net/manual/en/imagick.sharpenimage.php
     * @param float $radius
     * @param float $sigma
     * @param int $channel [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function sharpenImage($radius, $sigma, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Shaves pixels from the image edges
     * @link https://php.net/manual/en/imagick.shaveimage.php
     * @param int $columns
     * @param int $rows
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function shaveImage($columns, $rows) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creating a parallelogram
     * @link https://php.net/manual/en/imagick.shearimage.php
     * @param mixed $background <p>
     * The background color
     * </p>
     * @param float $x_shear <p>
     * The number of degrees to shear on the x axis
     * </p>
     * @param float $y_shear <p>
     * The number of degrees to shear on the y axis
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function shearImage($background, $x_shear, $y_shear) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Splices a solid color into the image
     * @link https://php.net/manual/en/imagick.spliceimage.php
     * @param int $width
     * @param int $height
     * @param int $x
     * @param int $y
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function spliceImage($width, $height, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Fetch basic attributes about the image
     * @link https://php.net/manual/en/imagick.pingimage.php
     * @param string $filename <p>
     * The filename to read the information from.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function pingImage($filename) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Reads image from open filehandle
     * @link https://php.net/manual/en/imagick.readimagefile.php
     * @param resource $filehandle
     * @param string $fileName [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function readImageFile($filehandle, $fileName = null) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Displays an image
     * @link https://php.net/manual/en/imagick.displayimage.php
     * @param string $servername <p>
     * The X server name
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function displayImage($servername) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Displays an image or image sequence
     * @link https://php.net/manual/en/imagick.displayimages.php
     * @param string $servername <p>
     * The X server name
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function displayImages($servername) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Randomly displaces each pixel in a block
     * @link https://php.net/manual/en/imagick.spreadimage.php
     * @param float $radius
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function spreadImage($radius) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Swirls the pixels about the center of the image
     * @link https://php.net/manual/en/imagick.swirlimage.php
     * @param float $degrees
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function swirlImage($degrees) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Strips an image of all profiles and comments
     * @link https://php.net/manual/en/imagick.stripimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function stripImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns formats supported by Imagick
     * @link https://php.net/manual/en/imagick.queryformats.php
     * @param string $pattern [optional]
     * @return array an array containing the formats supported by Imagick.
     */
    public static function queryFormats($pattern = "*") {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the configured fonts
     * @link https://php.net/manual/en/imagick.queryfonts.php
     * @param string $pattern [optional] <p>
     * The query pattern
     * </p>
     * @return array an array containing the configured fonts.
     */
    public static function queryFonts($pattern = "*") {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns an array representing the font metrics
     * @link https://php.net/manual/en/imagick.queryfontmetrics.php
     * @param ImagickDraw $properties <p>
     * ImagickDraw object containing font properties
     * </p>
     * @param string $text <p>
     * The text
     * </p>
     * @param bool $multiline [optional] <p>
     * Multiline parameter. If left empty it is autodetected
     * </p>
     * @return array a multi-dimensional array representing the font metrics.
     * @throws ImagickException on error.
     */
    public function queryFontMetrics(ImagickDraw $properties, $text, $multiline = null) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Hides a digital watermark within the image
     * @link https://php.net/manual/en/imagick.steganoimage.php
     * @param Imagick $watermark_wand
     * @param int $offset
     * @return Imagick <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function steganoImage(Imagick $watermark_wand, $offset) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds random noise to the image
     * @link https://php.net/manual/en/imagick.addnoiseimage.php
     * @param int $noise_type <p>
     * The type of the noise. Refer to this list of
     * noise constants.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function addNoiseImage($noise_type, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Simulates motion blur
     * @link https://php.net/manual/en/imagick.motionblurimage.php
     * @param float $radius <p>
     * The radius of the Gaussian, in pixels, not counting the center pixel.
     * </p>
     * @param float $sigma <p>
     * The standard deviation of the Gaussian, in pixels.
     * </p>
     * @param float $angle <p>
     * Apply the effect along this angle.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * The channel argument affects only if Imagick is compiled against ImageMagick version
     * 6.4.4 or greater.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function motionBlurImage($radius, $sigma, $angle, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Forms a mosaic from images
     * @link https://php.net/manual/en/imagick.mosaicimages.php
     * @return Imagick <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function mosaicImages() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Method morphs a set of images
     * @link https://php.net/manual/en/imagick.morphimages.php
     * @param int $number_frames <p>
     * The number of in-between images to generate.
     * </p>
     * @return Imagick This method returns a new Imagick object on success.
     * Throw an <b>ImagickException</b> on error.
     * @throws ImagickException on error
     * @throws ImagickException on error.
     */
    public function morphImages($number_frames) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Scales an image proportionally to half its size
     * @link https://php.net/manual/en/imagick.minifyimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function minifyImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Transforms an image
     * @link https://php.net/manual/en/imagick.affinetransformimage.php
     * @param ImagickDraw $matrix <p>
     * The affine matrix
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function affineTransformImage(ImagickDraw $matrix) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Average a set of images
     * @link https://php.net/manual/en/imagick.averageimages.php
     * @return Imagick a new Imagick object on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function averageImages() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Surrounds the image with a border
     * @link https://php.net/manual/en/imagick.borderimage.php
     * @param mixed $bordercolor <p>
     * ImagickPixel object or a string containing the border color
     * </p>
     * @param int $width <p>
     * Border width
     * </p>
     * @param int $height <p>
     * Border height
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function borderImage($bordercolor, $width, $height) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Removes a region of an image and trims
     * @link https://php.net/manual/en/imagick.chopimage.php
     * @param int $width <p>
     * Width of the chopped area
     * </p>
     * @param int $height <p>
     * Height of the chopped area
     * </p>
     * @param int $x <p>
     * X origo of the chopped area
     * </p>
     * @param int $y <p>
     * Y origo of the chopped area
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function chopImage($width, $height, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Clips along the first path from the 8BIM profile
     * @link https://php.net/manual/en/imagick.clipimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function clipImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Clips along the named paths from the 8BIM profile
     * @link https://php.net/manual/en/imagick.clippathimage.php
     * @param string $pathname <p>
     * The name of the path
     * </p>
     * @param bool $inside <p>
     * If <b>TRUE</b> later operations take effect inside clipping path.
     * Otherwise later operations take effect outside clipping path.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function clipPathImage($pathname, $inside) {}

    /**
     * Alias to {@see Imagick::clipPathImage}
     * @param string $pathname
     * @param string $inside
     * @throws ImagickException on error.
     */
    public function clipImagePath($pathname, $inside) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Composites a set of images
     * @link https://php.net/manual/en/imagick.coalesceimages.php
     * @return Imagick a new Imagick object on success.
     * @throws ImagickException on error.
     */
    public function coalesceImages() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Changes the color value of any pixel that matches target
     * @link https://php.net/manual/en/imagick.colorfloodfillimage.php
     * @param mixed $fill <p>
     * ImagickPixel object containing the fill color
     * </p>
     * @param float $fuzz <p>
     * The amount of fuzz. For example, set fuzz to 10 and the color red at
     * intensities of 100 and 102 respectively are now interpreted as the
     * same color for the purposes of the floodfill.
     * </p>
     * @param mixed $bordercolor <p>
     * ImagickPixel object containing the border color
     * </p>
     * @param int $x <p>
     * X start position of the floodfill
     * </p>
     * @param int $y <p>
     * Y start position of the floodfill
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function colorFloodfillImage($fill, $fuzz, $bordercolor, $x, $y) {}

    /**
     * Blends the fill color with each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.<br>
     * If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
     * @link https://php.net/manual/en/imagick.colorizeimage.php
     * @param mixed $colorize <p>
     * ImagickPixel object or a string containing the colorize color
     * </p>
     * @param mixed $opacity <p>
     * ImagickPixel object or an float containing the opacity value.
     * 1.0 is fully opaque and 0.0 is fully transparent.
     * </p>
     * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException Throws ImagickException on error
     * @since 2.0.0
     */
    public function colorizeImage($colorize, $opacity, $legacy = false) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the difference in one or more images
     * @link https://php.net/manual/en/imagick.compareimagechannels.php
     * @param Imagick $image <p>
     * Imagick object containing the image to compare.
     * </p>
     * @param int $channelType <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @param int $metricType <p>
     * One of the metric type constants.
     * </p>
     * @return array Array consisting of new_wand and
     * distortion.
     * @throws ImagickException on error.
     */
    public function compareImageChannels(Imagick $image, $channelType, $metricType) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Compares an image to a reconstructed image
     * @link https://php.net/manual/en/imagick.compareimages.php
     * @param Imagick $compare <p>
     * An image to compare to.
     * </p>
     * @param int $metric <p>
     * Provide a valid metric type constant. Refer to this
     * list of metric constants.
     * </p>
     * @return array Array consisting of an Imagick object of the
     * reconstructed image and a float representing the difference.
     * @throws ImagickException Throws ImagickException on error.
     */
    public function compareImages(Imagick $compare, $metric) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Change the contrast of the image
     * @link https://php.net/manual/en/imagick.contrastimage.php
     * @param bool $sharpen <p>
     * The sharpen value
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function contrastImage($sharpen) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Combines one or more images into a single image
     * @link https://php.net/manual/en/imagick.combineimages.php
     * @param int $channelType <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return Imagick <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function combineImages($channelType) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Applies a custom convolution kernel to the image
     * @link https://php.net/manual/en/imagick.convolveimage.php
     * @param array $kernel <p>
     * The convolution kernel
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function convolveImage(array $kernel, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Displaces an image's colormap
     * @link https://php.net/manual/en/imagick.cyclecolormapimage.php
     * @param int $displace <p>
     * The amount to displace the colormap.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function cycleColormapImage($displace) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns certain pixel differences between images
     * @link https://php.net/manual/en/imagick.deconstructimages.php
     * @return Imagick a new Imagick object on success.
     * @throws ImagickException on error.
     */
    public function deconstructImages() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Reduces the speckle noise in an image
     * @link https://php.net/manual/en/imagick.despeckleimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function despeckleImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Enhance edges within the image
     * @link https://php.net/manual/en/imagick.edgeimage.php
     * @param float $radius <p>
     * The radius of the operation.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function edgeImage($radius) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns a grayscale image with a three-dimensional effect
     * @link https://php.net/manual/en/imagick.embossimage.php
     * @param float $radius <p>
     * The radius of the effect
     * </p>
     * @param float $sigma <p>
     * The sigma of the effect
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function embossImage($radius, $sigma) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Improves the quality of a noisy image
     * @link https://php.net/manual/en/imagick.enhanceimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function enhanceImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Equalizes the image histogram
     * @link https://php.net/manual/en/imagick.equalizeimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function equalizeImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Applies an expression to an image
     * @link https://php.net/manual/en/imagick.evaluateimage.php
     * @param int $op <p>
     * The evaluation operator
     * </p>
     * @param float $constant <p>
     * The value of the operator
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function evaluateImage($op, $constant, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * Merges a sequence of images. This is useful for combining Photoshop layers into a single image.
     * This is replaced by:
     * <pre>
     * $im = $im->mergeImageLayers(\Imagick::LAYERMETHOD_FLATTEN)
     * </pre>
     * @link https://php.net/manual/en/imagick.flattenimages.php
     * @return Imagick Returns an Imagick object containing the merged image.
     * @throws ImagickException Throws ImagickException on error.
     * @since 2.0.0
     */
    #[Deprecated]
    public function flattenImages() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a vertical mirror image
     * @link https://php.net/manual/en/imagick.flipimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function flipImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a horizontal mirror image
     * @link https://php.net/manual/en/imagick.flopimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function flopImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds a simulated three-dimensional border
     * @link https://php.net/manual/en/imagick.frameimage.php
     * @param mixed $matte_color <p>
     * ImagickPixel object or a string representing the matte color
     * </p>
     * @param int $width <p>
     * The width of the border
     * </p>
     * @param int $height <p>
     * The height of the border
     * </p>
     * @param int $inner_bevel <p>
     * The inner bevel width
     * </p>
     * @param int $outer_bevel <p>
     * The outer bevel width
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function frameImage($matte_color, $width, $height, $inner_bevel, $outer_bevel) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Evaluate expression for each pixel in the image
     * @link https://php.net/manual/en/imagick.fximage.php
     * @param string $expression <p>
     * The expression.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return Imagick <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function fxImage($expression, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gamma-corrects an image
     * @link https://php.net/manual/en/imagick.gammaimage.php
     * @param float $gamma <p>
     * The amount of gamma-correction.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function gammaImage($gamma, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Blurs an image
     * @link https://php.net/manual/en/imagick.gaussianblurimage.php
     * @param float $radius <p>
     * The radius of the Gaussian, in pixels, not counting the center pixel.
     * </p>
     * @param float $sigma <p>
     * The standard deviation of the Gaussian, in pixels.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function gaussianBlurImage($radius, $sigma, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * @link https://www.php.net/manual/en/imagick.getimageattribute.php
     * @param string $key <p>The key of the attribute to get.</p>
     * @return string
     */
    #[Deprecated]
    #[Pure]
    public function getImageAttribute($key) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the image background color
     * @link https://php.net/manual/en/imagick.getimagebackgroundcolor.php
     * @return ImagickPixel an ImagickPixel set to the background color of the image.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageBackgroundColor() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the chromaticy blue primary point
     * @link https://php.net/manual/en/imagick.getimageblueprimary.php
     * @return float[] Array consisting of "x" and "y" coordinates of point.
     * @throws ImagickException on error.
     */
    #[ArrayShape(["x" => "float", "y" => "float"])]
    #[Pure]
    public function getImageBluePrimary() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the image border color
     * @link https://php.net/manual/en/imagick.getimagebordercolor.php
     * @return ImagickPixel <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageBorderColor() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the depth for a particular image channel
     * @link https://php.net/manual/en/imagick.getimagechanneldepth.php
     * @param int $channel <p>
     * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
     * </p>
     * @return int <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageChannelDepth($channel) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Compares image channels of an image to a reconstructed image
     * @link https://php.net/manual/en/imagick.getimagechanneldistortion.php
     * @param Imagick $reference <p>
     * Imagick object to compare to.
     * </p>
     * @param int $channel <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @param int $metric <p>
     * One of the metric type constants.
     * </p>
     * @return float <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageChannelDistortion(Imagick $reference, $channel, $metric) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the extrema for one or more image channels
     * @link https://php.net/manual/en/imagick.getimagechannelextrema.php
     * @param int $channel <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return int[]
     * @throws ImagickException on error.
     */
    #[ArrayShape(["minima" => "int", "maxima" => "int"])]
    #[Deprecated]
    #[Pure]
    public function getImageChannelExtrema($channel) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the mean and standard deviation
     * @link https://php.net/manual/en/imagick.getimagechannelmean.php
     * @param int $channel <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return float[]
     * @throws ImagickException on error.
     */
    #[ArrayShape(["mean" => "float", "standardDeviation" => "float"])]
    #[Pure]
    public function getImageChannelMean($channel) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns statistics for each channel in the image
     * @link https://php.net/manual/en/imagick.getimagechannelstatistics.php
     * @return array
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageChannelStatistics() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the color of the specified colormap index
     * @link https://php.net/manual/en/imagick.getimagecolormapcolor.php
     * @param int $index <p>
     * The offset into the image colormap.
     * </p>
     * @return ImagickPixel <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageColormapColor($index) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image colorspace
     * @link https://php.net/manual/en/imagick.getimagecolorspace.php
     * @return int <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageColorspace() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the composite operator associated with the image
     * @link https://php.net/manual/en/imagick.getimagecompose.php
     * @return int <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageCompose() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image delay
     * @link https://php.net/manual/en/imagick.getimagedelay.php
     * @return int the image delay.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageDelay() {}

    /**
     * (PECL imagick 0.9.1-0.9.9)<br/>
     * Gets the image depth
     * @link https://php.net/manual/en/imagick.getimagedepth.php
     * @return int The image depth.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageDepth() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Compares an image to a reconstructed image
     * @link https://php.net/manual/en/imagick.getimagedistortion.php
     * @param Imagick $reference <p>
     * Imagick object to compare to.
     * </p>
     * @param int $metric <p>
     * One of the metric type constants.
     * </p>
     * @return float the distortion metric used on the image (or the best guess
     * thereof).
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageDistortion(Imagick $reference, $metric) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the extrema for the image
     * @link https://php.net/manual/en/imagick.getimageextrema.php
     * @return int[] an associative array with the keys "min" and "max".
     * @throws ImagickException on error.
     */
    #[ArrayShape(["min" => "int", "max" => "int"])]
    #[Deprecated]
    #[Pure]
    public function getImageExtrema() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image disposal method
     * @link https://php.net/manual/en/imagick.getimagedispose.php
     * @return int the dispose method on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageDispose() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image gamma
     * @link https://php.net/manual/en/imagick.getimagegamma.php
     * @return float the image gamma on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageGamma() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the chromaticy green primary point
     * @link https://php.net/manual/en/imagick.getimagegreenprimary.php
     * @return float[] an array with the keys "x" and "y" on success, throws an ImagickException on failure.
     * @throws ImagickException on failure
     * @throws ImagickException on error.
     */
    #[ArrayShape(["x" => "float", "y" => "float"])]
    #[Pure]
    public function getImageGreenPrimary() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the image height
     * @link https://php.net/manual/en/imagick.getimageheight.php
     * @return int the image height in pixels.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageHeight() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image histogram
     * @link https://php.net/manual/en/imagick.getimagehistogram.php
     * @return array the image histogram as an array of ImagickPixel objects.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageHistogram() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image interlace scheme
     * @link https://php.net/manual/en/imagick.getimageinterlacescheme.php
     * @return int the interlace scheme as an integer on success.
     * Trhow an <b>ImagickException</b> on error.
     * @throws ImagickException on error
     */
    #[Deprecated]
    #[Pure]
    public function getImageInterlaceScheme() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image iterations
     * @link https://php.net/manual/en/imagick.getimageiterations.php
     * @return int the image iterations as an integer.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageIterations() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the image matte color
     * @link https://php.net/manual/en/imagick.getimagemattecolor.php
     * @return ImagickPixel ImagickPixel object on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageMatteColor() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the page geometry
     * @link https://php.net/manual/en/imagick.getimagepage.php
     * @return int[] the page geometry associated with the image in an array with the
     * keys "width", "height", "x", and "y".
     * @throws ImagickException on error.
     */
    #[ArrayShape(["width" => "int", "height" => "int", "x" => "int", "y" => "int"])]
    #[Pure]
    public function getImagePage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the color of the specified pixel
     * @link https://php.net/manual/en/imagick.getimagepixelcolor.php
     * @param int $x <p>
     * The x-coordinate of the pixel
     * </p>
     * @param int $y <p>
     * The y-coordinate of the pixel
     * </p>
     * @return ImagickPixel an ImagickPixel instance for the color at the coordinates given.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImagePixelColor($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the named image profile
     * @link https://php.net/manual/en/imagick.getimageprofile.php
     * @param string $name <p>
     * The name of the profile to return.
     * </p>
     * @return string a string containing the image profile.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageProfile($name) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the chromaticity red primary point
     * @link https://php.net/manual/en/imagick.getimageredprimary.php
     * @return float[] the chromaticity red primary point as an array with the keys "x"
     * and "y".
     * Throw an <b>ImagickException</b> on error.
     * @throws ImagickException on error
     */
    #[ArrayShape(["x" => "float", "y" => "float"])]
    #[Pure]
    public function getImageRedPrimary() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image rendering intent
     * @link https://php.net/manual/en/imagick.getimagerenderingintent.php
     * @return int the image rendering intent.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageRenderingIntent() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image X and Y resolution
     * @link https://php.net/manual/en/imagick.getimageresolution.php
     * @return float[] the resolution as an array.
     * @throws ImagickException on error.
     */
    #[ArrayShape(["x" => "float", "y" => "float"])]
    #[Pure]
    public function getImageResolution() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image scene
     * @link https://php.net/manual/en/imagick.getimagescene.php
     * @return int the image scene.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageScene() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Generates an SHA-256 message digest
     * @link https://php.net/manual/en/imagick.getimagesignature.php
     * @return string a string containing the SHA-256 hash of the file.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageSignature() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image ticks-per-second
     * @link https://php.net/manual/en/imagick.getimagetickspersecond.php
     * @return int the image ticks-per-second.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageTicksPerSecond() {}

    /**
     * (PECL imagick 0.9.10-0.9.9)<br/>
     * Gets the potential image type
     * @link https://php.net/manual/en/imagick.getimagetype.php
     * @return int the potential image type.
     * <b>imagick::IMGTYPE_UNDEFINED</b>
     * <b>imagick::IMGTYPE_BILEVEL</b>
     * <b>imagick::IMGTYPE_GRAYSCALE</b>
     * <b>imagick::IMGTYPE_GRAYSCALEMATTE</b>
     * <b>imagick::IMGTYPE_PALETTE</b>
     * <b>imagick::IMGTYPE_PALETTEMATTE</b>
     * <b>imagick::IMGTYPE_TRUECOLOR</b>
     * <b>imagick::IMGTYPE_TRUECOLORMATTE</b>
     * <b>imagick::IMGTYPE_COLORSEPARATION</b>
     * <b>imagick::IMGTYPE_COLORSEPARATIONMATTE</b>
     * <b>imagick::IMGTYPE_OPTIMIZE</b>
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageType() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image units of resolution
     * @link https://php.net/manual/en/imagick.getimageunits.php
     * @return int the image units of resolution.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageUnits() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the virtual pixel method
     * @link https://php.net/manual/en/imagick.getimagevirtualpixelmethod.php
     * @return int the virtual pixel method on success.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageVirtualPixelMethod() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the chromaticity white point
     * @link https://php.net/manual/en/imagick.getimagewhitepoint.php
     * @return float[] the chromaticity white point as an associative array with the keys
     * "x" and "y".
     * @throws ImagickException on error.
     */
    #[ArrayShape(["x" => "float", "y" => "float"])]
    #[Pure]
    public function getImageWhitePoint() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the image width
     * @link https://php.net/manual/en/imagick.getimagewidth.php
     * @return int the image width.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageWidth() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the number of images in the object
     * @link https://php.net/manual/en/imagick.getnumberimages.php
     * @return int the number of images associated with Imagick object.
     */
    #[Pure]
    public function getNumberImages() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the image total ink density
     * @link https://php.net/manual/en/imagick.getimagetotalinkdensity.php
     * @return float the image total ink density of the image.
     * Throw an <b>ImagickException</b> on error.
     * @throws ImagickException on error
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageTotalInkDensity() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Extracts a region of the image
     * @link https://php.net/manual/en/imagick.getimageregion.php
     * @param int $width <p>
     * The width of the extracted region.
     * </p>
     * @param int $height <p>
     * The height of the extracted region.
     * </p>
     * @param int $x <p>
     * X-coordinate of the top-left corner of the extracted region.
     * </p>
     * @param int $y <p>
     * Y-coordinate of the top-left corner of the extracted region.
     * </p>
     * @return Imagick Extracts a region of the image and returns it as a new wand.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImageRegion($width, $height, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a new image as a copy
     * @link https://php.net/manual/en/imagick.implodeimage.php
     * @param float $radius <p>
     * The radius of the implode
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function implodeImage($radius) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adjusts the levels of an image
     * @link https://php.net/manual/en/imagick.levelimage.php
     * @param float $blackPoint <p>
     * The image black point
     * </p>
     * @param float $gamma <p>
     * The gamma value
     * </p>
     * @param float $whitePoint <p>
     * The image white point
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function levelImage($blackPoint, $gamma, $whitePoint, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Scales an image proportionally 2x
     * @link https://php.net/manual/en/imagick.magnifyimage.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function magnifyImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Replaces the colors of an image with the closest color from a reference image.
     * @link https://php.net/manual/en/imagick.mapimage.php
     * @param Imagick $map
     * @param bool $dither
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function mapImage(Imagick $map, $dither) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Changes the transparency value of a color
     * @link https://php.net/manual/en/imagick.mattefloodfillimage.php
     * @param float $alpha <p>
     * The level of transparency: 1.0 is fully opaque and 0.0 is fully
     * transparent.
     * </p>
     * @param float $fuzz <p>
     * The fuzz member of image defines how much tolerance is acceptable to
     * consider two colors as the same.
     * </p>
     * @param mixed $bordercolor <p>
     * An <b>ImagickPixel</b> object or string representing the border color.
     * </p>
     * @param int $x <p>
     * The starting x coordinate of the operation.
     * </p>
     * @param int $y <p>
     * The starting y coordinate of the operation.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function matteFloodfillImage($alpha, $fuzz, $bordercolor, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Applies a digital filter
     * @link https://php.net/manual/en/imagick.medianfilterimage.php
     * @param float $radius <p>
     * The radius of the pixel neighborhood.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function medianFilterImage($radius) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Negates the colors in the reference image
     * @link https://php.net/manual/en/imagick.negateimage.php
     * @param bool $gray <p>
     * Whether to only negate grayscale pixels within the image.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function negateImage($gray, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Change any pixel that matches color
     * @link https://php.net/manual/en/imagick.paintopaqueimage.php
     * @param mixed $target <p>
     * Change this target color to the fill color within the image. An
     * ImagickPixel object or a string representing the target color.
     * </p>
     * @param mixed $fill <p>
     * An ImagickPixel object or a string representing the fill color.
     * </p>
     * @param float $fuzz <p>
     * The fuzz member of image defines how much tolerance is acceptable to
     * consider two colors as the same.
     * </p>
     * @param int $channel [optional] <p>
     * Provide any channel constant that is valid for your channel mode. To
     * apply to more than one channel, combine channeltype constants using
     * bitwise operators. Refer to this
     * list of channel constants.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function paintOpaqueImage($target, $fill, $fuzz, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Changes any pixel that matches color with the color defined by fill
     * @link https://php.net/manual/en/imagick.painttransparentimage.php
     * @param mixed $target <p>
     * Change this target color to specified opacity value within the image.
     * </p>
     * @param float $alpha <p>
     * The level of transparency: 1.0 is fully opaque and 0.0 is fully
     * transparent.
     * </p>
     * @param float $fuzz <p>
     * The fuzz member of image defines how much tolerance is acceptable to
     * consider two colors as the same.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function paintTransparentImage($target, $alpha, $fuzz) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Quickly pin-point appropriate parameters for image processing
     * @link https://php.net/manual/en/imagick.previewimages.php
     * @param int $preview <p>
     * Preview type. See Preview type constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function previewImages($preview) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds or removes a profile from an image
     * @link https://php.net/manual/en/imagick.profileimage.php
     * @param string $name
     * @param string $profile
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function profileImage($name, $profile) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Analyzes the colors within a reference image
     * @link https://php.net/manual/en/imagick.quantizeimage.php
     * @param int $numberColors
     * @param int $colorspace
     * @param int $treedepth
     * @param bool $dither
     * @param bool $measureError
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function quantizeImage($numberColors, $colorspace, $treedepth, $dither, $measureError) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Analyzes the colors within a sequence of images
     * @link https://php.net/manual/en/imagick.quantizeimages.php
     * @param int $numberColors
     * @param int $colorspace
     * @param int $treedepth
     * @param bool $dither
     * @param bool $measureError
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function quantizeImages($numberColors, $colorspace, $treedepth, $dither, $measureError) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Smooths the contours of an image
     * @link https://php.net/manual/en/imagick.reducenoiseimage.php
     * @param float $radius
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    #[Deprecated]
    public function reduceNoiseImage($radius) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Removes the named image profile and returns it
     * @link https://php.net/manual/en/imagick.removeimageprofile.php
     * @param string $name
     * @return string a string containing the profile of the image.
     * @throws ImagickException on error.
     */
    public function removeImageProfile($name) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Separates a channel from the image
     * @link https://php.net/manual/en/imagick.separateimagechannel.php
     * @param int $channel
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function separateImageChannel($channel) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sepia tones an image
     * @link https://php.net/manual/en/imagick.sepiatoneimage.php
     * @param float $threshold
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function sepiaToneImage($threshold) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image bias for any method that convolves an image
     * @link https://php.net/manual/en/imagick.setimagebias.php
     * @param float $bias
     * @return bool <b>TRUE</b> on success.
     */
    public function setImageBias($bias) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image chromaticity blue primary point
     * @link https://php.net/manual/en/imagick.setimageblueprimary.php
     * @param float $x
     * @param float $y
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageBluePrimary($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image border color
     * @link https://php.net/manual/en/imagick.setimagebordercolor.php
     * @param mixed $border <p>
     * The border color
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageBorderColor($border) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the depth of a particular image channel
     * @link https://php.net/manual/en/imagick.setimagechanneldepth.php
     * @param int $channel
     * @param int $depth
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageChannelDepth($channel, $depth) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the color of the specified colormap index
     * @link https://php.net/manual/en/imagick.setimagecolormapcolor.php
     * @param int $index
     * @param ImagickPixel $color
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageColormapColor($index, ImagickPixel $color) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image colorspace
     * @link https://php.net/manual/en/imagick.setimagecolorspace.php
     * @param int $colorspace <p>
     * One of the COLORSPACE constants
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageColorspace($colorspace) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image disposal method
     * @link https://php.net/manual/en/imagick.setimagedispose.php
     * @param int $dispose
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageDispose($dispose) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image size
     * @link https://php.net/manual/en/imagick.setimageextent.php
     * @param int $columns
     * @param int $rows
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageExtent($columns, $rows) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image chromaticity green primary point
     * @link https://php.net/manual/en/imagick.setimagegreenprimary.php
     * @param float $x
     * @param float $y
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageGreenPrimary($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image compression
     * @link https://php.net/manual/en/imagick.setimageinterlacescheme.php
     * @param int $interlace_scheme
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageInterlaceScheme($interlace_scheme) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds a named profile to the Imagick object
     * @link https://php.net/manual/en/imagick.setimageprofile.php
     * @param string $name
     * @param string $profile
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageProfile($name, $profile) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image chromaticity red primary point
     * @link https://php.net/manual/en/imagick.setimageredprimary.php
     * @param float $x
     * @param float $y
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageRedPrimary($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image rendering intent
     * @link https://php.net/manual/en/imagick.setimagerenderingintent.php
     * @param int $rendering_intent
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageRenderingIntent($rendering_intent) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image virtual pixel method
     * @link https://php.net/manual/en/imagick.setimagevirtualpixelmethod.php
     * @param int $method
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageVirtualPixelMethod($method) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image chromaticity white point
     * @link https://php.net/manual/en/imagick.setimagewhitepoint.php
     * @param float $x
     * @param float $y
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImageWhitePoint($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adjusts the contrast of an image
     * @link https://php.net/manual/en/imagick.sigmoidalcontrastimage.php
     * @param bool $sharpen
     * @param float $alpha
     * @param float $beta
     * @param int $channel [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function sigmoidalContrastImage($sharpen, $alpha, $beta, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Composites two images
     * @link https://php.net/manual/en/imagick.stereoimage.php
     * @param Imagick $offset_wand
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function stereoImage(Imagick $offset_wand) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Repeatedly tiles the texture image
     * @link https://php.net/manual/en/imagick.textureimage.php
     * @param Imagick $texture_wand
     * @return Imagick a new Imagick object that has the repeated texture applied.
     * @throws ImagickException on error.
     */
    public function textureImage(Imagick $texture_wand) {}

    /**
     * pplies a color vector to each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.
     * If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
     * @link https://php.net/manual/en/imagick.tintimage.php
     * @param mixed $tint
     * @param mixed $opacity
     * @param bool $legacy [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException Throws ImagickException on error
     * @since 2.0.0
     */
    public function tintImage($tint, $opacity, $legacy = false) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sharpens an image
     * @link https://php.net/manual/en/imagick.unsharpmaskimage.php
     * @param float $radius
     * @param float $sigma
     * @param float $amount
     * @param float $threshold
     * @param int $channel [optional]
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function unsharpMaskImage($radius, $sigma, $amount, $threshold, $channel = Imagick::CHANNEL_ALL) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns a new Imagick object
     * @link https://php.net/manual/en/imagick.getimage.php
     * @return Imagick a new Imagick object with the current image sequence.
     * @throws ImagickException on error.
     */
    #[Pure]
    public function getImage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds new image to Imagick object image list
     * @link https://php.net/manual/en/imagick.addimage.php
     * @param Imagick $source <p>
     * The source Imagick object
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function addImage(Imagick $source) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Replaces image in the object
     * @link https://php.net/manual/en/imagick.setimage.php
     * @param Imagick $replace <p>
     * The replace Imagick object
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setImage(Imagick $replace) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a new image
     * @link https://php.net/manual/en/imagick.newimage.php
     * @param int $cols <p>
     * Columns in the new image
     * </p>
     * @param int $rows <p>
     * Rows in the new image
     * </p>
     * @param mixed $background <p>
     * The background color used for this image
     * </p>
     * @param string $format [optional] <p>
     * Image format. This parameter was added in Imagick version 2.0.1.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function newImage($cols, $rows, $background, $format = null) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Creates a new image
     * @link https://php.net/manual/en/imagick.newpseudoimage.php
     * @param int $columns <p>
     * columns in the new image
     * </p>
     * @param int $rows <p>
     * rows in the new image
     * </p>
     * @param string $pseudoString <p>
     * string containing pseudo image definition.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function newPseudoImage($columns, $rows, $pseudoString) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the object compression type
     * @link https://php.net/manual/en/imagick.getcompression.php
     * @return int the compression constant
     */
    #[Pure]
    public function getCompression() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the object compression quality
     * @link https://php.net/manual/en/imagick.getcompressionquality.php
     * @return int integer describing the compression quality
     */
    #[Pure]
    public function getCompressionQuality() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the ImageMagick API copyright as a string
     * @link https://php.net/manual/en/imagick.getcopyright.php
     * @return string a string containing the copyright notice of Imagemagick and
     * Magickwand C API.
     */
    public static function getCopyright() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * The filename associated with an image sequence
     * @link https://php.net/manual/en/imagick.getfilename.php
     * @return string a string on success.
     */
    #[Pure]
    public function getFilename() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the format of the Imagick object
     * @link https://php.net/manual/en/imagick.getformat.php
     * @return string the format of the image.
     */
    #[Pure]
    public function getFormat() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the ImageMagick home URL
     * @link https://php.net/manual/en/imagick.gethomeurl.php
     * @return string a link to the imagemagick homepage.
     */
    public static function getHomeURL() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the object interlace scheme
     * @link https://php.net/manual/en/imagick.getinterlacescheme.php
     * @return int Gets the wand interlace
     * scheme.
     */
    #[Pure]
    public function getInterlaceScheme() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns a value associated with the specified key
     * @link https://php.net/manual/en/imagick.getoption.php
     * @param string $key <p>
     * The name of the option
     * </p>
     * @return string a value associated with a wand and the specified key.
     */
    #[Pure]
    public function getOption($key) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the ImageMagick package name
     * @link https://php.net/manual/en/imagick.getpackagename.php
     * @return string the ImageMagick package name as a string.
     */
    public static function getPackageName() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the page geometry
     * @link https://php.net/manual/en/imagick.getpage.php
     * @return int[] the page geometry associated with the Imagick object in
     * an associative array with the keys "width", "height", "x", and "y",
     * throwing ImagickException on error.
     * @throws ImagickException on error
     */
    //width:int, height:int, x:int, y:int
    #[ArrayShape(["width" => "int", "height" => "int", "x" => "int", "y" => "int"])]
    #[Pure]
    public function getPage() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the quantum depth
     * @link https://php.net/manual/en/imagick.getquantumdepth.php
     * @return array the Imagick quantum depth as a string.
     */
    // quantumDepthLong:int, quantumDepthString:string
    #[ArrayShape(["quantumDepthLong" => "int", "quantumDepthString" => "string"])]
    public static function getQuantumDepth() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the Imagick quantum range
     * @link https://php.net/manual/en/imagick.getquantumrange.php
     * @return array the Imagick quantum range as a string.
     */
    #[ArrayShape(["quantumRangeLong" => "int", "quantumRangeString" => "string"])]
    public static function getQuantumRange() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the ImageMagick release date
     * @link https://php.net/manual/en/imagick.getreleasedate.php
     * @return string the ImageMagick release date as a string.
     */
    public static function getReleaseDate() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the specified resource's memory usage
     * @link https://php.net/manual/en/imagick.getresource.php
     * @param int $type <p>
     * Refer to the list of resourcetype constants.
     * </p>
     * @return int the specified resource's memory usage in megabytes.
     */
    public static function getResource($type) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the specified resource limit
     * @link https://php.net/manual/en/imagick.getresourcelimit.php
     * @param int $type <p>
     * Refer to the list of resourcetype constants.
     * </p>
     * @return int the specified resource limit in megabytes.
     */
    public static function getResourceLimit($type) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the horizontal and vertical sampling factor
     * @link https://php.net/manual/en/imagick.getsamplingfactors.php
     * @return array an associative array with the horizontal and vertical sampling
     * factors of the image.
     */
    #[Pure]
    public function getSamplingFactors() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the size associated with the Imagick object
     * @link https://php.net/manual/en/imagick.getsize.php
     * @return int[] the size associated with the Imagick object as an array with the
     * keys "columns" and "rows".
     * @throws ImagickException on error.
     */
    #[ArrayShape(["columns" => "int", "rows" => "int"])]
    #[Pure]
    public function getSize() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the ImageMagick API version
     * @link https://php.net/manual/en/imagick.getversion.php
     * @return array the ImageMagick API version as a string and as a number.
     */
    #[ArrayShape(["versionNumber" => "int", "versionString" => "string"])]
    public static function getVersion() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the object's default background color
     * @link https://php.net/manual/en/imagick.setbackgroundcolor.php
     * @param mixed $background
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setBackgroundColor($background) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the object's default compression type
     * @link https://php.net/manual/en/imagick.setcompression.php
     * @param int $compression
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setCompression($compression) {}

    /**
     * (PECL imagick 0.9.10-0.9.9)<br/>
     * Sets the object's default compression quality
     * @link https://php.net/manual/en/imagick.setcompressionquality.php
     * @param int $quality
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setCompressionQuality($quality) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the filename before you read or write the image
     * @link https://php.net/manual/en/imagick.setfilename.php
     * @param string $filename
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setFilename($filename) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the format of the Imagick object
     * @link https://php.net/manual/en/imagick.setformat.php
     * @param string $format
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setFormat($format) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image compression
     * @link https://php.net/manual/en/imagick.setinterlacescheme.php
     * @param int $interlace_scheme
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setInterlaceScheme($interlace_scheme) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Set an option
     * @link https://php.net/manual/en/imagick.setoption.php
     * @param string $key
     * @param string $value
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setOption($key, $value) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the page geometry of the Imagick object
     * @link https://php.net/manual/en/imagick.setpage.php
     * @param int $width
     * @param int $height
     * @param int $x
     * @param int $y
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setPage($width, $height, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the limit for a particular resource in megabytes
     * @link https://php.net/manual/en/imagick.setresourcelimit.php
     * @param int $type <p>
     * Refer to the list of resourcetype constants.
     * </p>
     * @param int $limit <p>
     * The resource limit. The unit depends on the type of the resource being limited.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public static function setResourceLimit($type, $limit) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image resolution
     * @link https://php.net/manual/en/imagick.setresolution.php
     * @param float $x_resolution <p>
     * The horizontal resolution.
     * </p>
     * @param float $y_resolution <p>
     * The vertical resolution.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setResolution($x_resolution, $y_resolution) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image sampling factors
     * @link https://php.net/manual/en/imagick.setsamplingfactors.php
     * @param array $factors
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setSamplingFactors(array $factors) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the size of the Imagick object
     * @link https://php.net/manual/en/imagick.setsize.php
     * @param int $columns
     * @param int $rows
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setSize($columns, $rows) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the image type attribute
     * @link https://php.net/manual/en/imagick.settype.php
     * @param int $image_type
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function setType($image_type) {}

    public function key() {}

    public function next() {}

    public function rewind() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Checks if the current item is valid
     * @link https://php.net/manual/en/imagick.valid.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function valid() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns a reference to the current Imagick object
     * @link https://php.net/manual/en/imagick.current.php
     * @return Imagick self on success.
     */
    public function current() {}

    /**
     * Change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
     * @link https://php.net/manual/en/imagick.brightnesscontrastimage.php
     * @param float $brightness
     * @param float $contrast
     * @param int $CHANNEL [optional]
     * @return void
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function brightnessContrastImage($brightness, $contrast, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}

    /**
     * Applies a user supplied kernel to the image according to the given morphology method.
     * @link https://php.net/manual/en/imagick.morphology.php
     * @param int $morphologyMethod Which morphology method to use one of the \Imagick::MORPHOLOGY_* constants.
     * @param int $iterations The number of iteration to apply the morphology function. A value of -1 means loop until no change found. How this is applied may depend on the morphology method. Typically this is a value of 1.
     * @param ImagickKernel $ImagickKernel
     * @param int $CHANNEL [optional]
     * @return void
     * @throws ImagickException on error.
     * @throws ImagickKernelException on error.
     * @since 3.3.0
     */
    public function morphology($morphologyMethod, $iterations, ImagickKernel $ImagickKernel, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}

    /**
     * Applies a custom convolution kernel to the image.
     * @link https://php.net/manual/en/imagick.filter.php
     * @param ImagickKernel $ImagickKernel An instance of ImagickKernel that represents either a single kernel or a linked series of kernels.
     * @param int $CHANNEL [optional] Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
     * @return void
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function filter(ImagickKernel $ImagickKernel, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}

    /**
     * Apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets).
     * The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255)
     * @link https://php.net/manual/en/imagick.colormatriximage.php
     * @param array $color_matrix
     * @return void
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function colorMatrixImage($color_matrix = Imagick::CHANNEL_DEFAULT) {}

    /**
     * Deletes an image property.
     * @link https://php.net/manual/en/imagick.deleteimageproperty.php
     * @param string $name The name of the property to delete.
     * @return void
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function deleteImageProperty($name) {}

    /**
     * Implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
     * @link https://php.net/manual/en/imagick.forwardfouriertransformimage.php
     * @param bool $magnitude If true, return as magnitude / phase pair otherwise a real / imaginary image pair.
     * @return void
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function forwardFourierTransformimage($magnitude) {}

    /**
     * Gets the current image's compression type.
     * @link https://php.net/manual/en/imagick.getimagecompression.php
     * @return int
     * @since 3.3.0
     */
    #[Pure]
    public function getImageCompression() {}

    /**
     * Get the StringRegistry entry for the named key or false if not set.
     * @link https://php.net/manual/en/imagick.getregistry.php
     * @param string $key
     * @return string|false
     * @throws ImagickException Since version >= 3.4.3. Throws an exception if the key does not exist, rather than terminating the program.
     * @since 3.3.0
     */
    public static function getRegistry($key) {}

    /**
     * Returns the ImageMagick quantum range as an integer.
     * @link https://php.net/manual/en/imagick.getquantum.php
     * @return int
     * @since 3.3.0
     */
    public static function getQuantum() {}

    /**
     * Replaces any embedded formatting characters with the appropriate image property and returns the interpreted text. See https://www.imagemagick.org/script/escape.php for escape sequences.
     * @link https://php.net/manual/en/imagick.identifyformat.php
     * @see https://www.imagemagick.org/script/escape.php
     * @param string $embedText A string containing formatting sequences e.g. "Trim box: %@ number of unique colors: %k".
     * @return bool
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function identifyFormat($embedText) {}

    /**
     * Implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
     * @link https://php.net/manual/en/imagick.inversefouriertransformimage.php
     * @param Imagick $complement The second image to combine with this one to form either the magnitude / phase or real / imaginary image pair.
     * @param bool $magnitude If true, combine as magnitude / phase pair otherwise a real / imaginary image pair.
     * @return void
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function inverseFourierTransformImage($complement, $magnitude) {}

    /**
     * List all the registry settings. Returns an array of all the key/value pairs in the registry
     * @link https://php.net/manual/en/imagick.listregistry.php
     * @return array An array containing the key/values from the registry.
     * @since 3.3.0
     */
    public static function listRegistry() {}

    /**
     * Rotational blurs an image.
     * @link https://php.net/manual/en/imagick.rotationalblurimage.php
     * @param float $angle
     * @param int $CHANNEL
     * @return void
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function rotationalBlurImage($angle, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}

    /**
     * Selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.
     * @link https://php.net/manual/en/imagick.selectiveblurimage.php
     * @param float $radius
     * @param float $sigma
     * @param float $threshold
     * @param int $CHANNEL Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
     * @return void
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function selectiveBlurImage($radius, $sigma, $threshold, $CHANNEL = Imagick::CHANNEL_DEFAULT) {}

    /**
     * Set whether antialiasing should be used for operations. On by default.
     * @param bool $antialias
     * @return int
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function setAntiAlias($antialias) {}

    /**
     * @link https://php.net/manual/en/imagick.setimagebiasquantum.php
     * @param string $bias
     * @return void
     * @since 3.3.0
     */
    public function setImageBiasQuantum($bias) {}

    /**
     * Set a callback that will be called during the processing of the Imagick image.
     * @link https://php.net/manual/en/imagick.setprogressmonitor.php
     * @param callable $callback The progress function to call. It should return true if image processing should continue, or false if it should be cancelled.
     * The offset parameter indicates the progress and the span parameter indicates the total amount of work needed to be done.
     * <pre> bool callback ( mixed $offset , mixed $span ) </pre>
     * <b>Caution</b>
     * The values passed to the callback function are not consistent. In particular the span parameter can increase during image processing. Because of this calculating the percentage complete of an image operation is not trivial.
     * @return void
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function setProgressMonitor($callback) {}

    /**
     * Sets the ImageMagick registry entry named key to value. This is most useful for setting "temporary-path" which controls where ImageMagick creates temporary images e.g. while processing PDFs.
     * @link https://php.net/manual/en/imagick.setregistry.php
     * @param string $key
     * @param string $value
     * @return void
     * @since 3.3.0
     */
    public static function setRegistry($key, $value) {}

    /**
     * Replace each pixel with corresponding statistic from the neighborhood of the specified width and height.
     * @link https://php.net/manual/en/imagick.statisticimage.php
     * @param int $type
     * @param int $width
     * @param int $height
     * @param int $channel [optional]
     * @return void
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function statisticImage($type, $width, $height, $channel = Imagick::CHANNEL_DEFAULT) {}

    /**
     * Searches for a subimage in the current image and returns a similarity image such that an exact match location is
     * completely white and if none of the pixels match, black, otherwise some gray level in-between.
     * You can also pass in the optional parameters bestMatch and similarity. After calling the function similarity will
     * be set to the 'score' of the similarity between the subimage and the matching position in the larger image,
     * bestMatch will contain an associative array with elements x, y, width, height that describe the matching region.
     *
     * @link https://php.net/manual/en/imagick.subimagematch.php
     * @param Imagick $imagick
     * @param array &$bestMatch [optional]
     * @param float &$similarity [optional] A new image that displays the amount of similarity at each pixel.
     * @param float $similarity_threshold [optional] Only used if compiled with ImageMagick (library) > 7
     * @param int $metric [optional] Only used if compiled with ImageMagick (library) > 7
     * @return Imagick
     * @throws ImagickException on error.
     * @since 3.3.0
     */
    public function subImageMatch(Imagick $imagick, array &$bestMatch, &$similarity, $similarity_threshold, $metric) {}

    /**
     * Is an alias of Imagick::subImageMatch
     *
     * @param Imagick $imagick
     * @param array &$bestMatch [optional]
     * @param float &$similarity [optional] A new image that displays the amount of similarity at each pixel.
     * @param float $similarity_threshold [optional]
     * @param int $metric [optional]
     * @return Imagick
     * @throws ImagickException on error.
     * @see Imagick::subImageMatch() This function is an alias of subImageMatch()
     * @since 3.4.0
     */
    public function similarityImage(Imagick $imagick, array &$bestMatch, &$similarity, $similarity_threshold, $metric) {}

    /**
     * Returns any ImageMagick  configure options that match the specified pattern (e.g. "*" for all). Options include NAME, VERSION, LIB_VERSION, etc.
     * @return array<string, string>
     * @since 3.4.0
     */
    #[Pure]
    public static function getConfigureOptions() {}

    /**
     * GetFeatures() returns the ImageMagick features that have been compiled into the runtime.
     * @return string
     * @since 3.4.0
     */
    #[Pure]
    public function getFeatures() {}

    /**
     * @return int
     * @since 3.4.0
     */
    #[Pure]
    public function getHDRIEnabled() {}

    /**
     * Sets the image channel mask. Returns the previous set channel mask.
     * Only works with Imagick >= 7
     * @param int $channel
     * @throws ImagickException on error.
     * @since 3.4.0
     */
    public function setImageChannelMask($channel) {}

    /**
     * Merge multiple images of the same size together with the selected operator. https://www.imagemagick.org/Usage/layers/#evaluate-sequence
     * @param int $EVALUATE_CONSTANT
     * @return bool
     * @see https://www.imagemagick.org/Usage/layers/#evaluate-sequence
     * @throws ImagickException on error.
     * @since 3.4.0
     */
    public function evaluateImages($EVALUATE_CONSTANT) {}

    /**
     * Extracts the 'mean' from the image and adjust the image to try make set its gamma appropriately.
     * @param int $channel [optional] Default value Imagick::CHANNEL_ALL
     * @return bool
     * @throws ImagickException on error.
     * @since 3.4.1
     */
    public function autoGammaImage($channel = Imagick::CHANNEL_ALL) {}

    /**
     * Adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).
     * @return bool
     * @throws ImagickException on error.
     * @since 3.4.1
     */
    public function autoOrient() {}

    /**
     * Composite one image onto another using the specified gravity.
     *
     * @param Imagick $imagick
     * @param int $COMPOSITE_CONSTANT
     * @param int $GRAVITY_CONSTANT
     * @return bool
     * @throws ImagickException on error.
     * @since 3.4.1
     */
    public function compositeImageGravity(Imagick $imagick, $COMPOSITE_CONSTANT, $GRAVITY_CONSTANT) {}

    /**
     * Attempts to increase the appearance of large-scale light-dark transitions.
     *
     * @param float $radius
     * @param float $strength
     * @return bool
     * @throws ImagickException on error.
     * @since 3.4.1
     */
    public function localContrastImage($radius, $strength) {}

    /**
     * Identifies the potential image type, returns one of the Imagick::IMGTYPE_* constants
     * @return int
     * @throws ImagickException on error.
     * @since 3.4.3
     */
    public function identifyImageType() {}

    /**
     * Sets the image to the specified alpha level. Will replace ImagickDraw::setOpacity()
     *
     * @param float $alpha
     * @return bool
     * @throws ImagickException on error.
     * @since 3.4.3
     */
    public function setImageAlpha($alpha) {}
}

/**
 * @method ImagickDraw clone() (PECL imagick 2.0.0)<br/>Makes an exact copy of the specified ImagickDraw object
 * @link https://php.net/manual/en/class.imagickdraw.php
 */
class ImagickDraw
{
    public function resetVectorGraphics() {}

    #[Pure]
    public function getTextKerning() {}

    /**
     * @param float $kerning
     */
    public function setTextKerning($kerning) {}

    #[Pure]
    public function getTextInterWordSpacing() {}

    /**
     * @param $spacing
     */
    public function setTextInterWordSpacing($spacing) {}

    #[Pure]
    public function getTextInterLineSpacing() {}

    /**
     * @param $spacing
     */
    public function setTextInterLineSpacing($spacing) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * The ImagickDraw constructor
     * @link https://php.net/manual/en/imagickdraw.construct.php
     */
    public function __construct() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the fill color to be used for drawing filled objects
     * @link https://php.net/manual/en/imagickdraw.setfillcolor.php
     * @param ImagickPixel $fill_pixel <p>
     * ImagickPixel to use to set the color
     * </p>
     * @return bool No value is returned.
     * @throws ImagickDrawException on error.
     */
    public function setFillColor(ImagickPixel $fill_pixel) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the opacity to use when drawing using the fill color or fill texture
     * @link https://php.net/manual/en/imagickdraw.setfillalpha.php
     * @param float $opacity <p>
     * fill alpha
     * </p>
     * @return bool No value is returned.
     */
    #[Deprecated]
    public function setFillAlpha($opacity) {}

    /**
     * Sets the image resolution
     * @param float $x_resolution <p>The horizontal resolution.</p>
     * @param float $y_resolution <p>The vertical resolution.</p>
     * @return bool
     * @throws ImagickDrawException on error.
     */
    public function setResolution($x_resolution, $y_resolution) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the color used for stroking object outlines
     * @link https://php.net/manual/en/imagickdraw.setstrokecolor.php
     * @param ImagickPixel $stroke_pixel <p>
     * the stroke color
     * </p>
     * @return bool No value is returned.
     * @throws ImagickDrawException on error.
     */
    public function setStrokeColor(ImagickPixel $stroke_pixel) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies the opacity of stroked object outlines
     * @link https://php.net/manual/en/imagickdraw.setstrokealpha.php
     * @param float $opacity <p>
     * opacity
     * </p>
     * @return bool No value is returned.
     */
    #[Deprecated]
    public function setStrokeAlpha($opacity) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the width of the stroke used to draw object outlines
     * @link https://php.net/manual/en/imagickdraw.setstrokewidth.php
     * @param float $stroke_width <p>
     * stroke width
     * </p>
     * @return bool No value is returned.
     */
    public function setStrokeWidth($stroke_width) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Clears the ImagickDraw
     * @link https://php.net/manual/en/imagickdraw.clear.php
     * @return bool an ImagickDraw object.
     */
    public function clear() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a circle
     * @link https://php.net/manual/en/imagickdraw.circle.php
     * @param float $ox <p>
     * origin x coordinate
     * </p>
     * @param float $oy <p>
     * origin y coordinate
     * </p>
     * @param float $px <p>
     * perimeter x coordinate
     * </p>
     * @param float $py <p>
     * perimeter y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function circle($ox, $oy, $px, $py) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws text on the image
     * @link https://php.net/manual/en/imagickdraw.annotation.php
     * @param float $x <p>
     * The x coordinate where text is drawn
     * </p>
     * @param float $y <p>
     * The y coordinate where text is drawn
     * </p>
     * @param string $text <p>
     * The text to draw on the image
     * </p>
     * @return bool No value is returned.
     * @throws ImagickDrawException on error.
     */
    public function annotation($x, $y, $text) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Controls whether text is antialiased
     * @link https://php.net/manual/en/imagickdraw.settextantialias.php
     * @param bool $antiAlias
     * @return bool No value is returned.
     */
    public function setTextAntialias($antiAlias) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies specifies the text code set
     * @link https://php.net/manual/en/imagickdraw.settextencoding.php
     * @param string $encoding <p>
     * the encoding name
     * </p>
     * @return bool No value is returned.
     */
    public function setTextEncoding($encoding) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the fully-specified font to use when annotating with text
     * @link https://php.net/manual/en/imagickdraw.setfont.php
     * @param string $font_name
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickDrawException on error.
     * @throws ImagickException on error.
     */
    public function setFont($font_name) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the font family to use when annotating with text
     * @link https://php.net/manual/en/imagickdraw.setfontfamily.php
     * @param string $font_family <p>
     * the font family
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickDrawException on error.
     * @throws ImagickException on error.
     */
    public function setFontFamily($font_family) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the font pointsize to use when annotating with text
     * @link https://php.net/manual/en/imagickdraw.setfontsize.php
     * @param float $pointsize <p>
     * the point size
     * </p>
     * @return bool No value is returned.
     */
    public function setFontSize($pointsize) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the font style to use when annotating with text
     * @link https://php.net/manual/en/imagickdraw.setfontstyle.php
     * @param int $style <p>
     * STYLETYPE_ constant
     * </p>
     * @return bool No value is returned.
     */
    public function setFontStyle($style) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the font weight
     * @link https://php.net/manual/en/imagickdraw.setfontweight.php
     * @param int $font_weight
     * @return bool
     * @throws ImagickDrawException on error.
     */
    public function setFontWeight($font_weight) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the font
     * @link https://php.net/manual/en/imagickdraw.getfont.php
     * @return string|false a string on success and false if no font is set.
     */
    #[Pure]
    public function getFont() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the font family
     * @link https://php.net/manual/en/imagickdraw.getfontfamily.php
     * @return string|false the font family currently selected or false if font family is not set.
     */
    #[Pure]
    public function getFontFamily() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the font pointsize
     * @link https://php.net/manual/en/imagickdraw.getfontsize.php
     * @return float the font size associated with the current ImagickDraw object.
     */
    #[Pure]
    public function getFontSize() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the font style
     * @link https://php.net/manual/en/imagickdraw.getfontstyle.php
     * @return int the font style constant (STYLE_) associated with the ImagickDraw object
     * or 0 if no style is set.
     */
    #[Pure]
    public function getFontStyle() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the font weight
     * @link https://php.net/manual/en/imagickdraw.getfontweight.php
     * @return int an int on success and 0 if no weight is set.
     */
    #[Pure]
    public function getFontWeight() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Frees all associated resources
     * @link https://php.net/manual/en/imagickdraw.destroy.php
     * @return bool No value is returned.
     */
    public function destroy() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a rectangle
     * @link https://php.net/manual/en/imagickdraw.rectangle.php
     * @param float $x1 <p>
     * x coordinate of the top left corner
     * </p>
     * @param float $y1 <p>
     * y coordinate of the top left corner
     * </p>
     * @param float $x2 <p>
     * x coordinate of the bottom right corner
     * </p>
     * @param float $y2 <p>
     * y coordinate of the bottom right corner
     * </p>
     * @return bool No value is returned.
     */
    public function rectangle($x1, $y1, $x2, $y2) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a rounded rectangle
     * @link https://php.net/manual/en/imagickdraw.roundrectangle.php
     * @param float $x1 <p>
     * x coordinate of the top left corner
     * </p>
     * @param float $y1 <p>
     * y coordinate of the top left corner
     * </p>
     * @param float $x2 <p>
     * x coordinate of the bottom right
     * </p>
     * @param float $y2 <p>
     * y coordinate of the bottom right
     * </p>
     * @param float $rx <p>
     * x rounding
     * </p>
     * @param float $ry <p>
     * y rounding
     * </p>
     * @return bool No value is returned.
     */
    public function roundRectangle($x1, $y1, $x2, $y2, $rx, $ry) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws an ellipse on the image
     * @link https://php.net/manual/en/imagickdraw.ellipse.php
     * @param float $ox
     * @param float $oy
     * @param float $rx
     * @param float $ry
     * @param float $start
     * @param float $end
     * @return bool No value is returned.
     */
    public function ellipse($ox, $oy, $rx, $ry, $start, $end) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Skews the current coordinate system in the horizontal direction
     * @link https://php.net/manual/en/imagickdraw.skewx.php
     * @param float $degrees <p>
     * degrees to skew
     * </p>
     * @return bool No value is returned.
     */
    public function skewX($degrees) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Skews the current coordinate system in the vertical direction
     * @link https://php.net/manual/en/imagickdraw.skewy.php
     * @param float $degrees <p>
     * degrees to skew
     * </p>
     * @return bool No value is returned.
     */
    public function skewY($degrees) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Applies a translation to the current coordinate system
     * @link https://php.net/manual/en/imagickdraw.translate.php
     * @param float $x <p>
     * horizontal translation
     * </p>
     * @param float $y <p>
     * vertical translation
     * </p>
     * @return bool No value is returned.
     */
    public function translate($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a line
     * @link https://php.net/manual/en/imagickdraw.line.php
     * @param float $sx <p>
     * starting x coordinate
     * </p>
     * @param float $sy <p>
     * starting y coordinate
     * </p>
     * @param float $ex <p>
     * ending x coordinate
     * </p>
     * @param float $ey <p>
     * ending y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function line($sx, $sy, $ex, $ey) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws an arc
     * @link https://php.net/manual/en/imagickdraw.arc.php
     * @param float $sx <p>
     * Starting x ordinate of bounding rectangle
     * </p>
     * @param float $sy <p>
     * starting y ordinate of bounding rectangle
     * </p>
     * @param float $ex <p>
     * ending x ordinate of bounding rectangle
     * </p>
     * @param float $ey <p>
     * ending y ordinate of bounding rectangle
     * </p>
     * @param float $sd <p>
     * starting degrees of rotation
     * </p>
     * @param float $ed <p>
     * ending degrees of rotation
     * </p>
     * @return bool No value is returned.
     */
    public function arc($sx, $sy, $ex, $ey, $sd, $ed) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Paints on the image's opacity channel
     * @link https://php.net/manual/en/imagickdraw.matte.php
     * @param float $x <p>
     * x coordinate of the matte
     * </p>
     * @param float $y <p>
     * y coordinate of the matte
     * </p>
     * @param int $paintMethod <p>
     * PAINT_ constant
     * </p>
     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
     */
    public function matte($x, $y, $paintMethod) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a polygon
     * @link https://php.net/manual/en/imagickdraw.polygon.php
     * @param array $coordinates <p>
     * multidimensional array like array( array( 'x' => 3, 'y' => 4 ), array( 'x' => 2, 'y' => 6 ) );
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickDrawException on error.
     */
    public function polygon(array $coordinates) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a point
     * @link https://php.net/manual/en/imagickdraw.point.php
     * @param float $x <p>
     * point's x coordinate
     * </p>
     * @param float $y <p>
     * point's y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function point($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the text decoration
     * @link https://php.net/manual/en/imagickdraw.gettextdecoration.php
     * @return int one of the DECORATION_ constants
     * and 0 if no decoration is set.
     */
    #[Pure]
    public function getTextDecoration() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the code set used for text annotations
     * @link https://php.net/manual/en/imagickdraw.gettextencoding.php
     * @return string a string specifying the code set
     * or false if text encoding is not set.
     */
    #[Pure]
    public function getTextEncoding() {}

    #[Pure]
    public function getFontStretch() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the font stretch to use when annotating with text
     * @link https://php.net/manual/en/imagickdraw.setfontstretch.php
     * @param int $fontStretch <p>
     * STRETCH_ constant
     * </p>
     * @return bool No value is returned.
     */
    public function setFontStretch($fontStretch) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Controls whether stroked outlines are antialiased
     * @link https://php.net/manual/en/imagickdraw.setstrokeantialias.php
     * @param bool $stroke_antialias <p>
     * the antialias setting
     * </p>
     * @return bool No value is returned.
     */
    public function setStrokeAntialias($stroke_antialias) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies a text alignment
     * @link https://php.net/manual/en/imagickdraw.settextalignment.php
     * @param int $alignment <p>
     * ALIGN_ constant
     * </p>
     * @return bool No value is returned.
     */
    public function setTextAlignment($alignment) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies a decoration
     * @link https://php.net/manual/en/imagickdraw.settextdecoration.php
     * @param int $decoration <p>
     * DECORATION_ constant
     * </p>
     * @return bool No value is returned.
     */
    public function setTextDecoration($decoration) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies the color of a background rectangle
     * @link https://php.net/manual/en/imagickdraw.settextundercolor.php
     * @param ImagickPixel $under_color <p>
     * the under color
     * </p>
     * @return bool No value is returned.
     * @throws ImagickDrawException on error.
     */
    public function setTextUnderColor(ImagickPixel $under_color) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the overall canvas size
     * @link https://php.net/manual/en/imagickdraw.setviewbox.php
     * @param int $x1 <p>
     * left x coordinate
     * </p>
     * @param int $y1 <p>
     * left y coordinate
     * </p>
     * @param int $x2 <p>
     * right x coordinate
     * </p>
     * @param int $y2 <p>
     * right y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function setViewbox($x1, $y1, $x2, $y2) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adjusts the current affine transformation matrix
     * @link https://php.net/manual/en/imagickdraw.affine.php
     * @param array $affine <p>
     * Affine matrix parameters
     * </p>
     * @return bool No value is returned.
     * @throws ImagickDrawException on error.
     */
    public function affine(array $affine) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a bezier curve
     * @link https://php.net/manual/en/imagickdraw.bezier.php
     * @param array $coordinates <p>
     * Multidimensional array like array( array( 'x' => 1, 'y' => 2 ),
     * array( 'x' => 3, 'y' => 4 ) )
     * </p>
     * @return bool No value is returned.
     * @throws ImagickDrawException on error.
     */
    public function bezier(array $coordinates) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Composites an image onto the current image
     * @link https://php.net/manual/en/imagickdraw.composite.php
     * @param int $compose <p>
     * composition operator. One of COMPOSITE_ constants
     * </p>
     * @param float $x <p>
     * x coordinate of the top left corner
     * </p>
     * @param float $y <p>
     * y coordinate of the top left corner
     * </p>
     * @param float $width <p>
     * width of the composition image
     * </p>
     * @param float $height <p>
     * height of the composition image
     * </p>
     * @param Imagick $compositeWand <p>
     * the Imagick object where composition image is taken from
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickException on error.
     */
    public function composite($compose, $x, $y, $width, $height, Imagick $compositeWand) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws color on image
     * @link https://php.net/manual/en/imagickdraw.color.php
     * @param float $x <p>
     * x coordinate of the paint
     * </p>
     * @param float $y <p>
     * y coordinate of the paint
     * </p>
     * @param int $paintMethod <p>
     * one of the PAINT_ constants
     * </p>
     * @return bool No value is returned.
     */
    public function color($x, $y, $paintMethod) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds a comment
     * @link https://php.net/manual/en/imagickdraw.comment.php
     * @param string $comment <p>
     * The comment string to add to vector output stream
     * </p>
     * @return bool No value is returned.
     */
    public function comment($comment) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Obtains the current clipping path ID
     * @link https://php.net/manual/en/imagickdraw.getclippath.php
     * @return string|false a string containing the clip path ID or false if no clip path exists.
     */
    #[Pure]
    public function getClipPath() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the current polygon fill rule
     * @link https://php.net/manual/en/imagickdraw.getcliprule.php
     * @return int one of the FILLRULE_ constants.
     */
    #[Pure]
    public function getClipRule() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the interpretation of clip path units
     * @link https://php.net/manual/en/imagickdraw.getclipunits.php
     * @return int an int on success.
     */
    #[Pure]
    public function getClipUnits() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the fill color
     * @link https://php.net/manual/en/imagickdraw.getfillcolor.php
     * @return ImagickPixel an ImagickPixel object.
     */
    #[Pure]
    public function getFillColor() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the opacity used when drawing
     * @link https://php.net/manual/en/imagickdraw.getfillopacity.php
     * @return float The opacity.
     */
    #[Pure]
    public function getFillOpacity() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the fill rule
     * @link https://php.net/manual/en/imagickdraw.getfillrule.php
     * @return int a FILLRULE_ constant
     */
    #[Pure]
    public function getFillRule() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the text placement gravity
     * @link https://php.net/manual/en/imagickdraw.getgravity.php
     * @return int a GRAVITY_ constant on success and 0 if no gravity is set.
     */
    #[Pure]
    public function getGravity() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the current stroke antialias setting
     * @link https://php.net/manual/en/imagickdraw.getstrokeantialias.php
     * @return bool <b>TRUE</b> if antialiasing is on and false if it is off.
     */
    #[Pure]
    public function getStrokeAntialias() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the color used for stroking object outlines
     * @link https://php.net/manual/en/imagickdraw.getstrokecolor.php
     * @return ImagickPixel an ImagickPixel object which describes the color.
     */
    #[Pure]
    public function getStrokeColor() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns an array representing the pattern of dashes and gaps used to stroke paths
     * @link https://php.net/manual/en/imagickdraw.getstrokedasharray.php
     * @return array an array on success and empty array if not set.
     */
    #[Pure]
    public function getStrokeDashArray() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the offset into the dash pattern to start the dash
     * @link https://php.net/manual/en/imagickdraw.getstrokedashoffset.php
     * @return float a float representing the offset and 0 if it's not set.
     */
    #[Pure]
    public function getStrokeDashOffset() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the shape to be used at the end of open subpaths when they are stroked
     * @link https://php.net/manual/en/imagickdraw.getstrokelinecap.php
     * @return int one of the LINECAP_ constants or 0 if stroke linecap is not set.
     */
    #[Pure]
    public function getStrokeLineCap() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the shape to be used at the corners of paths when they are stroked
     * @link https://php.net/manual/en/imagickdraw.getstrokelinejoin.php
     * @return int one of the LINEJOIN_ constants or 0 if stroke line join is not set.
     */
    #[Pure]
    public function getStrokeLineJoin() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the stroke miter limit
     * @link https://php.net/manual/en/imagickdraw.getstrokemiterlimit.php
     * @return int an int describing the miter limit
     * and 0 if no miter limit is set.
     */
    #[Pure]
    public function getStrokeMiterLimit() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the opacity of stroked object outlines
     * @link https://php.net/manual/en/imagickdraw.getstrokeopacity.php
     * @return float a float describing the opacity.
     */
    #[Pure]
    public function getStrokeOpacity() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the width of the stroke used to draw object outlines
     * @link https://php.net/manual/en/imagickdraw.getstrokewidth.php
     * @return float a float describing the stroke width.
     */
    #[Pure]
    public function getStrokeWidth() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the text alignment
     * @link https://php.net/manual/en/imagickdraw.gettextalignment.php
     * @return int one of the ALIGN_ constants and 0 if no align is set.
     */
    #[Pure]
    public function getTextAlignment() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the current text antialias setting
     * @link https://php.net/manual/en/imagickdraw.gettextantialias.php
     * @return bool <b>TRUE</b> if text is antialiased and false if not.
     */
    #[Pure]
    public function getTextAntialias() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns a string containing vector graphics
     * @link https://php.net/manual/en/imagickdraw.getvectorgraphics.php
     * @return string a string containing the vector graphics.
     */
    #[Pure]
    public function getVectorGraphics() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the text under color
     * @link https://php.net/manual/en/imagickdraw.gettextundercolor.php
     * @return ImagickPixel an ImagickPixel object describing the color.
     * @throws ImagickDrawException on error.
     */
    #[Pure]
    public function getTextUnderColor() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adds a path element to the current path
     * @link https://php.net/manual/en/imagickdraw.pathclose.php
     * @return bool No value is returned.
     */
    public function pathClose() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a cubic Bezier curve
     * @link https://php.net/manual/en/imagickdraw.pathcurvetoabsolute.php
     * @param float $x1 <p>
     * x coordinate of the first control point
     * </p>
     * @param float $y1 <p>
     * y coordinate of the first control point
     * </p>
     * @param float $x2 <p>
     * x coordinate of the second control point
     * </p>
     * @param float $y2 <p>
     * y coordinate of the first control point
     * </p>
     * @param float $x <p>
     * x coordinate of the curve end
     * </p>
     * @param float $y <p>
     * y coordinate of the curve end
     * </p>
     * @return bool No value is returned.
     */
    public function pathCurveToAbsolute($x1, $y1, $x2, $y2, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a cubic Bezier curve
     * @link https://php.net/manual/en/imagickdraw.pathcurvetorelative.php
     * @param float $x1 <p>
     * x coordinate of starting control point
     * </p>
     * @param float $y1 <p>
     * y coordinate of starting control point
     * </p>
     * @param float $x2 <p>
     * x coordinate of ending control point
     * </p>
     * @param float $y2 <p>
     * y coordinate of ending control point
     * </p>
     * @param float $x <p>
     * ending x coordinate
     * </p>
     * @param float $y <p>
     * ending y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathCurveToRelative($x1, $y1, $x2, $y2, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a quadratic Bezier curve
     * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierabsolute.php
     * @param float $x1 <p>
     * x coordinate of the control point
     * </p>
     * @param float $y1 <p>
     * y coordinate of the control point
     * </p>
     * @param float $x <p>
     * x coordinate of the end point
     * </p>
     * @param float $y <p>
     * y coordinate of the end point
     * </p>
     * @return bool No value is returned.
     */
    public function pathCurveToQuadraticBezierAbsolute($x1, $y1, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a quadratic Bezier curve
     * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierrelative.php
     * @param float $x1 <p>
     * starting x coordinate
     * </p>
     * @param float $y1 <p>
     * starting y coordinate
     * </p>
     * @param float $x <p>
     * ending x coordinate
     * </p>
     * @param float $y <p>
     * ending y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathCurveToQuadraticBezierRelative($x1, $y1, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a quadratic Bezier curve
     * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothabsolute.php
     * @param float $x <p>
     * ending x coordinate
     * </p>
     * @param float $y <p>
     * ending y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathCurveToQuadraticBezierSmoothAbsolute($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a quadratic Bezier curve
     * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothrelative.php
     * @param float $x <p>
     * ending x coordinate
     * </p>
     * @param float $y <p>
     * ending y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathCurveToQuadraticBezierSmoothRelative($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a cubic Bezier curve
     * @link https://php.net/manual/en/imagickdraw.pathcurvetosmoothabsolute.php
     * @param float $x2 <p>
     * x coordinate of the second control point
     * </p>
     * @param float $y2 <p>
     * y coordinate of the second control point
     * </p>
     * @param float $x <p>
     * x coordinate of the ending point
     * </p>
     * @param float $y <p>
     * y coordinate of the ending point
     * </p>
     * @return bool No value is returned.
     */
    public function pathCurveToSmoothAbsolute($x2, $y2, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a cubic Bezier curve
     * @link https://php.net/manual/en/imagickdraw.pathcurvetosmoothrelative.php
     * @param float $x2 <p>
     * x coordinate of the second control point
     * </p>
     * @param float $y2 <p>
     * y coordinate of the second control point
     * </p>
     * @param float $x <p>
     * x coordinate of the ending point
     * </p>
     * @param float $y <p>
     * y coordinate of the ending point
     * </p>
     * @return bool No value is returned.
     */
    public function pathCurveToSmoothRelative($x2, $y2, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws an elliptical arc
     * @link https://php.net/manual/en/imagickdraw.pathellipticarcabsolute.php
     * @param float $rx <p>
     * x radius
     * </p>
     * @param float $ry <p>
     * y radius
     * </p>
     * @param float $x_axis_rotation <p>
     * x axis rotation
     * </p>
     * @param bool $large_arc_flag <p>
     * large arc flag
     * </p>
     * @param bool $sweep_flag <p>
     * sweep flag
     * </p>
     * @param float $x <p>
     * x coordinate
     * </p>
     * @param float $y <p>
     * y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathEllipticArcAbsolute($rx, $ry, $x_axis_rotation, $large_arc_flag, $sweep_flag, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws an elliptical arc
     * @link https://php.net/manual/en/imagickdraw.pathellipticarcrelative.php
     * @param float $rx <p>
     * x radius
     * </p>
     * @param float $ry <p>
     * y radius
     * </p>
     * @param float $x_axis_rotation <p>
     * x axis rotation
     * </p>
     * @param bool $large_arc_flag <p>
     * large arc flag
     * </p>
     * @param bool $sweep_flag <p>
     * sweep flag
     * </p>
     * @param float $x <p>
     * x coordinate
     * </p>
     * @param float $y <p>
     * y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathEllipticArcRelative($rx, $ry, $x_axis_rotation, $large_arc_flag, $sweep_flag, $x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Terminates the current path
     * @link https://php.net/manual/en/imagickdraw.pathfinish.php
     * @return bool No value is returned.
     */
    public function pathFinish() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a line path
     * @link https://php.net/manual/en/imagickdraw.pathlinetoabsolute.php
     * @param float $x <p>
     * starting x coordinate
     * </p>
     * @param float $y <p>
     * ending x coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathLineToAbsolute($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a line path
     * @link https://php.net/manual/en/imagickdraw.pathlinetorelative.php
     * @param float $x <p>
     * starting x coordinate
     * </p>
     * @param float $y <p>
     * starting y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathLineToRelative($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a horizontal line path
     * @link https://php.net/manual/en/imagickdraw.pathlinetohorizontalabsolute.php
     * @param float $x <p>
     * x coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathLineToHorizontalAbsolute($x) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a horizontal line
     * @link https://php.net/manual/en/imagickdraw.pathlinetohorizontalrelative.php
     * @param float $x <p>
     * x coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathLineToHorizontalRelative($x) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a vertical line
     * @link https://php.net/manual/en/imagickdraw.pathlinetoverticalabsolute.php
     * @param float $y <p>
     * y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathLineToVerticalAbsolute($y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a vertical line path
     * @link https://php.net/manual/en/imagickdraw.pathlinetoverticalrelative.php
     * @param float $y <p>
     * y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathLineToVerticalRelative($y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Starts a new sub-path
     * @link https://php.net/manual/en/imagickdraw.pathmovetoabsolute.php
     * @param float $x <p>
     * x coordinate of the starting point
     * </p>
     * @param float $y <p>
     * y coordinate of the starting point
     * </p>
     * @return bool No value is returned.
     */
    public function pathMoveToAbsolute($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Starts a new sub-path
     * @link https://php.net/manual/en/imagickdraw.pathmovetorelative.php
     * @param float $x <p>
     * target x coordinate
     * </p>
     * @param float $y <p>
     * target y coordinate
     * </p>
     * @return bool No value is returned.
     */
    public function pathMoveToRelative($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Declares the start of a path drawing list
     * @link https://php.net/manual/en/imagickdraw.pathstart.php
     * @return bool No value is returned.
     */
    public function pathStart() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Draws a polyline
     * @link https://php.net/manual/en/imagickdraw.polyline.php
     * @param array $coordinates <p>
     * array of x and y coordinates: array( array( 'x' => 4, 'y' => 6 ), array( 'x' => 8, 'y' => 10 ) )
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickDrawException on error.
     */
    public function polyline(array $coordinates) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Terminates a clip path definition
     * @link https://php.net/manual/en/imagickdraw.popclippath.php
     * @return bool No value is returned.
     */
    public function popClipPath() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Terminates a definition list
     * @link https://php.net/manual/en/imagickdraw.popdefs.php
     * @return bool No value is returned.
     */
    public function popDefs() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Terminates a pattern definition
     * @link https://php.net/manual/en/imagickdraw.poppattern.php
     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
     * @throws ImagickException on error.
     */
    public function popPattern() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Starts a clip path definition
     * @link https://php.net/manual/en/imagickdraw.pushclippath.php
     * @param string $clip_mask_id <p>
     * Clip mask Id
     * </p>
     * @return bool No value is returned.
     */
    public function pushClipPath($clip_mask_id) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Indicates that following commands create named elements for early processing
     * @link https://php.net/manual/en/imagickdraw.pushdefs.php
     * @return bool No value is returned.
     */
    public function pushDefs() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Indicates that subsequent commands up to a ImagickDraw::opPattern() command comprise the definition of a named pattern
     * @link https://php.net/manual/en/imagickdraw.pushpattern.php
     * @param string $pattern_id <p>
     * the pattern Id
     * </p>
     * @param float $x <p>
     * x coordinate of the top-left corner
     * </p>
     * @param float $y <p>
     * y coordinate of the top-left corner
     * </p>
     * @param float $width <p>
     * width of the pattern
     * </p>
     * @param float $height <p>
     * height of the pattern
     * </p>
     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
     */
    public function pushPattern($pattern_id, $x, $y, $width, $height) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Renders all preceding drawing commands onto the image
     * @link https://php.net/manual/en/imagickdraw.render.php
     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
     * @throws ImagickException on error.
     */
    public function render() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Applies the specified rotation to the current coordinate space
     * @link https://php.net/manual/en/imagickdraw.rotate.php
     * @param float $degrees <p>
     * degrees to rotate
     * </p>
     * @return bool No value is returned.
     */
    public function rotate($degrees) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Adjusts the scaling factor
     * @link https://php.net/manual/en/imagickdraw.scale.php
     * @param float $x <p>
     * horizontal factor
     * </p>
     * @param float $y <p>
     * vertical factor
     * </p>
     * @return bool No value is returned.
     */
    public function scale($x, $y) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Associates a named clipping path with the image
     * @link https://php.net/manual/en/imagickdraw.setclippath.php
     * @param string $clip_mask <p>
     * the clipping path name
     * </p>
     * @return bool No value is returned.
     * @throws ImagickException on error.
     */
    public function setClipPath($clip_mask) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Set the polygon fill rule to be used by the clipping path
     * @link https://php.net/manual/en/imagickdraw.setcliprule.php
     * @param int $fill_rule <p>
     * FILLRULE_ constant
     * </p>
     * @return bool No value is returned.
     */
    public function setClipRule($fill_rule) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the interpretation of clip path units
     * @link https://php.net/manual/en/imagickdraw.setclipunits.php
     * @param int $clip_units <p>
     * the number of clip units
     * </p>
     * @return bool No value is returned.
     */
    public function setClipUnits($clip_units) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the opacity to use when drawing using the fill color or fill texture
     * @link https://php.net/manual/en/imagickdraw.setfillopacity.php
     * @param float $fillOpacity <p>
     * the fill opacity
     * </p>
     * @return bool No value is returned.
     */
    public function setFillOpacity($fillOpacity) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the URL to use as a fill pattern for filling objects
     * @link https://php.net/manual/en/imagickdraw.setfillpatternurl.php
     * @param string $fill_url <p>
     * URL to use to obtain fill pattern.
     * </p>
     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
     * @throws ImagickException on error.
     */
    public function setFillPatternURL($fill_url) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the fill rule to use while drawing polygons
     * @link https://php.net/manual/en/imagickdraw.setfillrule.php
     * @param int $fill_rule <p>
     * FILLRULE_ constant
     * </p>
     * @return bool No value is returned.
     */
    public function setFillRule($fill_rule) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the text placement gravity
     * @link https://php.net/manual/en/imagickdraw.setgravity.php
     * @param int $gravity <p>
     * GRAVITY_ constant
     * </p>
     * @return bool No value is returned.
     */
    public function setGravity($gravity) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the pattern used for stroking object outlines
     * @link https://php.net/manual/en/imagickdraw.setstrokepatternurl.php
     * @param string $stroke_url <p>
     * stroke URL
     * </p>
     * @return bool imagick.imagickdraw.return.success;
     * @throws ImagickException on error.
     */
    public function setStrokePatternURL($stroke_url) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies the offset into the dash pattern to start the dash
     * @link https://php.net/manual/en/imagickdraw.setstrokedashoffset.php
     * @param float $dash_offset <p>
     * dash offset
     * </p>
     * @return bool No value is returned.
     */
    public function setStrokeDashOffset($dash_offset) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies the shape to be used at the end of open subpaths when they are stroked
     * @link https://php.net/manual/en/imagickdraw.setstrokelinecap.php
     * @param int $linecap <p>
     * LINECAP_ constant
     * </p>
     * @return bool No value is returned.
     */
    public function setStrokeLineCap($linecap) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies the shape to be used at the corners of paths when they are stroked
     * @link https://php.net/manual/en/imagickdraw.setstrokelinejoin.php
     * @param int $linejoin <p>
     * LINEJOIN_ constant
     * </p>
     * @return bool No value is returned.
     */
    public function setStrokeLineJoin($linejoin) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies the miter limit
     * @link https://php.net/manual/en/imagickdraw.setstrokemiterlimit.php
     * @param int $miterlimit <p>
     * the miter limit
     * </p>
     * @return bool No value is returned.
     */
    public function setStrokeMiterLimit($miterlimit) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies the opacity of stroked object outlines
     * @link https://php.net/manual/en/imagickdraw.setstrokeopacity.php
     * @param float $stroke_opacity <p>
     * stroke opacity. 1.0 is fully opaque
     * </p>
     * @return bool No value is returned.
     */
    public function setStrokeOpacity($stroke_opacity) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the vector graphics
     * @link https://php.net/manual/en/imagickdraw.setvectorgraphics.php
     * @param string $xml <p>
     * xml containing the vector graphics
     * </p>
     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
     */
    public function setVectorGraphics($xml) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Destroys the current ImagickDraw in the stack, and returns to the previously pushed ImagickDraw
     * @link https://php.net/manual/en/imagickdraw.pop.php
     * @return bool <b>TRUE</b> on success and false on failure.
     * @throws ImagickException on error.
     */
    public function pop() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Clones the current ImagickDraw and pushes it to the stack
     * @link https://php.net/manual/en/imagickdraw.push.php
     * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
     * @throws ImagickException on error.
     */
    public function push() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Specifies the pattern of dashes and gaps used to stroke paths
     * @link https://php.net/manual/en/imagickdraw.setstrokedasharray.php
     * @param array|null $dashArray <p>
     * array of floats, use NULL to reset
     * </p>
     * @return bool <b>TRUE</b> on success.
     */
    public function setStrokeDashArray(?array $dashArray) {}

    /**
     * Sets the opacity to use when drawing using the fill or stroke color or texture. Fully opaque is 1.0.
     *
     * @param float $opacity
     * @return void
     * @since 3.4.1
     */
    public function setOpacity($opacity) {}

    /**
     * Returns the opacity used when drawing with the fill or stroke color or texture. Fully opaque is 1.0.
     *
     * @return float
     * @since 3.4.1
     */
    #[Pure]
    public function getOpacity() {}

    /**
     * Sets the image font resolution.
     *
     * @param float $x
     * @param float $y
     * @return bool
     * @throws ImagickException on error.
     * @since 3.4.1
     */
    public function setFontResolution($x, $y) {}

    /**
     * Gets the image X and Y resolution.
     *
     * @return array
     * @throws ImagickException on error.
     * @since 3.4.1
     */
    #[Pure]
    public function getFontResolution() {}

    /**
     * Returns the direction that will be used when annotating with text.
     * @return bool
     * @since 3.4.1
     */
    #[Pure]
    public function getTextDirection() {}

    /**
     * Sets the font style to use when annotating with text. The AnyStyle enumeration acts as a wild-card "don't care" option.
     *
     * @param int $direction
     * @return bool
     * @since 3.4.1
     */
    public function setTextDirection($direction) {}

    /**
     * Returns the border color used for drawing bordered objects.
     *
     * @return ImagickPixel
     * @since 3.4.1
     */
    #[Pure]
    public function getBorderColor() {}

    /**
     * Sets the border color to be used for drawing bordered objects.
     * @param ImagickPixel $color
     * @return bool
     * @throws ImagickDrawException on error.
     * @since 3.4.1
     */
    public function setBorderColor(ImagickPixel $color) {}

    /**
     * Obtains the vertical and horizontal resolution.
     *
     * @return string|null
     * @since 3.4.1
     */
    #[Pure]
    public function getDensity() {}

    /**
     * Sets the vertical and horizontal resolution.
     * @param string $density_string
     * @return bool
     * @throws ImagickException on error.
     * @since 3.4.1
     */
    public function setDensity($density_string) {}
}

/**
 * @link https://php.net/manual/en/class.imagickpixeliterator.php
 */
class ImagickPixelIterator implements Iterator
{
    /**
     * (PECL imagick 2.0.0)<br/>
     * The ImagickPixelIterator constructor
     * @link https://php.net/manual/en/imagickpixeliterator.construct.php
     * @param Imagick $wand
     * @throws ImagickPixelIteratorException on error.
     * @throws ImagickException on error.
     */
    public function __construct(Imagick $wand) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns a new pixel iterator
     * @link https://php.net/manual/en/imagickpixeliterator.newpixeliterator.php
     * @param Imagick $wand
     * @return bool <b>TRUE</b> on success. Throwing ImagickPixelIteratorException.
     * @throws ImagickPixelIteratorException
     * @throws ImagickException
     */
    #[Deprecated(replacement: "%class%->getPixelIterator(%parametersList%)")]
    public function newPixelIterator(Imagick $wand) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns a new pixel iterator
     * @link https://php.net/manual/en/imagickpixeliterator.newpixelregioniterator.php
     * @param Imagick $wand
     * @param int $x
     * @param int $y
     * @param int $columns
     * @param int $rows
     * @return bool a new ImagickPixelIterator on success; on failure, throws ImagickPixelIteratorException
     * @throws ImagickPixelIteratorException
     * @throws ImagickException
     */
    #[Deprecated(replacement: "%class%->getPixelRegionIterator(%parametersList%)")]
    public function newPixelRegionIterator(Imagick $wand, $x, $y, $columns, $rows) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the current pixel iterator row
     * @link https://php.net/manual/en/imagickpixeliterator.getiteratorrow.php
     * @return int the integer offset of the row, throwing ImagickPixelIteratorException on error.
     * @throws ImagickPixelIteratorException on error
     */
    #[Pure]
    public function getIteratorRow() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Set the pixel iterator row
     * @link https://php.net/manual/en/imagickpixeliterator.setiteratorrow.php
     * @param int $row
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelIteratorException on error.
     */
    public function setIteratorRow($row) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the pixel iterator to the first pixel row
     * @link https://php.net/manual/en/imagickpixeliterator.setiteratorfirstrow.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelIteratorException on error.
     */
    public function setIteratorFirstRow() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the pixel iterator to the last pixel row
     * @link https://php.net/manual/en/imagickpixeliterator.setiteratorlastrow.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelIteratorException on error.
     */
    public function setIteratorLastRow() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the previous row
     * @link https://php.net/manual/en/imagickpixeliterator.getpreviousiteratorrow.php
     * @return array the previous row as an array of ImagickPixelWand objects from the
     * ImagickPixelIterator, throwing ImagickPixelIteratorException on error.
     * @throws ImagickPixelIteratorException on error
     */
    #[Pure]
    public function getPreviousIteratorRow() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the current row of ImagickPixel objects
     * @link https://php.net/manual/en/imagickpixeliterator.getcurrentiteratorrow.php
     * @return array a row as an array of ImagickPixel objects that can themselves be iterated.
     * @throws ImagickPixelIteratorException on error.
     */
    #[Pure]
    public function getCurrentIteratorRow() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the next row of the pixel iterator
     * @link https://php.net/manual/en/imagickpixeliterator.getnextiteratorrow.php
     * @return array the next row as an array of ImagickPixel objects, throwing
     * ImagickPixelIteratorException on error.
     * @throws ImagickPixelIteratorException on error
     */
    #[Pure]
    public function getNextIteratorRow() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Resets the pixel iterator
     * @link https://php.net/manual/en/imagickpixeliterator.resetiterator.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelIteratorException on error.
     */
    public function resetIterator() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Syncs the pixel iterator
     * @link https://php.net/manual/en/imagickpixeliterator.synciterator.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelIteratorException on error.
     */
    public function syncIterator() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Deallocates resources associated with a PixelIterator
     * @link https://php.net/manual/en/imagickpixeliterator.destroy.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelIteratorException on error.
     */
    public function destroy() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Clear resources associated with a PixelIterator
     * @link https://php.net/manual/en/imagickpixeliterator.clear.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelIteratorException on error.
     */
    public function clear() {}

    /**
     * @param Imagick $Imagick
     * @throws ImagickPixelIteratorException on error.
     * @throws ImagickException on error.
     */
    public static function getpixeliterator(Imagick $Imagick) {}

    /**
     * @param Imagick $Imagick
     * @param $x
     * @param $y
     * @param $columns
     * @param $rows
     * @throws ImagickPixelIteratorException on error.
     * @throws ImagickException on error.
     */
    public static function getpixelregioniterator(Imagick $Imagick, $x, $y, $columns, $rows) {}

    /**
     * @throws ImagickPixelIteratorException on error.
     */
    public function key() {}

    /**
     * @throws ImagickPixelIteratorException on error.
     */
    public function next() {}

    /**
     * @throws ImagickPixelIteratorException on error.
     */
    public function rewind() {}

    /**
     * @throws ImagickPixelIteratorException on error.
     */
    public function current() {}

    /**
     * @throws ImagickPixelIteratorException on error.
     */
    public function valid() {}
}

/**
 * @method clone()
 * @link https://php.net/manual/en/class.imagickpixel.php
 */
class ImagickPixel
{
    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the normalized HSL color of the ImagickPixel object
     * @link https://php.net/manual/en/imagickpixel.gethsl.php
     * @return float[] the HSL value in an array with the keys "hue",
     * "saturation", and "luminosity". Throws ImagickPixelException on failure.
     * @throws ImagickPixelException on failure
     */
    #[ArrayShape(["hue" => "float", "saturation" => "float", "luminosity" => "float"])]
    #[Pure]
    public function getHSL() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the normalized HSL color
     * @link https://php.net/manual/en/imagickpixel.sethsl.php
     * @param float $hue <p>
     * The normalized value for hue, described as a fractional arc
     * (between 0 and 1) of the hue circle, where the zero value is
     * red.
     * </p>
     * @param float $saturation <p>
     * The normalized value for saturation, with 1 as full saturation.
     * </p>
     * @param float $luminosity <p>
     * The normalized value for luminosity, on a scale from black at
     * 0 to white at 1, with the full HS value at 0.5 luminosity.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelException on failure
     */
    public function setHSL($hue, $saturation, $luminosity) {}

    /**
     * @throws ImagickPixelException on failure
     */
    #[Pure]
    public function getColorValueQuantum() {}

    /**
     * @param $color_value
     * @throws ImagickPixelException on failure
     */
    public function setColorValueQuantum($color_value) {}

    /**
     * Gets the colormap index of the pixel wand.
     * @throws ImagickPixelException on failure
     */
    #[Pure]
    public function getIndex() {}

    /**
     * @param int $index
     * @throws ImagickPixelException on failure
     */
    public function setIndex($index) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * The ImagickPixel constructor
     * @link https://php.net/manual/en/imagickpixel.construct.php
     * @param string $color [optional] <p>
     * The optional color string to use as the initial value of this object.
     * </p>
     * @throws ImagickPixelException on failure
     */
    public function __construct($color = null) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the color
     * @link https://php.net/manual/en/imagickpixel.setcolor.php
     * @param string $color <p>
     * The color definition to use in order to initialise the
     * ImagickPixel object.
     * </p>
     * @return bool <b>TRUE</b> if the specified color was set, <b>FALSE</b> otherwise.
     * @throws ImagickPixelException on failure
     */
    public function setColor($color) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Sets the normalized value of one of the channels
     * @link https://php.net/manual/en/imagickpixel.setcolorvalue.php
     * @param int $color <p>
     * One of the Imagick color constants e.g. \Imagick::COLOR_GREEN or \Imagick::COLOR_ALPHA.
     * </p>
     * @param float $value <p>
     * The value to set this channel to, ranging from 0 to 1.
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelException on failure
     */
    public function setColorValue($color, $value) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Gets the normalized value of the provided color channel
     * @link https://php.net/manual/en/imagickpixel.getcolorvalue.php
     * @param int $color <p>
     * The color to get the value of, specified as one of the Imagick color
     * constants. This can be one of the RGB colors, CMYK colors, alpha and
     * opacity e.g (Imagick::COLOR_BLUE, Imagick::COLOR_MAGENTA).
     * </p>
     * @return float The value of the channel, as a normalized floating-point number, throwing
     * ImagickPixelException on error.
     * @throws ImagickPixelException on error
     */
    #[Pure]
    public function getColorValue($color) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Clears resources associated with this object
     * @link https://php.net/manual/en/imagickpixel.clear.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelException on failure
     */
    public function clear() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Deallocates resources associated with this object
     * @link https://php.net/manual/en/imagickpixel.destroy.php
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelException on failure
     */
    public function destroy() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Check the distance between this color and another
     * @link https://php.net/manual/en/imagickpixel.issimilar.php
     * @param ImagickPixel $color <p>
     * The ImagickPixel object to compare this object against.
     * </p>
     * @param float $fuzz <p>
     * The maximum distance within which to consider these colors as similar.
     * The theoretical maximum for this value is the square root of three
     * (1.732).
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelException on failure
     */
    public function isSimilar(ImagickPixel $color, $fuzz) {}

    /**
     * (No version information available, might only be in SVN)<br/>
     * Check the distance between this color and another
     * @link https://php.net/manual/en/imagickpixel.ispixelsimilar.php
     * @param ImagickPixel $color <p>
     * The ImagickPixel object to compare this object against.
     * </p>
     * @param float $fuzz <p>
     * The maximum distance within which to consider these colors as similar.
     * The theoretical maximum for this value is the square root of three
     * (1.732).
     * </p>
     * @return bool <b>TRUE</b> on success.
     * @throws ImagickPixelException on failure
     */
    public function isPixelSimilar(ImagickPixel $color, $fuzz) {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the color
     * @link https://php.net/manual/en/imagickpixel.getcolor.php
     * @param int $normalized [optional] <p>
     * Normalize the color values
     * </p>
     * @return array An array of channel values, each normalized if <b>TRUE</b> is given as param. Throws
     * ImagickPixelException on error.
     * @throws ImagickPixelException on error.
     */
    #[ArrayShape(["r" => "int|float", "g" => "int|float", "b" => "int|float", "a" => "int|float"])]
    #[Pure]
    public function getColor($normalized = 0) {}

    /**
     * (PECL imagick 2.1.0)<br/>
     * Returns the color as a string
     * @link https://php.net/manual/en/imagickpixel.getcolorasstring.php
     * @return string the color of the ImagickPixel object as a string.
     * @throws ImagickPixelException on failure
     */
    #[Pure]
    public function getColorAsString() {}

    /**
     * (PECL imagick 2.0.0)<br/>
     * Returns the color count associated with this color
     * @link https://php.net/manual/en/imagickpixel.getcolorcount.php
     * @return int the color count as an integer on success, throws
     * ImagickPixelException on failure.
     * @throws ImagickPixelException on failure.
     */
    #[Pure]
    public function getColorCount() {}

    /**
     * @param int $colorCount
     * @throws ImagickPixelException on failure
     */
    public function setColorCount($colorCount) {}

    /**
     * Returns true if the distance between two colors is less than the specified distance. The fuzz value should be in the range 0-QuantumRange.<br>
     * The maximum value represents the longest possible distance in the colorspace. e.g. from RGB(0, 0, 0) to RGB(255, 255, 255) for the RGB colorspace
     * @link https://php.net/manual/en/imagickpixel.ispixelsimilarquantum.php
     * @param string $color
     * @param string $fuzz
     * @return bool
     * @throws ImagickPixelException on failure
     * @since 3.3.0
     */
    public function isPixelSimilarQuantum($color, $fuzz) {}

    /**
     * Returns the color of the pixel in an array as Quantum values. If ImageMagick was compiled as HDRI these will be floats, otherwise they will be integers.
     * @link https://php.net/manual/en/imagickpixel.getcolorquantum.php
     * @return mixed The quantum value of the color element. Float if ImageMagick was compiled with HDRI, otherwise an int.
     * @throws ImagickPixelException on failure
     * @since 3.3.0
     */
    #[Pure]
    public function getColorQuantum() {}

    /**
     * Sets the color count associated with this color from another ImagickPixel object.
     *
     * @param ImagickPixel $srcPixel
     * @return bool
     * @throws ImagickPixelException on failure
     * @since 3.4.1
     */
    public function setColorFromPixel(ImagickPixel $srcPixel) {}
}
// End of imagick v.3.2.0RC1

// Start of Imagick v3.3.0RC1

/**
 * @link https://php.net/manual/en/class.imagickkernel.php
 */
class ImagickKernel
{
    /**
     * Attach another kernel to this kernel to allow them to both be applied in a single morphology or filter function. Returns the new combined kernel.
     * @link https://php.net/manual/en/imagickkernel.addkernel.php
     * @param ImagickKernel $imagickKernel
     * @return void
     * @throws ImagickKernelException on error
     * @since 3.3.0
     */
    public function addKernel(ImagickKernel $imagickKernel) {}

    /**
     * Adds a given amount of the 'Unity' Convolution Kernel to the given pre-scaled and normalized Kernel. This in effect adds that amount of the original image into the resulting convolution kernel. The resulting effect is to convert the defined kernels into blended soft-blurs, unsharp kernels or into sharpening kernels.
     * @link https://php.net/manual/en/imagickkernel.addunitykernel.php
     * @return void
     * @throws ImagickKernelException on error
     * @since 3.3.0
     */
    public function addUnityKernel() {}

    /**
     * Create a kernel from a builtin in kernel. See https://www.imagemagick.org/Usage/morphology/#kernel for examples.<br>
     * Currently the 'rotation' symbols are not supported. Example: $diamondKernel = ImagickKernel::fromBuiltIn(\Imagick::KERNEL_DIAMOND, "2");
     * @link https://php.net/manual/en/imagickkernel.frombuiltin.php
     * @param int $kernelType The type of kernel to build e.g. \Imagick::KERNEL_DIAMOND
     * @param string $kernelString A string that describes the parameters e.g. "4,2.5"
     * @return ImagickKernel
     * @since 3.3.0
     */
    public static function fromBuiltin($kernelType, $kernelString) {}

    /**
     * Create a kernel from a builtin in kernel. See https://www.imagemagick.org/Usage/morphology/#kernel for examples.<br>
     * Currently the 'rotation' symbols are not supported. Example: $diamondKernel = ImagickKernel::fromBuiltIn(\Imagick::KERNEL_DIAMOND, "2");
     * @link https://php.net/manual/en/imagickkernel.frombuiltin.php
     * @see https://www.imagemagick.org/Usage/morphology/#kernel
     * @param array $matrix A matrix (i.e. 2d array) of values that define the kernel. Each element should be either a float value, or FALSE if that element shouldn't be used by the kernel.
     * @param array $origin [optional] Which element of the kernel should be used as the origin pixel. e.g. For a 3x3 matrix specifying the origin as [2, 2] would specify that the bottom right element should be the origin pixel.
     * @return ImagickKernel
     * @throws ImagickKernelException on error
     * @since 3.3.0
     */
    public static function fromMatrix($matrix, $origin) {}

    /**
     * Get the 2d matrix of values used in this kernel. The elements are either float for elements that are used or 'false' if the element should be skipped.
     * @link https://php.net/manual/en/imagickkernel.getmatrix.php
     * @return array A matrix (2d array) of the values that represent the kernel.
     * @throws ImagickKernelException on error
     * @since 3.3.0
     */
    #[Pure]
    public function getMatrix() {}

    /**
     * ScaleKernelInfo() scales the given kernel list by the given amount, with or without normalization of the sum of the kernel values (as per given flags).<br>
     * The exact behaviour of this function depends on the normalization type being used please see https://www.imagemagick.org/api/morphology.php#ScaleKernelInfo for details.<br>
     * Flag should be one of Imagick::NORMALIZE_KERNEL_VALUE, Imagick::NORMALIZE_KERNEL_CORRELATE, Imagick::NORMALIZE_KERNEL_PERCENT or not set.
     * @link https://php.net/manual/en/imagickkernel.scale.php
     * @see https://www.imagemagick.org/api/morphology.php#ScaleKernelInfo
     * @return void
     * @throws ImagickKernelException on error
     * @since 3.3.0
     */
    public function scale() {}

    /**
     * Separates a linked set of kernels and returns an array of ImagickKernels.
     * @link https://php.net/manual/en/imagickkernel.separate.php
     * @return void
     * @throws ImagickKernelException on error
     * @since 3.3.0
     */
    public function seperate() {}
}
