export default function (): (ast: any) => Promise;