import { Renderer , RendererOptions } from './renderer' ; import { tokenize , TokenizeOptions } from './tokenize' ; /**
 * The options that customize the tokenization of the template and the renderer
 * object that is returned
 */ export interface CompileOptions extends RendererOptions , TokenizeOptions { } param template param options throws throws throws returns export function compile ( template , options = { } ) { const tokens = tokenize ( template , options ) ; return new Renderer ( tokens , options ) ; }