@ts-for-gir/lib
Version:
Typescript .d.ts generator from GIR for gjs
22 lines (21 loc) • 937 B
TypeScript
import { GirInfoAttrs, GirModule } from "../index.js";
import { IntrospectedBaseClass } from "./class.js";
import { IntrospectedFunction } from "./function.js";
import { IntrospectedEnum } from "./enum.js";
import { IntrospectedConstant } from "./const.js";
import { IntrospectedAlias } from "./alias.js";
export type GirNSMember = IntrospectedBaseClass | IntrospectedFunction | IntrospectedConstant | IntrospectedEnum | IntrospectedAlias;
export declare const isIntrospectable: (e: {
$?: GirInfoAttrs;
}) => boolean;
export declare const isDeprecated: (e: {
$: GirInfoAttrs;
}) => boolean;
export declare const deprecatedVersion: (e: {
$: GirInfoAttrs;
}) => string | undefined;
export declare const introducedVersion: (e: {
$: GirInfoAttrs;
}) => string | undefined;
export declare function promisifyNamespaceFunctions(namespace: GirModule): void;
export { GirModule as IntrospectedNamespace } from "../gir-module.js";