export declare function wait(ms: number, callback?: () => void): Promise;