import type { TemplateResult } from 'lit';
export type TTemplateFactory = () => TemplateResult | Promise<TemplateResult>;
export type TDemoDefinition = TTemplateFactory | TTemplateFactory[];
export declare const resolveTemplateFactory: (factoryArg: TTemplateFactory) => Promise<TemplateResult>;
/**
 * Get the number of demos for an element
 */
export declare const getDemoCount: (demo: TDemoDefinition) => number;
/**
 * Get a specific demo by index (0-based internally, displayed as 1-based)
 */
export declare const getDemoAtIndex: (demo: TDemoDefinition, index: number) => TTemplateFactory | null;
/**
 * Check if an element has multiple demos
 */
export declare const hasMultipleDemos: (demo: TDemoDefinition) => boolean;
