/** * Retrieves the character for a given residue name. * * Besides amino acids, this function also * supports charm forcefield, amber forcefield, * DNA nucleotides and RNA nucleotides. * * @param resname - The residue name to retrieve the abbreviated name for. * @returns The abbreviated name for the given resource name, or "X" if no abbreviation is found. * * @example * ```ts * import { getResName1 } from "@i-vresse/haddock3-ui/getResName1"; * getResName1("ALA"); // "A" * getResName1("DA"); // "A" * getResName1("A"); // "A" * getResName1("UNK"); // "X" * ``` */ export declare function getResName1(resname: string): "H" | "R" | "K" | "I" | "F" | "L" | "W" | "A" | "M" | "P" | "C" | "N" | "V" | "G" | "S" | "Q" | "Y" | "D" | "E" | "T" | "U" | "O"; //# sourceMappingURL=getResName1.d.ts.map