import React from "react";
import type { SkRect } from "../skia/types";
import type { SkiaPictureViewNativeProps } from "./types";
interface SkiaPictureViewProps extends SkiaPictureViewNativeProps {
    mode?: "default" | "continuous";
    androidWarmup?: boolean;
}
export declare class SkiaPictureView extends React.Component<SkiaPictureViewProps> {
    private requestId;
    constructor(props: SkiaPictureViewProps);
    private _nativeId;
    get nativeId(): number;
    componentDidUpdate(prevProps: SkiaPictureViewProps): void;
    componentWillUnmount(): void;
    private tick;
    /**
     * Creates a snapshot from the canvas in the surface
     * @param rect Rect to use as bounds. Optional.
     * @returns An Image object.
     */
    makeImageSnapshot(rect?: SkRect): import("../skia/types").SkImage;
    /**
     * Sends a redraw request to the native SkiaView.
     */
    redraw(): void;
    render(): React.JSX.Element;
}
export {};
