import { UseMutationOptions } from '@tanstack/react-query'; import type { DeployableListResponseResponse } from '../responses/DeployableListResponseResponse'; import type { GetPathParamsType, ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetAllScopeDeployablesAccountPathParams { } export interface GetAllScopeDeployablesAccountQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; search_term?: string; deployable_type?: 'SalesforceDxProject' | 'SalesforcePackage'; } export interface GetAllScopeDeployablesAccountHeaderParams { 'Harness-Account'?: string; } export type GetAllScopeDeployablesAccountOKResponse = DeployableListResponseResponse; export type GetAllScopeDeployablesAccountErrorResponse = unknown; export interface GetAllScopeDeployablesOrgPathParams { org: string; } export interface GetAllScopeDeployablesOrgQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; search_term?: string; deployable_type?: 'SalesforceDxProject' | 'SalesforcePackage'; } export interface GetAllScopeDeployablesOrgHeaderParams { 'Harness-Account'?: string; } export type GetAllScopeDeployablesOrgOKResponse = DeployableListResponseResponse; export type GetAllScopeDeployablesOrgErrorResponse = unknown; export interface GetAllScopeDeployablesProjectPathParams { org: string; project: string; } export interface GetAllScopeDeployablesProjectQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; search_term?: string; deployable_type?: 'SalesforceDxProject' | 'SalesforcePackage'; } export interface GetAllScopeDeployablesProjectHeaderParams { 'Harness-Account'?: string; } export type GetAllScopeDeployablesProjectOKResponse = DeployableListResponseResponse; export type GetAllScopeDeployablesProjectErrorResponse = unknown; export type GetAllScopeDeployablesOKResponse = T extends GetAllScopeDeployablesProjectPathParams ? ResponseWithPagination : T extends GetAllScopeDeployablesOrgPathParams ? ResponseWithPagination : ResponseWithPagination; export type GetAllScopeDeployablesErrorResponse = T extends GetAllScopeDeployablesProjectPathParams ? GetAllScopeDeployablesProjectErrorResponse : T extends GetAllScopeDeployablesOrgPathParams ? GetAllScopeDeployablesOrgErrorResponse : GetAllScopeDeployablesAccountErrorResponse; export interface GetAllScopeDeployablesProps extends Omit, 'url'> { pathParams: GetAllScopeDeployablesAccountPathParams | GetAllScopeDeployablesOrgPathParams | GetAllScopeDeployablesProjectPathParams; } export declare function getAllScopeDeployables(props: T): Promise>>; export declare function useGetAllScopeDeployablesMutation(options?: Omit, GetAllScopeDeployablesErrorResponse, GetAllScopeDeployablesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult, unknown, GetAllScopeDeployablesProps, unknown>;