delta-comic-core 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ import { uni } from '../struct';
2
+ import { Component } from 'vue';
3
+ import { Utils } from '..';
4
+ interface DependDefineConstraint<_T> {
5
+ }
6
+ export type DependDefine<T> = symbol & DependDefineConstraint<T>;
7
+ export declare const declareDependType: <T>(name: string) => DependDefine<T>;
8
+ export declare const requireDepend: <T>(define: DependDefine<T>) => T;
9
+ export declare const _pluginExposes: Map<symbol, any>;
10
+ export declare const coreModule: DependDefine<{
11
+ layout: Record<string, uni.content.ViewLayoutComp>;
12
+ view: Record<string, uni.content.ViewComp>;
13
+ comp: {
14
+ Comment: Component<{
15
+ item: uni.item.Item;
16
+ comments: Utils.data.RStream<uni.comment.Comment>;
17
+ }>;
18
+ ItemCard: uni.content.ItemCardComp;
19
+ FavouriteSelect: Component<{
20
+ item: uni.item.Item;
21
+ }>;
22
+ };
23
+ }>;
24
+ export {};