import type { ComponentManifest, ExtractionResult, PackageConfig, PackageInfo } from '../../types'; /** * Finds and analyzes components in packages using glob patterns */ export declare class ComponentFinder { private cache; /** * Find all components in a package */ findComponents(packageConfig: PackageConfig): Promise; /** * Clear the cache (useful for watch mode) */ clearCache(): void; /** * Get package info from package.json */ getPackageInfo(packagePath: string): Promise; private discoverComponents; /** * Find component exports in an index.ts that opt into their own catalog entry. * * An export qualifies when both hold: * 1. it is re-exported from a Svelte file: `export { default as X } from './X.svelte'` * 2. a local `interface XProps` carries the `@standalone` JSDoc tag * * The tag is the explicit opt-in that separates independent surfaces (Guide family) from * compound subcomponents (TabItem, MenuItem, CalendarDay, …), which carry the same * `@description`/`@tag` metadata but must NOT become standalone catalog entries. */ private findStandaloneComponentNames; private findComponentFiles; private createComponentManifest; private extractComponentName; private discoverRelatedFiles; private findRelatedFile; private findRelatedFiles; /** * Validate that a component manifest is complete and valid */ validateManifest(manifest: ComponentManifest): Promise>; } //# sourceMappingURL=ComponentFinder.d.ts.map