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 CreateOrgScopedServiceMutationPathParams { org: string; } export interface CreateOrgScopedServiceMutationHeaderParams { 'Harness-Account'?: string; } export type CreateOrgScopedServiceRequestBody = ServiceCreateRequestRequestBody; export type CreateOrgScopedServiceOkResponse = ResponseWithPagination; export type CreateOrgScopedServiceErrorResponse = unknown; export interface CreateOrgScopedServiceProps extends CreateOrgScopedServiceMutationPathParams, Omit, 'url'> { body: CreateOrgScopedServiceRequestBody; } export declare function createOrgScopedService(props: CreateOrgScopedServiceProps): Promise; /** * Creates a service */ export declare function useCreateOrgScopedServiceMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;