import type { Component } from 'svelte'; export type PropType = { type: string; definition: string | Component; }; export type PropSchema = { default?: string; type: PropType | string; description: string; required?: boolean; bindable?: boolean; linked?: boolean; href?: string; tooltipContent?: string; }; export type PropObj = { [K in keyof T]-?: PropSchema; }; export type APISchema> = { title: string; props?: PropObj; };