import { ChainObject, UserRef } from "@gala-chain/api"; export declare class DexPositionOwner extends ChainObject { static INDEX_KEY: string; owner: UserRef; poolHash: string; tickRangeMap: Record; /** * Intiializes a new DexPositionOwner instance. * @param owner - User alias of the position owner. * @param poolHash - Unique identifier of the pool. */ constructor(owner: UserRef, poolHash: string); /** * Adds or updates a position ID for the specified tick range. * @param tickRange - Tick range string to map (e.g., "10:20"). * @param positionId - ID of the position to associate. */ addPosition(tickRange: string, positionId: string): void; /** * Removes the position mapping for the given tick range. * @param tickRange - Tick range string to remove. */ removePosition(tickRange: string, positionId: string): void; /** * Retrieves the first position ID of the positions that the user owns in the specified tick range. * @param tickRange - Tick range string to look up. * @returns The associated position ID, or undefined if not found. */ getPositionId(tickRange: string): string | undefined; /** * Returns the tick range key that includes the given position ID. * Searches through the tickRangeMap to find which tick range the positionId belongs to. * * @param positionId - The position ID to search for * @returns The corresponding tick range key, or undefined if not found */ getTickRangeByPositionId(positionId: string): string | undefined; } //# sourceMappingURL=DexPositionOwner.d.ts.map