1 | import type { JsxFactoryOptions } from "./factory.types";
|
2 | import { type RecipeKey, type UseRecipeOptions } from "./use-recipe";
|
3 | export declare function createRecipeContext<K extends RecipeKey>(options: UseRecipeOptions<K>): {
|
4 | withContext: <T, P>(Component: React.ElementType<any>, options?: JsxFactoryOptions<P>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;
|
5 | PropsProvider: import("react").Provider<Record<string, any>>;
|
6 | withPropsProvider: <P>() => React.Provider<Partial<P>>;
|
7 | usePropsContext: () => Record<string, any>;
|
8 | useRecipeResult: (props: any) => {
|
9 | styles: Readonly<import("./css.types").SystemStyleObject>;
|
10 | className: string;
|
11 | props: {
|
12 | [x: string]: any;
|
13 | [x: number]: any;
|
14 | [x: symbol]: any;
|
15 | };
|
16 | };
|
17 | };
|