import type { BackgroundImageOptions } from "@shopware/helpers"; import { useAppConfig } from "#imports"; type CmsBaseLayerAppConfig = ReturnType & { imagePlaceholder?: { color?: string; }; backgroundImage?: BackgroundImageOptions; imageSizes?: Record; lcpImagePreload?: boolean; }; export function useTypedAppConfig() { return useAppConfig() as CmsBaseLayerAppConfig; }