import type { JSX } from 'preact';
import type { ActionsMenuOption } from '../../../ui/atoms/ActionsMenu/ActionsMenu';
import type { IconName } from '../../../ui/atoms/Icon/Icon';
import type { NsTranslationKey } from '../../../../../types';
import type { TaskStatus } from '../../../../stores/globalStore/taskStatus';
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
import type { EntityProblems } from '../../../../types/errors/entity-problems';
export interface TaskListProps {
    onNavigateToTask(taskType: TaskType, id?: string): void;
    singpassComponent?: JSX.Element;
}
export interface TaskListGroupProps {
    title?: string;
}
export interface TaskListItemProps {
    icon: IconName;
    titleKey: NsTranslationKey<'common'>;
    title?: string;
    statusLabel?: string;
    disabled?: boolean;
    downloadHandler?(): void;
    problems?: EntityProblems;
    actions?: ActionsMenuOption[];
    info?: string;
    onNavigateToTask?: () => void;
    loading?: boolean;
    showErrorAlerts?: 'onErrorStatus' | 'always';
    status: TaskStatus;
    warningMessage?: string;
    deleteEntity?: () => void;
    testId?: string;
    enableTracking?: boolean;
    fallbackErrorMessage?: string;
}
