import { Base } from '@studiometa/js-toolkit'; import type { BaseProps, BaseInterface } from '@studiometa/js-toolkit'; export interface LazyIncludeProps extends BaseProps { $refs: { loading: HTMLElement; error: HTMLElement; }; $options: { src: string; terminateOnLoad: boolean; }; } /** * LazyInclude class. * @link https://ui.studiometa.dev/components/LazyInclude/ */ export declare class LazyInclude extends Base implements BaseInterface { /** * Config. */ static config: { name: string; refs: string[]; emits: string[]; options: { src: StringConstructor; terminateOnLoad: BooleanConstructor; }; }; /** * Load the lazy content on mount. */ mounted(): void; /** * Set content. */ onContent({ args: [content] }: { args: [string]; }): void; /** * Set error. */ onError(): void; /** * Always. */ onAlways(): void; }