import { UseMutationOptions } from '@tanstack/react-query'; import type { ServiceResponseResponse } from '../responses/ServiceResponseResponse'; import type { ServiceCreateRequestRequestBody } from '../requestBodies/ServiceCreateRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface CreateServiceMutationPathParams { org: string; project: string; } export interface CreateServiceMutationHeaderParams { 'Harness-Account'?: string; } export type CreateServiceRequestBody = ServiceCreateRequestRequestBody; export type CreateServiceOkResponse = ResponseWithPagination; export type CreateServiceErrorResponse = unknown; export interface CreateServiceProps extends CreateServiceMutationPathParams, Omit, 'url'> { body: CreateServiceRequestBody; } export declare function createService(props: CreateServiceProps): Promise; /** * Creates a service */ export declare function useCreateServiceMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;