@rcsb/rcsb-saguaro-app
Version:
RCSB 1D Saguaro Web App
12 lines (11 loc) • 1.48 kB
TypeScript
import { SequenceAlignments, TargetAlignments } from "@rcsb/rcsb-api-tools/lib/RcsbGraphQL/Types/Borrego/GqlTypes";
import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro/lib/RcsbFv/RcsbFvConfig/RcsbFvConfigInterface";
import { AlignmentRequestContextType } from "../RcsbFvTrackFactory/TrackFactoryImpl/AlignmentTrackFactory";
import { BlockFactoryInterface } from "./BlockFactoryInterface";
import { TrackFactoryInterface } from "../RcsbFvTrackFactory/TrackFactoryInterface";
export declare class AlignmentBlockFactory implements BlockFactoryInterface<[AlignmentRequestContextType, SequenceAlignments], [AlignmentRequestContextType, TargetAlignments, SequenceAlignments, number]> {
readonly trackFactory: TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignments]>;
readonly trackConfigModifier?: (alignmentContext: AlignmentRequestContextType, targetAlignment: TargetAlignments, alignmentResponse: SequenceAlignments, indexResponse: number) => Promise<Partial<RcsbFvRowConfigInterface>>;
constructor(alignmentTrackFactory: TrackFactoryInterface<[AlignmentRequestContextType, TargetAlignments]>, trackModifier?: (alignmentContext: AlignmentRequestContextType, targetAlignment: TargetAlignments, alignmentResponse: SequenceAlignments, indexResponse: number) => Promise<Partial<RcsbFvRowConfigInterface>>);
getBlock(alignmentRequestContext: AlignmentRequestContextType, alignmentData: SequenceAlignments): Promise<RcsbFvRowConfigInterface[]>;
}