import type { HighLow } from '../../base/Candle.type.js'; import { type TradingSignals, TrendIndicatorSeries } from '../../base/Indicator.js'; export type PSARConfig = { accelerationStep: number; accelerationMax: number; }; type PSARState = { acceleration: number; extreme: number | null; isLong: boolean | null; lastSar: number | null; prePreviousCandle: HighLow | null; previousCandle: HighLow | null; }; export declare class PSAR extends TrendIndicatorSeries, TradingSignals, PSARState> { readonly inputShape: "high-low"; private readonly accelerationStep; private readonly accelerationMax; protected state: PSARState; constructor(config: PSARConfig); get isStable(): boolean; getRequiredInputs(): number; update(candle: HighLow, replace: boolean): number | null; getResultOrThrow(): number; protected calculateSignalState(result?: number | null): "BEARISH" | "BULLISH" | "UNKNOWN"; } export {};