import { WatchIgnoreNextChangePlugin } from './watch-ignore-next-change-plugin'; import esbuild = require('esbuild'); import webpack = require('webpack'); export declare const BundlerInternals: { esbuild: typeof esbuild; webpackConfig: ({ entry, userDefinedComponent, outDir, environment, bundlerOverride, webpackOverride, onProgress, enableCaching, remotionRoot, poll, extraPlugins, }: { entry: string; userDefinedComponent: string; outDir: string | null; environment: "development" | "production"; bundlerOverride: import("./override-types").BundlerOverrideFn; webpackOverride: import("./override-types").WebpackOverrideFn; onProgress?: ((f: number) => void) | undefined; enableCaching?: boolean | undefined; remotionRoot: string; poll: number | null; extraPlugins: webpack.WebpackPluginInstance[]; }) => Promise<[string, webpack.Configuration]>; rspackConfig: ({ entry, userDefinedComponent, outDir, environment, bundlerOverride, rspackOverride, onProgress, enableCaching, remotionRoot, poll, extraPlugins, }: { entry: string; userDefinedComponent: string; outDir: string | null; environment: "development" | "production"; bundlerOverride: import("./override-types").BundlerOverrideFn; rspackOverride: import("./override-types").RspackOverrideFn; onProgress?: ((f: number) => void) | undefined; enableCaching?: boolean | undefined; remotionRoot: string; poll: number | null; extraPlugins: any[]; }) => Promise<[string, import("@rspack/core").RspackOptions]>; createRspackCompiler: (config: import("@rspack/core").RspackOptions) => import("@rspack/core").Compiler; indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, completedClientRenders, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, fileSystemPlatform, gitSource, projectName, installedDependencies, packageManager, audioLatencyHint, sampleRate, logLevel, mode, bundleScriptUrl, readOnlyStudio, studioRuntimeConfig, }: import("@remotion/studio-shared").StudioHtmlOptions) => string; cacheExists: (remotionRoot: string, environment: "development" | "production", hash: string) => "does-not-exist" | "exists" | "other-exists"; clearCache: (remotionRoot: string, env: "development" | "production") => Promise; getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, }: { outDir: string; entryPoint: string; resolvedRemotionRoot: string; onProgress: (progress: number) => void; options: import("./bundle").MandatoryLegacyBundleOptions; }) => Promise<[string, webpack.Configuration]> | Promise<[string, import("@rspack/core").RspackOptions]>; readRecursively: ({ folder, output, startPath, staticHash, limit, }: { folder: string; startPath: string; output?: import("remotion").StaticFile[] | undefined; staticHash: string; limit: number; }) => import("remotion").StaticFile[]; findClosestFolderWithItem: (currentDir: string, file: string) => string | null; internalBundle: (actualArgs: { entryPoint: string; } & { entryPoint: string; onProgress: (progress: number) => void; ignoreRegisterRootWarning: boolean; onDirectoryCreated: (dir: string) => void; gitSource: import("@remotion/studio-shared").GitSource | null; maxTimelineTracks: number | null; bufferStateDelayInMilliseconds: number | null; audioLatencyHint: AudioContextLatencyCategory | null; renderDefaults: import("@remotion/studio-shared").RenderDefaults | null; } & import("./bundle").MandatoryLegacyBundleOptions) => Promise; }; export type { GitSource } from '@remotion/studio-shared'; export { bundle, BundleOptions, LegacyBundleOptions, MandatoryLegacyBundleOptions, } from './bundle'; export type { BundlerConfiguration, BundlerName, BundlerOverrideFn, RspackConfiguration, RspackOverrideFn, WebpackConfiguration, WebpackOverrideFn, } from './override-types'; export { WatchIgnoreNextChangePlugin }; export { webpack };