import { type ComputeContext, type RuntimeContext, type RuntimeModelField } from '@oinone/kunlun-engine'; import { type CSSClass, type CSSStyle } from '@oinone/kunlun-shared'; import { type InvisibleSupported } from '../feature'; import { DslRenderWidget, type DslRenderWidgetProps } from './DslRenderWidget'; /** * dsl组件属性 */ export interface DslDefinitionWidgetProps extends DslRenderWidgetProps { /** * 元数据视图handle */ metadataHandle?: string; /** * 根组件handle(一般为视图组件) */ rootHandle?: string; /** * 是否内联组件 */ inline?: boolean; /** * 自动渲染组件 */ automatic?: boolean; } /** * dsl定义组件 */ export declare class DslDefinitionWidget extends DslRenderWidget implements InvisibleSupported { protected automatic: boolean; protected metadataHandle: string | undefined; getMetadataHandle(): string | undefined; protected get class(): CSSClass | undefined; protected get style(): CSSStyle | undefined; protected rootHandle: string | undefined; getRootHandle(): string | undefined; protected readonly currentHandle: string; getCurrentHandle(): string; protected inline: boolean | undefined; protected defaultAllInvisible: boolean; get allInvisible(): boolean | undefined; private invisibleState; private lastedInvisibleState; parentInvisible: boolean | undefined; get invisible(): boolean; get parentInvisibleProvider(): boolean; constructor(handle?: string); initialize(props: Props): this; get metadataRuntimeContext(): RuntimeContext; get metadataRuntimeContextNullable(): RuntimeContext | undefined; get rootRuntimeContext(): RuntimeContext; get rootRuntimeContextNullable(): RuntimeContext | undefined; get rootComputeContext(): ComputeContext | undefined; get rootViewRuntimeContext(): { runtimeContext: RuntimeContext; fields: RuntimeModelField[]; }; protected invisibleProcess(invisible: boolean | string): boolean | undefined; protected childrenInvisibleProcess(): boolean; protected resetInvisible(): void; protected resetParentInvisible(): void; protected $$mounted(): void; protected $$updated(): void; protected $$unmountedAfterProperties(): void; protected allMounted(): void; }