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 UpdateOrgScopedSecretMutationPathParams { org: string; secret: string; } export interface UpdateOrgScopedSecretMutationHeaderParams { 'Harness-Account'?: string; } export type UpdateOrgScopedSecretRequestBody = SecretRequestRequestBody; export type UpdateOrgScopedSecretOkResponse = ResponseWithPagination; export type UpdateOrgScopedSecretErrorResponse = unknown; export interface UpdateOrgScopedSecretProps extends UpdateOrgScopedSecretMutationPathParams, Omit, 'url'> { body: UpdateOrgScopedSecretRequestBody; } export declare function updateOrgScopedSecret(props: UpdateOrgScopedSecretProps): Promise; /** * Updates the information of the secret with the matching secret identifier. */ export declare function useUpdateOrgScopedSecretMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;