/**
 * @file Format detection by file extension.
 */
import type { ArchiveFormat } from './types';
/**
 * Detect archive format from file path.
 *
 * @example
 *   ;```typescript
 *   detectArchiveFormat('package.tar.gz') // 'tar.gz'
 *   detectArchiveFormat('archive.zip') // 'zip'
 *   detectArchiveFormat('data.csv') // undefined
 *   ```
 *
 * @param filePath - Path to archive file.
 *
 * @returns Archive format or undefined if unknown
 */
export declare function detectArchiveFormat(filePath: string): ArchiveFormat | undefined;
