import Parser = require('./Parser'); import Period = require('../unit/Period'); import ATParser = require('./AttributeTemplateParser'); export declare type Callback = (period: Period.Period) => void; export interface STOptions extends ATParser.ATPOptions { template: string; } /** * This parser uses a template provided as a string to set up the countdown structure. * * Internally uses an AttributeTemplateParser to create the actual updating code after generating a suitable DOM * based on the given template. */ export declare class StringTemplateParser implements Parser.Parser { private templateDOM; private innerParser; constructor(opts: STOptions); build(roots: ArrayLikeShim): Callback; }