import type { ComponentType, ReactNode } from 'react'; export type HtmdxLayoutProps = { children: ReactNode; slots: Readonly>; }; export type HtmdxLayoutSlot = { from: string; }; export type HtmdxLayoutDefinition = { name: string; slots?: Readonly>; Component: ComponentType; }; export declare function resolveLayoutName(name: string): string; export declare function addLayout(definition: HtmdxLayoutDefinition): void; export declare function getLayout(name: string): HtmdxLayoutDefinition | undefined; export declare function listRegisteredLayouts(): string[]; export declare function resolveLayoutSlots(definition: HtmdxLayoutDefinition, meta: Readonly>): Readonly<{ [k: string]: string; }>;