import { UseMutationOptions } from '@tanstack/react-query'; import type { LifecycleRuleUpdatedV3Response } from '../responses/LifecycleRuleUpdatedV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { LifecycleRuleRequestBodyV3 } from '../schemas/LifecycleRuleRequestBodyV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpdateLifecycleRuleV3MutationPathParams { id: string; } export interface UpdateLifecycleRuleV3MutationQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; } export type UpdateLifecycleRuleV3RequestBody = LifecycleRuleRequestBodyV3; export type UpdateLifecycleRuleV3OkResponse = ResponseWithPagination; export type UpdateLifecycleRuleV3ErrorResponse = ErrorV3; export interface UpdateLifecycleRuleV3Props extends UpdateLifecycleRuleV3MutationPathParams, Omit, 'url'> { queryParams: UpdateLifecycleRuleV3MutationQueryParams; body: UpdateLifecycleRuleV3RequestBody; } export declare function updateLifecycleRuleV3(props: UpdateLifecycleRuleV3Props): Promise; /** * Updates an existing lifecycle rule. */ export declare function useUpdateLifecycleRuleV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;