import type { LogLevel } from '@remotion/renderer'; import { type InstallPackageRequest, type InstallPackageResponse, type PackageInstallSpec } from '@remotion/studio-shared'; import type { ApiHandler } from '../api-types'; export declare const getPackageInstallSpec: (dependency: PackageInstallSpec) => string; export declare const installPackageDependencies: ({ logLevel, remotionRoot, dependencies, packageManager, invalidateBundle, }: { readonly logLevel: LogLevel; readonly remotionRoot: string; readonly dependencies: readonly PackageInstallSpec[]; readonly packageManager: string | null; readonly invalidateBundle: (() => Promise) | null; }) => Promise; export declare const handleInstallPackage: ({ logLevel, remotionRoot, input: { dependencies }, invalidateBundle, }: Parameters>[0] & { readonly invalidateBundle: () => Promise; }) => Promise;