import type { OakScriptContext, SeriesHandle } from './types'; interface ActivePlot { id: string; series: SeriesHandle; } export declare function setContext(ctx: OakScriptContext): void; export declare function clearContext(): void; export declare function getContext(): OakScriptContext | null; export declare function registerCalculate(fn: () => void): void; export declare function recalculate(): void; export declare function clearPlots(): void; export declare function plot(series: number[], title?: string, color?: string, linewidth?: number, style?: string, colors?: string[]): string; export declare function hline(price: number, title?: string, color?: string, linestyle?: string, linewidth?: number): string; export declare function getActivePlots(): ReadonlyArray; export {}; //# sourceMappingURL=runtime.d.ts.map