import { Trend } from './types.js';

interface DefaultParams {
    entry: number;
    trend: Trend;
    ltp: number;
}
interface CheckParams extends DefaultParams {
    points: number;
}
interface CalculateParams extends DefaultParams {
    qty: number;
}
declare function isProfitReached({ entry, points, trend, ltp }: CheckParams): boolean;
declare function isStoplossReached({ entry, points, trend, ltp }: CheckParams): boolean;
declare function calculatePL({ entry, qty, trend, ltp }: CalculateParams): number;

export { calculatePL, isProfitReached, isStoplossReached };
