import type { CompositorCommand } from './payloads'; export type Compositor = { shutDownOrKill: () => Promise; finishCommands: () => Promise; executeCommand: (type: T, payload: CompositorCommand[T]) => Promise; waitForDone: () => Promise; pid: number | null; }; export declare const startLongRunningCompositor: ({ maximumFrameCacheItemsInBytes, logLevel, indent, binariesDirectory, extraThreads, }: { maximumFrameCacheItemsInBytes: number | null; logLevel: "error" | "info" | "trace" | "verbose" | "warn"; indent: boolean; binariesDirectory: string | null; extraThreads: number; }) => Compositor; export declare const startCompositor: ({ type, payload, logLevel, indent, binariesDirectory, }: { type: T; payload: CompositorCommand[T]; logLevel: "error" | "info" | "trace" | "verbose" | "warn"; indent: boolean; binariesDirectory: string | null; }) => Compositor;