import type Gio from 'gi://Gio?version=2.0'; /* * An XML DBus Interface */ export const dbusIfaceXml = ` `; /* * The handwritten interface for `ifaceXml` */ export interface DbusIfaceXml { // SimpleMethod SimpleMethodRemote(callback: (value: '', error: any, fdList: Gio.UnixFDList | null) => void): void; SimpleMethodSync(): void; SimpleMethodAsync(): Promise; // ComplexMethod ComplexMethodRemote(input: string, callback: (value: number, error: any, fdList: Gio.UnixFDList | null) => void): void; ComplexMethodSync(input: string): number; ComplexMethodAsync(input: string): Promise; // TestSignal connectSignal(name: "TestSignal", callback: (proxy: Gio.DBusProxy, name: string, args: [string, boolean]) => boolean | void): number readonly ReadOnlyProperty: string; ReadWriteProperty: boolean; }