export default class Stacks {
    #private;
    /**
     * Create a new stack placeholder. Multiple calls to this method
     * with the same name results in an exception.
     */
    create(name: string): string;
    /**
     * Push content inside a given stack. Content can be pre-seeded
     * without creating a stack
     */
    pushTo(name: string, contents: string): this;
    /**
     * Push content to the top inside a given stack.
     * Content can be pre-seeded without creating a stack
     */
    pushToTop(name: string, contents: string): this;
    /**
     * Push contents to a stack with a unique source id. A
     * source can only push once to a given stack.
     */
    pushOnceTo(name: string, sourceId: string, contents: string): void;
    /**
     * Push contents to the top of a stack with a unique source id.
     * A source can only push once to a given stack.
     */
    pushOnceToTop(name: string, sourceId: string, contents: string): void;
    /**
     * Fill placeholders with their actual content
     */
    fillPlaceholders(contents: string): string;
}
