import { LineObject } from '../line/LineObject';
import { LinefillObject } from './LinefillObject';
export declare class LinefillHelper {
    private context;
    private _linefills;
    constructor(context: any);
    param(source: any, index?: number, name?: string): any;
    private _ensurePlotsEntry;
    syncToPlot(): void;
    /**
     * Resolve a value that may be a Series, a bound function, or a plain scalar.
     */
    private _resolve;
    new(line1: LineObject, line2: LineObject, color: any): LinefillObject;
    any(...args: any[]): LinefillObject;
    set_color(id: LinefillObject, color: any): void;
    get_line1(id: LinefillObject): LineObject | undefined;
    get_line2(id: LinefillObject): LineObject | undefined;
    delete(id: LinefillObject): void;
    get all(): LinefillObject[];
    /**
     * Remove all drawing objects created at or after the given bar index.
     * Called during streaming rollback to prevent accumulation.
     */
    rollbackFromBar(barIdx: number): void;
}
