@stackoverfloweth/prefect-design
Version:
A collection of low-level Vue components.
33 lines (32 loc) • 1.29 kB
TypeScript
type DemoSection = {
title: string;
description?: string;
};
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
title: string;
description?: string | undefined;
demos?: DemoSection | DemoSection[] | undefined;
useResizable?: boolean | undefined;
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
title: string;
description?: string | undefined;
demos?: DemoSection | DemoSection[] | undefined;
useResizable?: boolean | undefined;
}>>>, {}, {}>, Partial<Record<`${string}-description`, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & {
description?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToOption<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};