import type { QueryOptions } from '../../../types';
import type { NormalizedTaskStatus, TaskStatusApiResponse } from '../../stores/globalStore/taskStatus';
export type QueryKeyTaskStatus = ['taskStatus'];
/**
 * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
 */
export declare const useTaskStatus: (options?: QueryOptions<TaskStatusApiResponse, NormalizedTaskStatus>) => import("@tanstack/preact-query").UseQueryResult<NormalizedTaskStatus | undefined, Error>;
