import type { Writable } from "stream";
import type { ImageOrContainer } from "../../container";
import type { ContainerCache } from "../../containerCache";
import type { FileInImage } from "../../fileInImage";
export interface ABPartitionsRootPartitionOptions {
    kernelCmdline?: string;
    rootPartitionGrubCfg?: string;
    sourceRootImage: string;
    sourceRootInitrdPath?: string;
    sourceRootKernelPath?: string;
    squashfsToolsSource?: ImageOrContainer;
    updateToolPath?: string;
    apkCache?: string;
    containerCache?: ContainerCache;
    logger?: Writable;
}
export declare const abpartitionsRootPartition: ({ kernelCmdline, rootPartitionGrubCfg, sourceRootImage, sourceRootInitrdPath, sourceRootKernelPath, squashfsToolsSource, updateToolPath, apkCache, containerCache, logger, }: ABPartitionsRootPartitionOptions) => Promise<FileInImage>;
