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 CreateOrgScopedSecretMutationPathParams { org: string; } export interface CreateOrgScopedSecretMutationQueryParams { private_secret?: boolean; } export interface CreateOrgScopedSecretMutationHeaderParams { 'Harness-Account'?: string; } export type CreateOrgScopedSecretRequestBody = SecretRequestRequestBody; export type CreateOrgScopedSecretOkResponse = ResponseWithPagination; export type CreateOrgScopedSecretErrorResponse = unknown; export interface CreateOrgScopedSecretProps extends CreateOrgScopedSecretMutationPathParams, Omit, 'url'> { queryParams: CreateOrgScopedSecretMutationQueryParams; body: CreateOrgScopedSecretRequestBody; } export declare function createOrgScopedSecret(props: CreateOrgScopedSecretProps): Promise; /** * Creates a new secret */ export declare function useCreateOrgScopedSecretMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;