import { IDisposable } from '../core/disposable'; /** * Override the cursor for the entire document. * * @param cursor - The string representing the cursor style. * * @returns A disposable which will clear the override when disposed. * * #### Notes * The most recent call to `overrideCursor` takes precedence. Disposing * an old override is a no-op and will not effect the current override. * * #### Example * ```typescript * import { overrideCursor } from 'phosphor/lib/dom/cursor'; * * // force the cursor to be 'wait' for the entire document * let override = overrideCursor('wait'); * * // clear the override by disposing the return value * override.dispose(); * ``` */ export declare function overrideCursor(cursor: string): IDisposable;