import { UseQueryOptions } from '@tanstack/react-query'; import type { SecretValidationResponseResponse } from '../responses/SecretValidationResponseResponse'; import type { SecretValidationRequestRequestBody } from '../requestBodies/SecretValidationRequestRequestBody'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ValidateSecretRefAccountPathParams { } export interface ValidateSecretRefAccountHeaderParams { 'Harness-Account'?: string; } export type ValidateSecretRefAccountRequestBody = SecretValidationRequestRequestBody; export type ValidateSecretRefAccountOKResponse = SecretValidationResponseResponse; export type ValidateSecretRefAccountErrorResponse = unknown; export interface ValidateSecretRefOrgPathParams { org: string; } export interface ValidateSecretRefOrgHeaderParams { 'Harness-Account'?: string; } export type ValidateSecretRefOrgRequestBody = SecretValidationRequestRequestBody; export type ValidateSecretRefOrgOKResponse = SecretValidationResponseResponse; export type ValidateSecretRefOrgErrorResponse = unknown; export interface ValidateSecretRefProjectPathParams { org: string; project: string; } export interface ValidateSecretRefProjectHeaderParams { 'Harness-Account'?: string; } export type ValidateSecretRefProjectRequestBody = SecretValidationRequestRequestBody; export type ValidateSecretRefProjectOKResponse = SecretValidationResponseResponse; export type ValidateSecretRefProjectErrorResponse = unknown; export type ValidateSecretRefOKResponse = T extends ValidateSecretRefProjectPathParams ? ResponseWithPagination : T extends ValidateSecretRefOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type ValidateSecretRefErrorResponse = T extends ValidateSecretRefProjectPathParams ? ValidateSecretRefProjectErrorResponse : T extends ValidateSecretRefOrgPathParams ? ValidateSecretRefOrgErrorResponse : ValidateSecretRefAccountErrorResponse; export interface ValidateSecretRefProps extends Omit, 'url'> { pathParams: ValidateSecretRefAccountPathParams | ValidateSecretRefOrgPathParams | ValidateSecretRefProjectPathParams; } export declare function validateSecretRef(props: T): Promise>>; export declare function useValidateSecretRefQuery(props: T, options?: Omit>, ValidateSecretRefErrorResponse>>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult>, ValidateSecretRefErrorResponse>>;