import type { Ref } from 'react';
export interface ChartStreamGLProps {
    /** Ref forwarded to the SVG marker element used to position the canvas. */
    ref?: Ref<SVGGElement>;
    /** Imperative handle ref for streaming data control. */
    handleRef?: Ref<ChartStreamGLHandle>;
    color: string;
    bufferSize?: number;
    lineWidth?: number;
    opacity?: number;
}
export interface ChartStreamGLHandle {
    push(x: number, y: number): void;
    clear(): void;
}
export declare function ChartStreamGL({ ref, handleRef, color, bufferSize, lineWidth, opacity, }: ChartStreamGLProps): import("react").JSX.Element | null;
//# sourceMappingURL=ChartStreamGL.d.ts.map