/**
 * Stops an event and cancels it.
 * @param e The event to stop
 */
export declare function cancelEvent(e: Event): void;
/**
 * Get the contrasting color for any hex color
 * (c) 2019 Chris Ferdinandi, MIT License, https://gomakethings.com
 * Derived from work by Brian Suda, https://24ways.org/2010/calculating-color-contrast/
 *
 * See https://gomakethings.com/dynamically-changing-the-text-color-based-on-background-color-contrast-with-vanilla-js/
 *
 * @param hexcolor A hexcolor value
 * @returns The contrasting color (black or white)
 */
export declare function getContrast(hexcolor: string): string;
/**
 * Awaits for a specified amount odf time.
 * Zero or negative will result in the next microtask.
 * A positive number will result in the next microtask + the set timeout.
 *
 * @param timeout The number of milliseconds to wait.
 */
export declare function aTimeout(timeout?: number): Promise<void>;
//# sourceMappingURL=Utils.d.ts.map