import type { ISheetObject, UnknownShorthandCompoundProps } from '@theatre/core'; import type { Snippet } from 'svelte'; export type DeclareProps = { props: T; children?: Snippet<[{ values: ISheetObject['value']; }]>; }; export type Values = T extends UnknownShorthandCompoundProps ? ISheetObject['value'] : never;