import { ServiceInitializer } from "./registry";
import type { Registry } from "./registry";
import { FlowComponent } from "solid-js";
export type RegistryProviderProps = {
    expose?: ServiceInitializer<any>[] | boolean;
};
export declare const ServiceRegistryContext: import("solid-js").Context<Registry | undefined>;
export declare const ServiceRegistry: FlowComponent<RegistryProviderProps>;
/**
 * Returns the current registry.
 *
 * If no registry is found, it will throw an error.
 */
export declare function useRegistry(): Registry;
