import type { ColorModeValue, Service } from "@open-pioneer/runtime"; import { FC, ReactNode } from "react"; export type AnyService = Service; export interface PackageContextProviderProps { /** Interface implementations, keyed by interface name. */ services?: { [interfaceName: string]: AnyService; }; /** Interface implementations, keyed by interface name and then by qualifier. */ qualifiedServices?: { [interfaceName: string]: { [qualifier: string]: AnyService; }; }; /** Package properties (keyed by package name). */ properties?: { [packageName: string]: Record; }; /** * The locale for i18n messages and formatting. * * @default "en" */ locale?: string; /** * The color mode. */ colorMode?: ColorModeValue; /** * I18n messages for packages */ messages?: { /** * I18n messages as (messageId, message) entries. * * @default {} */ [packageName: string]: Record; }; /** Children to render */ children?: ReactNode; } /** * Injects services and properties into the component tree. * React components using Open Pioneer Trails hooks like `useService` and `useProperties` * will receive the mocked properties here instead. * Currently also wrapped with the CustomChakraProvider to support chakra-ui elements */ export declare const PackageContextProvider: FC;