import { UseQueryOptions } from '@tanstack/react-query'; import type { SecretListResponseResponse } from '../responses/SecretListResponseResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetOrgScopedSecretsQueryPathParams { org: string; } export interface GetOrgScopedSecretsQueryQueryParams { secret?: string[]; type?: Array<'SSHKerberosTGTKeyTabFile' | 'SSHKerberosTGTPassword' | 'SSHKeyPath' | 'SSHKeyReference' | 'SSHPassword' | 'SecretFile' | 'SecretText' | 'WinRmNTLM' | 'WinRmTGTKeyTabFile' | 'WinRmTGTPassword'>; recursive?: boolean; search_term?: string; /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; sort?: 'created' | 'identifier' | 'name' | 'updated'; order?: 'ASC' | 'DESC'; } export interface GetOrgScopedSecretsQueryHeaderParams { 'Harness-Account'?: string; } export type GetOrgScopedSecretsOkResponse = ResponseWithPagination; export type GetOrgScopedSecretsErrorResponse = unknown; export interface GetOrgScopedSecretsProps extends GetOrgScopedSecretsQueryPathParams, Omit, 'url'> { queryParams: GetOrgScopedSecretsQueryQueryParams; } export declare function getOrgScopedSecrets(props: GetOrgScopedSecretsProps): Promise; /** * Retrieves the information of the secrets. */ export declare function useGetOrgScopedSecretsQuery(props: GetOrgScopedSecretsProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;