import { ComponentSchema, TraitSchema } from '@subscan/widget-core';
import { RegistryInterface } from '@subscan/widget-runtime';
export declare function genComponent(registry: RegistryInterface, type: string, id: string, properties?: Record<string, unknown>, traits?: TraitSchema[]): ComponentSchema;
export declare function genTrait(type: string, properties?: Record<string, unknown>): TraitSchema;
