import { ErrorUnion, TextUnion } from '../outputs'; /** * Returns the MIME type of a file, guessed by its extension. Returns an empty string * on failure. This is an offline method. Can be called before authorization. Can be * called synchronously * @param {Object} params * @param {string} [params.fileName] - The name of the file or path to the file * @param {Object} state * @returns {TextUnion | ErrorUnion} */ export declare type GetFileMimeTypeMethod = (params: GetFileMimeTypeParams, state?: Record) => Promise; export interface GetFileMimeTypeParams { /** The name of the file or path to the file */ fileName?: string; }