import { UseMutationOptions } from '@tanstack/react-query'; import type { ServiceResponseResponse } from '../responses/ServiceResponseResponse'; import type { ServiceUpdateRequestRequestBody } from '../requestBodies/ServiceUpdateRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpdateServiceMutationPathParams { org: string; project: string; service: string; } export interface UpdateServiceMutationHeaderParams { 'Harness-Account'?: string; } export type UpdateServiceRequestBody = ServiceUpdateRequestRequestBody; export type UpdateServiceOkResponse = ResponseWithPagination; export type UpdateServiceErrorResponse = unknown; export interface UpdateServiceProps extends UpdateServiceMutationPathParams, Omit, 'url'> { body: UpdateServiceRequestBody; } export declare function updateService(props: UpdateServiceProps): Promise; /** * Updates the specified service */ export declare function useUpdateServiceMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;