export default function migrate(direction: 'latest' | 'up' | 'down'): Promise;