import { AuthContext } from "../authentication"; import { FetchError } from "../state"; export interface CsiState extends Pick { csiProduct?: "lending"; loanUuid?: string; session?: CsiStateSession; } export interface CsiStateSession { dataCollectionRequired?: boolean; startSessionFetchError?: FetchError; startSessionFetchInProgress?: boolean; startSessionUrl?: string; sessionInProgress?: boolean; messages?: string[]; id?: string; }