/** * Convert a sequence position (ungapped, 0-based) to a global column index. * This finds the global column that contains the Nth non-gap character. * * @param row - The row's sequence string (including gaps) * @param seqPos - The sequence position (0-based count of non-gap characters) * @returns The global column index containing the seqPos-th non-gap character * * @example * // Row: "A-TG-C" (A at 0, T at 2, G at 3, C at 5) * seqPosToGlobalCol({ row: "A-TG-C", seqPos: 0 }) // → 0 (A) * seqPosToGlobalCol({ row: "A-TG-C", seqPos: 1 }) // → 2 (T) * seqPosToGlobalCol({ row: "A-TG-C", seqPos: 2 }) // → 3 (G) * seqPosToGlobalCol({ row: "A-TG-C", seqPos: 3 }) // → 5 (C) */ export declare function seqPosToGlobalCol({ row, seqPos, }: { row: string; seqPos: number; }): number;