import type { TargetConfig } from '../plugin/src/config'; export type HostProductRole = 'folder' | 'kind' | 'provider'; export interface ResolvedHostProduct { config: TargetConfig; /** String passed to storage / WidgetKit kind / provider identity. */ productName: string; role: HostProductRole; } /** * True when the folder groups multiple host-addressable widget products * (explicit ios.kinds and/or android.providers), not a 1:1 folder. */ export declare function isMultiProductWidgetFolder(config: TargetConfig): boolean; /** Gallery kind names for a widget folder (implicit 1:1 uses folder name). */ export declare function galleryProductNames(config: TargetConfig): string[]; export declare function resolveHostProduct(name: string, targets: TargetConfig[]): ResolvedHostProduct | null; export declare function formatUnknownHostProductError(name: string, targets: TargetConfig[]): string; /** Used by doctor / tooling parity with runtime gallery rows. */ export declare function folderHasExplicitGalleryKinds(config: TargetConfig): boolean; //# sourceMappingURL=resolveHostProduct.d.ts.map