import { UseMutationOptions } from '@tanstack/react-query'; import type { LifecycleRuleCreatedV3Response } from '../responses/LifecycleRuleCreatedV3Response'; 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 CreateLifecycleRuleV3MutationQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; } export type CreateLifecycleRuleV3RequestBody = LifecycleRuleRequestBodyV3; export type CreateLifecycleRuleV3OkResponse = ResponseWithPagination; export type CreateLifecycleRuleV3ErrorResponse = ErrorV3; export interface CreateLifecycleRuleV3Props extends Omit, 'url'> { queryParams: CreateLifecycleRuleV3MutationQueryParams; body: CreateLifecycleRuleV3RequestBody; } export declare function createLifecycleRuleV3(props: CreateLifecycleRuleV3Props): Promise; /** * Creates a new lifecycle rule. */ export declare function useCreateLifecycleRuleV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;