import { UseMutationOptions } from '@tanstack/react-query'; import type { SecretResponseResponse } from '../responses/SecretResponseResponse'; import type { SecretRequestRequestBody } from '../requestBodies/SecretRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpdateProjectScopedSecretMutationPathParams { org: string; project: string; secret: string; } export interface UpdateProjectScopedSecretMutationHeaderParams { 'Harness-Account'?: string; } export type UpdateProjectScopedSecretRequestBody = SecretRequestRequestBody; export type UpdateProjectScopedSecretOkResponse = ResponseWithPagination; export type UpdateProjectScopedSecretErrorResponse = unknown; export interface UpdateProjectScopedSecretProps extends UpdateProjectScopedSecretMutationPathParams, Omit, 'url'> { body: UpdateProjectScopedSecretRequestBody; } export declare function updateProjectScopedSecret(props: UpdateProjectScopedSecretProps): Promise; /** * Updates the information of the secret with the matching secret identifier. */ export declare function useUpdateProjectScopedSecretMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;