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 UpdateAccountScopedSecretMutationPathParams { secret: string; } export interface UpdateAccountScopedSecretMutationHeaderParams { 'Harness-Account'?: string; } export type UpdateAccountScopedSecretRequestBody = SecretRequestRequestBody; export type UpdateAccountScopedSecretOkResponse = ResponseWithPagination; export type UpdateAccountScopedSecretErrorResponse = unknown; export interface UpdateAccountScopedSecretProps extends UpdateAccountScopedSecretMutationPathParams, Omit, 'url'> { body: UpdateAccountScopedSecretRequestBody; } export declare function updateAccountScopedSecret(props: UpdateAccountScopedSecretProps): Promise; /** * Updates the information of the secret with the matching secret identifier. */ export declare function useUpdateAccountScopedSecretMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;