import * as tar from 'tar';
type TarExtractOptions = Parameters<typeof tar.extract>[0];
export interface TarSecurityFilterOptions {
    cwd: string;
    blockSymbolicLinks?: boolean;
    blockHardLinks?: boolean;
    verbose?: boolean;
}
export declare function createTarSecurityFilter(options: TarSecurityFilterOptions): (filePath: string, entry: tar.ReadEntry) => boolean;
export declare function createSimpleTarSecurityFilter(cwd: string): (filePath: string, entry: tar.ReadEntry) => boolean;
export declare function createSafeTarExtractOptions(file: string, cwd: string, additionalOptions?: Partial<TarExtractOptions>): TarExtractOptions;
declare const _default: {
    createTarSecurityFilter: typeof createTarSecurityFilter;
    createSimpleTarSecurityFilter: typeof createSimpleTarSecurityFilter;
    createSafeTarExtractOptions: typeof createSafeTarExtractOptions;
};
export default _default;
