import React from 'react'; export type SlotComponent

= React.ComponentType

; interface SlotEntry { id: string; component: SlotComponent; priority: number; source?: string; } type Listener = () => void; declare class SlotRegistryImpl { private slots; private listeners; register(slotId: string, component: SlotComponent, opts?: { priority?: number; source?: string; }): () => void; get(slotId: string): SlotEntry[]; subscribe(listener: Listener): () => void; private emit; } export declare const slotRegistry: SlotRegistryImpl; export interface SlotProps { /** Slot id. */ name: string; /** Props forwarded to each contribution component. */ props?: Record; /** Fallback element shown when no contribution is registered. */ fallback?: React.ReactNode; } export declare function Slot({ name, props, fallback }: SlotProps): React.JSX.Element; export {}; //# sourceMappingURL=slot.d.ts.map