import { Content, FormattedData, StructureNode } from '@/types/index';
declare type RemoveOptions = {
    content: Content;
    formattedData: FormattedData;
};
/**
 * update content with remove nodes
 * @param list removed list
 * @param opt
 */
export declare const removeComponents: <T extends StructureNode<Record<string, any>>>(list: T[] | undefined, opt: RemoveOptions) => {
    formattedData: FormattedData;
    updates: T[];
};
export {};
