import { UseMutationOptions } from '@tanstack/react-query'; import type { LifecycleRuleResponseV3Response } from '../responses/LifecycleRuleResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { LifecycleRulePatchBodyV3 } from '../schemas/LifecycleRulePatchBodyV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface PatchLifecycleRuleV3MutationPathParams { id: string; } export interface PatchLifecycleRuleV3MutationQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; } export type PatchLifecycleRuleV3RequestBody = LifecycleRulePatchBodyV3; export type PatchLifecycleRuleV3OkResponse = ResponseWithPagination; export type PatchLifecycleRuleV3ErrorResponse = ErrorV3; export interface PatchLifecycleRuleV3Props extends PatchLifecycleRuleV3MutationPathParams, Omit, 'url'> { queryParams: PatchLifecycleRuleV3MutationQueryParams; body: PatchLifecycleRuleV3RequestBody; } export declare function patchLifecycleRuleV3(props: PatchLifecycleRuleV3Props): Promise; /** * Partially updates a lifecycle rule. Only provided fields are modified. */ export declare function usePatchLifecycleRuleV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;