import type { DslTier } from "../../types/dsl/index.js"; import type { DslEnginePosition } from "./types.js"; /** triggerPct → triggerRoe, lockHwPct → lockRoe. */ export declare function mapTiersToEngineConfig(tiers: DslTier[]): Array<{ triggerRoe: number; lockRoe: number; }>; /** * Parse a backend `activeSLOrderId` into a numeric order id, or null when the * backend has no live exchange stop-loss for the position (missing / empty / * non-numeric). Used to gate Phase-2 handoff: the runtime keeps managing the SL * locally until the backend confirms a real exchange stop. */ export declare function parseSlOrderId(raw: string | null | undefined): number | null; export declare function mapEnginePositionToStateFields(enginePos: DslEnginePosition): { currentTierIndex: number; tierFloorPrice: number; highWaterPrice: number; highWaterRoe: number; slOrderId: number | null; lastSyncedFloorPrice: number; }; //# sourceMappingURL=config-mapping.d.ts.map