///
import { Readable } from "stream";
import { ExtractAction, ExtractedLayers } from "./types";
/**
* Extract key files from the specified TAR stream.
*
* Layer streams may be compressed with gzip, zstd, or uncompressed.
* The decompressMaybe transform handles all three formats automatically.
* @param layerTarStream image layer as a Readable TAR stream. Note: consumes the stream.
* @param extractActions array of pattern, callbacks pairs
* @returns extracted file products
*/
export declare function extractImageLayer(layerTarStream: Readable, extractActions: ExtractAction[]): Promise;