import { InterfaceNameForServiceType } from "../DeclaredService"; import { PackageIntl } from "../i18n"; export interface UseServiceOptions { /** An additional qualifier to disambiguate service instances that implement the same interface. */ qualifier?: string; } /** * Returns a service that implements the given interface. * Receives the package name of the importing package as a string. * * This is an internal hook that is typically called indirectly via the hook * provided from `"open-pioneer:react-hooks"`. * * @private */ export declare function useServiceInternal(packageName: string, interfaceName: InterfaceNameForServiceType, options?: UseServiceOptions): ServiceType; /** * Returns all services that implement the given interface. * Receives the package name of the importing package as a string. * * This is an internal hook that is typically called indirectly via the hook * provided from `"open-pioneer:react-hooks"`. * * @private */ export declare function useServicesInternal(packageName: string, interfaceName: InterfaceNameForServiceType, options?: UseServiceOptions): ServiceType[]; /** * Returns the properties for the given package. * * This is an internal hook that is typically called indirectly via the hook * provided from `"open-pioneer:react-hooks"`. * * @private */ export declare function usePropertiesInternal(packageName: string): Readonly>; /** * Returns the i18n object for the given package. * * This is an internal hook that is typically called indirectly via the hook * provided from `"open-pioneer:react-hooks"`. * * @private */ export declare function useIntlInternal(packageName: string): PackageIntl;