import { Type, TemplateRef, InjectionToken } from "@angular/core"; /** * Represents a value that can be used as a slot override. * Can be a component type or template reference only. * @internal - This type is for internal use only */ export type SlotValue = Type | TemplateRef; /** * Configuration for a slot * @internal - This interface is for internal use only */ export interface SlotConfig { value?: SlotValue; default?: Type; } /** * Context passed to slot templates */ export interface SlotContext { $implicit: T; props?: Partial; [key: string]: any; } /** * Slot registry entry * @internal - This interface is for internal use only */ export interface SlotRegistryEntry { component?: Type; template?: TemplateRef; } /** * Options for rendering a slot */ export interface RenderSlotOptions { slot?: SlotValue; defaultComponent: Type; props?: Partial; injector?: any; outputs?: Record void>; } /** * Injection token for slot configuration */ export declare const SLOT_CONFIG: InjectionToken>>; /** * Type for components with slots */ export type WithSlots>, Rest = object> = { [K in keyof S as `${string & K}Component`]?: Type; } & { [K in keyof S as `${string & K}Template`]?: TemplateRef; } & { [K in keyof S as `${string & K}Class`]?: string; } & Rest;