import '../../../globals.js';
/**
 * A pattern that will deliver a fill or stroke that will repeat an image in both directions (x and y).
 *
 * TODO: future support for repeat-x, repeat-y or no-repeat (needs SVG support) https://github.com/phetsims/scenery/issues/1581
 * TODO: support scene or other various content (SVG is flexible, can backport to canvas)
 *
 * @author Jonathan Olson <jonathan.olson@colorado.edu>
 */
import { Paint, SVGBlock, SVGPattern } from '../imports.js';
export default class Pattern extends Paint {
    image: HTMLImageElement;
    canvasPattern: CanvasPattern;
    /**
     * @param image - The image to use as a repeated pattern.
     */
    constructor(image: HTMLImageElement);
    /**
     * Returns an object that can be passed to a Canvas context's fillStyle or strokeStyle.
     */
    getCanvasStyle(): CanvasPattern;
    /**
     * Creates an SVG paint object for creating/updating the SVG equivalent definition.
     */
    createSVGPaint(svgBlock: SVGBlock): SVGPattern;
    /**
     * Returns a string form of this object
     */
    toString(): string;
    isPattern: boolean;
}
//# sourceMappingURL=Pattern.d.ts.map