import { Runtime } from '../runtime/Runtime'; import { Environment, EnvironmentLoop, TemplateParams } from './Environment'; export declare class DefaultEnvironment implements Environment { readonly runtime: Runtime; readonly params: TemplateParams; private readonly interceptorsStack; private readonly loopsStack; private readonly sections; private readonly stacks; private readonly componentsStack; constructor(runtime: Runtime, params: TemplateParams); process(input: AsyncIterable): AsyncIterable; print(text: any, escaped: boolean): AsyncIterable; filter(text: any, name: string, ...args: any[]): PromiseLike | string; call(name: string, ...args: any[]): AsyncIterable; extends(name: string): AsyncIterable; section(name: string, renderer: ((parent: AsyncIterable) => AsyncIterable) | any, isShow: boolean): void | AsyncIterable; yield(name: string, def?: string): AsyncIterable; pushLoop(data: any): EnvironmentLoop; popLoop(): void; push(name: string, renderer: () => AsyncIterable, prepend?: boolean): void; stack(name: string): AsyncIterable; beginComponent(name: string, args?: TemplateParams): void; endComponent(): AsyncIterable; beginSlot(name: string): void; endSlot(): void; }