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 CreateAccountScopedSecretMutationQueryParams { private_secret?: boolean; } export interface CreateAccountScopedSecretMutationHeaderParams { 'Harness-Account'?: string; } export type CreateAccountScopedSecretRequestBody = SecretRequestRequestBody; export type CreateAccountScopedSecretOkResponse = ResponseWithPagination; export type CreateAccountScopedSecretErrorResponse = unknown; export interface CreateAccountScopedSecretProps extends Omit, 'url'> { queryParams: CreateAccountScopedSecretMutationQueryParams; body: CreateAccountScopedSecretRequestBody; } export declare function createAccountScopedSecret(props: CreateAccountScopedSecretProps): Promise; /** * Creates a new secret */ export declare function useCreateAccountScopedSecretMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;