import { type ProjectMetadata } from '@hubspot/project-parsing-lib/projects'; import { type IntermediateRepresentationNode } from '@hubspot/project-parsing-lib/translate'; export type CreateProjectResult = { projectName: string; projectDest: string; }; export type AppConfig = { name?: string; uid?: string; distribution?: string; auth?: { type?: string; requiredScopes?: string[]; optionalScopes?: string[]; }; }; export type AppIRNode = IntermediateRepresentationNode & { config: AppConfig; }; export declare function createProjectAction({ projectName, projectDest, }: { projectName: string; projectDest: string; }): Promise; export type UploadAndDeployResult = { appId: number; projectId: number; installUrl: string; projectDir: string; app: AppIRNode; projectName: string; projectMetadata: ProjectMetadata; }; export declare function uploadAndDeployAction({ accountId, projectDest, }: { accountId: number; projectDest: string; }): Promise; export declare function trackGetStartedUsage(params: Record, accountId: number): Promise; export type PollAppInstallationOptions = { accountId: number; projectId: number; appUid: string; requiredScopes?: string[]; optionalScopes?: string[]; timeoutMs?: number; intervalMs?: number; onTimeout?: () => void; }; export declare function pollAppInstallation({ accountId, projectId, appUid, requiredScopes, optionalScopes, timeoutMs, // 2 minutes intervalMs, // 2 seconds onTimeout, }: PollAppInstallationOptions): Promise;