export declare const langs: Array<{ name: string; value: string }>;

export declare const giftRankingTreeIndexs: Array<Record<string, any>>;

export declare function cloneTemplateValue<T>(value: T): T;

export declare function createEditorForm(
  options?: Record<string, any>,
): Record<string, any>;

export declare function normalizeTemplateTree(
  tree?: Array<Record<string, any>>,
): Array<Record<string, any>>;

export declare function findTemplateNode(
  tree: Array<Record<string, any>>,
  nodeId: string,
): null | Record<string, any>;

export declare function getFirstTemplateNodeId(
  tree?: Array<Record<string, any>>,
): string;

export declare function buildTemplateNodeForm(
  node: null | Record<string, any>,
): null | Record<string, any>;
