import { W as WalkObjectStopFn, C as CreateCssContext, M as MappedObject } from './shared-DHsOF1Vt.mjs'; export { z as WalkObjectOptions, h as compact, f as createCss, g as createMergeCss, k as filterBaseConditions, s as getPatternStyles, v as getSlotCompoundVariant, u as getSlotRecipes, l as hypenateProperty, j as isBaseCondition, a as isBoolean, b as isFunction, m as isImportant, c as isObject, e as isObjectOrArray, i as isString, d as isSymbol, B as mapObject, o as markImportant, p as memo, q as mergeProps, r as patternFns, x as splitProps, t as toHash, y as uniq, A as walkObject, w as withoutImportant, n as withoutSpace } from './shared-DHsOF1Vt.mjs'; export { astish } from './astish.mjs'; declare const getArbitraryValue: (_value: string) => string; declare function assign(target: any, ...sources: any[]): any; declare class CacheMap implements Map { private cache; private keysInUse; private maxCacheSize; constructor(maxCacheSize?: number); get(key: K): V | undefined; set(key: K, value: V): this; delete(key: K): boolean; private updateKeyUsage; private evictLeastRecentlyUsed; clear(): void; has(key: K): boolean; get size(): number; forEach(callback: (value: V, key: K, map: Map) => void, thisArg?: any): void; keys(): MapIterator; values(): MapIterator; entries(): MapIterator<[K, V]>; getOrInsert(key: K, defaultValue: V): V; getOrInsertComputed(key: K, callback: (key: K) => V): V; [Symbol.iterator](): MapIterator<[K, V]>; [Symbol.toStringTag]: string; toJSON: () => Map; } type Operand = string | number | { ref: string; }; declare const calc: { negate(x: Operand): string; }; declare const camelCaseProperty: (property: string) => string; declare const capitalize: (s: string) => string; declare const dashCase: (s: string) => string; declare const uncapitalize: (s: string) => string; interface CssVar { var: `--${string}`; ref: string; } interface CssVarOptions { fallback?: string; prefix?: string; hash?: boolean; } declare function cssVar(name: string, options?: CssVarOptions): CssVar; type Dict = Record; declare const deepSet: (target: T, path: string[], value: Dict | string) => T; declare function fromEntries(entries: [A, B][]): { [key in A]: B; }; declare function entries(obj: { [key in A]: B; }): [A, B][]; declare function mapEntries(obj: { [key in K]: A; }, f: (key: K, val: A) => [K, B]): { [key in K]: B; }; type PandaErrorCode = 'CONFIG_NOT_FOUND' | 'CONFIG_ERROR' | 'NOT_FOUND' | 'CONDITION' | 'MISSING_STUDIO' | 'MCP_MOVED' | 'INVALID_LAYER' | 'UNKNOWN_RECIPE' | 'INVALID_RECIPE' | 'UNKNOWN_TYPE' | 'UNKNOWN_ARTIFACT' | 'UNKNOWN_LITERAL_TYPE' | 'UNKNOWN_RESULT_TYPE' | 'MISSING_PARAMS' | 'NO_CONTEXT' | 'INVALID_TOKEN'; declare class PandaError extends Error { readonly code: string; readonly hint?: string; constructor(code: PandaErrorCode, message: string, opts?: { hint?: string; cause?: unknown; }); } declare const esc: (sel: string) => string; declare function flatten(values: Record>, stop?: WalkObjectStopFn): Record; declare function getOrCreateSet(map: Map>, key: TKey): Set; declare const isCssFunction: (v: unknown) => boolean; declare const isCssUnit: (v: unknown) => boolean; declare const isCssVar: (v: unknown) => boolean; /** * Credits: https://github.com/mesqueeb/merge-anything */ declare function mergeAndConcat(object: T, ...otherObjects: Tn): any; declare function mergeWith(target: any, ...sources: any[]): any; type NormalizeContext = Pick; declare function toResponsiveObject(values: string[], breakpoints: string[]): Record; declare function normalizeStyleObject(styles: Record, context: NormalizeContext, shorthand?: boolean): MappedObject, any>; declare const omit: (obj: T, paths: K[]) => Omit; declare const PANDA_CONFIG_NAME: "__panda.config__"; declare const pick: (obj: T, paths: K[]) => Partial; declare function getPropertyPriority(key: string): number; declare const createRegex: (item: Array) => RegExp; declare const stringifyJson: (config: Record) => string; declare const parseJson: (config: string) => any; declare function splitBy(value: string, separator?: string): any[]; declare function splitDotPath(path: string): string[]; declare function getNegativePath(path: string[]): string[]; declare function getDotPath(obj: any, path: string, fallback?: any): any; type MapToRecord> = { [P in keyof K]: K[P] extends Map ? Record : never; }; declare function mapToJson>(map: T): MapToRecord; type CallbackFn = (args: CallbackItem) => void; interface CallbackItem { value: any; path: string; paths: string[]; depth: number; parent: any[] | Record; key: string; } interface TraverseOptions { separator?: string; maxDepth?: number; stop?: (args: CallbackItem) => boolean; } declare function traverse(obj: any, callback: CallbackFn, options?: TraverseOptions): void; declare function unionType(values: IterableIterator | string[] | readonly string[] | Set, opts?: { fallback?: string; stringify?: (value: string) => string; }): string; declare function getUnit(value?: string): string | undefined; declare function toPx(value?: string | number): string | undefined; declare function toEm(value?: string, fontSize?: number): string | undefined; declare function toRem(value?: string): string | undefined; export { CacheMap, CreateCssContext, type CssVar, type CssVarOptions, type MapToRecord, MappedObject, PANDA_CONFIG_NAME, PandaError, type PandaErrorCode, WalkObjectStopFn, assign, calc, camelCaseProperty, capitalize, createRegex, cssVar, dashCase, deepSet, entries, esc, flatten, fromEntries, getArbitraryValue, getDotPath, getNegativePath, getOrCreateSet, getPropertyPriority, getUnit, isCssFunction, isCssUnit, isCssVar, mapEntries, mapToJson, mergeAndConcat, mergeWith, normalizeStyleObject, omit, parseJson, pick, splitBy, splitDotPath, stringifyJson, toEm, toPx, toRem, toResponsiveObject, traverse, uncapitalize, unionType };