import { UseQueryOptions } from '@tanstack/react-query'; import type { ServiceResponseResponse } from '../responses/ServiceResponseResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetServiceQueryPathParams { org: string; project: string; service: string; } export interface GetServiceQueryHeaderParams { 'Harness-Account'?: string; } export type GetServiceOkResponse = ResponseWithPagination; export type GetServiceErrorResponse = unknown; export interface GetServiceProps extends GetServiceQueryPathParams, Omit, 'url'> { } export declare function getService(props: GetServiceProps): Promise; /** * Retrieves the specified service */ export declare function useGetServiceQuery(props: GetServiceProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;