import { UseMutationOptions } from '@tanstack/react-query'; import type { SuccessResponse } from '../responses/SuccessResponse'; import type { BadRequestResponse } from '../responses/BadRequestResponse'; import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse'; import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse'; import type { NotFoundResponse } from '../responses/NotFoundResponse'; import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeleteReplicationRuleMutationPathParams { id: string; } export type DeleteReplicationRuleOkResponse = ResponseWithPagination; export type DeleteReplicationRuleErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface DeleteReplicationRuleProps extends DeleteReplicationRuleMutationPathParams, Omit, 'url'> { } export declare function deleteReplicationRule(props: DeleteReplicationRuleProps): Promise; /** * Delete a replication rule */ export declare function useDeleteReplicationRuleMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;