import type { BrowserExecutable, ChromeMode, ChromiumOptions, HeadlessBrowser, LogLevel, OnBrowserDownload, RemotionServer } from '@remotion/renderer';
import type { VideoConfig } from 'remotion';
export declare const getCompositionWithDimensionOverride: ({ height, width, args, compositionIdFromUi, chromiumOptions, envVariables, port, puppeteerInstance, timeoutInMilliseconds, browserExecutable, serveUrlOrWebpackUrl, indent, serializedInputPropsWithCustomSchema, logLevel, server, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, binariesDirectory, onBrowserDownload, chromeMode, }: {
    height: number | null;
    width: number | null;
    args: (string | number)[];
    compositionIdFromUi: string | null;
    timeoutInMilliseconds: number;
    puppeteerInstance: HeadlessBrowser | undefined;
    envVariables: Record<string, string>;
    chromiumOptions: ChromiumOptions;
    port: number | null;
    browserExecutable: BrowserExecutable | null;
    serveUrlOrWebpackUrl: string;
    indent: boolean;
    logLevel: LogLevel;
    serializedInputPropsWithCustomSchema: string;
    server: RemotionServer;
    offthreadVideoCacheSizeInBytes: number | null;
    offthreadVideoThreads: number | null;
    binariesDirectory: string | null;
    onBrowserDownload: OnBrowserDownload;
    chromeMode: ChromeMode;
}) => Promise<{
    compositionId: string;
    reason: string;
    config: VideoConfig;
    argsAfterComposition: (string | number)[];
}>;
