import * as PIXI from 'pixi.js';
import { CustomPIXIComponent } from 'react-pixi-fiber';
interface IRenderer {
    app: PIXI.Application;
    $el: HTMLCanvasElement | null;
    template: any;
    toDataURL(): string | undefined;
    renderCanvas(download: boolean): HTMLCanvasElement | null;
}
/**
 * 渲染model
 *
 * @class Render
 * @implements {IRenderer}
 */
declare class Renderer implements IRenderer {
    app: PIXI.Application;
    $el: HTMLCanvasElement | null;
    template: any;
    constructor(template: any, selector: string | HTMLCanvasElement, options: PIXI.ApplicationOptions);
    /**
     * 导出图片
     *
     * @returns
     * @memberof Render
     */
    toDataURL(): string;
    /**
     * 渲染到 canvas
     *
     * @returns
     * @memberof Render
     */
    renderCanvas(download?: boolean): HTMLCanvasElement | null;
    private getComponent;
    /**
     * Custom pixiComponent of renderer
     * @see {@link https://github.com/michalochman/react-pixi-fiber}
     */
    static CustomPIXIComponent: typeof CustomPIXIComponent;
    /**
     * Pixi  of renderer
     * Get PIXI
     */
    static PIXI: typeof PIXI;
}
export default Renderer;
