/** * Reads a file as a Base64 data URL. * * @example * ```ts * const value = await getBase64FromFile(file); * ``` */ declare const getBase64FromFile: (file: File) => Promise; /** * Reads a file as text using the provided encoding. * * @example * ```ts * const text = await getTextFromFile(file, 'utf-8'); * ``` */ declare const getTextFromFile: (file: File, encoding?: string) => Promise; export { getBase64FromFile, getTextFromFile };