import { Media } from "./media";

/**
 * Handles parsing logic and retrieving embed content.
 *
 * @export
 * @class EmbedMediaParser
 */
export declare class EmbedMediaParser {
    /**
     * Determines if the parser can handle the input text.
     *
     * @param {string} inputText
     * @returns {boolean}
     * @memberof EmbedMediaParser
     */
    canProcess(inputText: string): boolean;

    /**
     * Extracts given data from the input text and returns the content,
     * which should be embed.
     * @param inputText
     */
    parse(inputText: string): Promise<Media>;
}
