/**
 * Defines the type of the media.
 * @enum {number}
 */
export declare enum MediaType {
    None = 0,
    Tweet = 1,
    IFrame = 2
}

/**
 * An interface that represents the data of media.
 */
export declare class Media {
    /**
     * The type of embed content.
     */
    type: MediaType;

    /**
     * The HTML which will be embed.
     */
    html: string;

    /**
     * The width of the embed content.
     */
    width: { hasValue: boolean, value: any };

    /**
     * The height of the embed content.
     */
    height: { hasValue: boolean, value: any };

    /**
     * Determines when the media is valid. For example, if the fetch of the embed data fails,
     * it can be marked as non valid.
     */
    isValid: boolean;
}
