import type { ApiTaskType, TaskStatusResponse } from '../taskStatus/taskStatus.types';
import type { QueryOptions } from '../../../types';
export type QueryKeyTaskStatus = ['taskStatus', string];
export declare const useTaskStatus: (taskType: ApiTaskType, options?: QueryOptions<TaskStatusResponse>) => import("@tanstack/preact-query").UseQueryResult<{
    status: import("./taskStatus.contract").components["schemas"]["TaskStatus"];
    type: import("./taskStatus.contract").components["schemas"]["TaskType"];
    taskStatusEntries?: {
        id: string;
        status: import("./taskStatus.contract").components["schemas"]["TaskStatus"];
    }[] | undefined;
}, Error>;
