import { JSX } from 'solid-js'; export interface PreviewProps { shader?: string; presetId?: string; apiBaseUrl?: string; obfuscationKey?: string; style?: JSX.CSSProperties | string; class?: string; watermarkText?: string; watermarkLink?: string; /** * Map of camelCase key_prop identifier → user value, layered on top of the * preset's authored defaults. Identifiers are derived from `key_prop.label` * via the same slugify rules the Pro Framer exporter uses, so identifiers * generated by codegen and identifiers expected here always match. * * Only applies on the `presetId` path — `shader` token previews don't carry * key_props and silently ignore this prop. */ configuration?: Record; /** * Lock the preview to a specific snapshot of the preset, addressed by * content hash. Customized snippets pin a version so subsequent upstream * edits don't silently break the configuration. Server falls back to * latest with the `X-Shaders-Version-Fallback` header when the requested * snapshot is missing. Only meaningful on the `presetId` path. */ version?: string; } export default function Preview(props: PreviewProps): JSX.Element; //# sourceMappingURL=Preview.d.ts.map