import { VFile } from 'vfile';
import { DastRoot, DastRootV6 } from '../packages/parser/dist';
export type Options = {
    doNotUpgradeCopyTags?: boolean;
    doNotUpgradeAttributeSyntax?: boolean;
};
/**
 * Auto-updates syntax from DoenetML v0.6 to v0.7. This includes removing `namespace` attributes,
 * etc.
 *
 * See https://github.com/Doenet/DoenetML/issues/474
 *
 * Any warnings are stored on the VFile object.
 */
export declare function updateSyntaxFromV06toV07_root(dast: DastRootV6, options: Options): Promise<{
    dast: DastRoot;
    vfile: VFile;
}>;
/**
 * Auto-updates syntax from DoenetML v0.6 to v0.7. This includes removing `namespace` attributes,
 * etc.
 *
 * See https://github.com/Doenet/DoenetML/issues/474
 */
export declare function updateSyntaxFromV06toV07(dastStr: string, options?: Options): Promise<{
    xml: string;
    dast: DastRoot;
    vfile: VFile;
}>;
//# sourceMappingURL=index.d.ts.map