export type AnswerType = 'descriptive' | 'yes/no' | 'multiplechoicesingle' | 'multiplechoicemultiple' | 'descriptiveImage' | 'image' | 'video' | 'multipleImage' | 'date' | 'linearscale' | 'time';
export type DescriptiveType = 'text' | 'number' | '';
export type ValidationType = 'Capture Image' | 'Descriptive Answer' | 'Capture Video' | '';
export interface ITask {
    alert: {
        usageExceeds: any | null;
        alertsTo: any[];
    };
    _id: string;
    type: string;
    checkListNumber: number;
    checkListName: string;
    checkListDescription: string;
    createdBy: string;
    createdByName: string;
    publish: boolean;
    schedule: string;
    scheduleRepeatedDay: string[];
    scheduleStartTime: string;
    scheduleEndTime: string;
    configStartDate: string | null;
    configEndDate: string | null;
    specificDate: string[];
    scheduleWeekDays: string[];
    scheduleRepeatedMonthSetup: string;
    scheduleRepeatedMonthDate: string;
    allowedOverTime: boolean;
    allowedStoreLocation: boolean;
    detectionArea: any[];
    client_id: string;
    questionCount: number;
    storeCount: number;
    checkListType: string;
    isdeleted: boolean;
    markasread: boolean;
    allowedMultiSubmit: boolean;
    allowOnce: boolean;
    scheduleRepeatedMonthWeek: string;
    scheduleRepeatedType: string;
    scheduleDate: string | null;
    createdAt: string;
    updatedAt: string;
    locationCount: number;
    publishDate: string;
    scheduleEndTimeISO: string;
    scheduleStartTimeISO: string;
    assignedUsers: any[];
    assign: any[];
    removedUsers: any[];
    sections: Section[];
    approver: {
        id: string;
        email: string;
        userName: string;
    }[];
    priorityType: string;
    restrictAttendance: boolean;
    remainder?: number[];
}
export interface Section {
    id: string;
    name: string;
    questions: Question[];
}
export interface Question {
    qno?: number;
    qname: string;
    answerType: AnswerType;
    runAI: boolean;
    runAIDescription: string;
    allowUploadfromGallery: boolean;
    linkType: boolean;
    questionReferenceImage: string;
    answers: Answer[];
    descriptivetype?: DescriptiveType;
}
export interface Answer {
    answer: string;
    answeroptionNumber?: number;
    sopFlag: boolean;
    validation: boolean;
    validationType: ValidationType;
    referenceImage: string;
    showLinked: boolean;
    linkedQuestion: number;
    nestedQuestion: any[];
    validationAnswer?: string;
    allowUploadfromGallery?: boolean;
    runAI?: boolean;
    rangeStart?: number;
    rangeEnd?: number;
    descriptivetype?: DescriptiveType;
}
interface DateRange {
    startDate: string;
    endDate: string;
}
interface Store {
    storeId: string;
    storeName: string;
    checked: boolean;
}
interface Group {
    city: string;
    checked: boolean;
}
export interface HeaderFilter {
    client: string;
    clientName: string;
    clients: string[];
    store: null | string;
    date: DateRange;
    stores: Store[];
    group: Group[];
}
export interface UserAssignDetails {
    id: string;
    userName: string;
    userEmail: string;
    store_id: string;
    storeName: string;
    clusterName: string;
    teamName: string;
    userPhone: string;
    city: string;
    checkFlag: boolean;
}
export {};
