import { a as ScreenEventCallbacks, i as Rectangle, n as DisplayMetric, r as Point, t as Display } from "../screen.types-_n3uwSLB.mjs"; //#region src/renderer/screen/index.d.ts declare namespace index_d_exports { export { ScreenEventCallbacksExtended, dipToScreenPoint, dipToScreenRect, getAllDisplays, getCursorScreenPoint, getDisplayMatching, getDisplayNearestPoint, getPrimaryDisplay, off, on, once, screenToDipPoint, screenToDipRect }; } declare function getCursorScreenPoint(): Promise; declare function getPrimaryDisplay(): Promise; declare function getAllDisplays(): Promise; declare function getDisplayNearestPoint(point: Point): Promise; declare function getDisplayMatching(rect: Rectangle): Promise; declare function screenToDipPoint(point: Point): Promise; declare function dipToScreenPoint(point: Point): Promise; declare function screenToDipRect(windowId: number | null, rect: Rectangle): Promise; declare function dipToScreenRect(windowId: number | null, rect: Rectangle): Promise; interface ScreenEventCallbacksExtended extends ScreenEventCallbacks { "display-added": (display: Display) => void; "display-removed": (display: Display) => void; "display-metrics-changed": (data: { display: Display; changedMetrics: DisplayMetric[]; }) => void; } declare function on(event: K, callback: ScreenEventCallbacksExtended[K]): () => void; declare function once(event: K, callback: ScreenEventCallbacksExtended[K]): void; declare function off(event: K, callback?: ScreenEventCallbacksExtended[K]): void; //#endregion export { ScreenEventCallbacksExtended, dipToScreenPoint, dipToScreenRect, getAllDisplays, getCursorScreenPoint, getDisplayMatching, getDisplayNearestPoint, getPrimaryDisplay, off, on, once, screenToDipPoint, screenToDipRect, index_d_exports as t }; //# sourceMappingURL=screen.d.mts.map