import { FileResult } from './types';
import { MediaFile } from './MediaFile';
/**
* Check if a string is a URL.
*
* @param url - URL to check
* @returns Whether the string is a URL
* @private
*/
export declare function isUrl(url: string): boolean;
/**
 * Check if a string is a base64 data URI.
 *
 * @param data - String to check
 * @returns Whether the string is a base64 data URI
 * @private
 */
export declare function isBase64Data(data: string): boolean;
/**
* Check if a string appears to be base64 encoded.
*
* @param str - String to check
* @returns Whether the string is base64 encoded
* @private
*/
export declare function isBase64String(str: string): boolean;
/**
 * Parses the result data from a Socaity API job.
 * Handles nested arrays and FileResult objects.
 * @param result - Result data to parse
 */
export declare function parseSocaityAPIJobResult(result: Array<string> | Array<FileResult> | FileResult | any): Promise<MediaFile | Array<MediaFile> | null | any>;
