import { FormattedData, StructureNode } from '@/types/index';
declare type CopyOptions = {
    formattedData: FormattedData;
};
/**
 * copy structure
 * if had children, will dfs to copy too
 * @param list need to copy component
 * @param opt copy options
 * @returns copied
 */
export declare const copyComponents: <T extends StructureNode<Record<string, any>>>(list: T[] | undefined, opt: CopyOptions) => T[];
export {};
