export interface DownloadMetadata { model?: string; width?: number; height?: number; fps?: number; seed?: number | string; duration?: number; } export type DownloadMediaType = 'image' | 'video' | 'audio' | 'archive'; export declare function slugify(name: string): string; export declare function extensionFromMimeType(mimeType: string | undefined): string | null; export declare function extensionFromUrl(url: string | undefined): string | null; export declare function normalizeDownloadExtension(extension: string | null | undefined, mediaType?: DownloadMediaType): string | null; export declare function defaultExtensionForDownloadType(type: 'restored' | 'original' | 'video' | 'styled' | 'audio'): string; export declare function replaceFilenameExtension(filename: string, extension: string | null | undefined): string; export declare function buildDownloadFilename(originalFileName: string | undefined, index?: number, type?: 'restored' | 'original' | 'video' | 'styled' | 'audio', metadata?: DownloadMetadata, extension?: string | null): string; export declare function buildZipFilename(originalFileName?: string): string; //# sourceMappingURL=downloadFilename.d.ts.map