import { Iterator } from "./Iterator";
import { ContentElement } from "./element";
/**
 * Provides an iterable list of content [Element]s.
 */
export declare abstract class Content {
    /**
     * Extracts the full raw text, or returns null if no text content can be found.
     * @param separator Separator to use between individual elements. Defaults to newline.
     */
    text(separator?: string): string | null;
    /**
     * Creates a new iterator for this content.
     */
    abstract iterator(): Iterator;
    /**
     * Returns all the elements as a list.
     */
    elements(): ContentElement[];
}
