import type { QueryObserverResult } from '@tanstack/preact-query';
import type { QueryOptions } from '../types';
import type { BusinessLineService, BusinessLinesResponse } from './businessLines.types';
export type QueryKeyBusinessLines = ['businessLines'];
export type GetBusinessLines = () => Promise<QueryObserverResult<BusinessLinesResponse[]>>;
/**
 * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
 */
export declare const useBusinessLines: (businessLineType: BusinessLineService[], options?: QueryOptions<BusinessLinesResponse[]>) => import("@tanstack/preact-query").UseQueryResult<BusinessLinesResponse[], Error>;
