@promptbook/pdf
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
11 lines (10 loc) • 386 B
TypeScript
import type { string_mime_type } from '../../types/string_mime_type';
import type { string_file_extension } from '../../types/string_sha256';
/**
* Convert mime type to file extension
*
* Note: If the mime type is invalid, `null` is returned
*
* @private within the repository
*/
export declare function mimeTypeToExtension(value: string_mime_type): string_file_extension | null;