///
///
///
///
/**
* Type Definitions for Gjs (https://gjs.guide/)
*
* These type definitions are automatically generated, do not edit them by hand.
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
*
* The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
*/
declare module 'gi://AstalRiver?version=0.1' {
// Module dependencies
import type Gio from 'gi://Gio?version=2.0';
import type GObject from 'gi://GObject?version=2.0';
import type GLib from 'gi://GLib?version=2.0';
import type GModule from 'gi://GModule?version=2.0';
export namespace AstalRiver {
/**
* AstalRiver-0.1
*/
export namespace Transform {
export const $gtype: GObject.GType;
}
enum Transform {
NORMAL,
ROTATE_90,
ROTATE_180,
ROTATE_270,
FLIPPED,
FLIPPED_ROTATE_90,
FLIPPED_ROTATE_180,
FLIPPED_ROTATE_270,
}
const MAJOR_VERSION: number;
const MICRO_VERSION: number;
const MINOR_VERSION: number;
const VERSION: string;
function get_default(): River | null;
interface CommandCallback {
(success: boolean, msg: string): void;
}
namespace Output {
// Signal callback interfaces
interface Changed {
(): void;
}
// Constructor properties interface
interface ConstructorProps extends GObject.Object.ConstructorProps {
description: string;
focused_tags: number;
focusedTags: number;
focused_view: string;
focusedView: string;
height: number;
id: number;
layout_name: string;
layoutName: string;
make: string;
model: string;
name: string;
occupied_tags: number;
occupiedTags: number;
physical_height: number;
physicalHeight: number;
physical_width: number;
physicalWidth: number;
refresh_rate: number;
refreshRate: number;
scale_factor: number;
scaleFactor: number;
transform: Transform;
urgent_tags: number;
urgentTags: number;
width: number;
x: number;
y: number;
}
}
/**
* holds all the information associated with a monitor.
*/
class Output extends GObject.Object {
static $gtype: GObject.GType