1 | import type { CompositionStyles } from "./composition";
|
2 | import type { GlobalStyleIdentityFn, KeyframeIdentityFn, SystemStyleIdentityFn } from "./css.types";
|
3 | import type { RecipeIdentityFn, SlotRecipeIdentityFn } from "./recipe.types";
|
4 | import type { ConditionRecord, SemanticTokenDefinition, SystemConfig, TokenDefinition } from "./types";
|
5 | export declare const defineConditions: <T extends ConditionRecord>(v: T) => T;
|
6 | export declare const defineRecipe: RecipeIdentityFn;
|
7 | export declare const defineSlotRecipe: SlotRecipeIdentityFn;
|
8 | export declare const defineKeyframes: KeyframeIdentityFn;
|
9 | export declare const defineGlobalStyles: GlobalStyleIdentityFn;
|
10 | export declare const defineStyle: SystemStyleIdentityFn;
|
11 | export declare const defineTextStyles: (v: CompositionStyles["textStyles"]) => import("./composition").TextStyles;
|
12 | export declare const defineAnimationStyles: (v: CompositionStyles["animationStyles"]) => import("./composition").AnimationStyles;
|
13 | export declare const defineLayerStyles: (v: CompositionStyles["layerStyles"]) => import("./composition").LayerStyles;
|
14 | type ProxyValue<T> = {
|
15 | <Value>(definition: Value extends T ? Value : T): Value;
|
16 | } & {
|
17 | [K in keyof Required<T>]: <Value>(definition: Value extends T[K] ? Value : T[K]) => Value;
|
18 | };
|
19 | export declare const defineTokens: ProxyValue<TokenDefinition>;
|
20 | export declare const defineSemanticTokens: ProxyValue<SemanticTokenDefinition>;
|
21 | export declare const defineConfig: (v: SystemConfig) => SystemConfig;
|
22 | export declare const mergeConfigs: (...configs: SystemConfig[]) => SystemConfig;
|
23 | export {};
|