import { MidaPeriod } from "../periods/MidaPeriod"; import { MidaPeriodPriceKey } from "../periods/MidaPeriodPriceKey"; import { MidaTimeframe } from "../timeframes/MidaTimeframe"; export type MidaMarketComponentIndicatorDeclaration = { type: string; params?: Record; input?: { type?: MidaPeriodPriceKey | MidaPeriodPriceKey[]; timeframe: MidaTimeframe; live?: boolean; limit?: number; processor?(periods: MidaPeriod[]): any; }; };