18 lines
619 B
TypeScript
18 lines
619 B
TypeScript
import Immutable from "immutable";
|
|
import TemplateBlock from "./templateBlock";
|
|
declare const TemplateOutput_base: Immutable.Record.Class;
|
|
declare class TemplateOutput extends TemplateOutput_base {
|
|
getContent(): string;
|
|
getBlocks(): TemplateBlock;
|
|
/**
|
|
* Update content of this output
|
|
*/
|
|
setContent(content: string): TemplateOutput;
|
|
/**
|
|
* Create a TemplateOutput from a text content
|
|
* and an object containing block definition
|
|
*/
|
|
static create(content: string, blocks: object): TemplateOutput;
|
|
}
|
|
export default TemplateOutput;
|
|
//# sourceMappingURL=templateOutput.d.ts.map
|