import { Model } from "../../model"; import { TextureRepetition } from "../../core/enums"; import * as p from "../../core/properties"; import { Context2d } from "../../core/util/canvas"; export declare namespace Texture { type Attrs = p.AttrsOf; type Props = Model.Props & { repetition: p.Property; }; } export interface Texture extends Texture.Attrs { } export declare abstract class Texture extends Model { properties: Texture.Props; constructor(attrs?: Partial); static initClass(): void; abstract get_pattern(color: any, alpha: number, scale: number, weight: number): (ctx: Context2d) => CanvasPattern | null; onload(defer_func: () => void): void; }