import type { ComponentStyleMap, GroupedStyles, Prefab, PrefabReference } from '../../types'; type PrefabTypes = 'partial' | 'page' | undefined; interface ValidateComponentProps { styles: GroupedStyles; componentStyleMap?: ComponentStyleMap; availableComponentNames?: string[]; prefabType?: PrefabTypes; } export declare const validateComponent: ({ styles, componentStyleMap, availableComponentNames, prefabType, }: ValidateComponentProps) => (component: PrefabReference) => Prefab | unknown; export {};