/** * Base props type for config apps. All config apps receive a `values` object. */ export type ConfigAppProps = { values?: Record; [key: string]: unknown; }; /** * Create a config app * @template TProps - The props type for the component, can include a `values` object. * @param callback - Callback function for initializing the app with target element and props */ export default function createConfigApp>( callback: (config: { target: HTMLElement; props: TProps; }) => void, ): void;