import { TemplateContext, Context, Invoke, ComponentReturn } from '@glint/template/-private/integration'; import { DOMApi, RENDERING_CONTEXT_PROPERTY, RENDERED_NODES_PROPERTY, COMPONENT_ID_PROPERTY } from './types'; export type Props = Record; type Get = K extends keyof T ? Exclude : Otherwise; /** * Base Component class for building UI components. */ export declare class Component { args: Get; [RENDERING_CONTEXT_PROPERTY]: undefined | DOMApi; [COMPONENT_ID_PROPERTY]: number; [RENDERED_NODES_PROPERTY]: Array; [Context]: TemplateContext, Get, Get>; [Invoke]: (args?: Get) => ComponentReturn, Get>; nodes: Node[]; $fw: unknown; constructor(props: Get, fw?: unknown); template: Component; } /** * Component return type (alias for backward compatibility) */ export type ComponentReturnType = Component; /** * TOC (Template-Only Component) type */ export type TOC = (args?: Get) => ComponentReturn, Get>; export {};