import { Cacher } from './storage'; import { SqrlConfig } from './config'; import { TemplateFunction } from './compile'; export interface HelperContent { exec: Function; params: Array; async?: boolean; } export interface HelperBlock extends HelperContent { name: string; } export type HelperFunction = (content: HelperContent, blocks: Array, config: SqrlConfig) => string | Promise; export type FilterFunction = (...args: any[]) => any | Promise; declare var templates: Cacher; declare var helpers: Cacher; declare var nativeHelpers: Cacher; declare var filters: Cacher; export { templates, helpers, nativeHelpers, filters };