import { PureContainerBase, PureContainerConfig } from "../PureContainer"; import { RenderingContext } from "../RenderingContext"; import { StringProp } from "../Prop"; import { Instance } from "../Instance"; export interface ContentPlaceholderConfig extends PureContainerConfig { /** Name of the placeholder. Default is `body`. */ name?: StringProp; /** Set to `true` to scope the placeholder to a local context. */ scoped?: boolean; /** Set to `true` to allow all registered content elements to render inside the placeholder. Otherwise only one element is rendered. */ allowMultiple?: boolean; } export declare class ContentPlaceholderInstance extends Instance { content?: any; unregisterContentPlaceholder?: () => void; } export declare class ContentPlaceholder extends PureContainerBase { name?: string; scoped?: boolean; allowMultiple?: boolean; declareData(...args: any[]): void; explore(context: RenderingContext, instance: ContentPlaceholderInstance): void; prepare(context: RenderingContext, instance: ContentPlaceholderInstance): void; setContent(context: RenderingContext, instance: ContentPlaceholderInstance, content: any): void; render(context: RenderingContext, instance: ContentPlaceholderInstance, key: any): any; } export interface ContentPlaceholderScopeConfig extends PureContainerConfig { name: string | string[]; } export declare class ContentPlaceholderScope extends PureContainerBase { name: string[]; init(): void; explore(context: RenderingContext, instance: any): void; exploreCleanup(context: RenderingContext, instance: any): void; } //# sourceMappingURL=ContentPlaceholder.d.ts.map