import { SerializedConfig, ProjectCallbacks, ProjectHooks } from '@pandacss/compiler-shared'; import { UserConfig } from '@pandacss/types'; interface ConfigSnapshot { config: SerializedConfig; callbacks: ProjectCallbacks; hooks?: ProjectHooks; } /** * Lower a resolved config to a JSON-safe `SerializedConfig` (functions → callback * refs, RegExp → `{ kind:'regex' }`) plus the live `callbacks`, and embed each * pattern's `transform`/`defaultValues` source as `codegenSource` for the Rust * pattern generator. */ declare function createConfigSnapshot(input: UserConfig): ConfigSnapshot; export { type ConfigSnapshot, createConfigSnapshot };