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 CreateProjectScopedSecretMutationPathParams { org: string; project: string; } export interface CreateProjectScopedSecretMutationQueryParams { private_secret?: boolean; } export interface CreateProjectScopedSecretMutationHeaderParams { 'Harness-Account'?: string; } export type CreateProjectScopedSecretRequestBody = SecretRequestRequestBody; export type CreateProjectScopedSecretOkResponse = ResponseWithPagination; export type CreateProjectScopedSecretErrorResponse = unknown; export interface CreateProjectScopedSecretProps extends CreateProjectScopedSecretMutationPathParams, Omit, 'url'> { queryParams: CreateProjectScopedSecretMutationQueryParams; body: CreateProjectScopedSecretRequestBody; } export declare function createProjectScopedSecret(props: CreateProjectScopedSecretProps): Promise; /** * Creates a new secret */ export declare function useCreateProjectScopedSecretMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;