import { ReactNode } from 'react';
import { ExtensionPointApi, ExtensionPoints } from '../types.js';
type ApiProviderProps = {
    api: ExtensionPointApi;
    children: ReactNode;
};
export declare const ApiProvider: ({ api, children }: ApiProviderProps) => import("react/jsx-runtime").JSX.Element;
export declare const useApi: () => ExtensionPointApi;
export declare const useCart: () => import("./types.js").UseCart;
export declare const useExtension: () => import("./types.js").UseExtension;
export declare const useSettings: () => import("./types.js").UseSettings;
type ExtensionPointHocProps = {
    api: ExtensionPointApi;
};
export declare const defineExtensions: (extensions: ExtensionPoints) => Record<string, (props: ExtensionPointHocProps) => ReactNode>;
export {};
