import { InputIterator } from './services/input-iterator'; import { PuptElement, PuptInitConfig, RenderOptions, RenderResult, SearchOptions, SearchResult } from './types'; /** * A discovered prompt with render and input iterator capabilities */ export interface DiscoveredPromptWithMethods { id: string; name: string; title?: string; description: string; tags: string[]; library: string; element: PuptElement; render(options?: Partial): Promise; getInputIterator(): InputIterator; } /** * Main Pupt class for initializing, discovering, and rendering prompts */ export declare class Pupt { private config; private moduleLoader; private searchEngine; private prompts; private warnings; private initialized; constructor(config: PuptInitConfig); init(): Promise; getPrompts(filter?: { tags?: string[]; }): DiscoveredPromptWithMethods[]; getPrompt(name: string): DiscoveredPromptWithMethods | undefined; getPromptById(id: string): DiscoveredPromptWithMethods | undefined; searchPrompts(query: string, options?: Partial): SearchResult[]; getTags(): string[]; getPromptsByTag(tag: string): DiscoveredPromptWithMethods[]; getWarnings(): string[]; private discoverPrompts; /** * Get a deduplication key for a module entry. * Returns null for PromptSource instances (cannot be deduplicated). */ private getEntryDedupKey; /** * Get a human-readable display name for a module entry (used in error messages). */ private getEntryDisplayName; private isPromptElement; private createDiscoveredPrompt; } //# sourceMappingURL=api.d.ts.map