export type SequenceType = 'dna' | 'rna' | 'protein' | 'auto'; export interface SequenceStats { length: number; gcPercent?: number; molecularWeight?: number; } /** What `validateSequence` would strip or flag, so a field can report it instead. */ export interface SequenceProblems { /** Ambiguous `N` bases (DNA/RNA only; `N` is asparagine in protein). */ ambiguousBases: number; /** Unique characters outside the alphabet, upper-cased, in order of appearance. Whitespace is ignored. */ invalidCharacters: string[]; } /** Detects, validates, cleans, and computes stats (GC%, MW) for DNA, RNA, and protein sequences. */ export declare function useSequenceUtils(): { detectSequenceType: (seq: string) => "dna" | "rna" | "protein"; validateSequence: (seq: string, type: SequenceType) => string; findSequenceProblems: (seq: string, type: "dna" | "rna" | "protein") => SequenceProblems; reverseComplement: (seq: string, type: "dna" | "rna") => string; calculateStats: (seq: string, type: "dna" | "rna" | "protein") => SequenceStats; formatFasta: (seq: string, lineWidth?: number) => string; };