import type { IntermediateRepresentationNodeLocalDev } from '@hubspot/project-parsing-lib/translate'; import { IR_COMPONENT_TYPES, APP_DISTRIBUTION_TYPES, APP_AUTH_TYPES } from '../lib/constants.js'; import { ValueOf } from '@hubspot/local-dev-lib/types/Utils'; type AppDistributionType = ValueOf; type AppAuthType = ValueOf; type AppConfig = { description: string; name: string; logo: string; distribution: AppDistributionType; auth: { type: AppAuthType; redirectUrls: string[]; requiredScopes: string[]; optionalScopes: string[]; conditionallyRequiredScopes: string[]; }; }; export interface AppIRNode extends IntermediateRepresentationNodeLocalDev { componentType: typeof IR_COMPONENT_TYPES.APPLICATION; config: AppConfig; } export {};