import type { Writable } from "stream";
import type { CommitOptions, ImageOrContainer } from "../container";
import type { ContainerCache } from "../containerCache";
export interface PrepareApkPackagesOptions {
    baseImage?: string;
    apkPackages: string[];
    commitOptions?: CommitOptions;
    logger?: Writable;
    apkCache?: string;
    containerCache?: ContainerCache;
}
export interface PrepareApkPackagesAndRunOptions extends PrepareApkPackagesOptions {
    existingSource?: ImageOrContainer;
    command: string[];
    buildahRunOptions: string[];
}
export declare const prepareApkPackages: ({ baseImage, apkPackages, commitOptions, logger, apkCache, containerCache, }: PrepareApkPackagesOptions) => Promise<string>;
export declare const prepareApkPackagesAndRun: ({ existingSource, command, buildahRunOptions, ...installOptions }: PrepareApkPackagesAndRunOptions) => Promise<{
    stdout: Buffer<ArrayBufferLike>;
    stderr: Buffer<ArrayBufferLike>;
}>;
