import type { ComponentContract, ComponentManifest } from "../manifest/index.js"; import type { FrontendProjectProfile } from "../project/index.js"; import { type SupportedComponentPackage } from "./constants.js"; export interface ComponentContractMatch { packageName: string; version: string; name: string; score: number; contract: ComponentContract; } export type ComponentContractSection = "props" | "events" | "slots" | "methods" | "models" | "exposed"; export interface ComponentContractMatchSummary { packageName: string; version: string; name: string; exportName: string; importPath: string; kind: ComponentContract["kind"]; score: number; members: Record; coverage: ComponentContract["coverage"]; } export interface ComponentContractDetail { packageName: string; version: string; name: string; exportName: string; importPath: string; kind: ComponentContract["kind"]; coverage: ComponentContract["coverage"]; sections: Partial>; omitted: Partial>; unknownMembers: string[]; } export declare function installedComponentPackages(profile: FrontendProjectProfile): SupportedComponentPackage[]; export declare function contractScore(query: string, name: string, contract: ComponentContract): number; export declare function findComponentContractMatches(manifests: readonly ComponentManifest[], query: string, limit: number): ComponentContractMatch[]; export declare function summarizeComponentContractMatch(match: ComponentContractMatch): ComponentContractMatchSummary; export declare function componentContractDetail(match: ComponentContractMatch, sections: readonly ComponentContractSection[], requestedMembers?: readonly string[]): ComponentContractDetail; //# sourceMappingURL=component-query.d.ts.map