/**
Delays the promise for the given duration.

@example
```
import {delay} from 'unicorn-magic';

await delay({seconds: 1});

console.log('1 second later');
```
*/
export function delay(duration: {seconds: number} | {milliseconds: number}): Promise<void>;
