import { PatternBasicConfig, PatternConfig } from "../types/pattern"; /** * Applies repeating image textures to strokes. * * Useful for: * - paper textures * - watercolor grain * - chalk effects * - textured brushes */ export declare class PatternModule { config: PatternBasicConfig; private pattern?; private patternCanvas; private patternContext; private blendCanvas; private blendContext; constructor(config?: PatternConfig); bindConfig(config: PatternBasicConfig): void; private loadImageFromUrl; private imageToCanvas; loadPattern(resource: HTMLImageElement | HTMLCanvasElement | string, canvasWidth: number, canvasHeight: number, tint?: string): Promise; removePattern(): void; onMixinCanvas(strokeCanvas: HTMLCanvasElement, strokeContext: CanvasRenderingContext2D): [HTMLCanvasElement, CanvasRenderingContext2D]; } //# sourceMappingURL=pattern.d.ts.map