/**
 * Media Utilities
 * Image dimension extraction and MIME type helpers.
 */
export interface ImageDimensions {
    width: number;
    height: number;
}
/**
 * Extract image dimensions from a Buffer using sharp.
 * Returns null for non-image files or if sharp is not available.
 *
 * Sharp is dynamically imported because it is a heavy native module (~2MB)
 * that should only be loaded when actually processing images.
 * This is an ALLOWED exception per the dynamic import policy (heavy user-triggered library).
 */
export declare function extractImageDimensions(buffer: Buffer, mimeType: string): Promise<ImageDimensions | null>;
/**
 * Determine media type category from MIME type
 */
export declare function getMediaTypeCategory(mimeType: string): 'image' | 'video' | 'other';
/**
 * Sanitize filename for safe storage
 */
export declare function sanitizeFilename(filename: string): string;
//# sourceMappingURL=utils.d.ts.map