UNPKG

@virtualstate/examples

Version:
40 lines 1.75 kB
import { TokenVNodeBase, TokenVNodeFn } from "@virtualstate/fringe"; export declare const CactusSymbol: unique symbol; export interface CactusOptions { spikes: "spikey" | "not very spikey"; } export declare type CactusToken = TokenVNodeBase<typeof CactusSymbol, CactusOptions>; export declare type CactusTokenFn = TokenVNodeFn<typeof CactusSymbol, CactusOptions>; export declare const Cactus: CactusTokenFn; export declare const TestTubeSymbol: unique symbol; export interface TestTubeOptions { size?: number; } export declare type TestTubeToken = TokenVNodeBase<typeof TestTubeSymbol, TestTubeOptions>; export declare type TestTubeTokenFn = TokenVNodeFn<typeof TestTubeSymbol, TestTubeOptions>; export declare const TestTube: TestTubeTokenFn; export declare const ThreadSymbol: unique symbol; export interface ThreadOptions { size?: number; } export declare type ThreadToken = TokenVNodeBase<typeof ThreadSymbol, ThreadOptions>; export declare type ThreadTokenFn = TokenVNodeFn<typeof ThreadSymbol, ThreadOptions>; export declare const Thread: ThreadTokenFn; export declare const ScrollSymbol: unique symbol; export interface ScrollOptions { size?: number; } export declare type ScrollToken = TokenVNodeBase<typeof ScrollSymbol, ScrollOptions>; export declare type ScrollTokenFn = TokenVNodeFn<typeof ScrollSymbol, ScrollOptions>; export declare const Scroll: ScrollTokenFn; declare const domainMap: { Scroll: ScrollTokenFn; Thread: ThreadTokenFn; Cactus: CactusTokenFn; TestTube: TestTubeTokenFn; }; declare type DomainTokenMap = typeof domainMap; export declare type DomainToken = DomainTokenMap[keyof DomainTokenMap]; export declare const Domain: DomainToken[]; export {}; //# sourceMappingURL=domain.d.ts.map