1 | import { AtomAsset, ExamplePresetAsset } from 'dumi-assets-types';
|
2 | import type { TypeMap } from 'dumi-assets-types/typings/atom/props/types';
|
3 | import { type FC } from 'react';
|
4 | interface IAtomRendererProps {
|
5 | type: AtomAsset['type'];
|
6 | value: ExamplePresetAsset['value'];
|
7 | processor?: typeof builtInProcessor;
|
8 | }
|
9 | type Entity = TypeMap['element'] | TypeMap['function'] | TypeMap['dom'];
|
10 | type Exports = Record<string, any>;
|
11 | declare function builtInProcessor(entity: Entity, entryExports: Exports): any;
|
12 | export declare const AtomRenderer: FC<IAtomRendererProps>;
|
13 | export {};
|