import { UseQueryOptions } from '@tanstack/react-query'; import type { FavoriteListResponseResponse } from '../responses/FavoriteListResponseResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetOrgFavoritesQueryPathParams { org: string; 'user-id': string; } export interface GetOrgFavoritesQueryQueryParams { resource_type?: 'CONNECTOR' | 'DELEGATE' | 'PIPELINE' | 'PROJECT' | 'SECRET'; } export interface GetOrgFavoritesQueryHeaderParams { 'Harness-Account'?: string; } export type GetOrgFavoritesOkResponse = ResponseWithPagination; export type GetOrgFavoritesErrorResponse = unknown; export interface GetOrgFavoritesProps extends GetOrgFavoritesQueryPathParams, Omit, 'url'> { queryParams: GetOrgFavoritesQueryQueryParams; } export declare function getOrgFavorites(props: GetOrgFavoritesProps): Promise; /** * Retrieves the favorite resource of a user at organization level */ export declare function useGetOrgFavoritesQuery(props: GetOrgFavoritesProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;