import { type CanvasState } from "https://deno.land/x/canvas@v1.0.4/types.ts";
examplesAffinityEnumValuesAlphaTypeEnumValuesBlendModeEnumValuesBlurStyleEnumValuesCameraCanvasCompositingCanvasDrawImageCanvasDrawPathCanvasFillStrokeStylesCanvasFiltersCanvasGradientCanvasImageDataCanvasImageSmoothingCanvasKitCanvasKitInitOptionsCanvasPathCanvasPathDrawingStylesCanvasPatternCanvasRectCanvasRenderingContext2DCanvasShadowStylesCanvasStateCanvasTextCanvasTextDrawingStylesCanvasTransformCanvasUserInterfaceClipOpEnumValuesColorMatrixHelpersColorSpaceEnumValuesColorTypeEnumValuesDecorationStyleEnumValuesDefaultConstructorDOMMatrixDOMMatrix2DInitDOMMatrixInitDOMMatrixReadOnlyDOMPointDOMPointInitElementEmbindEnumEmbindEnumEntityEmbindObjectEmbindSingletonEmulatedCanvas2DFillTypeEnumValuesFilterQualityEnumValuesFontEdgingEnumValuesFontHintingEnumValuesFontSlantEnumValuesFontStyleFontWeightEnumValuesFontWidthEnumValuesGrContextHTMLCanvasElementImageBitmapImageDataImageDataConstructorImageFormatEnumValuesMallocObjManagedSkottieAnimationMatrix3x3HelpersMatrix4x4HelpersPaintStyleEnumValuesParagraphParagraphBuilderParagraphBuilderFactoryParagraphStyleParagraphStyleConstructorParticlesParticlesUniformPath2DPathOpEnumValuesPlaceholderAlignmentEnumValuesPointModeEnumValuesPositionWithAffinityRectHeightStyleEnumValuesRectWidthStyleEnumValuesShapedTextShapedTextConstructorShapedTextOptsSkAnimatedImageSkCanvasSkColorFilterFactorySkContourMeasureSkContourMeasureIterSkContourMeasureIterConstructorSkDataSkFontSkFontConstructorSkFontMgrSkFontMgrFactorySkImageSkImageFilterFactorySkImageInfoSkMaskFilterFactorySkottieAnimationSkPaintSkPathSkPathConstructorAndFactorySkPathEffectFactorySkPictureSkPictureRecorderSkRuntimeEffectSkRuntimeEffectFactorySkShaderFactorySkSurfaceSkTextBlobFactorySkVerticesStrokeCapEnumValuesStrokeJoinEnumValuesStrokeOptsStrutStyleTextAlignEnumValuesTextBaselineEnumValuesTextDirectionEnumValuesTextFontFeaturesTextMetricsTextShadowTextStyleTextStyleConstructorTileModeEnumValuesTonalColorsInputTonalColorsOutputTypefaceFontProviderTypefaceFontProviderFactoryURangeVectorHelpersVertexModeEnumValuesWebGLOptionsAffinityAlphaTypeAngleInDegreesAngleInRadiansBlendModeBlurStyleCanvasDirectionCanvasFillRuleCanvasImageSourceCanvasLineCapCanvasLineJoinCanvasTextAlignCanvasTextBaselineClipOpColorIntArrayColorSpaceColorTypeDecorationStyleEmulatedCanvas2DContextEmulatedImageDataEmulatedPath2DEncodedImageFormatFillTypeFilterQualityFlattenedPointArrayFlattenedRectangleArrayFontEdgingFontHintingFontSlantFontWeightFontWidthGlyphIDArrayImageSmoothingQualityInputColorInputColorMatrixInputFlattenedPointArrayInputFlattenedRectangleArrayInputFlattenedRSXFormArrayInputGlyphIDArrayInputIRectInputMatrixInputRectInputRRectMatrix3x2Matrix3x3Matrix4x4PaintStylePathCommandPathOpPlaceholderAlignmentPointModePosTanRectHeightStyleRectWidthStyleSaveLayerFlagSkColorSkColorFilterSkColorIntSkColorMatrixSkImageFilterSkIRectSkMaskFilterSkPathEffectSkPointSkRectSkRRectSkShaderSkTextBlobSkTypefaceStrokeCapStrokeJoinTextAlignTextBaselineTextDirectionTileModeTypedArrayTypedArrayConstructorVector3VectorNVerbListVertexModeWebGLContextHandleWeightListdefaultdataURLtoFileloadImageAffinityEnumValuesAlphaTypeEnumValuesBlendModeEnumValuesBlurStyleEnumValuesCameraCanvasCompositingCanvasDrawImageCanvasDrawPathCanvasFillStrokeStylesCanvasFiltersCanvasGradientCanvasImageDataCanvasImageSmoothingCanvasKitCanvasKitInitOptionsCanvasPathCanvasPathDrawingStylesCanvasPatternCanvasRectCanvasRenderingContext2DCanvasShadowStylesCanvasStateCanvasTextCanvasTextDrawingStylesCanvasTransformCanvasUserInterfaceClipOpEnumValuesColorMatrixHelpersColorSpaceEnumValuesColorTypeEnumValuesDecorationStyleEnumValuesDefaultConstructorDOMMatrixDOMMatrix2DInitDOMMatrixInitDOMMatrixReadOnlyDOMPointDOMPointInitElementEmbindEnumEmbindEnumEntityEmbindObjectEmbindSingletonEmulatedCanvas2DFillTypeEnumValuesFilterQualityEnumValuesFontEdgingEnumValuesFontHintingEnumValuesFontSlantEnumValuesFontStyleFontWeightEnumValuesFontWidthEnumValuesGrContextHTMLCanvasElementImageBitmapImageDataImageDataConstructorImageFormatEnumValuesMallocObjManagedSkottieAnimationMatrix3x3HelpersMatrix4x4HelpersPaintStyleEnumValuesParagraphParagraphBuilderParagraphBuilderFactoryParagraphStyleParagraphStyleConstructorParticlesParticlesUniformPath2DPathOpEnumValuesPlaceholderAlignmentEnumValuesPointModeEnumValuesPositionWithAffinityRectHeightStyleEnumValuesRectWidthStyleEnumValuesShapedTextShapedTextConstructorShapedTextOptsSkAnimatedImageSkCanvasSkColorFilterFactorySkContourMeasureSkContourMeasureIterSkContourMeasureIterConstructorSkDataSkFontSkFontConstructorSkFontMgrSkFontMgrFactorySkImageSkImageFilterFactorySkImageInfoSkMaskFilterFactorySkottieAnimationSkPaintSkPathSkPathConstructorAndFactorySkPathEffectFactorySkPictureSkPictureRecorderSkRuntimeEffectSkRuntimeEffectFactorySkShaderFactorySkSurfaceSkTextBlobFactorySkVerticesStrokeCapEnumValuesStrokeJoinEnumValuesStrokeOptsStrutStyleTextAlignEnumValuesTextBaselineEnumValuesTextDirectionEnumValuesTextFontFeaturesTextMetricsTextShadowTextStyleTextStyleConstructorTileModeEnumValuesTonalColorsInputTonalColorsOutputTypefaceFontProviderTypefaceFontProviderFactoryURangeVectorHelpersVertexModeEnumValuesWebGLOptionsAffinityAlphaTypeAngleInDegreesAngleInRadiansBlendModeBlurStyleCanvasDirectionCanvasFillRuleCanvasImageSourceCanvasLineCapCanvasLineJoinCanvasTextAlignCanvasTextBaselineClipOpColorIntArrayColorSpaceColorTypeDecorationStyleEmulatedCanvas2DContextEmulatedImageDataEmulatedPath2DEncodedImageFormatFillTypeFilterQualityFlattenedPointArrayFlattenedRectangleArrayFontEdgingFontHintingFontSlantFontWeightFontWidthGlyphIDArrayImageSmoothingQualityInputColorInputColorMatrixInputFlattenedPointArrayInputFlattenedRectangleArrayInputFlattenedRSXFormArrayInputGlyphIDArrayInputIRectInputMatrixInputRectInputRRectMatrix3x2Matrix3x3Matrix4x4PaintStylePathCommandPathOpPlaceholderAlignmentPointModePosTanRectHeightStyleRectWidthStyleSaveLayerFlagSkColorSkColorFilterSkColorIntSkColorMatrixSkImageFilterSkIRectSkMaskFilterSkPathEffectSkPointSkRectSkRRectSkShaderSkTextBlobSkTypefaceStrokeCapStrokeJoinTextAlignTextBaselineTextDirectionTileModeTypedArrayTypedArrayConstructorVector3VectorNVerbListVertexModeWebGLContextHandleWeightList
mod.ts (default module)
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
v
f
f
types.ts
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T