import { UseMutationOptions } from '@tanstack/react-query'; import type { IpAllowlistConfigResponseResponse } from '../responses/IpAllowlistConfigResponseResponse'; import type { IpAllowlistConfigRequestRequestBody } from '../requestBodies/IpAllowlistConfigRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface CreateIpAllowlistConfigMutationHeaderParams { 'Harness-Account'?: string; } export type CreateIpAllowlistConfigRequestBody = IpAllowlistConfigRequestRequestBody; export type CreateIpAllowlistConfigOkResponse = ResponseWithPagination; export type CreateIpAllowlistConfigErrorResponse = unknown; export interface CreateIpAllowlistConfigProps extends Omit, 'url'> { body: CreateIpAllowlistConfigRequestBody; } export declare function createIpAllowlistConfig(props: CreateIpAllowlistConfigProps): Promise; /** * Creates a new IP Allowlist config */ export declare function useCreateIpAllowlistConfigMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;