commit 48e7b813f6932c011d3c0f2b898166fcfa8c8d05 Author: Reece Wilson Date: Sat Mar 4 13:40:44 2023 +0000 Initial Commit diff --git a/GLib.d.ts b/GLib.d.ts new file mode 100644 index 0000000..f3a0f4e --- /dev/null +++ b/GLib.d.ts @@ -0,0 +1,2777 @@ +declare namespace AuGlibEx { + + class AsciiType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAlnum": AsciiType + static readonly "kAlpha": AsciiType + static readonly "kCntrl": AsciiType + static readonly "kDigit": AsciiType + static readonly "kGraph": AsciiType + static readonly "kLower": AsciiType + static readonly "kPrint": AsciiType + static readonly "kPunct": AsciiType + static readonly "kSpace": AsciiType + static readonly "kUpper": AsciiType + static readonly "kXDigit": AsciiType + } + + class BookmarkFileError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalidUri": BookmarkFileError + static readonly "kInvalidValue": BookmarkFileError + static readonly "kAppNotRegistered": BookmarkFileError + static readonly "kUriNotFound": BookmarkFileError + static readonly "kRead": BookmarkFileError + static readonly "kUnknownEncoding": BookmarkFileError + static readonly "kWrite": BookmarkFileError + static readonly "kFileNotFound": BookmarkFileError + } + + class ChecksumType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMd5": ChecksumType + static readonly "kSha1": ChecksumType + static readonly "kSha256": ChecksumType + static readonly "kSha512": ChecksumType + static readonly "kSha384": ChecksumType + } + + class ConvertError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNoConversion": ConvertError + static readonly "kIllegalSequence": ConvertError + static readonly "kFailed": ConvertError + static readonly "kPartialInput": ConvertError + static readonly "kBadUri": ConvertError + static readonly "kNotAbsolutePath": ConvertError + static readonly "kNoMemory": ConvertError + static readonly "kEmbeddedNul": ConvertError + } + + class DateDMY { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDay": DateDMY + static readonly "kMonth": DateDMY + static readonly "kYEar": DateDMY + } + + class DateMonth { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBadMonth": DateMonth + static readonly "kJanuary": DateMonth + static readonly "kFebruary": DateMonth + static readonly "kMarch": DateMonth + static readonly "kApril": DateMonth + static readonly "kMay": DateMonth + static readonly "kJune": DateMonth + static readonly "kJuly": DateMonth + static readonly "kAugust": DateMonth + static readonly "kSeptember": DateMonth + static readonly "kOctober": DateMonth + static readonly "kNovember": DateMonth + static readonly "kDecember": DateMonth + } + + class DateWeekday { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBadWeekday": DateWeekday + static readonly "kMonday": DateWeekday + static readonly "kTuesday": DateWeekday + static readonly "kWednesday": DateWeekday + static readonly "kThursday": DateWeekday + static readonly "kFriday": DateWeekday + static readonly "kSaturday": DateWeekday + static readonly "kSunday": DateWeekday + } + + class ErrorType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": ErrorType + static readonly "kUnexpEof": ErrorType + static readonly "kUnexpEofInString": ErrorType + static readonly "kUnexpEofInComment": ErrorType + static readonly "kNonDigitInConst": ErrorType + static readonly "kDigitRadix": ErrorType + static readonly "kFloatRadix": ErrorType + static readonly "kFloatMalformed": ErrorType + } + + class FileError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kExist": FileError + static readonly "kIsdir": FileError + static readonly "kAcces": FileError + static readonly "kNametoolong": FileError + static readonly "kNoent": FileError + static readonly "kNotdir": FileError + static readonly "kNxio": FileError + static readonly "kNodev": FileError + static readonly "kRofs": FileError + static readonly "kTxtbsy": FileError + static readonly "kFault": FileError + static readonly "kLoop": FileError + static readonly "kNospc": FileError + static readonly "kNomem": FileError + static readonly "kMfile": FileError + static readonly "kNfile": FileError + static readonly "kBadf": FileError + static readonly "kInval": FileError + static readonly "kPipe": FileError + static readonly "kAgain": FileError + static readonly "kIntr": FileError + static readonly "kIo": FileError + static readonly "kPerm": FileError + static readonly "kNosys": FileError + static readonly "kFailed": FileError + } + + class FileSetContentsFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": FileSetContentsFlags + static readonly "kConsistent": FileSetContentsFlags + static readonly "kDurable": FileSetContentsFlags + static readonly "kOnlyExisting": FileSetContentsFlags + } + + class FileTest { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kIsRegular": FileTest + static readonly "kIsSymlink": FileTest + static readonly "kIsDir": FileTest + static readonly "kIsExecutable": FileTest + static readonly "kExists": FileTest + } + + class FormatSizeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": FormatSizeFlags + static readonly "kLongFormat": FormatSizeFlags + static readonly "kIecUnits": FormatSizeFlags + static readonly "kBits": FormatSizeFlags + } + + class HookFlagMask { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kActive": HookFlagMask + static readonly "kInCall": HookFlagMask + static readonly "kMask": HookFlagMask + } + + class IOChannelError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFbig": IOChannelError + static readonly "kInval": IOChannelError + static readonly "kIo": IOChannelError + static readonly "kIsdir": IOChannelError + static readonly "kNospc": IOChannelError + static readonly "kNxio": IOChannelError + static readonly "kOverflow": IOChannelError + static readonly "kPipe": IOChannelError + static readonly "kFailed": IOChannelError + } + + class IOCondition { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kIn": IOCondition + static readonly "kOut": IOCondition + static readonly "kPri": IOCondition + static readonly "kErr": IOCondition + static readonly "kHup": IOCondition + static readonly "kNval": IOCondition + } + + class IOError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": IOError + static readonly "kAgain": IOError + static readonly "kInval": IOError + static readonly "kUnknown": IOError + } + + class IOFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAppend": IOFlags + static readonly "kNonblock": IOFlags + static readonly "kIsReadable": IOFlags + static readonly "kIsWritable": IOFlags + static readonly "kIsWriteable": IOFlags + static readonly "kIsSeekable": IOFlags + static readonly "kMask": IOFlags + static readonly "kGetMask": IOFlags + static readonly "kSetMask": IOFlags + } + + class IOStatus { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kError": IOStatus + static readonly "kNormal": IOStatus + static readonly "kEof": IOStatus + static readonly "kAgain": IOStatus + } + + class KeyFileError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknownEncoding": KeyFileError + static readonly "kParse": KeyFileError + static readonly "kNotFound": KeyFileError + static readonly "kKeyNotFound": KeyFileError + static readonly "kGroupNotFound": KeyFileError + static readonly "kInvalidValue": KeyFileError + } + + class KeyFileFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": KeyFileFlags + static readonly "kKeepComments": KeyFileFlags + static readonly "kKeepTranslations": KeyFileFlags + } + + class LogLevelFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFlagRecursion": LogLevelFlags + static readonly "kFlagFatal": LogLevelFlags + static readonly "kLevelError": LogLevelFlags + static readonly "kLevelCritical": LogLevelFlags + static readonly "kLevelWarning": LogLevelFlags + static readonly "kLevelMessage": LogLevelFlags + static readonly "kLevelInfo": LogLevelFlags + static readonly "kLevelDebug": LogLevelFlags + static readonly "kLevelMask": LogLevelFlags + } + + class LogWriterOutput { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kHandled": LogWriterOutput + static readonly "kUnhandled": LogWriterOutput + } + + class MainContextFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": MainContextFlags + static readonly "kOwnerlessPolling": MainContextFlags + } + + class MarkupCollectType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": MarkupCollectType + static readonly "kString": MarkupCollectType + static readonly "kStrdup": MarkupCollectType + static readonly "kBoolean": MarkupCollectType + static readonly "kTristate": MarkupCollectType + static readonly "kOptional": MarkupCollectType + } + + class MarkupError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBadUtf8": MarkupError + static readonly "kEmpty": MarkupError + static readonly "kParse": MarkupError + static readonly "kUnknownElement": MarkupError + static readonly "kUnknownAttribute": MarkupError + static readonly "kInvalidContent": MarkupError + static readonly "kMissingAttribute": MarkupError + } + + class MarkupParseFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDoNotUseThisUnsupportedFlag": MarkupParseFlags + static readonly "kTreatCdataAsText": MarkupParseFlags + static readonly "kPrefixErrorPosition": MarkupParseFlags + static readonly "kIgnoreQualified": MarkupParseFlags + } + + class NormalizeMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": NormalizeMode + static readonly "kNfd": NormalizeMode + static readonly "kDefaultCompose": NormalizeMode + static readonly "kNfc": NormalizeMode + static readonly "kAll": NormalizeMode + static readonly "kNfkd": NormalizeMode + static readonly "kAllCompose": NormalizeMode + static readonly "kNfkc": NormalizeMode + } + + class NumberParserError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": NumberParserError + static readonly "kOutOfBounds": NumberParserError + } + + class OnceStatus { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNotcalled": OnceStatus + static readonly "kProgress": OnceStatus + static readonly "kReady": OnceStatus + } + + class OptionArg { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": OptionArg + static readonly "kString": OptionArg + static readonly "kInt": OptionArg + static readonly "kCallback": OptionArg + static readonly "kFilename": OptionArg + static readonly "kStringArray": OptionArg + static readonly "kFilenameArray": OptionArg + static readonly "kDouble": OptionArg + static readonly "kInt64": OptionArg + } + + class OptionError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknownOption": OptionError + static readonly "kBadValue": OptionError + static readonly "kFailed": OptionError + } + + class OptionFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": OptionFlags + static readonly "kHidden": OptionFlags + static readonly "kInMain": OptionFlags + static readonly "kReverse": OptionFlags + static readonly "kNoArg": OptionFlags + static readonly "kFilename": OptionFlags + static readonly "kOptionalArg": OptionFlags + static readonly "kNoalias": OptionFlags + } + + class RegexCompileFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCaseless": RegexCompileFlags + static readonly "kMultiline": RegexCompileFlags + static readonly "kDotall": RegexCompileFlags + static readonly "kExtended": RegexCompileFlags + static readonly "kAnchored": RegexCompileFlags + static readonly "kDollarEndonly": RegexCompileFlags + static readonly "kUngreedy": RegexCompileFlags + static readonly "kRaw": RegexCompileFlags + static readonly "kNoAutoCapture": RegexCompileFlags + static readonly "kOptimize": RegexCompileFlags + static readonly "kFirstline": RegexCompileFlags + static readonly "kDupnames": RegexCompileFlags + static readonly "kNewlineCr": RegexCompileFlags + static readonly "kNewlineLf": RegexCompileFlags + static readonly "kNewlineCrlf": RegexCompileFlags + static readonly "kNewlineAnycrlf": RegexCompileFlags + static readonly "kBsrAnycrlf": RegexCompileFlags + static readonly "kJavascriptCompat": RegexCompileFlags + } + + class RegexError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCompile": RegexError + static readonly "kOptimize": RegexError + static readonly "kReplace": RegexError + static readonly "kMatch": RegexError + static readonly "kInternal": RegexError + static readonly "kStrayBackslash": RegexError + static readonly "kMissingControlChar": RegexError + static readonly "kUnrecognizedEscape": RegexError + static readonly "kQuantifiersOutOfOrder": RegexError + static readonly "kQuantifierTooBig": RegexError + static readonly "kUnterminatedCharacterClass": RegexError + static readonly "kInvalidEscapeInCharacterClass": RegexError + static readonly "kRangeOutOfOrder": RegexError + static readonly "kNothingToRepeat": RegexError + static readonly "kUnrecognizedCharacter": RegexError + static readonly "kPosixNamedClassOutsideClass": RegexError + static readonly "kUnmatchedParenthesis": RegexError + static readonly "kInexistentSubpatternReference": RegexError + static readonly "kUnterminatedComment": RegexError + static readonly "kExpressionTooLarge": RegexError + static readonly "kMemoryError": RegexError + static readonly "kVariableLengthLookbehind": RegexError + static readonly "kMalformedCondition": RegexError + static readonly "kTooManyConditionalBranches": RegexError + static readonly "kAssertionExpected": RegexError + static readonly "kUnknownPosixClassName": RegexError + static readonly "kPosixCollatingElementsNotSupported": RegexError + static readonly "kHexCodeTooLarge": RegexError + static readonly "kInvalidCondition": RegexError + static readonly "kSingleByteMatchInLookbehind": RegexError + static readonly "kInfiniteLoop": RegexError + static readonly "kMissingSubpatternNameTerminator": RegexError + static readonly "kDuplicateSubpatternName": RegexError + static readonly "kMalformedProperty": RegexError + static readonly "kUnknownProperty": RegexError + static readonly "kSubpatternNameTooLong": RegexError + static readonly "kTooManySubpatterns": RegexError + static readonly "kInvalidOctalValue": RegexError + static readonly "kTooManyBranchesInDefine": RegexError + static readonly "kDefineRepetion": RegexError + static readonly "kInconsistentNewlineOptions": RegexError + static readonly "kMissingBackReference": RegexError + static readonly "kInvalidRelativeReference": RegexError + static readonly "kBacktrackingControlVerbArgumentForbidden": RegexError + static readonly "kUnknownBacktrackingControlVerb": RegexError + static readonly "kNumberTooBig": RegexError + static readonly "kMissingSubpatternName": RegexError + static readonly "kMissingDigit": RegexError + static readonly "kInvalidDataCharacter": RegexError + static readonly "kExtraSubpatternName": RegexError + static readonly "kBacktrackingControlVerbArgumentRequired": RegexError + static readonly "kInvalidControlChar": RegexError + static readonly "kMissingName": RegexError + static readonly "kNotSupportedInClass": RegexError + static readonly "kTooManyForwardReferences": RegexError + static readonly "kNameTooLong": RegexError + static readonly "kCharacterValueTooLarge": RegexError + } + + class RegexMatchFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAnchored": RegexMatchFlags + static readonly "kNotbol": RegexMatchFlags + static readonly "kNoteol": RegexMatchFlags + static readonly "kNotempty": RegexMatchFlags + static readonly "kPartial": RegexMatchFlags + static readonly "kNewlineCr": RegexMatchFlags + static readonly "kNewlineLf": RegexMatchFlags + static readonly "kNewlineCrlf": RegexMatchFlags + static readonly "kNewlineAny": RegexMatchFlags + static readonly "kNewlineAnycrlf": RegexMatchFlags + static readonly "kBsrAnycrlf": RegexMatchFlags + static readonly "kBsrAny": RegexMatchFlags + static readonly "kPartialSoft": RegexMatchFlags + static readonly "kPartialHard": RegexMatchFlags + static readonly "kNotemptyAtstart": RegexMatchFlags + } + + class SeekType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCur": SeekType + static readonly "kSet": SeekType + static readonly "kEnd": SeekType + } + + class ShellError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBadQuoting": ShellError + static readonly "kEmptyString": ShellError + static readonly "kFailed": ShellError + } + + class SliceConfig { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAlwaysMalloc": SliceConfig + static readonly "kBypassMagazines": SliceConfig + static readonly "kWorkingSetMsecs": SliceConfig + static readonly "kColorIncrement": SliceConfig + static readonly "kChunkSizes": SliceConfig + static readonly "kContentionCounter": SliceConfig + } + + class SpawnError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFork": SpawnError + static readonly "kRead": SpawnError + static readonly "kChdir": SpawnError + static readonly "kAcces": SpawnError + static readonly "kPerm": SpawnError + static readonly "kTooBig": SpawnError + static readonly "k2big": SpawnError + static readonly "kNoexec": SpawnError + static readonly "kNametoolong": SpawnError + static readonly "kNoent": SpawnError + static readonly "kNomem": SpawnError + static readonly "kNotdir": SpawnError + static readonly "kLoop": SpawnError + static readonly "kTxtbusy": SpawnError + static readonly "kIo": SpawnError + static readonly "kNfile": SpawnError + static readonly "kMfile": SpawnError + static readonly "kInval": SpawnError + static readonly "kIsdir": SpawnError + static readonly "kLibbad": SpawnError + static readonly "kFailed": SpawnError + } + + class SpawnFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": SpawnFlags + static readonly "kLeaveDescriptorsOpen": SpawnFlags + static readonly "kDoNotReapChild": SpawnFlags + static readonly "kSearchPath": SpawnFlags + static readonly "kStdoutToDevNull": SpawnFlags + static readonly "kStderrToDevNull": SpawnFlags + static readonly "kChildInheritsStdin": SpawnFlags + static readonly "kFileAndArgvZero": SpawnFlags + static readonly "kSearchPathFromEnvp": SpawnFlags + static readonly "kCloexecPipes": SpawnFlags + } + + class TestFileType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDist": TestFileType + static readonly "kBuilt": TestFileType + } + + class TestLogType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TestLogType + static readonly "kError": TestLogType + static readonly "kStartBinary": TestLogType + static readonly "kListCase": TestLogType + static readonly "kSkipCase": TestLogType + static readonly "kStartCase": TestLogType + static readonly "kStopCase": TestLogType + static readonly "kMinResult": TestLogType + static readonly "kMaxResult": TestLogType + static readonly "kMessage": TestLogType + static readonly "kStartSuite": TestLogType + static readonly "kStopSuite": TestLogType + } + + class TestResult { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSuccess": TestResult + static readonly "kSkipped": TestResult + static readonly "kFailure": TestResult + static readonly "kIncomplete": TestResult + } + + class TestSubprocessFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStdin": TestSubprocessFlags + static readonly "kStdout": TestSubprocessFlags + static readonly "kStderr": TestSubprocessFlags + } + + class TestTrapFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSilenceStdout": TestTrapFlags + static readonly "kSilenceStderr": TestTrapFlags + static readonly "kInheritStdin": TestTrapFlags + } + + class ThreadError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kThreadErrorAgain": ThreadError + } + + class TimeType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStandard": TimeType + static readonly "kDaylight": TimeType + static readonly "kUniversal": TimeType + } + + class TokenType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kEof": TokenType + static readonly "kLeftParen": TokenType + static readonly "kRightParen": TokenType + static readonly "kLeftCurly": TokenType + static readonly "kRightCurly": TokenType + static readonly "kLeftBrace": TokenType + static readonly "kRightBrace": TokenType + static readonly "kEqualSign": TokenType + static readonly "kComma": TokenType + static readonly "kNone": TokenType + static readonly "kError": TokenType + static readonly "kChar": TokenType + static readonly "kBinary": TokenType + static readonly "kOctal": TokenType + static readonly "kInt": TokenType + static readonly "kHex": TokenType + static readonly "kFloat": TokenType + static readonly "kString": TokenType + static readonly "kSymbol": TokenType + static readonly "kIdentifier": TokenType + static readonly "kIdentifierNull": TokenType + static readonly "kCommentSingle": TokenType + static readonly "kCommentMulti": TokenType + } + + class TraverseFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLeaves": TraverseFlags + static readonly "kNonLeaves": TraverseFlags + static readonly "kAll": TraverseFlags + static readonly "kMask": TraverseFlags + static readonly "kLeafs": TraverseFlags + static readonly "kNonLeafs": TraverseFlags + } + + class TraverseType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInOrder": TraverseType + static readonly "kPreOrder": TraverseType + static readonly "kPostOrder": TraverseType + static readonly "kLevelOrder": TraverseType + } + + class UnicodeBreakType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMandatory": UnicodeBreakType + static readonly "kCarriageReturn": UnicodeBreakType + static readonly "kLineFeed": UnicodeBreakType + static readonly "kCombiningMark": UnicodeBreakType + static readonly "kSurrogate": UnicodeBreakType + static readonly "kZeroWidthSpace": UnicodeBreakType + static readonly "kInseparable": UnicodeBreakType + static readonly "kNonBreakingGlue": UnicodeBreakType + static readonly "kContingent": UnicodeBreakType + static readonly "kSpace": UnicodeBreakType + static readonly "kAfter": UnicodeBreakType + static readonly "kBefore": UnicodeBreakType + static readonly "kBeforeAndAfter": UnicodeBreakType + static readonly "kHyphen": UnicodeBreakType + static readonly "kNonStarter": UnicodeBreakType + static readonly "kOpenPunctuation": UnicodeBreakType + static readonly "kClosePunctuation": UnicodeBreakType + static readonly "kQuotation": UnicodeBreakType + static readonly "kExclamation": UnicodeBreakType + static readonly "kIdeographic": UnicodeBreakType + static readonly "kNumeric": UnicodeBreakType + static readonly "kInfixSeparator": UnicodeBreakType + static readonly "kSymbol": UnicodeBreakType + static readonly "kAlphabetic": UnicodeBreakType + static readonly "kPrefix": UnicodeBreakType + static readonly "kPostfix": UnicodeBreakType + static readonly "kComplexContext": UnicodeBreakType + static readonly "kAmbiguous": UnicodeBreakType + static readonly "kUnknown": UnicodeBreakType + static readonly "kNextLine": UnicodeBreakType + static readonly "kWordJoiner": UnicodeBreakType + static readonly "kHangulLJamo": UnicodeBreakType + static readonly "kHangulVJamo": UnicodeBreakType + static readonly "kHangulTJamo": UnicodeBreakType + static readonly "kHangulLvSyllable": UnicodeBreakType + static readonly "kHangulLvtSyllable": UnicodeBreakType + static readonly "kCloseParanthesis": UnicodeBreakType + static readonly "kCloseParenthesis": UnicodeBreakType + static readonly "kConditionalJapaneseStarter": UnicodeBreakType + static readonly "kHebrewLetter": UnicodeBreakType + static readonly "kRegionalIndicator": UnicodeBreakType + static readonly "kEmojiBase": UnicodeBreakType + static readonly "kEmojiModifier": UnicodeBreakType + static readonly "kZeroWidthJoiner": UnicodeBreakType + } + + class UnicodeScript { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalidCode": UnicodeScript + static readonly "kCommon": UnicodeScript + static readonly "kInherited": UnicodeScript + static readonly "kArabic": UnicodeScript + static readonly "kArmenian": UnicodeScript + static readonly "kBengali": UnicodeScript + static readonly "kBopomofo": UnicodeScript + static readonly "kCherokee": UnicodeScript + static readonly "kCoptic": UnicodeScript + static readonly "kCyrillic": UnicodeScript + static readonly "kDeseret": UnicodeScript + static readonly "kDevanagari": UnicodeScript + static readonly "kEthiopic": UnicodeScript + static readonly "kGeorgian": UnicodeScript + static readonly "kGothic": UnicodeScript + static readonly "kGreek": UnicodeScript + static readonly "kGujarati": UnicodeScript + static readonly "kGurmukhi": UnicodeScript + static readonly "kHan": UnicodeScript + static readonly "kHangul": UnicodeScript + static readonly "kHebrew": UnicodeScript + static readonly "kHiragana": UnicodeScript + static readonly "kKannada": UnicodeScript + static readonly "kKatakana": UnicodeScript + static readonly "kKhmer": UnicodeScript + static readonly "kLao": UnicodeScript + static readonly "kLatin": UnicodeScript + static readonly "kMalayalam": UnicodeScript + static readonly "kMongolian": UnicodeScript + static readonly "kMyanmar": UnicodeScript + static readonly "kOgham": UnicodeScript + static readonly "kOldItalic": UnicodeScript + static readonly "kOriya": UnicodeScript + static readonly "kRunic": UnicodeScript + static readonly "kSinhala": UnicodeScript + static readonly "kSyriac": UnicodeScript + static readonly "kTamil": UnicodeScript + static readonly "kTelugu": UnicodeScript + static readonly "kThaana": UnicodeScript + static readonly "kThai": UnicodeScript + static readonly "kTibetan": UnicodeScript + static readonly "kCanadianAboriginal": UnicodeScript + static readonly "kYI": UnicodeScript + static readonly "kTagalog": UnicodeScript + static readonly "kHanunoo": UnicodeScript + static readonly "kBuhid": UnicodeScript + static readonly "kTagbanwa": UnicodeScript + static readonly "kBraille": UnicodeScript + static readonly "kCypriot": UnicodeScript + static readonly "kLimbu": UnicodeScript + static readonly "kOsmanya": UnicodeScript + static readonly "kShavian": UnicodeScript + static readonly "kLinearB": UnicodeScript + static readonly "kTaiLe": UnicodeScript + static readonly "kUgaritic": UnicodeScript + static readonly "kNewTaiLue": UnicodeScript + static readonly "kBuginese": UnicodeScript + static readonly "kGlagolitic": UnicodeScript + static readonly "kTifinagh": UnicodeScript + static readonly "kSylotiNagri": UnicodeScript + static readonly "kOldPersian": UnicodeScript + static readonly "kKharoshthi": UnicodeScript + static readonly "kUnknown": UnicodeScript + static readonly "kBalinese": UnicodeScript + static readonly "kCuneiform": UnicodeScript + static readonly "kPhoenician": UnicodeScript + static readonly "kPhagsPa": UnicodeScript + static readonly "kNko": UnicodeScript + static readonly "kKayahLi": UnicodeScript + static readonly "kLepcha": UnicodeScript + static readonly "kRejang": UnicodeScript + static readonly "kSundanese": UnicodeScript + static readonly "kSaurashtra": UnicodeScript + static readonly "kCham": UnicodeScript + static readonly "kOlChiki": UnicodeScript + static readonly "kVai": UnicodeScript + static readonly "kCarian": UnicodeScript + static readonly "kLycian": UnicodeScript + static readonly "kLydian": UnicodeScript + static readonly "kAvestan": UnicodeScript + static readonly "kBamum": UnicodeScript + static readonly "kEgyptianHieroglyphs": UnicodeScript + static readonly "kImperialAramaic": UnicodeScript + static readonly "kInscriptionalPahlavi": UnicodeScript + static readonly "kInscriptionalParthian": UnicodeScript + static readonly "kJavanese": UnicodeScript + static readonly "kKaithi": UnicodeScript + static readonly "kLisu": UnicodeScript + static readonly "kMeeteiMayek": UnicodeScript + static readonly "kOldSouthArabian": UnicodeScript + static readonly "kOldTurkic": UnicodeScript + static readonly "kSamaritan": UnicodeScript + static readonly "kTaiTham": UnicodeScript + static readonly "kTaiViet": UnicodeScript + static readonly "kBatak": UnicodeScript + static readonly "kBrahmi": UnicodeScript + static readonly "kMandaic": UnicodeScript + static readonly "kChakma": UnicodeScript + static readonly "kMeroiticCursive": UnicodeScript + static readonly "kMeroiticHieroglyphs": UnicodeScript + static readonly "kMiao": UnicodeScript + static readonly "kSharada": UnicodeScript + static readonly "kSoraSompeng": UnicodeScript + static readonly "kTakri": UnicodeScript + static readonly "kBassaVah": UnicodeScript + static readonly "kCaucasianAlbanian": UnicodeScript + static readonly "kDuployan": UnicodeScript + static readonly "kElbasan": UnicodeScript + static readonly "kGrantha": UnicodeScript + static readonly "kKhojki": UnicodeScript + static readonly "kKhudawadi": UnicodeScript + static readonly "kLinearA": UnicodeScript + static readonly "kMahajani": UnicodeScript + static readonly "kManichaean": UnicodeScript + static readonly "kMendeKikakui": UnicodeScript + static readonly "kModi": UnicodeScript + static readonly "kMro": UnicodeScript + static readonly "kNabataean": UnicodeScript + static readonly "kOldNorthArabian": UnicodeScript + static readonly "kOldPermic": UnicodeScript + static readonly "kPahawhHmong": UnicodeScript + static readonly "kPalmyrene": UnicodeScript + static readonly "kPauCinHau": UnicodeScript + static readonly "kPsalterPahlavi": UnicodeScript + static readonly "kSiddham": UnicodeScript + static readonly "kTirhuta": UnicodeScript + static readonly "kWarangCiti": UnicodeScript + static readonly "kAhom": UnicodeScript + static readonly "kAnatolianHieroglyphs": UnicodeScript + static readonly "kHatran": UnicodeScript + static readonly "kMultani": UnicodeScript + static readonly "kOldHungarian": UnicodeScript + static readonly "kSignwriting": UnicodeScript + static readonly "kAdlam": UnicodeScript + static readonly "kBhaiksuki": UnicodeScript + static readonly "kMarchen": UnicodeScript + static readonly "kNewa": UnicodeScript + static readonly "kOsage": UnicodeScript + static readonly "kTangut": UnicodeScript + static readonly "kMasaramGondi": UnicodeScript + static readonly "kNushu": UnicodeScript + static readonly "kSoyombo": UnicodeScript + static readonly "kZanabazarSquare": UnicodeScript + static readonly "kDogra": UnicodeScript + static readonly "kGunjalaGondi": UnicodeScript + static readonly "kHanifiRohingya": UnicodeScript + static readonly "kMakasar": UnicodeScript + static readonly "kMedefaidrin": UnicodeScript + static readonly "kOldSogdian": UnicodeScript + static readonly "kSogdian": UnicodeScript + static readonly "kElymaic": UnicodeScript + static readonly "kNandinagari": UnicodeScript + static readonly "kNyiakengPuachueHmong": UnicodeScript + static readonly "kWancho": UnicodeScript + static readonly "kChorasmian": UnicodeScript + static readonly "kDivesAkuru": UnicodeScript + static readonly "kKhitanSmallScript": UnicodeScript + static readonly "kYEzidi": UnicodeScript + static readonly "kCyproMinoan": UnicodeScript + static readonly "kOldUyghur": UnicodeScript + static readonly "kTangsa": UnicodeScript + static readonly "kToto": UnicodeScript + static readonly "kVithkuqi": UnicodeScript + static readonly "kMath": UnicodeScript + } + + class UnicodeType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kControl": UnicodeType + static readonly "kFormat": UnicodeType + static readonly "kUnassigned": UnicodeType + static readonly "kPrivateUse": UnicodeType + static readonly "kSurrogate": UnicodeType + static readonly "kLowercaseLetter": UnicodeType + static readonly "kModifierLetter": UnicodeType + static readonly "kOtherLetter": UnicodeType + static readonly "kTitlecaseLetter": UnicodeType + static readonly "kUppercaseLetter": UnicodeType + static readonly "kSpacingMark": UnicodeType + static readonly "kEnclosingMark": UnicodeType + static readonly "kNonSpacingMark": UnicodeType + static readonly "kDecimalNumber": UnicodeType + static readonly "kLetterNumber": UnicodeType + static readonly "kOtherNumber": UnicodeType + static readonly "kConnectPunctuation": UnicodeType + static readonly "kDashPunctuation": UnicodeType + static readonly "kClosePunctuation": UnicodeType + static readonly "kFinalPunctuation": UnicodeType + static readonly "kInitialPunctuation": UnicodeType + static readonly "kOtherPunctuation": UnicodeType + static readonly "kOpenPunctuation": UnicodeType + static readonly "kCurrencySymbol": UnicodeType + static readonly "kModifierSymbol": UnicodeType + static readonly "kMathSymbol": UnicodeType + static readonly "kOtherSymbol": UnicodeType + static readonly "kLineSeparator": UnicodeType + static readonly "kParagraphSeparator": UnicodeType + static readonly "kSpaceSeparator": UnicodeType + } + + class UriError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": UriError + static readonly "kBadScheme": UriError + static readonly "kBadUser": UriError + static readonly "kBadPassword": UriError + static readonly "kBadAuthParams": UriError + static readonly "kBadHost": UriError + static readonly "kBadPort": UriError + static readonly "kBadPath": UriError + static readonly "kBadQuery": UriError + static readonly "kBadFragment": UriError + } + + class UriFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": UriFlags + static readonly "kParseRelaxed": UriFlags + static readonly "kHasPassword": UriFlags + static readonly "kHasAuthParams": UriFlags + static readonly "kEncoded": UriFlags + static readonly "kNonDns": UriFlags + static readonly "kEncodedQuery": UriFlags + static readonly "kEncodedPath": UriFlags + static readonly "kEncodedFragment": UriFlags + static readonly "kSchemeNormalize": UriFlags + } + + class UriHideFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": UriHideFlags + static readonly "kUserinfo": UriHideFlags + static readonly "kPassword": UriHideFlags + static readonly "kAuthParams": UriHideFlags + static readonly "kQuery": UriHideFlags + static readonly "kFragment": UriHideFlags + } + + class UriParamsFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": UriParamsFlags + static readonly "kCaseInsensitive": UriParamsFlags + static readonly "kWwwForm": UriParamsFlags + static readonly "kParseRelaxed": UriParamsFlags + } + + class UserDirectory { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDirectoryDesktop": UserDirectory + static readonly "kDirectoryDocuments": UserDirectory + static readonly "kDirectoryDownload": UserDirectory + static readonly "kDirectoryMusic": UserDirectory + static readonly "kDirectoryPictures": UserDirectory + static readonly "kDirectoryPublicShare": UserDirectory + static readonly "kDirectoryTemplates": UserDirectory + static readonly "kDirectoryVideos": UserDirectory + static readonly "kNDirectories": UserDirectory + } + + class VariantClass { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBoolean": VariantClass + static readonly "kByte": VariantClass + static readonly "kInt16": VariantClass + static readonly "kUint16": VariantClass + static readonly "kInt32": VariantClass + static readonly "kUint32": VariantClass + static readonly "kInt64": VariantClass + static readonly "kUint64": VariantClass + static readonly "kHandle": VariantClass + static readonly "kDouble": VariantClass + static readonly "kString": VariantClass + static readonly "kObjectPath": VariantClass + static readonly "kSignature": VariantClass + static readonly "kVariant": VariantClass + static readonly "kMaybe": VariantClass + static readonly "kArray": VariantClass + static readonly "kTuple": VariantClass + static readonly "kDictEntry": VariantClass + } + + class VariantParseError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": VariantParseError + static readonly "kBasicTypeExpected": VariantParseError + static readonly "kCannotInferType": VariantParseError + static readonly "kDefiniteTypeExpected": VariantParseError + static readonly "kInputNotAtEnd": VariantParseError + static readonly "kInvalidCharacter": VariantParseError + static readonly "kInvalidFormatString": VariantParseError + static readonly "kInvalidObjectPath": VariantParseError + static readonly "kInvalidSignature": VariantParseError + static readonly "kInvalidTypeString": VariantParseError + static readonly "kNoCommonType": VariantParseError + static readonly "kNumberOutOfRange": VariantParseError + static readonly "kNumberTooBig": VariantParseError + static readonly "kTypeError": VariantParseError + static readonly "kUnexpectedToken": VariantParseError + static readonly "kUnknownKeyword": VariantParseError + static readonly "kUnterminatedStringConstant": VariantParseError + static readonly "kValueExpected": VariantParseError + static readonly "kRecursion": VariantParseError + } + + class Win32OSType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAny": Win32OSType + static readonly "kWorkstation": Win32OSType + static readonly "kServer": Win32OSType + } + + + class EventListener { + disconnect(): void + getSignals(): string[] + } + + class IEventListener {} + + class Array { + data : string; + len : number; + + } + + class AsyncQueue { + length(): number; + lengthUnlocked(): number; + lock(): void; + pop(): void; + popUnlocked(): void; + push(): void; + pushFront(): void; + pushFrontUnlocked(): void; + pushUnlocked(): void; + refUnlocked(): void; + remove(): boolean; + removeUnlocked(): boolean; + timedPop(endTime: AuGlibEx.TimeVal): void; + timedPopUnlocked(endTime: AuGlibEx.TimeVal): void; + timeoutPop(timeout: number | bigint): void; + timeoutPopUnlocked(timeout: number | bigint): void; + tryPop(): void; + tryPopUnlocked(): void; + unlock(): void; + unref(): void; + unrefAndUnlock(): void; + } + + class BookmarkFile { + addApplication(uri: string, name: string | undefined | null, exec: string | undefined | null): void; + addGroup(uri: string, group: string): void; + free(): void; + getAdded(uri: string): number; + getAddedDateTime(uri: string): AuGlibEx.DateTime; + getAppInfo(uri: string, name: string, exec ?: string, count ?: number, stamp ?: number): boolean; + getApplicationInfo(uri: string, name: string, exec ?: string, count ?: number, stamp ?: AuGlibEx.DateTime): boolean; + getApplications(uri: string, length ?: number | bigint): string[]; + getDescription(uri: string): string; + getGroups(uri: string, length ?: number | bigint): string[]; + getIcon(uri: string, href ?: string, mimeType ?: string): boolean; + getIsPrivate(uri: string): boolean; + getMimeType(uri: string): string; + getModified(uri: string): number; + getModifiedDateTime(uri: string): AuGlibEx.DateTime; + getSize(): number; + getTitle(uri: string | undefined | null): string; + getUris(length ?: number | bigint): string[]; + getVisited(uri: string): number; + getVisitedDateTime(uri: string): AuGlibEx.DateTime; + hasApplication(uri: string, name: string): boolean; + hasGroup(uri: string, group: string): boolean; + hasItem(uri: string): boolean; + loadFromData(data: number[], length: number | bigint): boolean; + loadFromDataDirs(file: string, fullPath ?: string): boolean; + loadFromFile(filename: string): boolean; + moveItem(oldUri: string, newUri: string | undefined | null): boolean; + removeApplication(uri: string, name: string): boolean; + removeGroup(uri: string, group: string): boolean; + removeItem(uri: string): boolean; + setAdded(uri: string, added: number): void; + setAddedDateTime(uri: string, added: AuGlibEx.DateTime): void; + setAppInfo(uri: string, name: string, exec: string, count: number, stamp: number): boolean; + setApplicationInfo(uri: string, name: string, exec: string, count: number, stamp: AuGlibEx.DateTime | undefined | null): boolean; + setDescription(uri: string | undefined | null, description: string): void; + setGroups(uri: string, groups: string[] | undefined | null, length: number | bigint): void; + setIcon(uri: string, href: string | undefined | null, mimeType: string): void; + setIsPrivate(uri: string, isPrivate: boolean): void; + setMimeType(uri: string, mimeType: string): void; + setModified(uri: string, modified: number): void; + setModifiedDateTime(uri: string, modified: AuGlibEx.DateTime): void; + setTitle(uri: string | undefined | null, title: string): void; + setVisited(uri: string, visited: number): void; + setVisitedDateTime(uri: string, visited: AuGlibEx.DateTime): void; + toData(length ?: number | bigint): number[]; + toFile(filename: string): boolean; + static ErrorQuark(): number; + } + + class ByteArray { + data : number; + len : number; + + static Free(array: number[], freeSegment: boolean): number; + static FreeToBytes(array: number[]): AuGlibEx.Bytes; + static New(): number[]; + static NewTake(data: number[], len: number | bigint): number[]; + static Steal(array: number[], len ?: number | bigint): number; + static Unref(array: number[]): void; + } + + class Bytes { + static New(data: number[] | undefined | null, size: number | bigint): AuGlibEx.Bytes; + static NewTake(data: number[] | undefined | null, size: number | bigint): AuGlibEx.Bytes; + compare(bytes2: AuGlibEx.Bytes): number; + equal(bytes2: AuGlibEx.Bytes): boolean; + getData(size ?: number | bigint): number[]; + getRegion(elementSize: number | bigint, offset: number | bigint, nElements: number | bigint): void; + getSize(): number | bigint; + hash(): number; + newFromBytes(offset: number | bigint, length: number | bigint): AuGlibEx.Bytes; + ref(): AuGlibEx.Bytes; + unref(): void; + unrefToArray(): number[]; + unrefToData(size: number | bigint): number[]; + } + + class Checksum { + static New(checksumType: AuGlibEx.ChecksumType): AuGlibEx.Checksum; + copy(): AuGlibEx.Checksum; + free(): void; + getString(): string; + reset(): void; + update(data: number[], length: number | bigint): void; + static TypeGetLength(checksumType: AuGlibEx.ChecksumType): number | bigint; + } + + class Cond { /*unsupported*/ } + + class Data { + } + + class Date { + julianDays : number; + julian : number; + dmy : number; + day : number; + month : number; + YEar : number; + + static New(): AuGlibEx.Date; + static NewDmy(day: number, month: AuGlibEx.DateMonth, YEar: number): AuGlibEx.Date; + static NewJulian(julianDay: number): AuGlibEx.Date; + addDays(nDays: number): void; + addMonths(nMonths: number): void; + addYEars(nYEars: number): void; + clamp(minDate: AuGlibEx.Date, maxDate: AuGlibEx.Date): void; + clear(nDates: number): void; + compare(rhs: AuGlibEx.Date): number; + copy(): AuGlibEx.Date; + daysBetween(date2: AuGlibEx.Date): number; + free(): void; + getDay(): number; + getDayOfYEar(): number; + getIso8601WeekOfYEar(): number; + getJulian(): number; + getMondayWeekOfYEar(): number; + getMonth(): AuGlibEx.DateMonth; + getSundayWeekOfYEar(): number; + getWeekday(): AuGlibEx.DateWeekday; + getYEar(): number; + isFirstOfMonth(): boolean; + isLastOfMonth(): boolean; + order(date2: AuGlibEx.Date): void; + setDay(day: number): void; + setDmy(day: number, month: AuGlibEx.DateMonth, y: number): void; + setJulian(julianDate: number): void; + setMonth(month: AuGlibEx.DateMonth): void; + setParse(str: string): void; + setTime(time: number): void; + setTimeT(timet: number): void; + setTimeVal(timeval: AuGlibEx.TimeVal): void; + setYEar(YEar: number): void; + subtractDays(nDays: number): void; + subtractMonths(nMonths: number): void; + subtractYEars(nYEars: number): void; + toStructTm(): void; + valid(): boolean; + static GetDaysInMonth(month: AuGlibEx.DateMonth, YEar: number): number; + static GetMondayWeeksInYEar(YEar: number): number; + static GetSundayWeeksInYEar(YEar: number): number; + static IsLeapYEar(YEar: number): boolean; + static Strftime(s: string, slen: number | bigint, format: string, date: AuGlibEx.Date): number | bigint; + static ValidDay(day: number): boolean; + static ValidDmy(day: number, month: AuGlibEx.DateMonth, YEar: number): boolean; + static ValidJulian(julianDate: number): boolean; + static ValidMonth(month: AuGlibEx.DateMonth): boolean; + static ValidWeekday(weekday: AuGlibEx.DateWeekday): boolean; + static ValidYEar(YEar: number): boolean; + } + + class DateTime { + static New(tz: AuGlibEx.TimeZone, YEar: number, month: number, day: number, hour: number, minute: number, seconds: number): AuGlibEx.DateTime; + static NewFromIso8601(text: string, defaultTz: AuGlibEx.TimeZone | undefined | null): AuGlibEx.DateTime; + static NewFromTimevalLocal(tv: AuGlibEx.TimeVal): AuGlibEx.DateTime; + static NewFromTimevalUtc(tv: AuGlibEx.TimeVal): AuGlibEx.DateTime; + static NewFromUnixLocal(t: number | bigint): AuGlibEx.DateTime; + static NewFromUnixUtc(t: number | bigint): AuGlibEx.DateTime; + static NewLocal(YEar: number, month: number, day: number, hour: number, minute: number, seconds: number): AuGlibEx.DateTime; + static NewNow(tz: AuGlibEx.TimeZone): AuGlibEx.DateTime; + static NewNowLocal(): AuGlibEx.DateTime; + static NewNowUtc(): AuGlibEx.DateTime; + static NewUtc(YEar: number, month: number, day: number, hour: number, minute: number, seconds: number): AuGlibEx.DateTime; + add(timespan: number | bigint): AuGlibEx.DateTime; + addDays(days: number): AuGlibEx.DateTime; + addFull(YEars: number, months: number, days: number, hours: number, minutes: number, seconds: number): AuGlibEx.DateTime; + addHours(hours: number): AuGlibEx.DateTime; + addMinutes(minutes: number): AuGlibEx.DateTime; + addMonths(months: number): AuGlibEx.DateTime; + addSeconds(seconds: number): AuGlibEx.DateTime; + addWeeks(weeks: number): AuGlibEx.DateTime; + addYEars(YEars: number): AuGlibEx.DateTime; + compare(dt2: AuGlibEx.DateTime): number; + difference(begin: AuGlibEx.DateTime): number | bigint; + equal(dt2: AuGlibEx.DateTime): boolean; + format(format: string): string; + formatIso8601(): string; + getDayOfMonth(): number; + getDayOfWeek(): number; + getDayOfYEar(): number; + getHour(): number; + getMicrosecond(): number; + getMinute(): number; + getMonth(): number; + getSecond(): number; + getSeconds(): number; + getTimezone(): AuGlibEx.TimeZone; + getTimezoneAbbreviation(): string; + getUtcOffset(): number | bigint; + getWeekNumberingYEar(): number; + getWeekOfYEar(): number; + getYEar(): number; + getYMd(YEar ?: number, month ?: number, day ?: number): void; + hash(): number; + isDaylightSavings(): boolean; + ref(): AuGlibEx.DateTime; + toLocal(): AuGlibEx.DateTime; + toTimeval(tv: AuGlibEx.TimeVal): boolean; + toTimezone(tz: AuGlibEx.TimeZone): AuGlibEx.DateTime; + toUnix(): number | bigint; + toUtc(): AuGlibEx.DateTime; + unref(): void; + } + + class DebugKey { + key : string; + value : number; + + } + + class Dir { + close(): void; + readName(): string; + rewind(): void; + static MakeTmp(tmpl: string | undefined | null): string; + } + + class Error { + domain : number; + code : number; + message : string; + + static NewLiteral(domain: number, code: number, message: string): AuGlibEx.Error; + copy(): AuGlibEx.Error; + free(): void; + matches(domain: number, code: number): boolean; + } + + class HashTable { + static Add(hashTable: number): boolean; + static Contains(hashTable: number): boolean; + static Destroy(hashTable: number): void; + static Insert(hashTable: number): boolean; + static Lookup(hashTable: number): void; + static LookupExtended(hashTable: number): boolean; + static NewSimilar(otherHashTable: number): number; + static Remove(hashTable: number): boolean; + static RemoveAll(hashTable: number): void; + static Replace(hashTable: number): boolean; + static Size(hashTable: number): number; + static Steal(hashTable: number): boolean; + static StealAll(hashTable: number): void; + static StealExtended(hashTable: number): boolean; + static Unref(hashTable: number): void; + } + + class HashTableIter { + dummy1 : void; + dummy2 : void; + dummy3 : void; + dummy4 : number; + dummy5 : boolean; + dummy6 : void; + + init(hashTable: number): void; + next(): boolean; + remove(): void; + replace(): void; + steal(): void; + } + + class Hmac { + getDigest(buffer: number[], digestLen: number | bigint): void; + getString(): string; + unref(): void; + update(data: number[], length: number | bigint): void; + } + + class Hook { + data : void; + next : AuGlibEx.Hook; + prev : AuGlibEx.Hook; + refCount : number; + hookId : number; + flags : number; + func : void; + destroy : () => void; + + compareIds(sibling: AuGlibEx.Hook): number; + static Destroy(hookList: AuGlibEx.HookList, hookId: number): boolean; + static DestroyLink(hookList: AuGlibEx.HookList, hook: AuGlibEx.Hook): void; + static Free(hookList: AuGlibEx.HookList, hook: AuGlibEx.Hook): void; + static InsertBefore(hookList: AuGlibEx.HookList, sibling: AuGlibEx.Hook | undefined | null, hook: AuGlibEx.Hook): void; + static Prepend(hookList: AuGlibEx.HookList, hook: AuGlibEx.Hook): void; + static Unref(hookList: AuGlibEx.HookList, hook: AuGlibEx.Hook): void; + } + + class HookList { + seqId : number; + hookSize : number; + isSetup : number; + hooks : AuGlibEx.Hook; + dummy3 : void; + finalizeHook : (hookList: AuGlibEx.HookList, hook: AuGlibEx.Hook) => void; + + clear(): void; + init(hookSize: number): void; + invoke(mayRecurse: boolean): void; + invokeCheck(mayRecurse: boolean): void; + } + + class IOChannel { + refCount : number; + funcs : AuGlibEx.IOFuncs; + encoding : string; + readCd : void; + writeCd : void; + lineTerm : string; + lineTermLen : number; + bufSize : number | bigint; + readBuf : AuGlibEx.String; + encodedReadBuf : AuGlibEx.String; + writeBuf : AuGlibEx.String; + partialWriteBuf : number[]; + useBuffer : number; + doEncode : number; + closeOnUnref : number; + isReadable : number; + isWriteable : number; + isSeekable : number; + reserved1 : void; + reserved2 : void; + + static NewFile(filename: string, mode: string): AuGlibEx.IOChannel; + static UnixNew(fd: number): AuGlibEx.IOChannel; + static Win32NewFd(fd: number): AuGlibEx.IOChannel; + static Win32NewMessages(hwnd: number | bigint): AuGlibEx.IOChannel; + static Win32NewSocket(socket: number): AuGlibEx.IOChannel; + static Win32NewStreamSocket(socket: number): AuGlibEx.IOChannel; + close(): void; + flush(): AuGlibEx.IOStatus; + getBufferCondition(): AuGlibEx.IOCondition; + getBufferSize(): number | bigint; + getBuffered(): boolean; + getCloseOnUnref(): boolean; + getEncoding(): string; + getFlags(): AuGlibEx.IOFlags; + getLineTerm(length: number): string; + init(): void; + read(buf: string, count: number | bigint, bytesRead: number | bigint): AuGlibEx.IOError; + readChars(buf: number[], count: number | bigint, bytesRead ?: number | bigint): AuGlibEx.IOStatus; + readLine(strReturn: string, length ?: number | bigint, terminatorPos ?: number | bigint): AuGlibEx.IOStatus; + readLineString(buffer: AuGlibEx.String, terminatorPos: number | bigint | undefined | null): AuGlibEx.IOStatus; + readToEnd(strReturn: number[], length: number | bigint): AuGlibEx.IOStatus; + readUnichar(thechar: string): AuGlibEx.IOStatus; + ref(): AuGlibEx.IOChannel; + seek(offset: number | bigint, type: AuGlibEx.SeekType): AuGlibEx.IOError; + seekPosition(offset: number | bigint, type: AuGlibEx.SeekType): AuGlibEx.IOStatus; + setBufferSize(size: number | bigint): void; + setBuffered(buffered: boolean): void; + setCloseOnUnref(doClose: boolean): void; + setEncoding(encoding: string | undefined | null): AuGlibEx.IOStatus; + setFlags(flags: AuGlibEx.IOFlags): AuGlibEx.IOStatus; + setLineTerm(lineTerm: string | undefined | null, length: number): void; + shutdown(flush: boolean): AuGlibEx.IOStatus; + unixGetFd(): number; + unref(): void; + win32GetFd(): number; + win32MakePollfd(condition: AuGlibEx.IOCondition, fd: AuGlibEx.PollFD): void; + win32SetDebug(flag: boolean): void; + write(buf: string, count: number | bigint, bytesWritten: number | bigint): AuGlibEx.IOError; + writeChars(buf: number[], count: number | bigint, bytesWritten: number | bigint): AuGlibEx.IOStatus; + writeUnichar(thechar: string): AuGlibEx.IOStatus; + static ErrorFromErrno(en: number): AuGlibEx.IOChannelError; + static ErrorQuark(): number; + static Win32Poll(fds: AuGlibEx.PollFD, nFds: number, timeout: number): number; + } + + class IOFuncs { + ioRead : (channel: AuGlibEx.IOChannel, buf: string, count: number | bigint, bytesRead: number | bigint) => AuGlibEx.IOStatus; + ioWrite : (channel: AuGlibEx.IOChannel, buf: string, count: number | bigint, bytesWritten: number | bigint) => AuGlibEx.IOStatus; + ioSeek : (channel: AuGlibEx.IOChannel, offset: number | bigint, type: AuGlibEx.SeekType) => AuGlibEx.IOStatus; + ioClose : (channel: AuGlibEx.IOChannel) => AuGlibEx.IOStatus; + ioCreateWatch : (channel: AuGlibEx.IOChannel, condition: AuGlibEx.IOCondition) => AuGlibEx.Source; + ioFree : (channel: AuGlibEx.IOChannel) => void; + ioSetFlags : (channel: AuGlibEx.IOChannel, flags: AuGlibEx.IOFlags) => AuGlibEx.IOStatus; + ioGetFlags : (channel: AuGlibEx.IOChannel) => AuGlibEx.IOFlags; + + } + + class KeyFile { + static New(): AuGlibEx.KeyFile; + getBoolean(groupName: string, key: string): boolean; + getBooleanList(groupName: string, key: string, length: number | bigint): boolean[]; + getComment(groupName: string | undefined | null, key: string | undefined | null): string; + getDouble(groupName: string, key: string): number; + getDoubleList(groupName: string, key: string, length: number | bigint): number[]; + getGroups(length ?: number | bigint): string[]; + getInt64(groupName: string, key: string): number | bigint; + getInteger(groupName: string, key: string): number; + getIntegerList(groupName: string, key: string, length: number | bigint): number[]; + getKeys(groupName: string, length ?: number | bigint): string[]; + getLocaleForKey(groupName: string, key: string, locale: string | undefined | null): string; + getLocaleString(groupName: string, key: string, locale: string | undefined | null): string; + getLocaleStringList(groupName: string, key: string, locale: string | undefined | null, length ?: number | bigint): string[]; + getStartGroup(): string; + getString(groupName: string, key: string): string; + getStringList(groupName: string, key: string, length ?: number | bigint): string[]; + getUint64(groupName: string, key: string): number | bigint; + getValue(groupName: string, key: string): string; + hasGroup(groupName: string): boolean; + loadFromBytes(bytes: AuGlibEx.Bytes, flags: AuGlibEx.KeyFileFlags): boolean; + loadFromData(data: string, length: number | bigint, flags: AuGlibEx.KeyFileFlags): boolean; + loadFromDataDirs(file: string, fullPath ?: string, flags ?: AuGlibEx.KeyFileFlags): boolean; + loadFromDirs(file: string, searchDirs: string[], fullPath ?: string, flags ?: AuGlibEx.KeyFileFlags): boolean; + loadFromFile(file: string, flags: AuGlibEx.KeyFileFlags): boolean; + removeComment(groupName: string | undefined | null, key: string | undefined | null): boolean; + removeGroup(groupName: string): boolean; + removeKey(groupName: string, key: string): boolean; + saveToFile(filename: string): boolean; + setBoolean(groupName: string, key: string, value: boolean): void; + setBooleanList(groupName: string, key: string, list: boolean[], length: number | bigint): void; + setComment(groupName: string | undefined | null, key: string | undefined | null, comment: string): boolean; + setDouble(groupName: string, key: string, value: number): void; + setDoubleList(groupName: string, key: string, list: number[], length: number | bigint): void; + setInt64(groupName: string, key: string, value: number | bigint): void; + setInteger(groupName: string, key: string, value: number): void; + setIntegerList(groupName: string, key: string, list: number[], length: number | bigint): void; + setListSeparator(separator: number): void; + setLocaleString(groupName: string, key: string, locale: string, string: string): void; + setLocaleStringList(groupName: string, key: string, locale: string, list: string[], length: number | bigint): void; + setString(groupName: string, key: string, string: string): void; + setStringList(groupName: string, key: string, list: string[], length: number | bigint): void; + setUint64(groupName: string, key: string, value: number | bigint): void; + setValue(groupName: string, key: string, value: string): void; + toData(length ?: number | bigint): string; + unref(): void; + static ErrorQuark(): number; + } + + class List { + data : void; + + } + + class LogField { + key : string; + value : void; + length : number | bigint; + + } + + class MainContext { /*unsupported*/ } + + class MainLoop { + static New(context: AuGlibEx.MainContext | undefined | null, isRunning: boolean): AuGlibEx.MainLoop; + getContext(): AuGlibEx.MainContext; + isRunning(): boolean; + quit(): void; + ref(): AuGlibEx.MainLoop; + run(): void; + unref(): void; + } + + class MappedFile { + static New(filename: string, writable: boolean): AuGlibEx.MappedFile; + static NewFromFd(fd: number, writable: boolean): AuGlibEx.MappedFile; + free(): void; + getBytes(): AuGlibEx.Bytes; + getContents(): string; + getLength(): number | bigint; + ref(): AuGlibEx.MappedFile; + unref(): void; + } + + class MarkupParseContext { + static New(parser: AuGlibEx.MarkupParser, flags: AuGlibEx.MarkupParseFlags, userDataDnotify: () => void): AuGlibEx.MarkupParseContext; + endParse(): boolean; + free(): void; + getElement(): string; + getPosition(lineNumber ?: number, charNumber ?: number): void; + getUserData(): void; + parse(text: string, textLen: number | bigint): boolean; + pop(): void; + push(parser: AuGlibEx.MarkupParser): void; + ref(): AuGlibEx.MarkupParseContext; + unref(): void; + } + + class MarkupParser { + startElement : (context: AuGlibEx.MarkupParseContext, elementName: string, attributeNames: string, attributeValues: string) => void; + endElement : (context: AuGlibEx.MarkupParseContext, elementName: string) => void; + text : (context: AuGlibEx.MarkupParseContext, text: string, textLen: number | bigint) => void; + passthrough : (context: AuGlibEx.MarkupParseContext, passthroughText: string, textLen: number | bigint) => void; + error : (context: AuGlibEx.MarkupParseContext, error: AuGlibEx.Error) => void; + + } + + class MatchInfo { + expandReferences(stringToExpand: string): string; + fetch(matchNum: number): string; + fetchAll(): string[]; + fetchNamed(name: string): string; + fetchNamedPos(name: string, startPos ?: number, endPos ?: number): boolean; + fetchPos(matchNum: number, startPos ?: number, endPos ?: number): boolean; + free(): void; + getMatchCount(): number; + getRegex(): AuGlibEx.Regex; + getString(): string; + isPartialMatch(): boolean; + matches(): boolean; + next(): boolean; + ref(): AuGlibEx.MatchInfo; + unref(): void; + } + + class MemVTable { + malloc : (nBytes: number | bigint) => void; + realloc : (nBytes: number | bigint) => void; + free : () => void; + calloc : (nBlocks: number | bigint, nBlockBytes: number | bigint) => void; + tryMalloc : (nBytes: number | bigint) => void; + tryRealloc : (nBytes: number | bigint) => void; + + } + + class Node { + data : void; + next : AuGlibEx.Node; + prev : AuGlibEx.Node; + parent : AuGlibEx.Node; + children : AuGlibEx.Node; + + childIndex(): number; + childPosition(child: AuGlibEx.Node): number; + depth(): number; + destroy(): void; + isAncestor(descendant: AuGlibEx.Node): boolean; + maxHeight(): number; + nChildren(): number; + nNodes(flags: AuGlibEx.TraverseFlags): number; + reverseChildren(): void; + unlink(): void; + } + + class Once { + status : AuGlibEx.OnceStatus; + retval : void; + + static InitEnter(): boolean; + static InitLeave(result: number | bigint): void; + } + + class OptionContext { + addGroup(group: AuGlibEx.OptionGroup): void; + addMainEntries(entries: AuGlibEx.OptionEntry[], translationDomain: string | undefined | null): void; + free(): void; + getDescription(): string; + getHelp(mainHelp: boolean, group: AuGlibEx.OptionGroup | undefined | null): string; + getHelpEnabled(): boolean; + getIgnoreUnknownOptions(): boolean; + getMainGroup(): AuGlibEx.OptionGroup; + getStrictPosix(): boolean; + getSummary(): string; + parse(argc ?: number, argv ?: string[]): boolean; + parseStrv(arguments ?: string[]): boolean; + setDescription(description: string | undefined | null): void; + setHelpEnabled(helpEnabled: boolean): void; + setIgnoreUnknownOptions(ignoreUnknown: boolean): void; + setMainGroup(group: AuGlibEx.OptionGroup): void; + setStrictPosix(strictPosix: boolean): void; + setSummary(summary: string | undefined | null): void; + setTranslateFunc(func: (str: string) => string | undefined | null, destroyNotify: () => void | undefined | null): void; + setTranslationDomain(domain: string): void; + } + + class OptionEntry { + longName : string; + shortName : number; + flags : number; + arg : AuGlibEx.OptionArg; + argData : void; + description : string; + argDescription : string; + + } + + class OptionGroup { + static New(name: string, description: string, helpDescription: string, destroy: () => void | undefined | null): AuGlibEx.OptionGroup; + addEntries(entries: AuGlibEx.OptionEntry[]): void; + free(): void; + ref(): AuGlibEx.OptionGroup; + setTranslateFunc(func: (str: string) => string | undefined | null, destroyNotify: () => void | undefined | null): void; + setTranslationDomain(domain: string): void; + unref(): void; + } + + class PatternSpec { + static New(pattern: string): AuGlibEx.PatternSpec; + copy(): AuGlibEx.PatternSpec; + equal(pspec2: AuGlibEx.PatternSpec): boolean; + free(): void; + match(stringLength: number | bigint, string: string, stringReversed: string | undefined | null): boolean; + matchString(string: string): boolean; + } + + class PollFD { + fd : number | bigint; + events : number; + revents : number; + + } + + class Private { + p : void; + notify : () => void; + + get(): void; + replace(): void; + set(): void; + } + + class PtrArray { + pdata : void; + len : number; + + } + + class Queue { + length : number; + + clear(): void; + clearFull(freeFunc: () => void | undefined | null): void; + free(): void; + freeFull(freeFunc: () => void): void; + getLength(): number; + index(): number; + init(): void; + isEmpty(): boolean; + peekHead(): void; + peekNth(n: number): void; + peekTail(): void; + popHead(): void; + popNth(n: number): void; + popTail(): void; + pushHead(): void; + pushNth(n: number): void; + pushTail(): void; + remove(): boolean; + removeAll(): number; + reverse(): void; + } + + class RWLock { + p : void; + i : number[]; + + clear(): void; + init(): void; + readerLock(): void; + readerTrylock(): boolean; + readerUnlock(): void; + writerLock(): void; + writerTrylock(): boolean; + writerUnlock(): void; + } + + class Rand { + double(): number; + doubleRange(begin: number, end: number): number; + free(): void; + int(): number; + intRange(begin: number, end: number): number; + setSeed(seed: number): void; + setSeedArray(seed: number, seedLength: number): void; + } + + class RecMutex { + p : void; + i : number[]; + + clear(): void; + init(): void; + lock(): void; + trylock(): boolean; + unlock(): void; + } + + class Regex { + static New(pattern: string, compileOptions: AuGlibEx.RegexCompileFlags, matchOptions: AuGlibEx.RegexMatchFlags): AuGlibEx.Regex; + getCaptureCount(): number; + getCompileFlags(): AuGlibEx.RegexCompileFlags; + getHasCrOrLf(): boolean; + getMatchFlags(): AuGlibEx.RegexMatchFlags; + getMaxBackref(): number; + getMaxLookbehind(): number; + getPattern(): string; + getStringNumber(name: string): number; + match(string: string, matchOptions: AuGlibEx.RegexMatchFlags, matchInfo ?: AuGlibEx.MatchInfo): boolean; + matchAll(string: string, matchOptions: AuGlibEx.RegexMatchFlags, matchInfo ?: AuGlibEx.MatchInfo): boolean; + matchAllFull(string: string[], stringLen: number | bigint, startPosition: number, matchOptions: AuGlibEx.RegexMatchFlags, matchInfo ?: AuGlibEx.MatchInfo): boolean; + matchFull(string: string[], stringLen: number | bigint, startPosition: number, matchOptions: AuGlibEx.RegexMatchFlags, matchInfo ?: AuGlibEx.MatchInfo): boolean; + ref(): AuGlibEx.Regex; + replace(string: string[], stringLen: number | bigint, startPosition: number, replacement: string, matchOptions: AuGlibEx.RegexMatchFlags): string; + replaceLiteral(string: string[], stringLen: number | bigint, startPosition: number, replacement: string, matchOptions: AuGlibEx.RegexMatchFlags): string; + split(string: string, matchOptions: AuGlibEx.RegexMatchFlags): string[]; + splitFull(string: string[], stringLen: number | bigint, startPosition: number, matchOptions: AuGlibEx.RegexMatchFlags, maxTokens: number): string[]; + unref(): void; + static CheckReplacement(replacement: string, hasReferences ?: boolean): boolean; + static ErrorQuark(): number; + static EscapeNul(string: string, length: number): string; + static EscapeString(string: string[], length: number): string; + static MatchSimple(pattern: string, string: string, compileOptions: AuGlibEx.RegexCompileFlags, matchOptions: AuGlibEx.RegexMatchFlags): boolean; + static SplitSimple(pattern: string, string: string, compileOptions: AuGlibEx.RegexCompileFlags, matchOptions: AuGlibEx.RegexMatchFlags): string[]; + } + + class SList { + data : void; + + } + + class Scanner { /*unsupported*/ } + + class ScannerConfig { + csetSkipCharacters : string; + csetIdentifierFirst : string; + csetIdentifierNth : string; + cpairCommentSingle : string; + caseSensitive : number; + skipCommentMulti : number; + skipCommentSingle : number; + scanCommentMulti : number; + scanIdentifier : number; + scanIdentifier1char : number; + scanIdentifierNULL : number; + scanSymbols : number; + scanBinary : number; + scanOctal : number; + scanFloat : number; + scanHex : number; + scanHexDollar : number; + scanStringSq : number; + scanStringDq : number; + numbers2Int : number; + int2Float : number; + identifier2String : number; + char2Token : number; + symbol2Token : number; + scope0Fallback : number; + storeInt64 : number; + paddingDummy : number; + + } + + class Sequence { + append(): AuGlibEx.SequenceIter; + free(): void; + getBeginIter(): AuGlibEx.SequenceIter; + getEndIter(): AuGlibEx.SequenceIter; + getIterAtPos(pos: number): AuGlibEx.SequenceIter; + getLength(): number; + isEmpty(): boolean; + prepend(): AuGlibEx.SequenceIter; + static Get(iter: AuGlibEx.SequenceIter): void; + static InsertBefore(iter: AuGlibEx.SequenceIter): AuGlibEx.SequenceIter; + static Move(src: AuGlibEx.SequenceIter, dest: AuGlibEx.SequenceIter): void; + static MoveRange(dest: AuGlibEx.SequenceIter, begin: AuGlibEx.SequenceIter, end: AuGlibEx.SequenceIter): void; + static RangeGetMidpoint(begin: AuGlibEx.SequenceIter, end: AuGlibEx.SequenceIter): AuGlibEx.SequenceIter; + static Remove(iter: AuGlibEx.SequenceIter): void; + static RemoveRange(begin: AuGlibEx.SequenceIter, end: AuGlibEx.SequenceIter): void; + static Set(iter: AuGlibEx.SequenceIter): void; + static Swap(a: AuGlibEx.SequenceIter, b: AuGlibEx.SequenceIter): void; + } + + class SequenceIter { + compare(b: AuGlibEx.SequenceIter): number; + getPosition(): number; + getSequence(): AuGlibEx.Sequence; + isBegin(): boolean; + isEnd(): boolean; + move(delta: number): AuGlibEx.SequenceIter; + next(): AuGlibEx.SequenceIter; + prev(): AuGlibEx.SequenceIter; + } + + class Source { + callbackData : void; + callbackFuncs : AuGlibEx.SourceCallbackFuncs; + sourceFuncs : AuGlibEx.SourceFuncs; + refCount : number; + context : AuGlibEx.MainContext; + priority : number; + flags : number; + sourceId : number; + prev : AuGlibEx.Source; + next : AuGlibEx.Source; + name : string; + priv : AuGlibEx.SourcePrivate; + + static New(sourceFuncs: AuGlibEx.SourceFuncs, structSize: number): AuGlibEx.Source; + addChildSource(childSource: AuGlibEx.Source): void; + addPoll(fd: AuGlibEx.PollFD): void; + attach(context: AuGlibEx.MainContext | undefined | null): number; + destroy(): void; + getCanRecurse(): boolean; + getContext(): AuGlibEx.MainContext; + getCurrentTime(timeval: AuGlibEx.TimeVal): void; + getId(): number; + getName(): string; + getPriority(): number; + getReadyTime(): number | bigint; + getTime(): number | bigint; + isDestroyed(): boolean; + ref(): AuGlibEx.Source; + removeChildSource(childSource: AuGlibEx.Source): void; + removePoll(fd: AuGlibEx.PollFD): void; + setCallback(func: () => boolean, notify: () => void | undefined | null): void; + setCallbackIndirect(callbackFuncs: AuGlibEx.SourceCallbackFuncs): void; + setCanRecurse(canRecurse: boolean): void; + setFuncs(funcs: AuGlibEx.SourceFuncs): void; + setName(name: string): void; + setPriority(priority: number): void; + setReadyTime(readyTime: number | bigint): void; + setStaticName(name: string): void; + unref(): void; + static Remove(tag: number): boolean; + static RemoveByFuncsUserData(funcs: AuGlibEx.SourceFuncs): boolean; + static RemoveByUserData(): boolean; + static SetNameById(tag: number, name: string): void; + } + + class SourceCallbackFuncs { + ref : () => void; + unref : () => void; + get : void; + + } + + class SourceFuncs { + prepare : (source: AuGlibEx.Source, timeout: number) => boolean; + check : (source: AuGlibEx.Source) => boolean; + dispatch : void; + finalize : (source: AuGlibEx.Source) => void; + closureCallback : () => boolean; + closureMarshal : () => void; + + } + + class SourcePrivate { + } + + class StatBuf { + } + + class String { + str : string; + len : number | bigint; + allocatedLen : number | bigint; + + static New(init: string | undefined | null): AuGlibEx.String; + static NewLen(init: string, len: number | bigint): AuGlibEx.String; + static SizedNew(dflSize: number | bigint): AuGlibEx.String; + append(val: string): AuGlibEx.String; + appendC(c: number): AuGlibEx.String; + appendLen(val: string, len: number | bigint): AuGlibEx.String; + appendUnichar(wc: string): AuGlibEx.String; + appendUriEscaped(unescaped: string, reservedCharsAllowed: string, allowUtf8: boolean): AuGlibEx.String; + asciiDown(): AuGlibEx.String; + asciiUp(): AuGlibEx.String; + assign(rval: string): AuGlibEx.String; + down(): AuGlibEx.String; + equal(v2: AuGlibEx.String): boolean; + erase(pos: number | bigint, len: number | bigint): AuGlibEx.String; + free(freeSegment: boolean): string; + freeToBytes(): AuGlibEx.Bytes; + hash(): number; + insert(pos: number | bigint, val: string): AuGlibEx.String; + insertC(pos: number | bigint, c: number): AuGlibEx.String; + insertLen(pos: number | bigint, val: string, len: number | bigint): AuGlibEx.String; + insertUnichar(pos: number | bigint, wc: string): AuGlibEx.String; + overwrite(pos: number | bigint, val: string): AuGlibEx.String; + overwriteLen(pos: number | bigint, val: string, len: number | bigint): AuGlibEx.String; + prepend(val: string): AuGlibEx.String; + prependC(c: number): AuGlibEx.String; + prependLen(val: string, len: number | bigint): AuGlibEx.String; + prependUnichar(wc: string): AuGlibEx.String; + replace(find: string, replace: string, limit: number): number; + setSize(len: number | bigint): AuGlibEx.String; + truncate(len: number | bigint): AuGlibEx.String; + up(): AuGlibEx.String; + } + + class StringChunk { + clear(): void; + free(): void; + insert(string: string): string; + insertConst(string: string): string; + insertLen(string: string, len: number | bigint): string; + } + + class StrvBuilder { + add(value: string): void; + addv(value: string[]): void; + end(): string[]; + unref(): void; + } + + class TestCase { + free(): void; + } + + class TestConfig { + testInitialized : boolean; + testQuick : boolean; + testPerf : boolean; + testVerbose : boolean; + testQuiet : boolean; + testUndefined : boolean; + + } + + class TestLogBuffer { + data : AuGlibEx.String; + + free(): void; + push(nBytes: number, bytes: number): void; + } + + class TestLogMsg { + logType : AuGlibEx.TestLogType; + nStrings : number; + strings : string; + nNums : number; + nums : void; + + free(): void; + } + + class TestSuite { + add(testCase: AuGlibEx.TestCase): void; + addSuite(nestedsuite: AuGlibEx.TestSuite): void; + free(): void; + } + + class Thread { + static New(name: string | undefined | null, func: () => void): AuGlibEx.Thread; + static TryNew(name: string | undefined | null, func: () => void): AuGlibEx.Thread; + join(): void; + ref(): AuGlibEx.Thread; + unref(): void; + static ErrorQuark(): number; + static Exit(): void; + static Self(): AuGlibEx.Thread; + static YIeld(): void; + } + + class ThreadPool { + func : () => void; + userData : void; + exclusive : boolean; + + free(immediate: boolean, wait: boolean): void; + getMaxThreads(): number; + getNumThreads(): number; + moveToFront(): boolean; + push(): boolean; + setMaxThreads(maxThreads: number): boolean; + unprocessed(): number; + static GetMaxIdleTime(): number; + static GetMaxUnusedThreads(): number; + static GetNumUnusedThreads(): number; + static SetMaxIdleTime(interval: number): void; + static SetMaxUnusedThreads(maxThreads: number): void; + static StopUnusedThreads(): void; + } + + class TimeVal { + tvSec : number; + tvUsec : number; + + add(microseconds: number): void; + toIso8601(): string; + static FromIso8601(isoDate: string, time: AuGlibEx.TimeVal): boolean; + } + + class TimeZone { + static New(identifier: string | undefined | null): AuGlibEx.TimeZone; + static NewIdentifier(identifier: string | undefined | null): AuGlibEx.TimeZone; + static NewLocal(): AuGlibEx.TimeZone; + static NewOffset(seconds: number): AuGlibEx.TimeZone; + static NewUtc(): AuGlibEx.TimeZone; + adjustTime(type: AuGlibEx.TimeType, time: number | bigint): number; + findInterval(type: AuGlibEx.TimeType, time: number | bigint): number; + getAbbreviation(interval: number): string; + getIdentifier(): string; + getOffset(interval: number): number; + isDst(interval: number): boolean; + ref(): AuGlibEx.TimeZone; + unref(): void; + } + + class Timer { + continue(): void; + destroy(): void; + elapsed(microseconds: number): number; + isActive(): boolean; + reset(): void; + start(): void; + stop(): void; + } + + class TrashStack { + next : AuGlibEx.TrashStack; + + static Height(stackP: AuGlibEx.TrashStack): number; + static Peek(stackP: AuGlibEx.TrashStack): void; + static Pop(stackP: AuGlibEx.TrashStack): void; + static Push(stackP: AuGlibEx.TrashStack): void; + } + + class Tree { + static NewFull(keyCompareFunc: () => number, keyDestroyFunc: () => void, valueDestroyFunc: () => void): AuGlibEx.Tree; + destroy(): void; + height(): number; + insert(): void; + insertNode(): AuGlibEx.TreeNode; + lookup(): void; + lookupExtended(): boolean; + lookupNode(): AuGlibEx.TreeNode; + lowerBound(): AuGlibEx.TreeNode; + nnodes(): number; + nodeFirst(): AuGlibEx.TreeNode; + nodeLast(): AuGlibEx.TreeNode; + ref(): AuGlibEx.Tree; + remove(): boolean; + removeAll(): void; + replace(): void; + replaceNode(): AuGlibEx.TreeNode; + steal(): boolean; + unref(): void; + upperBound(): AuGlibEx.TreeNode; + } + + class TreeNode { + key(): void; + next(): AuGlibEx.TreeNode; + previous(): AuGlibEx.TreeNode; + value(): void; + } + + class Uri { + getAuthParams(): string; + getFlags(): AuGlibEx.UriFlags; + getFragment(): string; + getHost(): string; + getPassword(): string; + getPath(): string; + getPort(): number; + getQuery(): string; + getScheme(): string; + getUser(): string; + getUserinfo(): string; + parseRelative(uriRef: string, flags: AuGlibEx.UriFlags): AuGlibEx.Uri; + toStringPartial(flags: AuGlibEx.UriHideFlags): string; + static Build(flags: AuGlibEx.UriFlags, scheme: string, userinfo: string | undefined | null, host: string | undefined | null, port: number, path: string, query: string | undefined | null, fragment: string | undefined | null): AuGlibEx.Uri; + static BuildWithUser(flags: AuGlibEx.UriFlags, scheme: string, user: string | undefined | null, password: string | undefined | null, authParams: string | undefined | null, host: string | undefined | null, port: number, path: string, query: string | undefined | null, fragment: string | undefined | null): AuGlibEx.Uri; + static ErrorQuark(): number; + static EscapeBytes(unescaped: number[], length: number | bigint, reservedCharsAllowed: string | undefined | null): string; + static EscapeString(unescaped: string, reservedCharsAllowed: string | undefined | null, allowUtf8: boolean): string; + static IsValid(uriString: string, flags: AuGlibEx.UriFlags): boolean; + static Join(flags: AuGlibEx.UriFlags, scheme: string | undefined | null, userinfo: string | undefined | null, host: string | undefined | null, port: number, path: string, query: string | undefined | null, fragment: string | undefined | null): string; + static JoinWithUser(flags: AuGlibEx.UriFlags, scheme: string | undefined | null, user: string | undefined | null, password: string | undefined | null, authParams: string | undefined | null, host: string | undefined | null, port: number, path: string, query: string | undefined | null, fragment: string | undefined | null): string; + static ListExtractUris(uriList: string): string[]; + static Parse(uriString: string, flags: AuGlibEx.UriFlags): AuGlibEx.Uri; + static ParseParams(params: string, length: number | bigint, separators: string, flags: AuGlibEx.UriParamsFlags): number; + static ParseScheme(uri: string): string; + static PeekScheme(uri: string): string; + static ResolveRelative(baseUriString: string | undefined | null, uriRef: string, flags: AuGlibEx.UriFlags): string; + static Split(uriRef: string, flags: AuGlibEx.UriFlags, scheme ?: string | undefined | null, userinfo ?: string | undefined | null, host ?: string | undefined | null, port ?: number, path ?: string, query ?: string | undefined | null, fragment ?: string | undefined | null): boolean; + static SplitNetwork(uriString: string, flags: AuGlibEx.UriFlags, scheme ?: string | undefined | null, host ?: string | undefined | null, port ?: number): boolean; + static SplitWithUser(uriRef: string, flags: AuGlibEx.UriFlags, scheme ?: string | undefined | null, user ?: string | undefined | null, password ?: string | undefined | null, authParams ?: string | undefined | null, host ?: string | undefined | null, port ?: number, path ?: string, query ?: string | undefined | null, fragment ?: string | undefined | null): boolean; + static UnescapeBytes(escapedString: string, length: number | bigint, illegalCharacters: string | undefined | null): AuGlibEx.Bytes; + static UnescapeSegment(escapedString: string | undefined | null, escapedStringEnd: string | undefined | null, illegalCharacters: string | undefined | null): string; + static UnescapeString(escapedString: string, illegalCharacters: string | undefined | null): string; + } + + class UriParamsIter { + dummy0 : number; + dummy1 : void; + dummy2 : void; + dummy3 : number[]; + + init(params: string, length: number | bigint, separators: string, flags: AuGlibEx.UriParamsFlags): void; + next(attribute ?: string | undefined | null, value ?: string | undefined | null): boolean; + } + + class Variant { + static NewArray(childType: AuGlibEx.VariantType | undefined | null, children: AuGlibEx.Variant[] | undefined | null, nChildren: number | bigint): AuGlibEx.Variant; + static NewBoolean(value: boolean): AuGlibEx.Variant; + static NewByte(value: number): AuGlibEx.Variant; + static NewBytestring(string: number[]): AuGlibEx.Variant; + static NewBytestringArray(strv: string[], length: number | bigint): AuGlibEx.Variant; + static NewDictEntry(key: AuGlibEx.Variant, value: AuGlibEx.Variant): AuGlibEx.Variant; + static NewDouble(value: number): AuGlibEx.Variant; + static NewFixedArray(elementType: AuGlibEx.VariantType, nElements: number | bigint, elementSize: number | bigint): AuGlibEx.Variant; + static NewFromBytes(type: AuGlibEx.VariantType, bytes: AuGlibEx.Bytes, trusted: boolean): AuGlibEx.Variant; + static NewFromData(type: AuGlibEx.VariantType, data: number[], size: number | bigint, trusted: boolean, notify: () => void): AuGlibEx.Variant; + static NewHandle(value: number): AuGlibEx.Variant; + static NewInt16(value: number): AuGlibEx.Variant; + static NewInt32(value: number): AuGlibEx.Variant; + static NewInt64(value: number | bigint): AuGlibEx.Variant; + static NewMaybe(childType: AuGlibEx.VariantType | undefined | null, child: AuGlibEx.Variant | undefined | null): AuGlibEx.Variant; + static NewObjectPath(objectPath: string): AuGlibEx.Variant; + static NewObjv(strv: string[], length: number | bigint): AuGlibEx.Variant; + static NewSignature(signature: string): AuGlibEx.Variant; + static NewString(string: string): AuGlibEx.Variant; + static NewStrv(strv: string[], length: number | bigint): AuGlibEx.Variant; + static NewTuple(children: AuGlibEx.Variant[], nChildren: number | bigint): AuGlibEx.Variant; + static NewUint16(value: number): AuGlibEx.Variant; + static NewUint32(value: number): AuGlibEx.Variant; + static NewUint64(value: number | bigint): AuGlibEx.Variant; + static NewVariant(value: AuGlibEx.Variant): AuGlibEx.Variant; + byteswap(): AuGlibEx.Variant; + checkFormatString(formatString: string, copyOnly: boolean): boolean; + classify(): AuGlibEx.VariantClass; + compare(two: AuGlibEx.Variant): number; + dupBytestring(length ?: number | bigint): number[]; + dupBytestringArray(length ?: number | bigint): string[]; + dupObjv(length ?: number | bigint): string[]; + dupString(length: number | bigint): string; + dupStrv(length ?: number | bigint): string[]; + equal(two: AuGlibEx.Variant): boolean; + getBoolean(): boolean; + getByte(): number; + getBytestring(): number[]; + getBytestringArray(length ?: number | bigint): string[]; + getChildValue(index: number | bigint): AuGlibEx.Variant; + getData(): void; + getDataAsBytes(): AuGlibEx.Bytes; + getDouble(): number; + getHandle(): number; + getInt16(): number; + getInt32(): number; + getInt64(): number | bigint; + getMaybe(): AuGlibEx.Variant; + getNormalForm(): AuGlibEx.Variant; + getObjv(length ?: number | bigint): string[]; + getSize(): number | bigint; + getString(length ?: number | bigint): string; + getStrv(length ?: number | bigint): string[]; + getType(): AuGlibEx.VariantType; + getTypeString(): string; + getUint16(): number; + getUint32(): number; + getUint64(): number | bigint; + getVariant(): AuGlibEx.Variant; + hash(): number; + isContainer(): boolean; + isFloating(): boolean; + isNormalForm(): boolean; + isOfType(type: AuGlibEx.VariantType): boolean; + lookupValue(key: string, expectedType: AuGlibEx.VariantType | undefined | null): AuGlibEx.Variant; + nChildren(): number | bigint; + print(typeAnnotate: boolean): string; + ref(): AuGlibEx.Variant; + refSink(): AuGlibEx.Variant; + store(): void; + takeRef(): AuGlibEx.Variant; + unref(): void; + static IsObjectPath(string: string): boolean; + static IsSignature(string: string): boolean; + static Parse(type: AuGlibEx.VariantType | undefined | null, text: string, limit: string | undefined | null, endptr: string | undefined | null): AuGlibEx.Variant; + static ParseErrorPrintContext(error: AuGlibEx.Error, sourceStr: string): string; + static ParseErrorQuark(): number; + static ParserGetErrorQuark(): number; + } + + class VariantBuilder { + static New(type: AuGlibEx.VariantType): AuGlibEx.VariantBuilder; + addValue(value: AuGlibEx.Variant): void; + close(): void; + end(): AuGlibEx.Variant; + open(type: AuGlibEx.VariantType): void; + ref(): AuGlibEx.VariantBuilder; + unref(): void; + } + + class VariantDict { + static New(fromAsv: AuGlibEx.Variant | undefined | null): AuGlibEx.VariantDict; + clear(): void; + contains(key: string): boolean; + end(): AuGlibEx.Variant; + insertValue(key: string, value: AuGlibEx.Variant): void; + lookupValue(key: string, expectedType: AuGlibEx.VariantType | undefined | null): AuGlibEx.Variant; + ref(): AuGlibEx.VariantDict; + remove(key: string): boolean; + unref(): void; + } + + class VariantType { + static New(typeString: string): AuGlibEx.VariantType; + static NewArray(element: AuGlibEx.VariantType): AuGlibEx.VariantType; + static NewDictEntry(key: AuGlibEx.VariantType, value: AuGlibEx.VariantType): AuGlibEx.VariantType; + static NewMaybe(element: AuGlibEx.VariantType): AuGlibEx.VariantType; + static NewTuple(items: AuGlibEx.VariantType[], length: number): AuGlibEx.VariantType; + copy(): AuGlibEx.VariantType; + dupString(): string; + element(): AuGlibEx.VariantType; + equal(type2: AuGlibEx.VariantType): boolean; + first(): AuGlibEx.VariantType; + free(): void; + getStringLength(): number | bigint; + hash(): number; + isArray(): boolean; + isBasic(): boolean; + isContainer(): boolean; + isDefinite(): boolean; + isDictEntry(): boolean; + isMaybe(): boolean; + isSubtypeOf(supertype: AuGlibEx.VariantType): boolean; + isTuple(): boolean; + isVariant(): boolean; + key(): AuGlibEx.VariantType; + nItems(): number | bigint; + next(): AuGlibEx.VariantType; + value(): AuGlibEx.VariantType; + static Checked(arg0: string): AuGlibEx.VariantType; + static StringGetDepth(typeString: string): number | bigint; + static StringIsValid(typeString: string): boolean; + static StringScan(string: string, limit: string | undefined | null, endptr ?: string): boolean; + } + +} \ No newline at end of file diff --git a/GObject.d.ts b/GObject.d.ts new file mode 100644 index 0000000..48811ac --- /dev/null +++ b/GObject.d.ts @@ -0,0 +1,992 @@ +declare namespace GObject { + + class BindingFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": BindingFlags + static readonly "kBidirectional": BindingFlags + static readonly "kSyncCreate": BindingFlags + static readonly "kInvertBoolean": BindingFlags + } + + class ConnectFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAfter": ConnectFlags + static readonly "kSwapped": ConnectFlags + } + + class ParamFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kReadable": ParamFlags + static readonly "kWritable": ParamFlags + static readonly "kReadwrite": ParamFlags + static readonly "kConstruct": ParamFlags + static readonly "kConstructOnly": ParamFlags + static readonly "kLaxValidation": ParamFlags + static readonly "kStaticName": ParamFlags + static readonly "kPrivate": ParamFlags + static readonly "kStaticNick": ParamFlags + static readonly "kStaticBlurb": ParamFlags + static readonly "kExplicitNotify": ParamFlags + static readonly "kDeprecated": ParamFlags + } + + class SignalFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kRunFirst": SignalFlags + static readonly "kRunLast": SignalFlags + static readonly "kRunCleanup": SignalFlags + static readonly "kNoRecurse": SignalFlags + static readonly "kDetailed": SignalFlags + static readonly "kAction": SignalFlags + static readonly "kNoHooks": SignalFlags + static readonly "kMustCollect": SignalFlags + static readonly "kDeprecated": SignalFlags + static readonly "kAccumulatorFirstRun": SignalFlags + } + + class SignalMatchType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kId": SignalMatchType + static readonly "kDetail": SignalMatchType + static readonly "kClosure": SignalMatchType + static readonly "kFunc": SignalMatchType + static readonly "kData": SignalMatchType + static readonly "kUnblocked": SignalMatchType + } + + class TypeDebugFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TypeDebugFlags + static readonly "kObjects": TypeDebugFlags + static readonly "kSignals": TypeDebugFlags + static readonly "kInstanceCount": TypeDebugFlags + static readonly "kMask": TypeDebugFlags + } + + class TypeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAbstract": TypeFlags + static readonly "kValueAbstract": TypeFlags + static readonly "kFinal": TypeFlags + } + + class TypeFundamentalFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kClassed": TypeFundamentalFlags + static readonly "kInstantiatable": TypeFundamentalFlags + static readonly "kDerivable": TypeFundamentalFlags + static readonly "kDeepDerivable": TypeFundamentalFlags + } + + + class TypePlugin { + completeInterfaceInfo(instanceType: number, interfaceType: number, info: GObject.InterfaceInfo): void; + completeTypeInfo(gType: number, info: GObject.TypeInfo, valueTable: GObject.TypeValueTable): void; + unuse(): void; + use(): void; + } + + + class CClosure { + closure : GObject.Closure; + callback : void; + + static MarshalBOOLEANBOXEDBOXED(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalBOOLEANFLAGS(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalSTRINGOBJECTPOINTER(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDBOOLEAN(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDBOXED(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDCHAR(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDDOUBLE(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDENUM(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDFLAGS(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDFLOAT(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDINT(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDLONG(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDOBJECT(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDPARAM(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDPOINTER(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDSTRING(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDUCHAR(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDUINT(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDUINTPOINTER(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDULONG(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDVARIANT(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalVOIDVOID(closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + static MarshalGeneric(closure: GObject.Closure, returnGvalue: GObject.Value, nParamValues: number, paramValues: GObject.Value): void; + } + + class Closure { + refCount : number; + metaMarshalNouse : number; + nGuards : number; + nFnotifiers : number; + nInotifiers : number; + inInotify : number; + floating : number; + derivativeFlag : number; + inMarshal : number; + isInvalid : number; + marshal : (closure: GObject.Closure, returnValue: GObject.Value, nParamValues: number, paramValues: GObject.Value) => void; + data : void; + notifiers : GObject.ClosureNotifyData; + + static NewObject(sizeofClosure: number, object: GObject.Object): GObject.Closure; + static NewSimple(sizeofClosure: number): GObject.Closure; + invalidate(): void; + invoke(returnValue ?: GObject.Value, nParamValues ?: number, paramValues ?: GObject.Value[]): void; + ref(): GObject.Closure; + sink(): void; + unref(): void; + } + + class ClosureNotifyData { + data : void; + notify : (closure: GObject.Closure) => void; + + } + + class EnumClass { + gTypeClass : GObject.TypeClass; + minimum : number; + maximum : number; + nValues : number; + values : GObject.EnumValue; + + } + + class EnumValue { + value : number; + valueName : string; + valueNick : string; + + } + + class FlagsClass { + gTypeClass : GObject.TypeClass; + mask : number; + nValues : number; + values : GObject.FlagsValue; + + } + + class FlagsValue { + value : number; + valueName : string; + valueNick : string; + + } + + class InitiallyUnownedClass { /*unsupported*/ } + + class InterfaceInfo { + interfaceInit : (gIface: GObject.TypeInterface) => void; + interfaceFinalize : (gIface: GObject.TypeInterface) => void; + interfaceData : void; + + } + + class ObjectClass { + gTypeClass : GObject.TypeClass; + _constructor : void; + setProperty : (object: GObject.Object, propertyId: number, value: GObject.Value, pspec: GObject.ParamSpec) => void; + getProperty : (object: GObject.Object, propertyId: number, value: GObject.Value, pspec: GObject.ParamSpec) => void; + dispose : (object: GObject.Object) => void; + finalize : (object: GObject.Object) => void; + dispatchPropertiesChanged : (object: GObject.Object, nPspecs: number, pspecs: GObject.ParamSpec) => void; + notify : (object: GObject.Object, pspec: GObject.ParamSpec) => void; + constructed : (object: GObject.Object) => void; + flags : number | bigint; + + findProperty(propertyName: string): GObject.ParamSpec; + installProperties(nPspecs: number, pspecs: GObject.ParamSpec[]): void; + installProperty(propertyId: number, pspec: GObject.ParamSpec): void; + listProperties(nProperties: number): GObject.ParamSpec[]; + overrideProperty(propertyId: number, name: string): void; + } + + class ObjectConstructParam { + pspec : GObject.ParamSpec; + value : GObject.Value; + + } + + class ParamSpecClass { + gTypeClass : GObject.TypeClass; + valueType : number; + finalize : (pspec: GObject.ParamSpec) => void; + valueSetDefault : (pspec: GObject.ParamSpec, value: GObject.Value) => void; + valueValidate : (pspec: GObject.ParamSpec, value: GObject.Value) => boolean; + valuesCmp : (pspec: GObject.ParamSpec, value1: GObject.Value, value2: GObject.Value) => number; + + } + + class ParamSpecPool { + insert(pspec: GObject.ParamSpec, ownerType: number): void; + list(ownerType: number, nPspecsP: number): GObject.ParamSpec[]; + listOwned(ownerType: number): GObject.ParamSpec[]; + lookup(paramName: string, ownerType: number, walkAncestors: boolean): GObject.ParamSpec; + remove(pspec: GObject.ParamSpec): void; + } + + class ParamSpecTypeInfo { + instanceSize : number; + nPreallocs : number; + instanceInit : (pspec: GObject.ParamSpec) => void; + valueType : number; + finalize : (pspec: GObject.ParamSpec) => void; + valueSetDefault : (pspec: GObject.ParamSpec, value: GObject.Value) => void; + valueValidate : (pspec: GObject.ParamSpec, value: GObject.Value) => boolean; + valuesCmp : (pspec: GObject.ParamSpec, value1: GObject.Value, value2: GObject.Value) => number; + + } + + class Parameter { + name : string; + value : GObject.Value; + + } + + class SignalInvocationHint { + signalId : number; + detail : number; + runType : GObject.SignalFlags; + + } + + class SignalQuery { + signalId : number; + signalName : string; + itype : number; + signalFlags : GObject.SignalFlags; + returnType : number; + nParams : number; + paramTypes : number[]; + + } + + class TypeClass { + gType : number; + + addPrivate(privateSize: number | bigint): void; + getPrivate(privateType: number): void; + peekParent(): GObject.TypeClass; + unref(): void; + static AdjustPrivateOffset(privateSizeOrOffset: number): void; + static Peek(type: number): GObject.TypeClass; + static PeekStatic(type: number): GObject.TypeClass; + static Ref(type: number): GObject.TypeClass; + } + + class TypeFundamentalInfo { + typeFlags : GObject.TypeFundamentalFlags; + + } + + class TypeInfo { + classSize : number; + baseInit : (gClass: GObject.TypeClass) => void; + baseFinalize : (gClass: GObject.TypeClass) => void; + classInit : (gClass: GObject.TypeClass) => void; + classFinalize : (gClass: GObject.TypeClass) => void; + classData : void; + instanceSize : number; + nPreallocs : number; + instanceInit : (instance: GObject.TypeInstance, gClass: GObject.TypeClass) => void; + valueTable : GObject.TypeValueTable; + + } + + class TypeInstance { + gClass : GObject.TypeClass; + + getPrivate(privateType: number): void; + } + + class TypeInterface { + gType : number; + gInstanceType : number; + + peekParent(): GObject.TypeInterface; + static AddPrerequisite(interfaceType: number, prerequisiteType: number): void; + static GetPlugin(instanceType: number, interfaceType: number): GObject.TypePlugin; + static InstantiatablePrerequisite(interfaceType: number): number; + static Peek(instanceClass: GObject.TypeClass, ifaceType: number): GObject.TypeInterface; + static Prerequisites(interfaceType: number, nPrerequisites ?: number): number[]; + } + + class TypeModuleClass { + parentClass : GObject.ObjectClass; + load : (module: GObject.TypeModule) => boolean; + unload : (module: GObject.TypeModule) => void; + reserved1 : () => void; + reserved2 : () => void; + reserved3 : () => void; + reserved4 : () => void; + + } + + class TypePluginClass { + baseIface : GObject.TypeInterface; + usePlugin : (plugin: GObject.TypePlugin) => void; + unusePlugin : (plugin: GObject.TypePlugin) => void; + completeTypeInfo : (plugin: GObject.TypePlugin, gType: number, info: GObject.TypeInfo, valueTable: GObject.TypeValueTable) => void; + completeInterfaceInfo : (plugin: GObject.TypePlugin, instanceType: number, interfaceType: number, info: GObject.InterfaceInfo) => void; + + } + + class TypeQuery { + type : number; + typeName : string; + classSize : number; + instanceSize : number; + + } + + class TypeValueTable { /*unsupported*/ } + + class Value { + gType : number; + + copy(destValue: GObject.Value): void; + dupObject(): GObject.Object; + dupString(): string; + dupVariant(): AuGlibEx.Variant; + fitsPointer(): boolean; + getBoolean(): boolean; + getBoxed(): void; + getChar(): number; + getDouble(): number; + getEnum(): number; + getFlags(): number; + getFloat(): number; + getGtype(): number; + getInt(): number; + getInt64(): number | bigint; + getLong(): number; + getObject(): GObject.Object; + getParam(): GObject.ParamSpec; + getPointer(): void; + getSchar(): number; + getString(): string; + getUchar(): number; + getUint(): number; + getUint64(): number | bigint; + getUlong(): number; + getVariant(): AuGlibEx.Variant; + init(gType: number): GObject.Value; + initFromInstance(instance: GObject.TypeInstance): void; + peekPointer(): void; + reset(): GObject.Value; + setBoolean(vBoolean: boolean): void; + setBoxed(): void; + setBoxedTakeOwnership(): void; + setChar(vChar: number): void; + setDouble(vDouble: number): void; + setEnum(vEnum: number): void; + setFlags(vFlags: number): void; + setFloat(vFloat: number): void; + setGtype(vGtype: number): void; + setInstance(): void; + setInt(vInt: number): void; + setInt64(vInt64: number | bigint): void; + setInternedString(vString: string | undefined | null): void; + setLong(vLong: number): void; + setObject(vObject: GObject.Object | undefined | null): void; + setParam(param: GObject.ParamSpec | undefined | null): void; + setPointer(): void; + setSchar(vChar: number): void; + setStaticBoxed(): void; + setStaticString(vString: string | undefined | null): void; + setString(vString: string | undefined | null): void; + setStringTakeOwnership(vString: string | undefined | null): void; + setUchar(vUchar: number): void; + setUint(vUint: number): void; + setUint64(vUint64: number | bigint): void; + setUlong(vUlong: number): void; + setVariant(variant: AuGlibEx.Variant | undefined | null): void; + takeBoxed(): void; + takeString(vString: string | undefined | null): void; + takeVariant(variant: AuGlibEx.Variant | undefined | null): void; + transform(destValue: GObject.Value): boolean; + unset(): void; + static TypeCompatible(srcType: number, destType: number): boolean; + static TypeTransformable(srcType: number, destType: number): boolean; + } + + class ValueArray { + nValues : number; + values : GObject.Value; + nPrealloced : number; + + static New(nPrealloced: number): GObject.ValueArray; + append(value: GObject.Value | undefined | null): GObject.ValueArray; + copy(): GObject.ValueArray; + getNth(index: number): GObject.Value; + insert(index: number, value: GObject.Value | undefined | null): GObject.ValueArray; + prepend(value: GObject.Value | undefined | null): GObject.ValueArray; + remove(index: number): GObject.ValueArray; + sort(compareFunc: () => number): GObject.ValueArray; + } + + class WeakRef { + } + + + class Binding extends GObject.Object { + constructor(initializerList ?: BindingCtor); + + flags : GObject.BindingFlags; + source : GObject.Object; + sourceProperty : string; + target : GObject.Object; + targetProperty : string; + + dupSource(): GObject.Object; + dupTarget(): GObject.Object; + getFlags(): GObject.BindingFlags; + getSource(): GObject.Object; + getSourceProperty(): string; + getTarget(): GObject.Object; + getTargetProperty(): string; + unbind(): void; + //TypeScript is complete garbage: + } + + class BindingCtor { + source ?: GObject.Object; + target ?: GObject.Object; + sourceProperty ?: string; + targetProperty ?: string; + flags ?: GObject.BindingFlags; + } + + class BindingGroup extends GObject.Object { + constructor(initializerList ?: BindingGroupCtor); + + source : GObject.Object; + + static New(): GObject.BindingGroup; + bind(sourceProperty: string, target: GObject.Object, targetProperty: string, flags: GObject.BindingFlags): void; + bindFull(sourceProperty: string, target: GObject.Object, targetProperty: string, flags: GObject.BindingFlags, transformTo: GObject.Closure | undefined | null, transformFrom: GObject.Closure | undefined | null): void; + dupSource(): GObject.Object; + setSource(source: GObject.Object | undefined | null): void; + //TypeScript is complete garbage: + } + + class BindingGroupCtor { + source ?: GObject.Object; + } + + class InitiallyUnowned extends GObject.Object { + constructor(initializerList ?: InitiallyUnownedCtor); + + gTypeInstance : GObject.TypeInstance; + refCount : number; + qdata : AuGlibEx.Data; + + //TypeScript is complete garbage: + } + + class InitiallyUnownedCtor { + } + + class Object { + constructor(initializerList ?: ObjectCtor); + + gTypeInstance : GObject.TypeInstance; + refCount : number; + qdata : AuGlibEx.Data; + + static Newv(objectType: number, nParameters: number, parameters: GObject.Parameter[]): GObject.Object; + static CompatControl(what: number | bigint): number | bigint; + static InterfaceFindProperty(gIface: GObject.TypeInterface, propertyName: string): GObject.ParamSpec; + static InterfaceInstallProperty(gIface: GObject.TypeInterface, pspec: GObject.ParamSpec): void; + static InterfaceListProperties(gIface: GObject.TypeInterface, nPropertiesP: number): GObject.ParamSpec[]; + bindProperty(sourceProperty: string, target: GObject.Object, targetProperty: string, flags: GObject.BindingFlags): GObject.Binding; + bindPropertyFull(sourceProperty: string, target: GObject.Object, targetProperty: string, flags: GObject.BindingFlags, transformTo: GObject.Closure, transformFrom: GObject.Closure): GObject.Binding; + forceFloating(): void; + freezeNotify(): void; + getData(key: string): void; + getProperty(propertyName: string, value: GObject.Value): void; + getQdata(quark: number): void; + getv(nProperties: number, names: string[], values: GObject.Value[]): void; + isFloating(): boolean; + notify(propertyName: string): void; + notifyByPspec(pspec: GObject.ParamSpec): void; + ref(): GObject.Object; + refSink(): GObject.Object; + runDispose(): void; + setData(key: string): void; + setProperty(propertyName: string, value: GObject.Value): void; + stealData(key: string): void; + stealQdata(quark: number): void; + thawNotify(): void; + unref(): void; + watchClosure(closure: GObject.Closure): void; + attachEventListener(listener: AuGlibEx.IEventListener): AuGlibEx.EventListener; + + //TypeScript is complete garbage: + } + + class ObjectCtor { + } + + class ObjectEventListener extends AuGlibEx.IEventListener { + notify(pspec: GObject.ParamSpec): void; + } + + class ParamSpec { + constructor(initializerList ?: ParamSpecCtor); + + gTypeInstance : GObject.TypeInstance; + name : string; + flags : GObject.ParamFlags; + valueType : number; + ownerType : number; + nick : string; + blurb : string; + qdata : AuGlibEx.Data; + refCount : number; + paramId : number; + + static IsValidName(name: string): boolean; + getBlurb(): string; + getDefaultValue(): GObject.Value; + getName(): string; + getNameQuark(): number; + getNick(): string; + getQdata(quark: number): void; + getRedirectTarget(): GObject.ParamSpec; + setQdata(quark: number): void; + sink(): void; + stealQdata(quark: number): void; + //TypeScript is complete garbage: + } + + class ParamSpecCtor { + } + + class ParamSpecBoolean extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecBooleanCtor); + + parentInstance : GObject.ParamSpec; + defaultValue : boolean; + + //TypeScript is complete garbage: + } + + class ParamSpecBooleanCtor { + } + + class ParamSpecBoxed extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecBoxedCtor); + + parentInstance : GObject.ParamSpec; + + //TypeScript is complete garbage: + } + + class ParamSpecBoxedCtor { + } + + class ParamSpecChar extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecCharCtor); + + parentInstance : GObject.ParamSpec; + minimum : number; + maximum : number; + defaultValue : number; + + //TypeScript is complete garbage: + } + + class ParamSpecCharCtor { + } + + class ParamSpecDouble extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecDoubleCtor); + + parentInstance : GObject.ParamSpec; + minimum : number; + maximum : number; + defaultValue : number; + epsilon : number; + + //TypeScript is complete garbage: + } + + class ParamSpecDoubleCtor { + } + + class ParamSpecEnum extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecEnumCtor); + + parentInstance : GObject.ParamSpec; + enumClass : GObject.EnumClass; + defaultValue : number; + + //TypeScript is complete garbage: + } + + class ParamSpecEnumCtor { + } + + class ParamSpecFlags extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecFlagsCtor); + + parentInstance : GObject.ParamSpec; + flagsClass : GObject.FlagsClass; + defaultValue : number; + + //TypeScript is complete garbage: + } + + class ParamSpecFlagsCtor { + } + + class ParamSpecFloat extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecFloatCtor); + + parentInstance : GObject.ParamSpec; + minimum : number; + maximum : number; + defaultValue : number; + epsilon : number; + + //TypeScript is complete garbage: + } + + class ParamSpecFloatCtor { + } + + class ParamSpecGType extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecGTypeCtor); + + parentInstance : GObject.ParamSpec; + isAType : number; + + //TypeScript is complete garbage: + } + + class ParamSpecGTypeCtor { + } + + class ParamSpecInt extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecIntCtor); + + parentInstance : GObject.ParamSpec; + minimum : number; + maximum : number; + defaultValue : number; + + //TypeScript is complete garbage: + } + + class ParamSpecIntCtor { + } + + class ParamSpecInt64 extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecInt64Ctor); + + parentInstance : GObject.ParamSpec; + minimum : number | bigint; + maximum : number | bigint; + defaultValue : number | bigint; + + //TypeScript is complete garbage: + } + + class ParamSpecInt64Ctor { + } + + class ParamSpecLong extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecLongCtor); + + parentInstance : GObject.ParamSpec; + minimum : number; + maximum : number; + defaultValue : number; + + //TypeScript is complete garbage: + } + + class ParamSpecLongCtor { + } + + class ParamSpecObject extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecObjectCtor); + + parentInstance : GObject.ParamSpec; + + //TypeScript is complete garbage: + } + + class ParamSpecObjectCtor { + } + + class ParamSpecOverride extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecOverrideCtor); + + parentInstance : GObject.ParamSpec; + overridden : GObject.ParamSpec; + + //TypeScript is complete garbage: + } + + class ParamSpecOverrideCtor { + } + + class ParamSpecParam extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecParamCtor); + + parentInstance : GObject.ParamSpec; + + //TypeScript is complete garbage: + } + + class ParamSpecParamCtor { + } + + class ParamSpecPointer extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecPointerCtor); + + parentInstance : GObject.ParamSpec; + + //TypeScript is complete garbage: + } + + class ParamSpecPointerCtor { + } + + class ParamSpecString extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecStringCtor); + + parentInstance : GObject.ParamSpec; + defaultValue : string; + csetFirst : string; + csetNth : string; + substitutor : number; + nullFoldIfEmpty : number; + ensureNonNull : number; + + //TypeScript is complete garbage: + } + + class ParamSpecStringCtor { + } + + class ParamSpecUChar extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecUCharCtor); + + parentInstance : GObject.ParamSpec; + minimum : number; + maximum : number; + defaultValue : number; + + //TypeScript is complete garbage: + } + + class ParamSpecUCharCtor { + } + + class ParamSpecUInt extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecUIntCtor); + + parentInstance : GObject.ParamSpec; + minimum : number; + maximum : number; + defaultValue : number; + + //TypeScript is complete garbage: + } + + class ParamSpecUIntCtor { + } + + class ParamSpecUInt64 extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecUInt64Ctor); + + parentInstance : GObject.ParamSpec; + minimum : number | bigint; + maximum : number | bigint; + defaultValue : number | bigint; + + //TypeScript is complete garbage: + } + + class ParamSpecUInt64Ctor { + } + + class ParamSpecULong extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecULongCtor); + + parentInstance : GObject.ParamSpec; + minimum : number; + maximum : number; + defaultValue : number; + + //TypeScript is complete garbage: + } + + class ParamSpecULongCtor { + } + + class ParamSpecUnichar extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecUnicharCtor); + + parentInstance : GObject.ParamSpec; + defaultValue : string; + + //TypeScript is complete garbage: + } + + class ParamSpecUnicharCtor { + } + + class ParamSpecValueArray extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecValueArrayCtor); + + parentInstance : GObject.ParamSpec; + elementSpec : GObject.ParamSpec; + fixedNElements : number; + + //TypeScript is complete garbage: + } + + class ParamSpecValueArrayCtor { + } + + class ParamSpecVariant extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecVariantCtor); + + parentInstance : GObject.ParamSpec; + type : AuGlibEx.VariantType; + defaultValue : AuGlibEx.Variant; + + //TypeScript is complete garbage: + } + + class ParamSpecVariantCtor { + } + + class SignalGroup extends GObject.Object { + constructor(initializerList ?: SignalGroupCtor); + + target : GObject.Object; + targetType : number; + + static New(targetType: number): GObject.SignalGroup; + block(): void; + connectData(detailedSignal: string, cHandler: () => void, notify: (closure: GObject.Closure) => void, flags: GObject.ConnectFlags): void; + connectSwapped(detailedSignal: string, cHandler: () => void): void; + dupTarget(): GObject.Object; + setTarget(target: GObject.Object | undefined | null): void; + unblock(): void; + //TypeScript is complete garbage: + } + + class SignalGroupCtor { + target ?: GObject.Object; + targetType ?: any; + } + + class SignalGroupEventListener extends AuGlibEx.IEventListener { + bind(instance: GObject.Object): void; + unbind(): void; + } + + class TypeModule extends GObject.Object implements GObject.TypePlugin { + constructor(initializerList ?: TypeModuleCtor); + + parentInstance : GObject.Object; + useCount : number; + name : string; + + addInterface(instanceType: number, interfaceType: number, interfaceInfo: GObject.InterfaceInfo): void; + registerEnum(name: string, constStaticValues: GObject.EnumValue): number; + registerFlags(name: string, constStaticValues: GObject.FlagsValue): number; + registerType(parentType: number, typeName: string, typeInfo: GObject.TypeInfo, flags: GObject.TypeFlags): number; + setName(name: string): void; + unuse(): void; + use(): boolean; + //TypeScript is complete garbage: + completeInterfaceInfo(instanceType: number, interfaceType: number, info: GObject.InterfaceInfo): void; + completeTypeInfo(gType: number, info: GObject.TypeInfo, valueTable: GObject.TypeValueTable): void; + } + + class TypeModuleCtor { + } +} \ No newline at end of file diff --git a/Gdk.d.ts b/Gdk.d.ts new file mode 100644 index 0000000..89c8c8b --- /dev/null +++ b/Gdk.d.ts @@ -0,0 +1,1774 @@ +declare namespace AuGDK { + + class AnchorHints { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFlipX": AnchorHints + static readonly "kFlipY": AnchorHints + static readonly "kSlideX": AnchorHints + static readonly "kSlideY": AnchorHints + static readonly "kResizeX": AnchorHints + static readonly "kResizeY": AnchorHints + static readonly "kFlip": AnchorHints + static readonly "kSlide": AnchorHints + static readonly "kResize": AnchorHints + } + + class AxisFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kX": AxisFlags + static readonly "kY": AxisFlags + static readonly "kDeltaX": AxisFlags + static readonly "kDeltaY": AxisFlags + static readonly "kPressure": AxisFlags + static readonly "kXTilt": AxisFlags + static readonly "kYTilt": AxisFlags + static readonly "kWheel": AxisFlags + static readonly "kDistance": AxisFlags + static readonly "kRotation": AxisFlags + static readonly "kSlider": AxisFlags + } + + class AxisUse { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kIgnore": AxisUse + static readonly "kX": AxisUse + static readonly "kY": AxisUse + static readonly "kDeltaX": AxisUse + static readonly "kDeltaY": AxisUse + static readonly "kPressure": AxisUse + static readonly "kXTilt": AxisUse + static readonly "kYTilt": AxisUse + static readonly "kWheel": AxisUse + static readonly "kDistance": AxisUse + static readonly "kRotation": AxisUse + static readonly "kSlider": AxisUse + static readonly "kLast": AxisUse + } + + class CrossingMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNormal": CrossingMode + static readonly "kGrab": CrossingMode + static readonly "kUngrab": CrossingMode + static readonly "kGtkGrab": CrossingMode + static readonly "kGtkUngrab": CrossingMode + static readonly "kStateChanged": CrossingMode + static readonly "kTouchBegin": CrossingMode + static readonly "kTouchEnd": CrossingMode + static readonly "kDeviceSwitch": CrossingMode + } + + class DevicePadFeature { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kButton": DevicePadFeature + static readonly "kRing": DevicePadFeature + static readonly "kStrip": DevicePadFeature + } + + class DeviceToolType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": DeviceToolType + static readonly "kPen": DeviceToolType + static readonly "kEraser": DeviceToolType + static readonly "kBrush": DeviceToolType + static readonly "kPencil": DeviceToolType + static readonly "kAirbrush": DeviceToolType + static readonly "kMouse": DeviceToolType + static readonly "kLens": DeviceToolType + } + + class DragAction { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCopy": DragAction + static readonly "kMove": DragAction + static readonly "kLink": DragAction + static readonly "kAsk": DragAction + } + + class DragCancelReason { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNoTarget": DragCancelReason + static readonly "kUserCancelled": DragCancelReason + static readonly "kError": DragCancelReason + } + + class EventType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDelete": EventType + static readonly "kMotionNotify": EventType + static readonly "kButtonPress": EventType + static readonly "kButtonRelease": EventType + static readonly "kKeyPress": EventType + static readonly "kKeyRelease": EventType + static readonly "kEnterNotify": EventType + static readonly "kLeaveNotify": EventType + static readonly "kFocusChange": EventType + static readonly "kProximityIn": EventType + static readonly "kProximityOut": EventType + static readonly "kDragEnter": EventType + static readonly "kDragLeave": EventType + static readonly "kDragMotion": EventType + static readonly "kDropStart": EventType + static readonly "kScroll": EventType + static readonly "kGrabBroken": EventType + static readonly "kTouchBegin": EventType + static readonly "kTouchUpdate": EventType + static readonly "kTouchEnd": EventType + static readonly "kTouchCancel": EventType + static readonly "kTouchpadSwipe": EventType + static readonly "kTouchpadPinch": EventType + static readonly "kPadButtonPress": EventType + static readonly "kPadButtonRelease": EventType + static readonly "kPadRing": EventType + static readonly "kPadStrip": EventType + static readonly "kPadGroupMode": EventType + static readonly "kTouchpadHold": EventType + static readonly "kEventLast": EventType + } + + class FrameClockPhase { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": FrameClockPhase + static readonly "kFlushEvents": FrameClockPhase + static readonly "kBeforePaint": FrameClockPhase + static readonly "kUpdate": FrameClockPhase + static readonly "kLayout": FrameClockPhase + static readonly "kPaint": FrameClockPhase + static readonly "kResumeEvents": FrameClockPhase + static readonly "kAfterPaint": FrameClockPhase + } + + class FullscreenMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCurrentMonitor": FullscreenMode + static readonly "kAllMonitors": FullscreenMode + } + + class GLAPI { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kGl": GLAPI + static readonly "kGles": GLAPI + } + + class GLError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNotAvailable": GLError + static readonly "kUnsupportedFormat": GLError + static readonly "kUnsupportedProfile": GLError + static readonly "kCompilationFailed": GLError + static readonly "kLinkFailed": GLError + } + + class Gravity { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNorthWest": Gravity + static readonly "kNorth": Gravity + static readonly "kNorthEast": Gravity + static readonly "kWest": Gravity + static readonly "kCenter": Gravity + static readonly "kEast": Gravity + static readonly "kSouthWest": Gravity + static readonly "kSouth": Gravity + static readonly "kSouthEast": Gravity + static readonly "kStatic": Gravity + } + + class InputSource { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMouse": InputSource + static readonly "kPen": InputSource + static readonly "kKeyboard": InputSource + static readonly "kTouchscreen": InputSource + static readonly "kTouchpad": InputSource + static readonly "kTrackpoint": InputSource + static readonly "kTabletPad": InputSource + } + + class KeyMatch { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": KeyMatch + static readonly "kPartial": KeyMatch + static readonly "kExact": KeyMatch + } + + class MemoryFormat { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kB8g8r8a8Premultiplied": MemoryFormat + static readonly "kA8r8g8b8Premultiplied": MemoryFormat + static readonly "kR8g8b8a8Premultiplied": MemoryFormat + static readonly "kB8g8r8a8": MemoryFormat + static readonly "kA8r8g8b8": MemoryFormat + static readonly "kR8g8b8a8": MemoryFormat + static readonly "kA8b8g8r8": MemoryFormat + static readonly "kR8g8b8": MemoryFormat + static readonly "kB8g8r8": MemoryFormat + static readonly "kR16g16b16": MemoryFormat + static readonly "kR16g16b16a16Premultiplied": MemoryFormat + static readonly "kR16g16b16a16": MemoryFormat + static readonly "kR16g16b16Float": MemoryFormat + static readonly "kR16g16b16a16FloatPremultiplied": MemoryFormat + static readonly "kR16g16b16a16Float": MemoryFormat + static readonly "kR32g32b32Float": MemoryFormat + static readonly "kR32g32b32a32FloatPremultiplied": MemoryFormat + static readonly "kR32g32b32a32Float": MemoryFormat + static readonly "kNFormats": MemoryFormat + } + + class ModifierType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kShiftMask": ModifierType + static readonly "kLockMask": ModifierType + static readonly "kControlMask": ModifierType + static readonly "kAltMask": ModifierType + static readonly "kButton1Mask": ModifierType + static readonly "kButton2Mask": ModifierType + static readonly "kButton3Mask": ModifierType + static readonly "kButton4Mask": ModifierType + static readonly "kButton5Mask": ModifierType + static readonly "kSuperMask": ModifierType + static readonly "kHyperMask": ModifierType + static readonly "kMetaMask": ModifierType + } + + class NotifyType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAncestor": NotifyType + static readonly "kVirtual": NotifyType + static readonly "kInferior": NotifyType + static readonly "kNonlinear": NotifyType + static readonly "kNonlinearVirtual": NotifyType + static readonly "kUnknown": NotifyType + } + + class PaintableFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSize": PaintableFlags + static readonly "kContents": PaintableFlags + } + + class ScrollDirection { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUp": ScrollDirection + static readonly "kDown": ScrollDirection + static readonly "kLeft": ScrollDirection + static readonly "kRight": ScrollDirection + static readonly "kSmooth": ScrollDirection + } + + class ScrollUnit { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kWheel": ScrollUnit + static readonly "kSurface": ScrollUnit + } + + class SeatCapabilities { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SeatCapabilities + static readonly "kPointer": SeatCapabilities + static readonly "kTouch": SeatCapabilities + static readonly "kTabletStylus": SeatCapabilities + static readonly "kKeyboard": SeatCapabilities + static readonly "kTabletPad": SeatCapabilities + static readonly "kAllPointing": SeatCapabilities + static readonly "kAll": SeatCapabilities + } + + class SubpixelLayout { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": SubpixelLayout + static readonly "kNone": SubpixelLayout + static readonly "kHorizontalRgb": SubpixelLayout + static readonly "kHorizontalBgr": SubpixelLayout + static readonly "kVerticalRgb": SubpixelLayout + static readonly "kVerticalBgr": SubpixelLayout + } + + class SurfaceEdge { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNorthWest": SurfaceEdge + static readonly "kNorth": SurfaceEdge + static readonly "kNorthEast": SurfaceEdge + static readonly "kWest": SurfaceEdge + static readonly "kEast": SurfaceEdge + static readonly "kSouthWest": SurfaceEdge + static readonly "kSouth": SurfaceEdge + static readonly "kSouthEast": SurfaceEdge + } + + class TextureError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kTooLarge": TextureError + static readonly "kCorruptImage": TextureError + static readonly "kUnsupportedContent": TextureError + static readonly "kUnsupportedFormat": TextureError + } + + class TitlebarGesture { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDoubleClick": TitlebarGesture + static readonly "kRightClick": TitlebarGesture + static readonly "kMiddleClick": TitlebarGesture + } + + class ToplevelState { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMinimized": ToplevelState + static readonly "kMaximized": ToplevelState + static readonly "kSticky": ToplevelState + static readonly "kFullscreen": ToplevelState + static readonly "kAbove": ToplevelState + static readonly "kBelow": ToplevelState + static readonly "kFocused": ToplevelState + static readonly "kTiled": ToplevelState + static readonly "kTopTiled": ToplevelState + static readonly "kTopResizable": ToplevelState + static readonly "kRightTiled": ToplevelState + static readonly "kRightResizable": ToplevelState + static readonly "kBottomTiled": ToplevelState + static readonly "kBottomResizable": ToplevelState + static readonly "kLeftTiled": ToplevelState + static readonly "kLeftResizable": ToplevelState + } + + class TouchpadGesturePhase { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBegin": TouchpadGesturePhase + static readonly "kUpdate": TouchpadGesturePhase + static readonly "kEnd": TouchpadGesturePhase + static readonly "kCancel": TouchpadGesturePhase + } + + class VulkanError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnsupported": VulkanError + static readonly "kNotAvailable": VulkanError + } + + + class DevicePad { + getFeatureGroup(feature: AuGDK.DevicePadFeature, featureIdx: number): number; + getGroupNModes(groupIdx: number): number; + getNFeatures(feature: AuGDK.DevicePadFeature): number; + getNGroups(): number; + } + + class DragSurface { + present(width: number, height: number): boolean; + } + + class Paintable { + static NewEmpty(intrinsicWidth: number, intrinsicHeight: number): AuGDK.Paintable; + computeConcreteSize(specifiedWidth: number, specifiedHeight: number, defaultWidth: number, defaultHeight: number, concreteWidth: number, concreteHeight: number): void; + getCurrentImage(): AuGDK.Paintable; + getFlags(): AuGDK.PaintableFlags; + getIntrinsicAspectRatio(): number; + getIntrinsicHeight(): number; + getIntrinsicWidth(): number; + invalidateContents(): void; + invalidateSize(): void; + snapshot(snapshot: AuGDK.Snapshot, width: number, height: number): void; + } + + class Popup { + autohide : boolean; + parent : AuGDK.Surface; + + getAutohide(): boolean; + getParent(): AuGDK.Surface; + getPositionX(): number; + getPositionY(): number; + getRectAnchor(): AuGDK.Gravity; + getSurfaceAnchor(): AuGDK.Gravity; + present(width: number, height: number, layout: AuGDK.PopupLayout): boolean; + } + + class Toplevel { + decorated : boolean; + deletable : boolean; + fullscreenMode : AuGDK.FullscreenMode; + iconList : void; + modal : boolean; + shortcutsInhibited : boolean; + startupId : string; + state : AuGDK.ToplevelState; + title : string; + transientFor : AuGDK.Surface; + + beginMove(device: AuGDK.Device, button: number, x: number, y: number, timestamp: number): void; + beginResize(edge: AuGDK.SurfaceEdge, device: AuGDK.Device | undefined | null, button: number, x: number, y: number, timestamp: number): void; + focus(timestamp: number): void; + getState(): AuGDK.ToplevelState; + inhibitSystemShortcuts(event: AuGDK.Event | undefined | null): void; + lower(): boolean; + minimize(): boolean; + present(layout: AuGDK.ToplevelLayout): void; + restoreSystemShortcuts(): void; + setDecorated(decorated: boolean): void; + setDeletable(deletable: boolean): void; + setIconList(surfaces: AuGDK.Texture[]): void; + setModal(modal: boolean): void; + setStartupId(startupId: string): void; + setTitle(title: string): void; + setTransientFor(parent: AuGDK.Surface): void; + showWindowMenu(event: AuGDK.Event): boolean; + supportsEdgeConstraints(): boolean; + titlebarGesture(gesture: AuGDK.TitlebarGesture): boolean; + } + + + class ContentFormats { + static New(mimeTypes: string[] | undefined | null, nMimeTypes: number): AuGDK.ContentFormats; + static NewForGtype(type: number): AuGDK.ContentFormats; + containGtype(type: number): boolean; + containMimeType(mimeType: string): boolean; + getGtypes(nGtypes ?: number | bigint): number[]; + getMimeTypes(nMimeTypes ?: number | bigint): string[]; + match(second: AuGDK.ContentFormats): boolean; + matchGtype(second: AuGDK.ContentFormats): number; + matchMimeType(second: AuGDK.ContentFormats): string; + print(string: AuGlibEx.String): void; + ref(): AuGDK.ContentFormats; + union(second: AuGDK.ContentFormats): AuGDK.ContentFormats; + unionDeserializeGtypes(): AuGDK.ContentFormats; + unionDeserializeMimeTypes(): AuGDK.ContentFormats; + unionSerializeGtypes(): AuGDK.ContentFormats; + unionSerializeMimeTypes(): AuGDK.ContentFormats; + unref(): void; + static Parse(string: string): AuGDK.ContentFormats; + } + + class ContentFormatsBuilder { + static New(): AuGDK.ContentFormatsBuilder; + addFormats(formats: AuGDK.ContentFormats): void; + addGtype(type: number): void; + addMimeType(mimeType: string): void; + ref(): AuGDK.ContentFormatsBuilder; + toFormats(): AuGDK.ContentFormats; + unref(): void; + } + + class ContentProviderClass { + parentClass : GObject.ObjectClass; + contentChanged : (provider: AuGDK.ContentProvider) => void; + attachClipboard : (provider: AuGDK.ContentProvider, clipboard: AuGDK.Clipboard) => void; + detachClipboard : (provider: AuGDK.ContentProvider, clipboard: AuGDK.Clipboard) => void; + refFormats : (provider: AuGDK.ContentProvider) => AuGDK.ContentFormats; + refStorableFormats : (provider: AuGDK.ContentProvider) => AuGDK.ContentFormats; + writeMimeTypeAsync : (provider: AuGDK.ContentProvider, mimeType: string, stream: AuGIO.OutputStream, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + writeMimeTypeFinish : (provider: AuGDK.ContentProvider, result: AuGIO.AsyncResult) => boolean; + getValue : (provider: AuGDK.ContentProvider, value: GObject.Value) => boolean; + + } + + class DevicePadInterface { + } + + class DragSurfaceInterface { + } + + class EventSequence { + } + + class FileList { + static NewFromArray(files: AuGIO.File[], nFiles: number | bigint): AuGDK.FileList; + static NewFromList(files: AuGIO.File[]): AuGDK.FileList; + getFiles(): AuGIO.File[]; + } + + class FrameClockClass { + } + + class FrameClockPrivate { + } + + class FrameTimings { + getComplete(): boolean; + getFrameCounter(): number | bigint; + getFrameTime(): number | bigint; + getPredictedPresentationTime(): number | bigint; + getPresentationTime(): number | bigint; + getRefreshInterval(): number | bigint; + ref(): AuGDK.FrameTimings; + unref(): void; + } + + class GLTextureClass { + } + + class KeymapKey { + keycode : number; + group : number; + level : number; + + } + + class MemoryTextureClass { + } + + class MonitorClass { + } + + class PaintableInterface { + gIface : GObject.TypeInterface; + snapshot : (paintable: AuGDK.Paintable, snapshot: AuGDK.Snapshot, width: number, height: number) => void; + getCurrentImage : (paintable: AuGDK.Paintable) => AuGDK.Paintable; + getFlags : (paintable: AuGDK.Paintable) => AuGDK.PaintableFlags; + getIntrinsicWidth : (paintable: AuGDK.Paintable) => number; + getIntrinsicHeight : (paintable: AuGDK.Paintable) => number; + getIntrinsicAspectRatio : (paintable: AuGDK.Paintable) => number; + + } + + class PopupInterface { + } + + class PopupLayout { + static New(anchorRect: AuGDK.Rectangle, rectAnchor: AuGDK.Gravity, surfaceAnchor: AuGDK.Gravity): AuGDK.PopupLayout; + copy(): AuGDK.PopupLayout; + equal(other: AuGDK.PopupLayout): boolean; + getAnchorHints(): AuGDK.AnchorHints; + getAnchorRect(): AuGDK.Rectangle; + getOffset(dx: number, dy: number): void; + getRectAnchor(): AuGDK.Gravity; + getShadowWidth(left: number, right: number, top: number, bottom: number): void; + getSurfaceAnchor(): AuGDK.Gravity; + ref(): AuGDK.PopupLayout; + setAnchorHints(anchorHints: AuGDK.AnchorHints): void; + setAnchorRect(anchorRect: AuGDK.Rectangle): void; + setOffset(dx: number, dy: number): void; + setRectAnchor(anchor: AuGDK.Gravity): void; + setShadowWidth(left: number, right: number, top: number, bottom: number): void; + setSurfaceAnchor(anchor: AuGDK.Gravity): void; + unref(): void; + } + + class RGBA { + red : number; + green : number; + blue : number; + alpha : number; + + copy(): AuGDK.RGBA; + equal(p2: AuGDK.RGBA): boolean; + free(): void; + hash(): number; + isClear(): boolean; + isOpaque(): boolean; + parse(spec: string): boolean; + } + + class Rectangle { + x : number; + y : number; + width : number; + height : number; + + containsPoint(x: number, y: number): boolean; + equal(rect2: AuGDK.Rectangle): boolean; + intersect(src2: AuGDK.Rectangle, dest ?: AuGDK.Rectangle): boolean; + union(src2: AuGDK.Rectangle, dest: AuGDK.Rectangle): void; + } + + class SnapshotClass { + } + + class SurfaceClass { + } + + class TextureClass { + } + + class TimeCoord { + time : number; + flags : AuGDK.AxisFlags; + axes : number[]; + + } + + class ToplevelInterface { + } + + class ToplevelLayout { + static New(): AuGDK.ToplevelLayout; + copy(): AuGDK.ToplevelLayout; + equal(other: AuGDK.ToplevelLayout): boolean; + getFullscreen(fullscreen: boolean): boolean; + getFullscreenMonitor(): AuGDK.Monitor; + getMaximized(maximized: boolean): boolean; + getResizable(): boolean; + ref(): AuGDK.ToplevelLayout; + setFullscreen(fullscreen: boolean, monitor: AuGDK.Monitor | undefined | null): void; + setMaximized(maximized: boolean): void; + setResizable(resizable: boolean): void; + unref(): void; + } + + class ToplevelSize { + getBounds(boundsWidth: number, boundsHeight: number): void; + setMinSize(minWidth: number, minHeight: number): void; + setShadowWidth(left: number, right: number, top: number, bottom: number): void; + setSize(width: number, height: number): void; + } + + + class AppLaunchContext extends AuGIO.AppLaunchContext { + constructor(initializerList ?: AppLaunchContextCtor); + + display : AuGDK.Display; + + setDesktop(desktop: number): void; + setIcon(icon: AuGIO.Icon | undefined | null): void; + setIconName(iconName: string | undefined | null): void; + setTimestamp(timestamp: number): void; + //TypeScript is complete garbage: + } + + class AppLaunchContextCtor { + display ?: AuGDK.Display; + } + + class ButtonEvent extends AuGDK.Event { + constructor(initializerList ?: ButtonEventCtor); + + getButton(): number; + //TypeScript is complete garbage: + } + + class ButtonEventCtor { + } + + class CairoContext extends AuGDK.DrawContext { + constructor(initializerList ?: CairoContextCtor); + + cairoCreate(): cairo.Context; + //TypeScript is complete garbage: + } + + class CairoContextCtor { + display ?: AuGDK.Display; + surface ?: AuGDK.Surface; + } + + class Clipboard extends GObject.Object { + constructor(initializerList ?: ClipboardCtor); + + content : AuGDK.ContentProvider; + display : AuGDK.Display; + formats : AuGDK.ContentFormats; + local : boolean; + + getContent(): AuGDK.ContentProvider; + getDisplay(): AuGDK.Display; + getFormats(): AuGDK.ContentFormats; + isLocal(): boolean; + readAsync(mimeTypes: string[], ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readFinish(result: AuGIO.AsyncResult, outMimeType ?: string): AuGIO.InputStream; + readTextAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readTextFinish(result: AuGIO.AsyncResult): string; + readTextureAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readTextureFinish(result: AuGIO.AsyncResult): AuGDK.Texture; + readValueAsync(type: number, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readValueFinish(result: AuGIO.AsyncResult): GObject.Value; + setContent(provider: AuGDK.ContentProvider | undefined | null): boolean; + set(value: GObject.Value): void; + storeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + storeFinish(result: AuGIO.AsyncResult): boolean; + //TypeScript is complete garbage: + } + + class ClipboardCtor { + display ?: AuGDK.Display; + formats ?: AuGDK.ContentFormats; + local ?: boolean; + content ?: AuGDK.ContentProvider; + } + + class ClipboardEventListener extends AuGlibEx.IEventListener { + changed(): void; + } + + class ContentDeserializer extends GObject.Object implements AuGIO.AsyncResult { + constructor(initializerList ?: ContentDeserializerCtor); + + getCancellable(): AuGIO.Cancellable; + getGtype(): number; + getInputStream(): AuGIO.InputStream; + getMimeType(): string; + getPriority(): number; + getTaskData(): void; + getUserData(): void; + getValue(): GObject.Value; + returnError(error: AuGlibEx.Error): void; + returnSuccess(): void; + setTaskData(notify: () => void): void; + //TypeScript is complete garbage: + getSourceObject(): GObject.Object; + isTagged(): boolean; + legacyPropagateError(): boolean; + } + + class ContentDeserializerCtor { + } + + class ContentProvider extends GObject.Object { + constructor(initializerList ?: ContentProviderCtor); + + parent : GObject.Object; + + formats : AuGDK.ContentFormats; + storableFormats : AuGDK.ContentFormats; + + static NewForBytes(mimeType: string, bytes: AuGlibEx.Bytes): AuGDK.ContentProvider; + static NewForValue(value: GObject.Value): AuGDK.ContentProvider; + static NewUnion(providers: AuGDK.ContentProvider[] | undefined | null, nProviders: number | bigint): AuGDK.ContentProvider; + contentChanged(): void; + getValue(value: GObject.Value): boolean; + refFormats(): AuGDK.ContentFormats; + refStorableFormats(): AuGDK.ContentFormats; + writeMimeTypeAsync(mimeType: string, stream: AuGIO.OutputStream, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + writeMimeTypeFinish(result: AuGIO.AsyncResult): boolean; + //TypeScript is complete garbage: + } + + class ContentProviderCtor { + formats ?: AuGDK.ContentFormats; + storableFormats ?: AuGDK.ContentFormats; + } + + class ContentProviderEventListener extends AuGlibEx.IEventListener { + contentChanged(): void; + } + + class ContentSerializer extends GObject.Object implements AuGIO.AsyncResult { + constructor(initializerList ?: ContentSerializerCtor); + + getCancellable(): AuGIO.Cancellable; + getGtype(): number; + getMimeType(): string; + getOutputStream(): AuGIO.OutputStream; + getPriority(): number; + getTaskData(): void; + getUserData(): void; + getValue(): GObject.Value; + returnError(error: AuGlibEx.Error): void; + returnSuccess(): void; + setTaskData(notify: () => void): void; + //TypeScript is complete garbage: + getSourceObject(): GObject.Object; + isTagged(): boolean; + legacyPropagateError(): boolean; + } + + class ContentSerializerCtor { + } + + class CrossingEvent extends AuGDK.Event { + constructor(initializerList ?: CrossingEventCtor); + + getDetail(): AuGDK.NotifyType; + getFocus(): boolean; + getMode(): AuGDK.CrossingMode; + //TypeScript is complete garbage: + } + + class CrossingEventCtor { + } + + class Cursor extends GObject.Object { + constructor(initializerList ?: CursorCtor); + + fallback : AuGDK.Cursor; + hotspotX : number; + hotspotY : number; + name : string; + texture : AuGDK.Texture; + + static NewFromName(name: string, fallback: AuGDK.Cursor | undefined | null): AuGDK.Cursor; + static NewFromTexture(texture: AuGDK.Texture, hotspotX: number, hotspotY: number, fallback: AuGDK.Cursor | undefined | null): AuGDK.Cursor; + getFallback(): AuGDK.Cursor; + getHotspotX(): number; + getHotspotY(): number; + getName(): string; + getTexture(): AuGDK.Texture; + //TypeScript is complete garbage: + } + + class CursorCtor { + fallback ?: AuGDK.Cursor; + hotspotX ?: number; + hotspotY ?: number; + name ?: string; + texture ?: AuGDK.Texture; + } + + class DNDEvent extends AuGDK.Event { + constructor(initializerList ?: DNDEventCtor); + + getDrop(): AuGDK.Drop; + //TypeScript is complete garbage: + } + + class DNDEventCtor { + } + + class DeleteEvent extends AuGDK.Event { + constructor(initializerList ?: DeleteEventCtor); + + //TypeScript is complete garbage: + } + + class DeleteEventCtor { + } + + class Device extends GObject.Object { + constructor(initializerList ?: DeviceCtor); + + capsLockState : boolean; + direction : AuPango.Direction; + display : AuGDK.Display; + hasBidiLayouts : boolean; + hasCursor : boolean; + modifierState : AuGDK.ModifierType; + nAxes : number; + name : string; + numLockState : boolean; + numTouches : number; + productId : string; + scrollLockState : boolean; + seat : AuGDK.Seat; + source : AuGDK.InputSource; + tool : AuGDK.DeviceTool; + vendorId : string; + + getCapsLockState(): boolean; + getDeviceTool(): AuGDK.DeviceTool; + getDirection(): AuPango.Direction; + getDisplay(): AuGDK.Display; + getHasCursor(): boolean; + getModifierState(): AuGDK.ModifierType; + getName(): string; + getNumLockState(): boolean; + getNumTouches(): number; + getProductId(): string; + getScrollLockState(): boolean; + getSeat(): AuGDK.Seat; + getSource(): AuGDK.InputSource; + getSurfaceAtPosition(winX ?: number, winY ?: number): AuGDK.Surface; + getTimestamp(): number; + getVendorId(): string; + //TypeScript is complete garbage: + } + + class DeviceCtor { + display ?: AuGDK.Display; + name ?: string; + source ?: AuGDK.InputSource; + hasCursor ?: boolean; + nAxes ?: number; + vendorId ?: string; + productId ?: string; + seat ?: AuGDK.Seat; + numTouches ?: number; + tool ?: AuGDK.DeviceTool; + direction ?: AuPango.Direction; + hasBidiLayouts ?: boolean; + capsLockState ?: boolean; + numLockState ?: boolean; + scrollLockState ?: boolean; + modifierState ?: AuGDK.ModifierType; + } + + class DeviceEventListener extends AuGlibEx.IEventListener { + changed(): void; + toolChanged(tool: AuGDK.DeviceTool): void; + } + + class DeviceTool extends GObject.Object { + constructor(initializerList ?: DeviceToolCtor); + + axes : AuGDK.AxisFlags; + hardwareId : number | bigint; + serial : number | bigint; + toolType : AuGDK.DeviceToolType; + + getAxes(): AuGDK.AxisFlags; + getHardwareId(): number | bigint; + getSerial(): number | bigint; + getToolType(): AuGDK.DeviceToolType; + //TypeScript is complete garbage: + } + + class DeviceToolCtor { + serial ?: number; + toolType ?: AuGDK.DeviceToolType; + axes ?: AuGDK.AxisFlags; + hardwareId ?: number; + } + + class Display extends GObject.Object { + constructor(initializerList ?: DisplayCtor); + + composited : boolean; + inputShapes : boolean; + rgba : boolean; + + static GetDefault(): AuGDK.Display; + static Open(displayName: string | undefined | null): AuGDK.Display; + beep(): void; + close(): void; + createGlContext(): AuGDK.GLContext; + deviceIsGrabbed(device: AuGDK.Device): boolean; + flush(): void; + getAppLaunchContext(): AuGDK.AppLaunchContext; + getClipboard(): AuGDK.Clipboard; + getDefaultSeat(): AuGDK.Seat; + getMonitorAtSurface(surface: AuGDK.Surface): AuGDK.Monitor; + getMonitors(): AuGIO.ListModel; + getName(): string; + getPrimaryClipboard(): AuGDK.Clipboard; + getSetting(name: string, value: GObject.Value): boolean; + getStartupNotificationId(): string; + isClosed(): boolean; + isComposited(): boolean; + isRgba(): boolean; + listSeats(): AuGDK.Seat[]; + mapKeycode(keycode: number, keys ?: AuGDK.KeymapKey[], keyvals ?: number[], nEntries ?: number): boolean; + mapKeyval(keyval: number, keys: AuGDK.KeymapKey[], nKeys: number): boolean; + notifyStartupComplete(startupId: string): void; + prepareGl(): boolean; + putEvent(event: AuGDK.Event): void; + supportsInputShapes(): boolean; + sync(): void; + translateKey(keycode: number, state: AuGDK.ModifierType, group: number, keyval ?: number, effectiveGroup ?: number, level ?: number, consumed ?: AuGDK.ModifierType): boolean; + //TypeScript is complete garbage: + } + + class DisplayCtor { + composited ?: boolean; + rgba ?: boolean; + inputShapes ?: boolean; + } + + class DisplayEventListener extends AuGlibEx.IEventListener { + closed(isError: boolean): void; + opened(): void; + seatAdded(seat: AuGDK.Seat): void; + seatRemoved(seat: AuGDK.Seat): void; + settingChanged(setting: string): void; + } + + class DisplayManager extends GObject.Object { + constructor(initializerList ?: DisplayManagerCtor); + + defaultDisplay : AuGDK.Display; + + static Get(): AuGDK.DisplayManager; + getDefaultDisplay(): AuGDK.Display; + listDisplays(): AuGDK.Display[]; + openDisplay(name: string): AuGDK.Display; + setDefaultDisplay(display: AuGDK.Display): void; + //TypeScript is complete garbage: + } + + class DisplayManagerCtor { + defaultDisplay ?: AuGDK.Display; + } + + class DisplayManagerEventListener extends AuGlibEx.IEventListener { + displayOpened(display: AuGDK.Display): void; + } + + class Drag extends GObject.Object { + constructor(initializerList ?: DragCtor); + + actions : AuGDK.DragAction; + content : AuGDK.ContentProvider; + device : AuGDK.Device; + display : AuGDK.Display; + formats : AuGDK.ContentFormats; + selectedAction : AuGDK.DragAction; + surface : AuGDK.Surface; + + static Begin(surface: AuGDK.Surface, device: AuGDK.Device, content: AuGDK.ContentProvider, actions: AuGDK.DragAction, dx: number, dy: number): AuGDK.Drag; + dropDone(success: boolean): void; + getActions(): AuGDK.DragAction; + getContent(): AuGDK.ContentProvider; + getDevice(): AuGDK.Device; + getDisplay(): AuGDK.Display; + getDragSurface(): AuGDK.Surface; + getFormats(): AuGDK.ContentFormats; + getSelectedAction(): AuGDK.DragAction; + getSurface(): AuGDK.Surface; + setHotspot(hotX: number, hotY: number): void; + //TypeScript is complete garbage: + } + + class DragCtor { + content ?: AuGDK.ContentProvider; + device ?: AuGDK.Device; + display ?: AuGDK.Display; + formats ?: AuGDK.ContentFormats; + selectedAction ?: AuGDK.DragAction; + actions ?: AuGDK.DragAction; + surface ?: AuGDK.Surface; + } + + class DragEventListener extends AuGlibEx.IEventListener { + cancel(reason: AuGDK.DragCancelReason): void; + dndFinished(): void; + dropPerformed(): void; + } + + class DrawContext extends GObject.Object { + constructor(initializerList ?: DrawContextCtor); + + display : AuGDK.Display; + surface : AuGDK.Surface; + + beginFrame(region: cairo.Region): void; + endFrame(): void; + getDisplay(): AuGDK.Display; + getFrameRegion(): cairo.Region; + getSurface(): AuGDK.Surface; + isInFrame(): boolean; + //TypeScript is complete garbage: + } + + class DrawContextCtor { + display ?: AuGDK.Display; + surface ?: AuGDK.Surface; + } + + class Drop extends GObject.Object { + constructor(initializerList ?: DropCtor); + + actions : AuGDK.DragAction; + device : AuGDK.Device; + display : AuGDK.Display; + drag : AuGDK.Drag; + formats : AuGDK.ContentFormats; + surface : AuGDK.Surface; + + finish(action: AuGDK.DragAction): void; + getActions(): AuGDK.DragAction; + getDevice(): AuGDK.Device; + getDisplay(): AuGDK.Display; + getDrag(): AuGDK.Drag; + getFormats(): AuGDK.ContentFormats; + getSurface(): AuGDK.Surface; + readAsync(mimeTypes: string[], ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readFinish(result: AuGIO.AsyncResult, outMimeType: string): AuGIO.InputStream; + readValueAsync(type: number, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readValueFinish(result: AuGIO.AsyncResult): GObject.Value; + status(actions: AuGDK.DragAction, preferred: AuGDK.DragAction): void; + //TypeScript is complete garbage: + } + + class DropCtor { + actions ?: AuGDK.DragAction; + device ?: AuGDK.Device; + display ?: AuGDK.Display; + drag ?: AuGDK.Drag; + formats ?: AuGDK.ContentFormats; + surface ?: AuGDK.Surface; + } + + class Event { + constructor(initializerList ?: EventCtor); + + getAngle(event2: AuGDK.Event, angle: number): boolean; + getCenter(event2: AuGDK.Event, x: number, y: number): boolean; + getDistance(event2: AuGDK.Event, distance: number): boolean; + getAxes(axes: number[], nAxes: number): boolean; + getAxis(axisUse: AuGDK.AxisUse, value: number): boolean; + getDevice(): AuGDK.Device; + getDeviceTool(): AuGDK.DeviceTool; + getDisplay(): AuGDK.Display; + getEventSequence(): AuGDK.EventSequence; + getEventType(): AuGDK.EventType; + getHistory(outNCoords: number): AuGDK.TimeCoord[]; + getModifierState(): AuGDK.ModifierType; + getPointerEmulated(): boolean; + getPosition(x: number, y: number): boolean; + getSeat(): AuGDK.Seat; + getSurface(): AuGDK.Surface; + getTime(): number; + ref(): AuGDK.Event; + triggersContextMenu(): boolean; + unref(): void; + //TypeScript is complete garbage: + } + + class EventCtor { + } + + class FocusEvent extends AuGDK.Event { + constructor(initializerList ?: FocusEventCtor); + + getIn(): boolean; + //TypeScript is complete garbage: + } + + class FocusEventCtor { + } + + class FrameClock extends GObject.Object { + constructor(initializerList ?: FrameClockCtor); + + beginUpdating(): void; + endUpdating(): void; + getCurrentTimings(): AuGDK.FrameTimings; + getFps(): number; + getFrameCounter(): number | bigint; + getFrameTime(): number | bigint; + getHistoryStart(): number | bigint; + getRefreshInfo(baseTime: number | bigint, refreshIntervalReturn ?: number | bigint, presentationTimeReturn ?: number | bigint): void; + getTimings(frameCounter: number | bigint): AuGDK.FrameTimings; + requestPhase(phase: AuGDK.FrameClockPhase): void; + //TypeScript is complete garbage: + } + + class FrameClockCtor { + } + + class FrameClockEventListener extends AuGlibEx.IEventListener { + afterPaint(): void; + beforePaint(): void; + flushEvents(): void; + layout(): void; + paint(): void; + resumeEvents(): void; + update(): void; + } + + class GLContext extends AuGDK.DrawContext { + constructor(initializerList ?: GLContextCtor); + + allowedApis : AuGDK.GLAPI; + api : AuGDK.GLAPI; + sharedContext : AuGDK.GLContext; + + static ClearCurrent(): void; + static GetCurrent(): AuGDK.GLContext; + getAllowedApis(): AuGDK.GLAPI; + getApi(): AuGDK.GLAPI; + getDebugEnabled(): boolean; + getForwardCompatible(): boolean; + getRequiredVersion(major: number | undefined | null, minor: number | undefined | null): void; + getSharedContext(): AuGDK.GLContext; + getUseEs(): boolean; + getVersion(major: number, minor: number): void; + isLegacy(): boolean; + isShared(other: AuGDK.GLContext): boolean; + makeCurrent(): void; + realize(): boolean; + setAllowedApis(apis: AuGDK.GLAPI): void; + setDebugEnabled(enabled: boolean): void; + setForwardCompatible(compatible: boolean): void; + setRequiredVersion(major: number, minor: number): void; + setUseEs(useEs: number): void; + //TypeScript is complete garbage: + } + + class GLContextCtor { + display ?: AuGDK.Display; + surface ?: AuGDK.Surface; + allowedApis ?: AuGDK.GLAPI; + api ?: AuGDK.GLAPI; + sharedContext ?: AuGDK.GLContext; + } + + class GLTexture extends AuGDK.Texture implements AuGDK.Paintable, AuGIO.Icon, AuGIO.LoadableIcon { + constructor(initializerList ?: GLTextureCtor); + + static New(context: AuGDK.GLContext, id: number, width: number, height: number, destroy: () => void): AuGDK.GLTexture; + release(): void; + //TypeScript is complete garbage: + } + + class GLTextureCtor { + width ?: number; + height ?: number; + } + + class GrabBrokenEvent extends AuGDK.Event { + constructor(initializerList ?: GrabBrokenEventCtor); + + getGrabSurface(): AuGDK.Surface; + getImplicit(): boolean; + //TypeScript is complete garbage: + } + + class GrabBrokenEventCtor { + } + + class KeyEvent extends AuGDK.Event { + constructor(initializerList ?: KeyEventCtor); + + getConsumedModifiers(): AuGDK.ModifierType; + getKeycode(): number; + getKeyval(): number; + getLayout(): number; + getLevel(): number; + getMatch(keyval: number, modifiers: AuGDK.ModifierType): boolean; + isModifier(): boolean; + matches(keyval: number, modifiers: AuGDK.ModifierType): AuGDK.KeyMatch; + //TypeScript is complete garbage: + } + + class KeyEventCtor { + } + + class MemoryTexture extends AuGDK.Texture implements AuGDK.Paintable, AuGIO.Icon, AuGIO.LoadableIcon { + constructor(initializerList ?: MemoryTextureCtor); + + static New(width: number, height: number, format: AuGDK.MemoryFormat, bytes: AuGlibEx.Bytes, stride: number | bigint): AuGDK.MemoryTexture; + //TypeScript is complete garbage: + } + + class MemoryTextureCtor { + width ?: number; + height ?: number; + } + + class Monitor extends GObject.Object { + constructor(initializerList ?: MonitorCtor); + + connector : string; + description : string; + display : AuGDK.Display; + geometry : AuGDK.Rectangle; + heightMm : number; + manufacturer : string; + model : string; + refreshRate : number; + scaleFactor : number; + subpixelLayout : AuGDK.SubpixelLayout; + valid : boolean; + widthMm : number; + + getConnector(): string; + getDescription(): string; + getDisplay(): AuGDK.Display; + getGeometry(geometry: AuGDK.Rectangle): void; + getHeightMm(): number; + getManufacturer(): string; + getModel(): string; + getRefreshRate(): number; + getScaleFactor(): number; + getSubpixelLayout(): AuGDK.SubpixelLayout; + getWidthMm(): number; + isValid(): boolean; + //TypeScript is complete garbage: + } + + class MonitorCtor { + description ?: string; + display ?: AuGDK.Display; + manufacturer ?: string; + model ?: string; + connector ?: string; + scaleFactor ?: number; + geometry ?: AuGDK.Rectangle; + widthMm ?: number; + heightMm ?: number; + refreshRate ?: number; + subpixelLayout ?: AuGDK.SubpixelLayout; + valid ?: boolean; + } + + class MonitorEventListener extends AuGlibEx.IEventListener { + invalidate(): void; + } + + class MotionEvent extends AuGDK.Event { + constructor(initializerList ?: MotionEventCtor); + + //TypeScript is complete garbage: + } + + class MotionEventCtor { + } + + class PadEvent extends AuGDK.Event { + constructor(initializerList ?: PadEventCtor); + + getAxisValue(index: number, value: number): void; + getButton(): number; + getGroupMode(group: number, mode: number): void; + //TypeScript is complete garbage: + } + + class PadEventCtor { + } + + class ProximityEvent extends AuGDK.Event { + constructor(initializerList ?: ProximityEventCtor); + + //TypeScript is complete garbage: + } + + class ProximityEventCtor { + } + + class ScrollEvent extends AuGDK.Event { + constructor(initializerList ?: ScrollEventCtor); + + getDeltas(deltaX: number, deltaY: number): void; + getDirection(): AuGDK.ScrollDirection; + getUnit(): AuGDK.ScrollUnit; + isStop(): boolean; + //TypeScript is complete garbage: + } + + class ScrollEventCtor { + } + + class Seat extends GObject.Object { + constructor(initializerList ?: SeatCtor); + + parentInstance : GObject.Object; + + display : AuGDK.Display; + + getCapabilities(): AuGDK.SeatCapabilities; + getDevices(capabilities: AuGDK.SeatCapabilities): AuGDK.Device[]; + getDisplay(): AuGDK.Display; + getKeyboard(): AuGDK.Device; + getPointer(): AuGDK.Device; + getTools(): AuGDK.DeviceTool[]; + //TypeScript is complete garbage: + } + + class SeatCtor { + display ?: AuGDK.Display; + } + + class SeatEventListener extends AuGlibEx.IEventListener { + deviceAdded(device: AuGDK.Device): void; + deviceRemoved(device: AuGDK.Device): void; + toolAdded(tool: AuGDK.DeviceTool): void; + toolRemoved(tool: AuGDK.DeviceTool): void; + } + + class Snapshot extends GObject.Object { + constructor(initializerList ?: SnapshotCtor); + + //TypeScript is complete garbage: + } + + class SnapshotCtor { + } + + class Surface extends GObject.Object { + constructor(initializerList ?: SurfaceCtor); + + cursor : AuGDK.Cursor; + display : AuGDK.Display; + frameClock : AuGDK.FrameClock; + height : number; + mapped : boolean; + scaleFactor : number; + width : number; + + static NewPopup(parent: AuGDK.Surface, autohide: boolean): AuGDK.Surface; + static NewToplevel(display: AuGDK.Display): AuGDK.Surface; + beep(): void; + createCairoContext(): AuGDK.CairoContext; + createGlContext(): AuGDK.GLContext; + createSimilarSurface(content: cairo.Content, width: number, height: number): cairo.Surface; + createVulkanContext(): AuGDK.VulkanContext; + destroy(): void; + getCursor(): AuGDK.Cursor; + getDeviceCursor(device: AuGDK.Device): AuGDK.Cursor; + getDevicePosition(device: AuGDK.Device, x ?: number, y ?: number, mask ?: AuGDK.ModifierType): boolean; + getDisplay(): AuGDK.Display; + getFrameClock(): AuGDK.FrameClock; + getHeight(): number; + getMapped(): boolean; + getScaleFactor(): number; + getWidth(): number; + hide(): void; + isDestroyed(): boolean; + queueRender(): void; + requestLayout(): void; + setCursor(cursor: AuGDK.Cursor | undefined | null): void; + setDeviceCursor(device: AuGDK.Device, cursor: AuGDK.Cursor): void; + setInputRegion(region: cairo.Region): void; + setOpaqueRegion(region: cairo.Region | undefined | null): void; + translateCoordinates(to: AuGDK.Surface, x: number, y: number): boolean; + //TypeScript is complete garbage: + } + + class SurfaceCtor { + cursor ?: AuGDK.Cursor; + display ?: AuGDK.Display; + frameClock ?: AuGDK.FrameClock; + mapped ?: boolean; + width ?: number; + height ?: number; + scaleFactor ?: number; + } + + class SurfaceEventListener extends AuGlibEx.IEventListener { + enterMonitor(monitor: AuGDK.Monitor): void; + event(event: AuGDK.Event): boolean; + layout(width: number, height: number): void; + leaveMonitor(monitor: AuGDK.Monitor): void; + render(region: cairo.Region): boolean; + } + + class Texture extends GObject.Object implements AuGDK.Paintable, AuGIO.Icon, AuGIO.LoadableIcon { + constructor(initializerList ?: TextureCtor); + + height : number; + width : number; + + static NewForPixbuf(pixbuf: AuGDKPixBuf.Pixbuf): AuGDK.Texture; + static NewFromBytes(bytes: AuGlibEx.Bytes): AuGDK.Texture; + static NewFromFile(file: AuGIO.File): AuGDK.Texture; + static NewFromFilename(path: string): AuGDK.Texture; + static NewFromResource(resourcePath: string): AuGDK.Texture; + download(data: number[], stride: number | bigint): void; + getHeight(): number; + getWidth(): number; + saveToPng(filename: string): boolean; + saveToPngBytes(): AuGlibEx.Bytes; + saveToTiff(filename: string): boolean; + saveToTiffBytes(): AuGlibEx.Bytes; + //TypeScript is complete garbage: + static NewEmpty(intrinsicWidth: number, intrinsicHeight: number): AuGDK.Paintable; + computeConcreteSize(specifiedWidth: number, specifiedHeight: number, defaultWidth: number, defaultHeight: number, concreteWidth: number, concreteHeight: number): void; + getCurrentImage(): AuGDK.Paintable; + getFlags(): AuGDK.PaintableFlags; + getIntrinsicAspectRatio(): number; + getIntrinsicHeight(): number; + getIntrinsicWidth(): number; + invalidateContents(): void; + invalidateSize(): void; + snapshot(snapshot: AuGDK.Snapshot, width: number, height: number): void; + static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon; + static Hash(): number; + static NewForString(str: string): AuGIO.Icon; + equal(icon2: AuGIO.Icon | undefined | null): boolean; + serialize(): AuGlibEx.Variant; + load(size: number, type ?: string, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.InputStream; + loadAsync(size: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + loadFinish(res: AuGIO.AsyncResult, type ?: string): AuGIO.InputStream; + } + + class TextureCtor { + width ?: number; + height ?: number; + } + + class TouchEvent extends AuGDK.Event { + constructor(initializerList ?: TouchEventCtor); + + getEmulatingPointer(): boolean; + //TypeScript is complete garbage: + } + + class TouchEventCtor { + } + + class TouchpadEvent extends AuGDK.Event { + constructor(initializerList ?: TouchpadEventCtor); + + getDeltas(dx: number, dy: number): void; + getGesturePhase(): AuGDK.TouchpadGesturePhase; + getNFingers(): number; + getPinchAngleDelta(): number; + getPinchScale(): number; + //TypeScript is complete garbage: + } + + class TouchpadEventCtor { + } + + class VulkanContext extends AuGDK.DrawContext implements AuGIO.Initable { + constructor(initializerList ?: VulkanContextCtor); + + //TypeScript is complete garbage: + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class VulkanContextCtor { + display ?: AuGDK.Display; + surface ?: AuGDK.Surface; + } + + class VulkanContextEventListener extends AuGlibEx.IEventListener { + imagesUpdated(): void; + } +} \ No newline at end of file diff --git a/GdkPixbuf.d.ts b/GdkPixbuf.d.ts new file mode 100644 index 0000000..dbbe6fa --- /dev/null +++ b/GdkPixbuf.d.ts @@ -0,0 +1,383 @@ +declare namespace AuGDKPixBuf { + + class Colorspace { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kRgb": Colorspace + } + + class InterpType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNearest": InterpType + static readonly "kTiles": InterpType + static readonly "kBilinear": InterpType + static readonly "kHyper": InterpType + } + + class PixbufAlphaMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBilevel": PixbufAlphaMode + static readonly "kFull": PixbufAlphaMode + } + + class PixbufError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCorruptImage": PixbufError + static readonly "kInsufficientMemory": PixbufError + static readonly "kBadOption": PixbufError + static readonly "kUnknownType": PixbufError + static readonly "kUnsupportedOperation": PixbufError + static readonly "kFailed": PixbufError + static readonly "kIncompleteAnimation": PixbufError + } + + class PixbufFormatFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kWritable": PixbufFormatFlags + static readonly "kScalable": PixbufFormatFlags + static readonly "kThreadsafe": PixbufFormatFlags + } + + class PixbufRotation { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": PixbufRotation + static readonly "kCounterclockwise": PixbufRotation + static readonly "kUpsidedown": PixbufRotation + static readonly "kClockwise": PixbufRotation + } + + + class PixbufAnimationClass { + parentClass : GObject.ObjectClass; + isStaticImage : (animation: AuGDKPixBuf.PixbufAnimation) => boolean; + getStaticImage : (animation: AuGDKPixBuf.PixbufAnimation) => AuGDKPixBuf.Pixbuf; + getSize : (animation: AuGDKPixBuf.PixbufAnimation, width: number, height: number) => void; + getIter : (animation: AuGDKPixBuf.PixbufAnimation, startTime: AuGlibEx.TimeVal | undefined | null) => AuGDKPixBuf.PixbufAnimationIter; + + } + + class PixbufAnimationIterClass { + parentClass : GObject.ObjectClass; + getDelayTime : (iter: AuGDKPixBuf.PixbufAnimationIter) => number; + getPixbuf : (iter: AuGDKPixBuf.PixbufAnimationIter) => AuGDKPixBuf.Pixbuf; + onCurrentlyLoadingFrame : (iter: AuGDKPixBuf.PixbufAnimationIter) => boolean; + advance : (iter: AuGDKPixBuf.PixbufAnimationIter, currentTime: AuGlibEx.TimeVal | undefined | null) => boolean; + + } + + class PixbufFormat { + name : string; + signature : AuGDKPixBuf.PixbufModulePattern; + domain : string; + description : string; + mimeTypes : string[]; + extensions : string[]; + flags : number; + disabled : boolean; + license : string; + + copy(): AuGDKPixBuf.PixbufFormat; + free(): void; + getDescription(): string; + getExtensions(): string[]; + getLicense(): string; + getMimeTypes(): string[]; + getName(): string; + isDisabled(): boolean; + isSaveOptionSupported(optionKey: string): boolean; + isScalable(): boolean; + isWritable(): boolean; + setDisabled(disabled: boolean): void; + } + + class PixbufLoaderClass { + parentClass : GObject.ObjectClass; + sizePrepared : (loader: AuGDKPixBuf.PixbufLoader, width: number, height: number) => void; + areaPrepared : (loader: AuGDKPixBuf.PixbufLoader) => void; + areaUpdated : (loader: AuGDKPixBuf.PixbufLoader, x: number, y: number, width: number, height: number) => void; + closed : (loader: AuGDKPixBuf.PixbufLoader) => void; + + } + + class PixbufModule { + moduleName : string; + modulePath : string; + info : AuGDKPixBuf.PixbufFormat; + load : () => AuGDKPixBuf.Pixbuf; + loadXPmData : (data: string[]) => AuGDKPixBuf.Pixbuf; + beginLoad : void; + stopLoad : () => boolean; + loadIncrement : (buf: number[], size: number) => boolean; + loadAnimation : () => AuGDKPixBuf.PixbufAnimation; + save : (pixbuf: AuGDKPixBuf.Pixbuf, paramKeys: string[] | undefined | null, paramValues: string[] | undefined | null) => boolean; + saveToCallback : void; + isSaveOptionSupported : (optionKey: string) => boolean; + reserved1 : void; + reserved2 : void; + reserved3 : void; + reserved4 : void; + + } + + class PixbufModulePattern { + prefix : string; + mask : string; + relevance : number; + + } + + class PixbufSimpleAnimClass { + } + + + class Pixbuf extends GObject.Object implements AuGIO.Icon, AuGIO.LoadableIcon { + constructor(initializerList ?: PixbufCtor); + + bitsPerSample : number; + colorspace : AuGDKPixBuf.Colorspace; + hasAlpha : boolean; + height : number; + nChannels : number; + pixelBytes : AuGlibEx.Bytes; + pixels : void; + rowstride : number; + width : number; + + static New(colorspace: AuGDKPixBuf.Colorspace, hasAlpha: boolean, bitsPerSample: number, width: number, height: number): AuGDKPixBuf.Pixbuf; + static NewFromBytes(data: AuGlibEx.Bytes, colorspace: AuGDKPixBuf.Colorspace, hasAlpha: boolean, bitsPerSample: number, width: number, height: number, rowstride: number): AuGDKPixBuf.Pixbuf; + static NewFromData(data: number[], colorspace: AuGDKPixBuf.Colorspace, hasAlpha: boolean, bitsPerSample: number, width: number, height: number, rowstride: number, destroyFn: (pixels: number[]) => void | undefined | null): AuGDKPixBuf.Pixbuf; + static NewFromFile(filename: string): AuGDKPixBuf.Pixbuf; + static NewFromFileAtScale(filename: string, width: number, height: number, preserveAspectRatio: boolean): AuGDKPixBuf.Pixbuf; + static NewFromFileAtScaleUtf8(filename: string, width: number, height: number, preserveAspectRatio: boolean): AuGDKPixBuf.Pixbuf; + static NewFromFileAtSize(filename: string, width: number, height: number): AuGDKPixBuf.Pixbuf; + static NewFromFileAtSizeUtf8(filename: string, width: number, height: number): AuGDKPixBuf.Pixbuf; + static NewFromFileUtf8(filename: string): AuGDKPixBuf.Pixbuf; + static NewFromInline(dataLength: number, data: number[], copyPixels: boolean): AuGDKPixBuf.Pixbuf; + static NewFromResource(resourcePath: string): AuGDKPixBuf.Pixbuf; + static NewFromResourceAtScale(resourcePath: string, width: number, height: number, preserveAspectRatio: boolean): AuGDKPixBuf.Pixbuf; + static NewFromStream(stream: AuGIO.InputStream, cancellable: AuGIO.Cancellable | undefined | null): AuGDKPixBuf.Pixbuf; + static NewFromStreamAtScale(stream: AuGIO.InputStream, width: number, height: number, preserveAspectRatio: boolean, cancellable: AuGIO.Cancellable | undefined | null): AuGDKPixBuf.Pixbuf; + static NewFromStreamFinish(asyncResult: AuGIO.AsyncResult): AuGDKPixBuf.Pixbuf; + static NewFromXPmData(data: string[]): AuGDKPixBuf.Pixbuf; + static CalculateRowstride(colorspace: AuGDKPixBuf.Colorspace, hasAlpha: boolean, bitsPerSample: number, width: number, height: number): number; + static GetFileInfo(filename: string, width ?: number, height ?: number): AuGDKPixBuf.PixbufFormat; + static GetFileInfoAsync(filename: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + static GetFileInfoFinish(asyncResult: AuGIO.AsyncResult, width: number, height: number): AuGDKPixBuf.PixbufFormat; + static GetFormats(): AuGDKPixBuf.PixbufFormat[]; + static InitModules(path: string): boolean; + static NewFromStreamAsync(stream: AuGIO.InputStream, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + static NewFromStreamAtScaleAsync(stream: AuGIO.InputStream, width: number, height: number, preserveAspectRatio: boolean, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + static SaveToStreamFinish(asyncResult: AuGIO.AsyncResult): boolean; + addAlpha(substituteColor: boolean, r: number, g: number, b: number): AuGDKPixBuf.Pixbuf; + applyEmbeddedOrientation(): AuGDKPixBuf.Pixbuf; + composite(dest: AuGDKPixBuf.Pixbuf, destX: number, destY: number, destWidth: number, destHeight: number, offsetX: number, offsetY: number, scaleX: number, scaleY: number, interpType: AuGDKPixBuf.InterpType, overallAlpha: number): void; + compositeColor(dest: AuGDKPixBuf.Pixbuf, destX: number, destY: number, destWidth: number, destHeight: number, offsetX: number, offsetY: number, scaleX: number, scaleY: number, interpType: AuGDKPixBuf.InterpType, overallAlpha: number, checkX: number, checkY: number, checkSize: number, color1: number, color2: number): void; + compositeColorSimple(destWidth: number, destHeight: number, interpType: AuGDKPixBuf.InterpType, overallAlpha: number, checkSize: number, color1: number, color2: number): AuGDKPixBuf.Pixbuf; + copy(): AuGDKPixBuf.Pixbuf; + copyArea(srcX: number, srcY: number, width: number, height: number, destPixbuf: AuGDKPixBuf.Pixbuf, destX: number, destY: number): void; + copyOptions(destPixbuf: AuGDKPixBuf.Pixbuf): boolean; + fill(pixel: number): void; + flip(horizontal: boolean): AuGDKPixBuf.Pixbuf; + getBitsPerSample(): number; + getByteLength(): number | bigint; + getColorspace(): AuGDKPixBuf.Colorspace; + getHasAlpha(): boolean; + getHeight(): number; + getNChannels(): number; + getOption(key: string): string; + getOptions(): number; + getPixels(length: number): number[]; + getRowstride(): number; + getWidth(): number; + newSubpixbuf(srcX: number, srcY: number, width: number, height: number): AuGDKPixBuf.Pixbuf; + readPixelBytes(): AuGlibEx.Bytes; + readPixels(): number; + removeOption(key: string): boolean; + rotateSimple(angle: AuGDKPixBuf.PixbufRotation): AuGDKPixBuf.Pixbuf; + saturateAndPixelate(dest: AuGDKPixBuf.Pixbuf, saturation: number, pixelate: boolean): void; + saveToBufferv(buffer: number[], bufferSize: number | bigint, type: string, optionKeys: string[] | undefined | null, optionValues: string[] | undefined | null): boolean; + saveToCallbackv(saveFunc: (buf: number[], count: number | bigint, error: AuGlibEx.Error) => boolean, type: string, optionKeys: string[] | undefined | null, optionValues: string[] | undefined | null): boolean; + saveToStreamv(stream: AuGIO.OutputStream, type: string, optionKeys: string[] | undefined | null, optionValues: string[] | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): boolean; + saveToStreamvAsync(stream: AuGIO.OutputStream, type: string, optionKeys: string[] | undefined | null, optionValues: string[] | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + savev(filename: string, type: string, optionKeys: string[] | undefined | null, optionValues: string[] | undefined | null): boolean; + savevUtf8(filename: string, type: string, optionKeys: string[] | undefined | null, optionValues: string[] | undefined | null): boolean; + scale(dest: AuGDKPixBuf.Pixbuf, destX: number, destY: number, destWidth: number, destHeight: number, offsetX: number, offsetY: number, scaleX: number, scaleY: number, interpType: AuGDKPixBuf.InterpType): void; + scaleSimple(destWidth: number, destHeight: number, interpType: AuGDKPixBuf.InterpType): AuGDKPixBuf.Pixbuf; + setOption(key: string, value: string): boolean; + //TypeScript is complete garbage: + static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon; + static Hash(): number; + static NewForString(str: string): AuGIO.Icon; + equal(icon2: AuGIO.Icon | undefined | null): boolean; + serialize(): AuGlibEx.Variant; + load(size: number, type ?: string, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.InputStream; + loadAsync(size: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + loadFinish(res: AuGIO.AsyncResult, type ?: string): AuGIO.InputStream; + } + + class PixbufCtor { + colorspace ?: AuGDKPixBuf.Colorspace; + nChannels ?: number; + hasAlpha ?: boolean; + bitsPerSample ?: number; + width ?: number; + height ?: number; + rowstride ?: number; + pixels ?: number | bigint; + pixelBytes ?: AuGlibEx.Bytes; + } + + class PixbufAnimation extends GObject.Object { + constructor(initializerList ?: PixbufAnimationCtor); + + parentInstance : GObject.Object; + + static NewFromFile(filename: string): AuGDKPixBuf.PixbufAnimation; + static NewFromFileUtf8(filename: string): AuGDKPixBuf.PixbufAnimation; + static NewFromResource(resourcePath: string): AuGDKPixBuf.PixbufAnimation; + static NewFromStream(stream: AuGIO.InputStream, cancellable: AuGIO.Cancellable | undefined | null): AuGDKPixBuf.PixbufAnimation; + static NewFromStreamFinish(asyncResult: AuGIO.AsyncResult): AuGDKPixBuf.PixbufAnimation; + static NewFromStreamAsync(stream: AuGIO.InputStream, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + getHeight(): number; + getIter(startTime: AuGlibEx.TimeVal | undefined | null): AuGDKPixBuf.PixbufAnimationIter; + getStaticImage(): AuGDKPixBuf.Pixbuf; + getWidth(): number; + isStaticImage(): boolean; + //TypeScript is complete garbage: + } + + class PixbufAnimationCtor { + } + + class PixbufAnimationIter extends GObject.Object { + constructor(initializerList ?: PixbufAnimationIterCtor); + + parentInstance : GObject.Object; + + advance(currentTime: AuGlibEx.TimeVal | undefined | null): boolean; + getDelayTime(): number; + getPixbuf(): AuGDKPixBuf.Pixbuf; + onCurrentlyLoadingFrame(): boolean; + //TypeScript is complete garbage: + } + + class PixbufAnimationIterCtor { + } + + class PixbufLoader extends GObject.Object { + constructor(initializerList ?: PixbufLoaderCtor); + + parentInstance : GObject.Object; + priv : void; + + static New(): AuGDKPixBuf.PixbufLoader; + static NewWithMimeType(mimeType: string): AuGDKPixBuf.PixbufLoader; + static NewWithType(imageType: string): AuGDKPixBuf.PixbufLoader; + close(): boolean; + getAnimation(): AuGDKPixBuf.PixbufAnimation; + getFormat(): AuGDKPixBuf.PixbufFormat; + getPixbuf(): AuGDKPixBuf.Pixbuf; + setSize(width: number, height: number): void; + write(buf: number[], count: number | bigint): boolean; + writeBytes(buffer: AuGlibEx.Bytes): boolean; + //TypeScript is complete garbage: + } + + class PixbufLoaderCtor { + } + + class PixbufLoaderEventListener extends AuGlibEx.IEventListener { + areaPrepared(): void; + areaUpdated(x: number, y: number, width: number, height: number): void; + closed(): void; + sizePrepared(width: number, height: number): void; + } + + class PixbufNonAnim extends AuGDKPixBuf.PixbufAnimation { + constructor(initializerList ?: PixbufNonAnimCtor); + + static New(pixbuf: AuGDKPixBuf.Pixbuf): AuGDKPixBuf.PixbufAnimation; + //TypeScript is complete garbage: + } + + class PixbufNonAnimCtor { + } + + class PixbufSimpleAnim extends AuGDKPixBuf.PixbufAnimation { + constructor(initializerList ?: PixbufSimpleAnimCtor); + + loop : boolean; + + static New(width: number, height: number, rate: number): AuGDKPixBuf.PixbufSimpleAnim; + addFrame(pixbuf: AuGDKPixBuf.Pixbuf): void; + getLoop(): boolean; + setLoop(loop: boolean): void; + //TypeScript is complete garbage: + } + + class PixbufSimpleAnimCtor { + loop ?: boolean; + } + + class PixbufSimpleAnimIter extends AuGDKPixBuf.PixbufAnimationIter { + constructor(initializerList ?: PixbufSimpleAnimIterCtor); + + //TypeScript is complete garbage: + } + + class PixbufSimpleAnimIterCtor { + } +} \ No newline at end of file diff --git a/Gio.d.ts b/Gio.d.ts new file mode 100644 index 0000000..7d5f1f9 --- /dev/null +++ b/Gio.d.ts @@ -0,0 +1,6978 @@ +declare namespace AuGIO { + + class AppInfoCreateFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": AppInfoCreateFlags + static readonly "kNeedsTerminal": AppInfoCreateFlags + static readonly "kSupportsUris": AppInfoCreateFlags + static readonly "kSupportsStartupNotification": AppInfoCreateFlags + } + + class ApplicationFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFlagsNone": ApplicationFlags + static readonly "kIsService": ApplicationFlags + static readonly "kIsLauncher": ApplicationFlags + static readonly "kHandlesOpen": ApplicationFlags + static readonly "kHandlesCommandLine": ApplicationFlags + static readonly "kSendEnvironment": ApplicationFlags + static readonly "kNonUnique": ApplicationFlags + static readonly "kCanOverrideAppId": ApplicationFlags + static readonly "kAllowReplacement": ApplicationFlags + static readonly "kReplace": ApplicationFlags + } + + class AskPasswordFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNeedPassword": AskPasswordFlags + static readonly "kNeedUsername": AskPasswordFlags + static readonly "kNeedDomain": AskPasswordFlags + static readonly "kSavingSupported": AskPasswordFlags + static readonly "kAnonymousSupported": AskPasswordFlags + static readonly "kTcrypt": AskPasswordFlags + } + + class BusNameOwnerFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": BusNameOwnerFlags + static readonly "kAllowReplacement": BusNameOwnerFlags + static readonly "kReplace": BusNameOwnerFlags + static readonly "kDoNotQueue": BusNameOwnerFlags + } + + class BusNameWatcherFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": BusNameWatcherFlags + static readonly "kAutoStart": BusNameWatcherFlags + } + + class BusType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStarter": BusType + static readonly "kNone": BusType + static readonly "kSystem": BusType + static readonly "kSession": BusType + } + + class ConverterFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": ConverterFlags + static readonly "kInputAtEnd": ConverterFlags + static readonly "kFlush": ConverterFlags + } + + class ConverterResult { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kError": ConverterResult + static readonly "kConverted": ConverterResult + static readonly "kFinished": ConverterResult + static readonly "kFlushed": ConverterResult + } + + class CredentialsType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": CredentialsType + static readonly "kLinuxUcred": CredentialsType + static readonly "kFreebsdCmsgcred": CredentialsType + static readonly "kOpenbsdSockpeercred": CredentialsType + static readonly "kSolarisUcred": CredentialsType + static readonly "kNetbsdUnpcbid": CredentialsType + static readonly "kAppleXUcred": CredentialsType + static readonly "kWin32Pid": CredentialsType + } + + class DBusCallFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusCallFlags + static readonly "kNoAutoStart": DBusCallFlags + static readonly "kAllowInteractiveAuthorization": DBusCallFlags + } + + class DBusCapabilityFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusCapabilityFlags + static readonly "kUnixFdPassing": DBusCapabilityFlags + } + + class DBusConnectionFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusConnectionFlags + static readonly "kAuthenticationClient": DBusConnectionFlags + static readonly "kAuthenticationServer": DBusConnectionFlags + static readonly "kAuthenticationAllowAnonymous": DBusConnectionFlags + static readonly "kMessageBusConnection": DBusConnectionFlags + static readonly "kDelayMessageProcessing": DBusConnectionFlags + static readonly "kAuthenticationRequireSameUser": DBusConnectionFlags + } + + class DBusError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": DBusError + static readonly "kNoMemory": DBusError + static readonly "kServiceUnknown": DBusError + static readonly "kNameHasNoOwner": DBusError + static readonly "kNoReply": DBusError + static readonly "kIoError": DBusError + static readonly "kBadAddress": DBusError + static readonly "kNotSupported": DBusError + static readonly "kLimitsExceeded": DBusError + static readonly "kAccessDenied": DBusError + static readonly "kAuthFailed": DBusError + static readonly "kNoServer": DBusError + static readonly "kTimeout": DBusError + static readonly "kNoNetwork": DBusError + static readonly "kAddressInUse": DBusError + static readonly "kDisconnected": DBusError + static readonly "kInvalidArgs": DBusError + static readonly "kFileNotFound": DBusError + static readonly "kFileExists": DBusError + static readonly "kUnknownMethod": DBusError + static readonly "kTimedOut": DBusError + static readonly "kMatchRuleNotFound": DBusError + static readonly "kMatchRuleInvalid": DBusError + static readonly "kSpawnExecFailed": DBusError + static readonly "kSpawnForkFailed": DBusError + static readonly "kSpawnChildExited": DBusError + static readonly "kSpawnChildSignaled": DBusError + static readonly "kSpawnFailed": DBusError + static readonly "kSpawnSetupFailed": DBusError + static readonly "kSpawnConfigInvalid": DBusError + static readonly "kSpawnServiceInvalid": DBusError + static readonly "kSpawnServiceNotFound": DBusError + static readonly "kSpawnPermissionsInvalid": DBusError + static readonly "kSpawnFileInvalid": DBusError + static readonly "kSpawnNoMemory": DBusError + static readonly "kUnixProcessIdUnknown": DBusError + static readonly "kInvalidSignature": DBusError + static readonly "kInvalidFileContent": DBusError + static readonly "kSelinuxSecurityContextUnknown": DBusError + static readonly "kAdtAuditDataUnknown": DBusError + static readonly "kObjectPathInUse": DBusError + static readonly "kUnknownObject": DBusError + static readonly "kUnknownInterface": DBusError + static readonly "kUnknownProperty": DBusError + static readonly "kPropertyReadOnly": DBusError + } + + class DBusInterfaceSkeletonFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusInterfaceSkeletonFlags + static readonly "kHandleMethodInvocationsInThread": DBusInterfaceSkeletonFlags + } + + class DBusMessageByteOrder { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBigEndian": DBusMessageByteOrder + static readonly "kLittleEndian": DBusMessageByteOrder + } + + class DBusMessageFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusMessageFlags + static readonly "kNoReplyExpected": DBusMessageFlags + static readonly "kNoAutoStart": DBusMessageFlags + static readonly "kAllowInteractiveAuthorization": DBusMessageFlags + } + + class DBusMessageHeaderField { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": DBusMessageHeaderField + static readonly "kPath": DBusMessageHeaderField + static readonly "kInterface": DBusMessageHeaderField + static readonly "kMember": DBusMessageHeaderField + static readonly "kErrorName": DBusMessageHeaderField + static readonly "kReplySerial": DBusMessageHeaderField + static readonly "kDestination": DBusMessageHeaderField + static readonly "kSender": DBusMessageHeaderField + static readonly "kSignature": DBusMessageHeaderField + static readonly "kNumUnixFds": DBusMessageHeaderField + } + + class DBusMessageType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": DBusMessageType + static readonly "kMethodCall": DBusMessageType + static readonly "kMethodReturn": DBusMessageType + static readonly "kError": DBusMessageType + static readonly "kSignal": DBusMessageType + } + + class DBusObjectManagerClientFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusObjectManagerClientFlags + static readonly "kDoNotAutoStart": DBusObjectManagerClientFlags + } + + class DBusPropertyInfoFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusPropertyInfoFlags + static readonly "kReadable": DBusPropertyInfoFlags + static readonly "kWritable": DBusPropertyInfoFlags + } + + class DBusProxyFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusProxyFlags + static readonly "kDoNotLoadProperties": DBusProxyFlags + static readonly "kDoNotConnectSignals": DBusProxyFlags + static readonly "kDoNotAutoStart": DBusProxyFlags + static readonly "kGetInvalidatedProperties": DBusProxyFlags + static readonly "kDoNotAutoStartAtConstruction": DBusProxyFlags + static readonly "kNoMatchRule": DBusProxyFlags + } + + class DBusSendMessageFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusSendMessageFlags + static readonly "kPreserveSerial": DBusSendMessageFlags + } + + class DBusServerFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusServerFlags + static readonly "kRunInThread": DBusServerFlags + static readonly "kAuthenticationAllowAnonymous": DBusServerFlags + static readonly "kAuthenticationRequireSameUser": DBusServerFlags + } + + class DBusSignalFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusSignalFlags + static readonly "kNoMatchRule": DBusSignalFlags + static readonly "kMatchArg0Namespace": DBusSignalFlags + static readonly "kMatchArg0Path": DBusSignalFlags + } + + class DBusSubtreeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DBusSubtreeFlags + static readonly "kDispatchToUnenumeratedNodes": DBusSubtreeFlags + } + + class DataStreamByteOrder { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBigEndian": DataStreamByteOrder + static readonly "kLittleEndian": DataStreamByteOrder + static readonly "kHostEndian": DataStreamByteOrder + } + + class DataStreamNewlineType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLf": DataStreamNewlineType + static readonly "kCr": DataStreamNewlineType + static readonly "kCrLf": DataStreamNewlineType + static readonly "kAny": DataStreamNewlineType + } + + class DriveStartFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DriveStartFlags + } + + class DriveStartStopType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": DriveStartStopType + static readonly "kShutdown": DriveStartStopType + static readonly "kNetwork": DriveStartStopType + static readonly "kMultidisk": DriveStartStopType + static readonly "kPassword": DriveStartStopType + } + + class EmblemOrigin { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": EmblemOrigin + static readonly "kDevice": EmblemOrigin + static readonly "kLivemetadata": EmblemOrigin + static readonly "kTag": EmblemOrigin + } + + class FileAttributeInfoFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": FileAttributeInfoFlags + static readonly "kCopyWithFile": FileAttributeInfoFlags + static readonly "kCopyWhenMoved": FileAttributeInfoFlags + } + + class FileAttributeStatus { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnset": FileAttributeStatus + static readonly "kSet": FileAttributeStatus + static readonly "kErrorSetting": FileAttributeStatus + } + + class FileAttributeType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": FileAttributeType + static readonly "kString": FileAttributeType + static readonly "kByteString": FileAttributeType + static readonly "kBoolean": FileAttributeType + static readonly "kUint32": FileAttributeType + static readonly "kInt32": FileAttributeType + static readonly "kUint64": FileAttributeType + static readonly "kInt64": FileAttributeType + static readonly "kObject": FileAttributeType + static readonly "kStringv": FileAttributeType + } + + class FileCopyFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": FileCopyFlags + static readonly "kOverwrite": FileCopyFlags + static readonly "kBackup": FileCopyFlags + static readonly "kNofollowSymlinks": FileCopyFlags + static readonly "kAllMetadata": FileCopyFlags + static readonly "kNoFallbackForMove": FileCopyFlags + static readonly "kTargetDefaultPerms": FileCopyFlags + } + + class FileCreateFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": FileCreateFlags + static readonly "kPrivate": FileCreateFlags + static readonly "kReplaceDestination": FileCreateFlags + } + + class FileMeasureFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": FileMeasureFlags + static readonly "kReportAnyError": FileMeasureFlags + static readonly "kApparentSize": FileMeasureFlags + static readonly "kNoXDev": FileMeasureFlags + } + + class FileMonitorEvent { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kChanged": FileMonitorEvent + static readonly "kChangesDoneHint": FileMonitorEvent + static readonly "kDeleted": FileMonitorEvent + static readonly "kCreated": FileMonitorEvent + static readonly "kAttributeChanged": FileMonitorEvent + static readonly "kPreUnmount": FileMonitorEvent + static readonly "kUnmounted": FileMonitorEvent + static readonly "kMoved": FileMonitorEvent + static readonly "kRenamed": FileMonitorEvent + static readonly "kMovedIn": FileMonitorEvent + static readonly "kMovedOut": FileMonitorEvent + } + + class FileMonitorFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": FileMonitorFlags + static readonly "kWatchMounts": FileMonitorFlags + static readonly "kSendMoved": FileMonitorFlags + static readonly "kWatchHardLinks": FileMonitorFlags + static readonly "kWatchMoves": FileMonitorFlags + } + + class FileQueryInfoFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": FileQueryInfoFlags + static readonly "kNofollowSymlinks": FileQueryInfoFlags + } + + class FileType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": FileType + static readonly "kRegular": FileType + static readonly "kDirectory": FileType + static readonly "kSymbolicLink": FileType + static readonly "kSpecial": FileType + static readonly "kShortcut": FileType + static readonly "kMountable": FileType + } + + class FilesystemPreviewType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kIfAlways": FilesystemPreviewType + static readonly "kIfLocal": FilesystemPreviewType + static readonly "kNever": FilesystemPreviewType + } + + class IOErrorEnum { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": IOErrorEnum + static readonly "kNotFound": IOErrorEnum + static readonly "kExists": IOErrorEnum + static readonly "kIsDirectory": IOErrorEnum + static readonly "kNotDirectory": IOErrorEnum + static readonly "kNotEmpty": IOErrorEnum + static readonly "kNotRegularFile": IOErrorEnum + static readonly "kNotSymbolicLink": IOErrorEnum + static readonly "kNotMountableFile": IOErrorEnum + static readonly "kFilenameTooLong": IOErrorEnum + static readonly "kInvalidFilename": IOErrorEnum + static readonly "kTooManyLinks": IOErrorEnum + static readonly "kNoSpace": IOErrorEnum + static readonly "kInvalidArgument": IOErrorEnum + static readonly "kPermissionDenied": IOErrorEnum + static readonly "kNotSupported": IOErrorEnum + static readonly "kNotMounted": IOErrorEnum + static readonly "kAlreadyMounted": IOErrorEnum + static readonly "kClosed": IOErrorEnum + static readonly "kCancelled": IOErrorEnum + static readonly "kPending": IOErrorEnum + static readonly "kReadOnly": IOErrorEnum + static readonly "kCantCreateBackup": IOErrorEnum + static readonly "kWrongEtag": IOErrorEnum + static readonly "kTimedOut": IOErrorEnum + static readonly "kWouldRecurse": IOErrorEnum + static readonly "kBusy": IOErrorEnum + static readonly "kWouldBlock": IOErrorEnum + static readonly "kHostNotFound": IOErrorEnum + static readonly "kWouldMerge": IOErrorEnum + static readonly "kFailedHandled": IOErrorEnum + static readonly "kTooManyOpenFiles": IOErrorEnum + static readonly "kNotInitialized": IOErrorEnum + static readonly "kAddressInUse": IOErrorEnum + static readonly "kPartialInput": IOErrorEnum + static readonly "kInvalidData": IOErrorEnum + static readonly "kDbusError": IOErrorEnum + static readonly "kHostUnreachable": IOErrorEnum + static readonly "kNetworkUnreachable": IOErrorEnum + static readonly "kConnectionRefused": IOErrorEnum + static readonly "kProxyFailed": IOErrorEnum + static readonly "kProxyAuthFailed": IOErrorEnum + static readonly "kProxyNeedAuth": IOErrorEnum + static readonly "kProxyNotAllowed": IOErrorEnum + static readonly "kBrokenPipe": IOErrorEnum + static readonly "kConnectionClosed": IOErrorEnum + static readonly "kNotConnected": IOErrorEnum + static readonly "kMessageTooLarge": IOErrorEnum + } + + class IOModuleScopeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": IOModuleScopeFlags + static readonly "kBlockDuplicates": IOModuleScopeFlags + } + + class IOStreamSpliceFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": IOStreamSpliceFlags + static readonly "kCloseStream1": IOStreamSpliceFlags + static readonly "kCloseStream2": IOStreamSpliceFlags + static readonly "kWaitForBoth": IOStreamSpliceFlags + } + + class MemoryMonitorWarningLevel { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLow": MemoryMonitorWarningLevel + static readonly "kMedium": MemoryMonitorWarningLevel + static readonly "kCritical": MemoryMonitorWarningLevel + } + + class MountMountFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": MountMountFlags + } + + class MountOperationResult { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kHandled": MountOperationResult + static readonly "kAborted": MountOperationResult + static readonly "kUnhandled": MountOperationResult + } + + class MountUnmountFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": MountUnmountFlags + static readonly "kForce": MountUnmountFlags + } + + class NetworkConnectivity { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLocal": NetworkConnectivity + static readonly "kLimited": NetworkConnectivity + static readonly "kPortal": NetworkConnectivity + static readonly "kFull": NetworkConnectivity + } + + class NotificationPriority { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNormal": NotificationPriority + static readonly "kLow": NotificationPriority + static readonly "kHigh": NotificationPriority + static readonly "kUrgent": NotificationPriority + } + + class OutputStreamSpliceFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": OutputStreamSpliceFlags + static readonly "kCloseSource": OutputStreamSpliceFlags + static readonly "kCloseTarget": OutputStreamSpliceFlags + } + + class PasswordSave { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNever": PasswordSave + static readonly "kForSession": PasswordSave + static readonly "kPermanently": PasswordSave + } + + class PollableReturn { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": PollableReturn + static readonly "kOk": PollableReturn + static readonly "kWouldBlock": PollableReturn + } + + class ResolverError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNotFound": ResolverError + static readonly "kTemporaryFailure": ResolverError + static readonly "kInternal": ResolverError + } + + class ResolverNameLookupFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": ResolverNameLookupFlags + static readonly "kIpv4Only": ResolverNameLookupFlags + static readonly "kIpv6Only": ResolverNameLookupFlags + } + + class ResolverRecordType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSrv": ResolverRecordType + static readonly "kMx": ResolverRecordType + static readonly "kTxt": ResolverRecordType + static readonly "kSoa": ResolverRecordType + static readonly "kNs": ResolverRecordType + } + + class ResourceError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNotFound": ResourceError + static readonly "kInternal": ResourceError + } + + class ResourceFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": ResourceFlags + static readonly "kCompressed": ResourceFlags + } + + class ResourceLookupFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": ResourceLookupFlags + } + + class SettingsBindFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": SettingsBindFlags + static readonly "kGet": SettingsBindFlags + static readonly "kSet": SettingsBindFlags + static readonly "kNoSensitivity": SettingsBindFlags + static readonly "kGetNoChanges": SettingsBindFlags + static readonly "kInvertBoolean": SettingsBindFlags + } + + class SocketClientEvent { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kResolving": SocketClientEvent + static readonly "kResolved": SocketClientEvent + static readonly "kConnecting": SocketClientEvent + static readonly "kConnected": SocketClientEvent + static readonly "kProxyNegotiating": SocketClientEvent + static readonly "kProxyNegotiated": SocketClientEvent + static readonly "kTlsHandshaking": SocketClientEvent + static readonly "kTlsHandshaked": SocketClientEvent + static readonly "kComplete": SocketClientEvent + } + + class SocketFamily { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": SocketFamily + static readonly "kUnix": SocketFamily + static readonly "kIpv4": SocketFamily + static readonly "kIpv6": SocketFamily + } + + class SocketListenerEvent { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBinding": SocketListenerEvent + static readonly "kBound": SocketListenerEvent + static readonly "kListening": SocketListenerEvent + static readonly "kListened": SocketListenerEvent + } + + class SocketMsgFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SocketMsgFlags + static readonly "kOob": SocketMsgFlags + static readonly "kPeek": SocketMsgFlags + static readonly "kDontroute": SocketMsgFlags + } + + class SocketProtocol { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": SocketProtocol + static readonly "kDefault": SocketProtocol + static readonly "kTcp": SocketProtocol + static readonly "kUdp": SocketProtocol + static readonly "kSctp": SocketProtocol + } + + class SocketType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": SocketType + static readonly "kStream": SocketType + static readonly "kDatagram": SocketType + static readonly "kSeqpacket": SocketType + } + + class SubprocessFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SubprocessFlags + static readonly "kStdinPipe": SubprocessFlags + static readonly "kStdinInherit": SubprocessFlags + static readonly "kStdoutPipe": SubprocessFlags + static readonly "kStdoutSilence": SubprocessFlags + static readonly "kStderrPipe": SubprocessFlags + static readonly "kStderrSilence": SubprocessFlags + static readonly "kStderrMerge": SubprocessFlags + static readonly "kInheritFds": SubprocessFlags + static readonly "kSearchPathFromEnvp": SubprocessFlags + } + + class TestDBusFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TestDBusFlags + } + + class TlsAuthenticationMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TlsAuthenticationMode + static readonly "kRequested": TlsAuthenticationMode + static readonly "kRequired": TlsAuthenticationMode + } + + class TlsCertificateFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknownCa": TlsCertificateFlags + static readonly "kBadIdentity": TlsCertificateFlags + static readonly "kNotActivated": TlsCertificateFlags + static readonly "kExpired": TlsCertificateFlags + static readonly "kRevoked": TlsCertificateFlags + static readonly "kInsecure": TlsCertificateFlags + static readonly "kGenericError": TlsCertificateFlags + static readonly "kValidateAll": TlsCertificateFlags + } + + class TlsCertificateRequestFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TlsCertificateRequestFlags + } + + class TlsChannelBindingError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNotImplemented": TlsChannelBindingError + static readonly "kInvalidState": TlsChannelBindingError + static readonly "kNotAvailable": TlsChannelBindingError + static readonly "kNotSupported": TlsChannelBindingError + static readonly "kGeneralError": TlsChannelBindingError + } + + class TlsChannelBindingType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnique": TlsChannelBindingType + static readonly "kServerEndPoint": TlsChannelBindingType + } + + class TlsDatabaseLookupFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TlsDatabaseLookupFlags + static readonly "kKeypair": TlsDatabaseLookupFlags + } + + class TlsDatabaseVerifyFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TlsDatabaseVerifyFlags + } + + class TlsError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnavailable": TlsError + static readonly "kMisc": TlsError + static readonly "kBadCertificate": TlsError + static readonly "kNotTls": TlsError + static readonly "kHandshake": TlsError + static readonly "kCertificateRequired": TlsError + static readonly "kEof": TlsError + static readonly "kInappropriateFallback": TlsError + static readonly "kBadCertificatePassword": TlsError + } + + class TlsInteractionResult { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnhandled": TlsInteractionResult + static readonly "kHandled": TlsInteractionResult + static readonly "kFailed": TlsInteractionResult + } + + class TlsPasswordFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TlsPasswordFlags + static readonly "kRetry": TlsPasswordFlags + static readonly "kManyTries": TlsPasswordFlags + static readonly "kFinalTry": TlsPasswordFlags + static readonly "kPkcs11User": TlsPasswordFlags + static readonly "kPkcs11SecurityOfficer": TlsPasswordFlags + static readonly "kPkcs11ContextSpecific": TlsPasswordFlags + } + + class TlsProtocolVersion { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": TlsProtocolVersion + static readonly "kSsl30": TlsProtocolVersion + static readonly "kTls10": TlsProtocolVersion + static readonly "kTls11": TlsProtocolVersion + static readonly "kTls12": TlsProtocolVersion + static readonly "kTls13": TlsProtocolVersion + static readonly "kDtls10": TlsProtocolVersion + static readonly "kDtls12": TlsProtocolVersion + } + + class TlsRehandshakeMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNever": TlsRehandshakeMode + static readonly "kSafely": TlsRehandshakeMode + static readonly "kUnsafely": TlsRehandshakeMode + } + + class UnixSocketAddressType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": UnixSocketAddressType + static readonly "kAnonymous": UnixSocketAddressType + static readonly "kPath": UnixSocketAddressType + static readonly "kAbstract": UnixSocketAddressType + static readonly "kAbstractPadded": UnixSocketAddressType + } + + class ZlibCompressorFormat { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kZlib": ZlibCompressorFormat + static readonly "kGzip": ZlibCompressorFormat + static readonly "kRaw": ZlibCompressorFormat + } + + + class Action { + enabled : boolean; + name : string; + parameterType : AuGlibEx.VariantType; + state : AuGlibEx.Variant; + stateType : AuGlibEx.VariantType; + + static NameIsValid(actionName: string): boolean; + static ParseDetailedName(detailedName: string, actionName: string, targetValue: AuGlibEx.Variant): boolean; + static PrintDetailedName(actionName: string, targetValue: AuGlibEx.Variant | undefined | null): string; + activate(parameter: AuGlibEx.Variant | undefined | null): void; + changeState(value: AuGlibEx.Variant): void; + getEnabled(): boolean; + getName(): string; + getParameterType(): AuGlibEx.VariantType; + getState(): AuGlibEx.Variant; + getStateHint(): AuGlibEx.Variant; + getStateType(): AuGlibEx.VariantType; + } + + class ActionGroup { + actionAdded(actionName: string): void; + actionEnabledChanged(actionName: string, enabled: boolean): void; + actionRemoved(actionName: string): void; + actionStateChanged(actionName: string, state: AuGlibEx.Variant): void; + activateAction(actionName: string, parameter: AuGlibEx.Variant | undefined | null): void; + changeActionState(actionName: string, value: AuGlibEx.Variant): void; + getActionEnabled(actionName: string): boolean; + getActionParameterType(actionName: string): AuGlibEx.VariantType; + getActionState(actionName: string): AuGlibEx.Variant; + getActionStateHint(actionName: string): AuGlibEx.Variant; + getActionStateType(actionName: string): AuGlibEx.VariantType; + hasAction(actionName: string): boolean; + listActions(): string[]; + queryAction(actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant): boolean; + } + + class ActionMap { + addAction(action: AuGIO.Action): void; + addActionEntries(entries: AuGIO.ActionEntry[], nEntries: number): void; + lookupAction(actionName: string): AuGIO.Action; + removeAction(actionName: string): void; + } + + class AppInfo { + static CreateFromCommandline(commandline: string, applicationName: string | undefined | null, flags: AuGIO.AppInfoCreateFlags): AuGIO.AppInfo; + static GetAll(): AuGIO.AppInfo[]; + static GetAllForType(contentType: string): AuGIO.AppInfo[]; + static GetDefaultForType(contentType: string, mustSupportUris: boolean): AuGIO.AppInfo; + static GetDefaultForUriScheme(uriScheme: string): AuGIO.AppInfo; + static GetFallbackForType(contentType: string): AuGIO.AppInfo[]; + static GetRecommendedForType(contentType: string): AuGIO.AppInfo[]; + static LaunchDefaultForUri(uri: string, context: AuGIO.AppLaunchContext | undefined | null): boolean; + static LaunchDefaultForUriAsync(uri: string, context: AuGIO.AppLaunchContext | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + static LaunchDefaultForUriFinish(result: AuGIO.AsyncResult): boolean; + static ResetTypeAssociations(contentType: string): void; + addSupportsType(contentType: string): boolean; + canDelete(): boolean; + canRemoveSupportsType(): boolean; + delete(): boolean; + dup(): AuGIO.AppInfo; + equal(appinfo2: AuGIO.AppInfo): boolean; + getCommandline(): string; + getDescription(): string; + getDisplayName(): string; + getExecutable(): string; + getIcon(): AuGIO.Icon; + getId(): string; + getName(): string; + getSupportedTypes(): string[]; + launch(files: AuGIO.File[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null): boolean; + launchUris(uris: string[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null): boolean; + launchUrisAsync(uris: string[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + launchUrisFinish(result: AuGIO.AsyncResult): boolean; + removeSupportsType(contentType: string): boolean; + setAsDefaultForExtension(extension: string): boolean; + setAsDefaultForType(contentType: string): boolean; + setAsLastUsedForType(contentType: string): boolean; + shouldShow(): boolean; + supportsFiles(): boolean; + supportsUris(): boolean; + } + + class AsyncInitable { + static NewvAsync(objectType: number, nParameters: number, parameters: GObject.Parameter, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + initAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + initFinish(res: AuGIO.AsyncResult): boolean; + newFinish(res: AuGIO.AsyncResult): GObject.Object; + } + + class AsyncResult { + getSourceObject(): GObject.Object; + getUserData(): void; + isTagged(): boolean; + legacyPropagateError(): boolean; + } + + class Converter { + convert(inbuf: number[], inbufSize: number | bigint, outbuf: number[], outbufSize: number | bigint, flags: AuGIO.ConverterFlags, bytesRead: number | bigint, bytesWritten: number | bigint): AuGIO.ConverterResult; + reset(): void; + } + + class DBusInterface { + getObject(): AuGIO.DBusObject; + getInfo(): AuGIO.DBusInterfaceInfo; + setObject(object: AuGIO.DBusObject | undefined | null): void; + } + + class DBusObject { + getInterface(interfaceName: string): AuGIO.DBusInterface; + getInterfaces(): AuGIO.DBusInterface[]; + getObjectPath(): string; + } + + class DBusObjectManager { + getInterface(objectPath: string, interfaceName: string): AuGIO.DBusInterface; + getObject(objectPath: string): AuGIO.DBusObject; + getObjectPath(): string; + getObjects(): AuGIO.DBusObject[]; + } + + class DatagramBased { + conditionCheck(condition: AuGlibEx.IOCondition): AuGlibEx.IOCondition; + conditionWait(condition: AuGlibEx.IOCondition, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + createSource(condition: AuGlibEx.IOCondition, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source; + receiveMessages(messages: AuGIO.InputMessage[], numMessages: number, flags: number, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number; + sendMessages(messages: AuGIO.OutputMessage[], numMessages: number, flags: number, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number; + } + + class DebugController { + debugEnabled : boolean; + + getDebugEnabled(): boolean; + setDebugEnabled(debugEnabled: boolean): void; + } + + class Drive { + canEject(): boolean; + canPollForMedia(): boolean; + canStart(): boolean; + canStartDegraded(): boolean; + canStop(): boolean; + eject(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + ejectFinish(result: AuGIO.AsyncResult): boolean; + ejectWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + ejectWithOperationFinish(result: AuGIO.AsyncResult): boolean; + enumerateIdentifiers(): string[]; + getIcon(): AuGIO.Icon; + getIdentifier(kind: string): string; + getName(): string; + getSortKey(): string; + getStartStopType(): AuGIO.DriveStartStopType; + getSymbolicIcon(): AuGIO.Icon; + getVolumes(): AuGIO.Volume[]; + hasMedia(): boolean; + hasVolumes(): boolean; + isMediaCheckAutomatic(): boolean; + isMediaRemovable(): boolean; + isRemovable(): boolean; + pollForMedia(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + pollForMediaFinish(result: AuGIO.AsyncResult): boolean; + start(flags: AuGIO.DriveStartFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + startFinish(result: AuGIO.AsyncResult): boolean; + stop(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + stopFinish(result: AuGIO.AsyncResult): boolean; + } + + class DtlsClientConnection { + serverIdentity : AuGIO.SocketConnectable; + validationFlags : AuGIO.TlsCertificateFlags; + + static New(baseSocket: AuGIO.DatagramBased, serverIdentity: AuGIO.SocketConnectable | undefined | null): AuGIO.DtlsClientConnection; + getAcceptedCas(): number[][]; + getServerIdentity(): AuGIO.SocketConnectable; + getValidationFlags(): AuGIO.TlsCertificateFlags; + setServerIdentity(identity: AuGIO.SocketConnectable): void; + setValidationFlags(flags: AuGIO.TlsCertificateFlags): void; + } + + class DtlsConnection { + advertisedProtocols : string[]; + baseSocket : AuGIO.DatagramBased; + certificate : AuGIO.TlsCertificate; + ciphersuiteName : string; + database : AuGIO.TlsDatabase; + interaction : AuGIO.TlsInteraction; + negotiatedProtocol : string; + peerCertificate : AuGIO.TlsCertificate; + peerCertificateErrors : AuGIO.TlsCertificateFlags; + protocolVersion : AuGIO.TlsProtocolVersion; + rehandshakeMode : AuGIO.TlsRehandshakeMode; + requireCloseNotify : boolean; + + close(cancellable: AuGIO.Cancellable | undefined | null): boolean; + closeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + closeFinish(result: AuGIO.AsyncResult): boolean; + emitAcceptCertificate(peerCert: AuGIO.TlsCertificate, errors: AuGIO.TlsCertificateFlags): boolean; + getCertificate(): AuGIO.TlsCertificate; + getChannelBindingData(type: AuGIO.TlsChannelBindingType, data ?: number[]): boolean; + getCiphersuiteName(): string; + getDatabase(): AuGIO.TlsDatabase; + getInteraction(): AuGIO.TlsInteraction; + getNegotiatedProtocol(): string; + getPeerCertificate(): AuGIO.TlsCertificate; + getPeerCertificateErrors(): AuGIO.TlsCertificateFlags; + getProtocolVersion(): AuGIO.TlsProtocolVersion; + getRehandshakeMode(): AuGIO.TlsRehandshakeMode; + getRequireCloseNotify(): boolean; + handshake(cancellable: AuGIO.Cancellable | undefined | null): boolean; + handshakeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + handshakeFinish(result: AuGIO.AsyncResult): boolean; + setAdvertisedProtocols(protocols: string[] | undefined | null): void; + setCertificate(certificate: AuGIO.TlsCertificate): void; + setDatabase(database: AuGIO.TlsDatabase | undefined | null): void; + setInteraction(interaction: AuGIO.TlsInteraction | undefined | null): void; + setRehandshakeMode(mode: AuGIO.TlsRehandshakeMode): void; + setRequireCloseNotify(requireCloseNotify: boolean): void; + shutdown(shutdownRead: boolean, shutdownWrite: boolean, cancellable: AuGIO.Cancellable | undefined | null): boolean; + shutdownAsync(shutdownRead: boolean, shutdownWrite: boolean, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + shutdownFinish(result: AuGIO.AsyncResult): boolean; + } + + class DtlsServerConnection { + authenticationMode : AuGIO.TlsAuthenticationMode; + + static New(baseSocket: AuGIO.DatagramBased, certificate: AuGIO.TlsCertificate | undefined | null): AuGIO.DtlsServerConnection; + } + + class File { + static NewForCommandlineArg(arg: string): AuGIO.File; + static NewForCommandlineArgAndCwd(arg: string, cwd: string): AuGIO.File; + static NewForPath(path: string): AuGIO.File; + static NewForUri(uri: string): AuGIO.File; + static NewTmp(tmpl: string | undefined | null, iostream: AuGIO.FileIOStream): AuGIO.File; + static ParseName(parseName: string): AuGIO.File; + appendTo(flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileOutputStream; + appendToAsync(flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + appendToFinish(res: AuGIO.AsyncResult): AuGIO.FileOutputStream; + buildAttributeListForCopy(flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null): string; + copy(destination: AuGIO.File, flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null): boolean; + copyAsync(destination: AuGIO.File, flags: AuGIO.FileCopyFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + copyAttributes(destination: AuGIO.File, flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean; + copyFinish(res: AuGIO.AsyncResult): boolean; + create(flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileOutputStream; + createAsync(flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + createFinish(res: AuGIO.AsyncResult): AuGIO.FileOutputStream; + createReadwrite(flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileIOStream; + createReadwriteAsync(flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + createReadwriteFinish(res: AuGIO.AsyncResult): AuGIO.FileIOStream; + delete(cancellable: AuGIO.Cancellable | undefined | null): boolean; + deleteAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + deleteFinish(result: AuGIO.AsyncResult): boolean; + dup(): AuGIO.File; + ejectMountable(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + ejectMountableFinish(result: AuGIO.AsyncResult): boolean; + ejectMountableWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + ejectMountableWithOperationFinish(result: AuGIO.AsyncResult): boolean; + enumerateChildren(attributes: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileEnumerator; + enumerateChildrenAsync(attributes: string, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + enumerateChildrenFinish(res: AuGIO.AsyncResult): AuGIO.FileEnumerator; + equal(file2: AuGIO.File): boolean; + findEnclosingMount(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.Mount; + findEnclosingMountAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + findEnclosingMountFinish(res: AuGIO.AsyncResult): AuGIO.Mount; + getBasename(): string; + getChild(name: string): AuGIO.File; + getChildForDisplayName(displayName: string): AuGIO.File; + getParent(): AuGIO.File; + getParseName(): string; + getPath(): string; + getRelativePath(descendant: AuGIO.File): string; + getUri(): string; + getUriScheme(): string; + hasParent(parent: AuGIO.File | undefined | null): boolean; + hasPrefix(prefix: AuGIO.File): boolean; + hasUriScheme(uriScheme: string): boolean; + hash(): number; + isNative(): boolean; + loadBytes(cancellable: AuGIO.Cancellable | undefined | null, etagOut ?: string | undefined | null): AuGlibEx.Bytes; + loadBytesAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + loadBytesFinish(result: AuGIO.AsyncResult, etagOut ?: string | undefined | null): AuGlibEx.Bytes; + loadContents(cancellable: AuGIO.Cancellable | undefined | null, contents: number[], length ?: number | bigint, etagOut ?: string | undefined | null): boolean; + loadContentsAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + loadContentsFinish(res: AuGIO.AsyncResult, contents: number[], length ?: number | bigint, etagOut ?: string | undefined | null): boolean; + loadPartialContentsFinish(res: AuGIO.AsyncResult, contents: number[], length ?: number | bigint, etagOut ?: string | undefined | null): boolean; + makeDirectory(cancellable: AuGIO.Cancellable | undefined | null): boolean; + makeDirectoryAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + makeDirectoryFinish(result: AuGIO.AsyncResult): boolean; + makeDirectoryWithParents(cancellable: AuGIO.Cancellable | undefined | null): boolean; + makeSymbolicLink(symlinkValue: string, cancellable: AuGIO.Cancellable | undefined | null): boolean; + measureDiskUsageFinish(result: AuGIO.AsyncResult, diskUsage ?: number | bigint, numDirs ?: number | bigint, numFiles ?: number | bigint): boolean; + monitor(flags: AuGIO.FileMonitorFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileMonitor; + monitorDirectory(flags: AuGIO.FileMonitorFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileMonitor; + monitorFile(flags: AuGIO.FileMonitorFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileMonitor; + mountEnclosingVolume(flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + mountEnclosingVolumeFinish(result: AuGIO.AsyncResult): boolean; + mountMountable(flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + mountMountableFinish(result: AuGIO.AsyncResult): AuGIO.File; + move(destination: AuGIO.File, flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null): boolean; + moveAsync(destination: AuGIO.File, flags: AuGIO.FileCopyFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + moveFinish(result: AuGIO.AsyncResult): boolean; + openReadwrite(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileIOStream; + openReadwriteAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + openReadwriteFinish(res: AuGIO.AsyncResult): AuGIO.FileIOStream; + peekPath(): string; + pollMountable(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + pollMountableFinish(result: AuGIO.AsyncResult): boolean; + queryDefaultHandler(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.AppInfo; + queryDefaultHandlerAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + queryDefaultHandlerFinish(result: AuGIO.AsyncResult): AuGIO.AppInfo; + queryExists(cancellable: AuGIO.Cancellable | undefined | null): boolean; + queryFileType(flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileType; + queryFilesystemInfo(attributes: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo; + queryFilesystemInfoAsync(attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + queryFilesystemInfoFinish(res: AuGIO.AsyncResult): AuGIO.FileInfo; + queryInfo(attributes: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo; + queryInfoAsync(attributes: string, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + queryInfoFinish(res: AuGIO.AsyncResult): AuGIO.FileInfo; + querySettableAttributes(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileAttributeInfoList; + queryWritableNamespaces(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileAttributeInfoList; + read(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInputStream; + readAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readFinish(res: AuGIO.AsyncResult): AuGIO.FileInputStream; + replace(etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileOutputStream; + replaceAsync(etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + replaceContents(contents: number[], length: number | bigint, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, newEtag ?: string | undefined | null, cancellable ?: AuGIO.Cancellable | undefined | null): boolean; + replaceContentsAsync(contents: number[], length: number | bigint, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + replaceContentsBytesAsync(contents: AuGlibEx.Bytes, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + replaceContentsFinish(res: AuGIO.AsyncResult, newEtag ?: string | undefined | null): boolean; + replaceFinish(res: AuGIO.AsyncResult): AuGIO.FileOutputStream; + replaceReadwrite(etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileIOStream; + replaceReadwriteAsync(etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + replaceReadwriteFinish(res: AuGIO.AsyncResult): AuGIO.FileIOStream; + resolveRelativePath(relativePath: string): AuGIO.File; + setAttribute(attribute: string, type: AuGIO.FileAttributeType, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean; + setAttributeByteString(attribute: string, value: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean; + setAttributeInt32(attribute: string, value: number, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean; + setAttributeInt64(attribute: string, value: number | bigint, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean; + setAttributeString(attribute: string, value: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean; + setAttributeUint32(attribute: string, value: number, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean; + setAttributeUint64(attribute: string, value: number | bigint, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean; + setAttributesAsync(info: AuGIO.FileInfo, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + setAttributesFinish(result: AuGIO.AsyncResult, info: AuGIO.FileInfo): boolean; + setAttributesFromInfo(info: AuGIO.FileInfo, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean; + setDisplayName(displayName: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.File; + setDisplayNameAsync(displayName: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + setDisplayNameFinish(res: AuGIO.AsyncResult): AuGIO.File; + startMountable(flags: AuGIO.DriveStartFlags, startOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + startMountableFinish(result: AuGIO.AsyncResult): boolean; + stopMountable(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + stopMountableFinish(result: AuGIO.AsyncResult): boolean; + supportsThreadContexts(): boolean; + trash(cancellable: AuGIO.Cancellable | undefined | null): boolean; + trashAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + trashFinish(result: AuGIO.AsyncResult): boolean; + unmountMountable(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + unmountMountableFinish(result: AuGIO.AsyncResult): boolean; + unmountMountableWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + unmountMountableWithOperationFinish(result: AuGIO.AsyncResult): boolean; + } + + class Icon { + static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon; + static Hash(): number; + static NewForString(str: string): AuGIO.Icon; + equal(icon2: AuGIO.Icon | undefined | null): boolean; + serialize(): AuGlibEx.Variant; + } + + class Initable { + static Newv(objectType: number, nParameters: number, parameters: GObject.Parameter[], cancellable: AuGIO.Cancellable | undefined | null): GObject.Object; + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class ListModel { + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class LoadableIcon { + load(size: number, type ?: string, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.InputStream; + loadAsync(size: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + loadFinish(res: AuGIO.AsyncResult, type ?: string): AuGIO.InputStream; + } + + class MemoryMonitor { + static DupDefault(): AuGIO.MemoryMonitor; + } + + class Mount { + canEject(): boolean; + canUnmount(): boolean; + eject(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + ejectFinish(result: AuGIO.AsyncResult): boolean; + ejectWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + ejectWithOperationFinish(result: AuGIO.AsyncResult): boolean; + getDefaultLocation(): AuGIO.File; + getDrive(): AuGIO.Drive; + getIcon(): AuGIO.Icon; + getName(): string; + getRoot(): AuGIO.File; + getSortKey(): string; + getSymbolicIcon(): AuGIO.Icon; + getUuid(): string; + getVolume(): AuGIO.Volume; + guessContentType(forceRescan: boolean, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + guessContentTypeFinish(result: AuGIO.AsyncResult): string[]; + guessContentTypeSync(forceRescan: boolean, cancellable: AuGIO.Cancellable | undefined | null): string[]; + isShadowed(): boolean; + remount(flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + remountFinish(result: AuGIO.AsyncResult): boolean; + shadow(): void; + unmount(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + unmountFinish(result: AuGIO.AsyncResult): boolean; + unmountWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + unmountWithOperationFinish(result: AuGIO.AsyncResult): boolean; + unshadow(): void; + } + + class NetworkMonitor { + connectivity : AuGIO.NetworkConnectivity; + networkAvailable : boolean; + networkMetered : boolean; + + static GetDefault(): AuGIO.NetworkMonitor; + canReach(connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null): boolean; + canReachAsync(connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + canReachFinish(result: AuGIO.AsyncResult): boolean; + getConnectivity(): AuGIO.NetworkConnectivity; + getNetworkAvailable(): boolean; + getNetworkMetered(): boolean; + } + + class PollableInputStream { + canPoll(): boolean; + createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source; + isReadable(): boolean; + readNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + } + + class PollableOutputStream { + canPoll(): boolean; + createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source; + isWritable(): boolean; + writeNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + writevNonblocking(vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.PollableReturn; + } + + class PowerProfileMonitor { + powerSaverEnabled : boolean; + + static DupDefault(): AuGIO.PowerProfileMonitor; + getPowerSaverEnabled(): boolean; + } + + class Proxy { + static GetDefaultForProtocol(protocol: string): AuGIO.Proxy; + connect(connection: AuGIO.IOStream, proxyAddress: AuGIO.ProxyAddress, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.IOStream; + connectAsync(connection: AuGIO.IOStream, proxyAddress: AuGIO.ProxyAddress, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + connectFinish(result: AuGIO.AsyncResult): AuGIO.IOStream; + supportsHostname(): boolean; + } + + class ProxyResolver { + static GetDefault(): AuGIO.ProxyResolver; + isSupported(): boolean; + lookup(uri: string, cancellable: AuGIO.Cancellable | undefined | null): string[]; + lookupAsync(uri: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + lookupFinish(result: AuGIO.AsyncResult): string[]; + } + + class RemoteActionGroup { + activateActionFull(actionName: string, parameter: AuGlibEx.Variant | undefined | null, platformData: AuGlibEx.Variant): void; + changeActionStateFull(actionName: string, value: AuGlibEx.Variant, platformData: AuGlibEx.Variant): void; + } + + class Seekable { + canSeek(): boolean; + canTruncate(): boolean; + seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean; + tell(): number | bigint; + truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class SocketConnectable { + enumerate(): AuGIO.SocketAddressEnumerator; + proxyEnumerate(): AuGIO.SocketAddressEnumerator; + } + + class TlsBackend { + static GetDefault(): AuGIO.TlsBackend; + getCertificateType(): number; + getClientConnectionType(): number; + getDefaultDatabase(): AuGIO.TlsDatabase; + getDtlsClientConnectionType(): number; + getDtlsServerConnectionType(): number; + getFileDatabaseType(): number; + getServerConnectionType(): number; + setDefaultDatabase(database: AuGIO.TlsDatabase | undefined | null): void; + supportsDtls(): boolean; + supportsTls(): boolean; + } + + class TlsClientConnection { + useSsl3 : boolean; + + static New(baseIoStream: AuGIO.IOStream, serverIdentity: AuGIO.SocketConnectable | undefined | null): AuGIO.TlsClientConnection; + copySessionState(source: AuGIO.TlsClientConnection): void; + getAcceptedCas(): number[][]; + getServerIdentity(): AuGIO.SocketConnectable; + getUseSsl3(): boolean; + getValidationFlags(): AuGIO.TlsCertificateFlags; + setServerIdentity(identity: AuGIO.SocketConnectable): void; + setUseSsl3(useSsl3: boolean): void; + setValidationFlags(flags: AuGIO.TlsCertificateFlags): void; + } + + class TlsFileDatabase { + anchors : string; + + static New(anchors: string): AuGIO.TlsFileDatabase; + } + + class TlsServerConnection { + + static New(baseIoStream: AuGIO.IOStream, certificate: AuGIO.TlsCertificate | undefined | null): AuGIO.TlsServerConnection; + } + + class Volume { + canEject(): boolean; + canMount(): boolean; + eject(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + ejectFinish(result: AuGIO.AsyncResult): boolean; + ejectWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + ejectWithOperationFinish(result: AuGIO.AsyncResult): boolean; + enumerateIdentifiers(): string[]; + getActivationRoot(): AuGIO.File; + getDrive(): AuGIO.Drive; + getIcon(): AuGIO.Icon; + getIdentifier(kind: string): string; + getMount(): AuGIO.Mount; + getName(): string; + getSortKey(): string; + getSymbolicIcon(): AuGIO.Icon; + getUuid(): string; + mount(flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + mountFinish(result: AuGIO.AsyncResult): boolean; + shouldAutomount(): boolean; + } + + + class ActionEntry { + name : string; + activate : (action: AuGIO.SimpleAction, parameter: AuGlibEx.Variant) => void; + parameterType : string; + state : string; + changeState : (action: AuGIO.SimpleAction, value: AuGlibEx.Variant) => void; + padding : number | bigint[]; + + } + + class ActionGroupInterface { + gIface : GObject.TypeInterface; + hasAction : (actionGroup: AuGIO.ActionGroup, actionName: string) => boolean; + listActions : (actionGroup: AuGIO.ActionGroup) => string[]; + getActionEnabled : (actionGroup: AuGIO.ActionGroup, actionName: string) => boolean; + getActionParameterType : (actionGroup: AuGIO.ActionGroup, actionName: string) => AuGlibEx.VariantType; + getActionStateType : (actionGroup: AuGIO.ActionGroup, actionName: string) => AuGlibEx.VariantType; + getActionStateHint : (actionGroup: AuGIO.ActionGroup, actionName: string) => AuGlibEx.Variant; + getActionState : (actionGroup: AuGIO.ActionGroup, actionName: string) => AuGlibEx.Variant; + changeActionState : (actionGroup: AuGIO.ActionGroup, actionName: string, value: AuGlibEx.Variant) => void; + activateAction : (actionGroup: AuGIO.ActionGroup, actionName: string, parameter: AuGlibEx.Variant | undefined | null) => void; + actionAdded : (actionGroup: AuGIO.ActionGroup, actionName: string) => void; + actionRemoved : (actionGroup: AuGIO.ActionGroup, actionName: string) => void; + actionEnabledChanged : (actionGroup: AuGIO.ActionGroup, actionName: string, enabled: boolean) => void; + actionStateChanged : (actionGroup: AuGIO.ActionGroup, actionName: string, state: AuGlibEx.Variant) => void; + queryAction : (actionGroup: AuGIO.ActionGroup, actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant) => boolean; + + } + + class ActionInterface { + gIface : GObject.TypeInterface; + getName : (action: AuGIO.Action) => string; + getParameterType : (action: AuGIO.Action) => AuGlibEx.VariantType; + getStateType : (action: AuGIO.Action) => AuGlibEx.VariantType; + getStateHint : (action: AuGIO.Action) => AuGlibEx.Variant; + getEnabled : (action: AuGIO.Action) => boolean; + getState : (action: AuGIO.Action) => AuGlibEx.Variant; + changeState : (action: AuGIO.Action, value: AuGlibEx.Variant) => void; + activate : (action: AuGIO.Action, parameter: AuGlibEx.Variant | undefined | null) => void; + + } + + class ActionMapInterface { + gIface : GObject.TypeInterface; + lookupAction : (actionMap: AuGIO.ActionMap, actionName: string) => AuGIO.Action; + addAction : (actionMap: AuGIO.ActionMap, action: AuGIO.Action) => void; + removeAction : (actionMap: AuGIO.ActionMap, actionName: string) => void; + + } + + class AppInfoIface { + gIface : GObject.TypeInterface; + dup : (appinfo: AuGIO.AppInfo) => AuGIO.AppInfo; + equal : (appinfo1: AuGIO.AppInfo, appinfo2: AuGIO.AppInfo) => boolean; + getId : (appinfo: AuGIO.AppInfo) => string; + getName : (appinfo: AuGIO.AppInfo) => string; + getDescription : (appinfo: AuGIO.AppInfo) => string; + getExecutable : (appinfo: AuGIO.AppInfo) => string; + getIcon : (appinfo: AuGIO.AppInfo) => AuGIO.Icon; + launch : (appinfo: AuGIO.AppInfo, files: AuGIO.File[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null) => boolean; + supportsUris : (appinfo: AuGIO.AppInfo) => boolean; + supportsFiles : (appinfo: AuGIO.AppInfo) => boolean; + launchUris : (appinfo: AuGIO.AppInfo, uris: string[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null) => boolean; + shouldShow : (appinfo: AuGIO.AppInfo) => boolean; + setAsDefaultForType : (appinfo: AuGIO.AppInfo, contentType: string) => boolean; + setAsDefaultForExtension : (appinfo: AuGIO.AppInfo, extension: string) => boolean; + addSupportsType : (appinfo: AuGIO.AppInfo, contentType: string) => boolean; + canRemoveSupportsType : (appinfo: AuGIO.AppInfo) => boolean; + removeSupportsType : (appinfo: AuGIO.AppInfo, contentType: string) => boolean; + canDelete : (appinfo: AuGIO.AppInfo) => boolean; + doDelete : (appinfo: AuGIO.AppInfo) => boolean; + getCommandline : (appinfo: AuGIO.AppInfo) => string; + getDisplayName : (appinfo: AuGIO.AppInfo) => string; + setAsLastUsedForType : (appinfo: AuGIO.AppInfo, contentType: string) => boolean; + getSupportedTypes : (appinfo: AuGIO.AppInfo) => string[]; + launchUrisAsync : (appinfo: AuGIO.AppInfo, uris: string[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + launchUrisFinish : (appinfo: AuGIO.AppInfo, result: AuGIO.AsyncResult) => boolean; + + } + + class AppLaunchContextClass { + parentClass : GObject.ObjectClass; + getDisplay : (context: AuGIO.AppLaunchContext, info: AuGIO.AppInfo, files: AuGIO.File[]) => string; + getStartupNotifyId : (context: AuGIO.AppLaunchContext, info: AuGIO.AppInfo, files: AuGIO.File[]) => string; + launchFailed : (context: AuGIO.AppLaunchContext, startupNotifyId: string) => void; + launched : (context: AuGIO.AppLaunchContext, info: AuGIO.AppInfo, platformData: AuGlibEx.Variant) => void; + launchStarted : (context: AuGIO.AppLaunchContext, info: AuGIO.AppInfo, platformData: AuGlibEx.Variant) => void; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + + } + + class AppLaunchContextPrivate { + } + + class ApplicationClass { + parentClass : GObject.ObjectClass; + startup : (application: AuGIO.Application) => void; + activate : (application: AuGIO.Application) => void; + open : (application: AuGIO.Application, files: AuGIO.File[], nFiles: number, hint: string) => void; + commandLine : (application: AuGIO.Application, commandLine: AuGIO.ApplicationCommandLine) => number; + localCommandLine : (application: AuGIO.Application, arguments: string[], exitStatus: number) => boolean; + beforeEmit : (application: AuGIO.Application, platformData: AuGlibEx.Variant) => void; + afterEmit : (application: AuGIO.Application, platformData: AuGlibEx.Variant) => void; + addPlatformData : (application: AuGIO.Application, builder: AuGlibEx.VariantBuilder) => void; + quitMainloop : (application: AuGIO.Application) => void; + runMainloop : (application: AuGIO.Application) => void; + shutdown : (application: AuGIO.Application) => void; + dbusRegister : (application: AuGIO.Application, connection: AuGIO.DBusConnection, objectPath: string) => boolean; + dbusUnregister : (application: AuGIO.Application, connection: AuGIO.DBusConnection, objectPath: string) => void; + handleLocalOptions : (application: AuGIO.Application, options: AuGlibEx.VariantDict) => number; + nameLost : (application: AuGIO.Application) => boolean; + + } + + class ApplicationCommandLineClass { + parentClass : GObject.ObjectClass; + printLiteral : (cmdline: AuGIO.ApplicationCommandLine, message: string) => void; + printerrLiteral : (cmdline: AuGIO.ApplicationCommandLine, message: string) => void; + getStdin : (cmdline: AuGIO.ApplicationCommandLine) => AuGIO.InputStream; + + } + + class ApplicationCommandLinePrivate { + } + + class ApplicationPrivate { + } + + class AsyncInitableIface { + gIface : GObject.TypeInterface; + initAsync : (initable: AuGIO.AsyncInitable, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + initFinish : (initable: AuGIO.AsyncInitable, res: AuGIO.AsyncResult) => boolean; + + } + + class AsyncResultIface { + gIface : GObject.TypeInterface; + getUserData : (res: AuGIO.AsyncResult) => void; + getSourceObject : (res: AuGIO.AsyncResult) => GObject.Object; + isTagged : (res: AuGIO.AsyncResult) => boolean; + + } + + class BufferedInputStreamClass { + parentClass : AuGIO.FilterInputStreamClass; + fill : (stream: AuGIO.BufferedInputStream, count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number | bigint; + fillAsync : (stream: AuGIO.BufferedInputStream, count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + fillFinish : (stream: AuGIO.BufferedInputStream, result: AuGIO.AsyncResult) => number | bigint; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class BufferedInputStreamPrivate { + } + + class BufferedOutputStreamClass { + parentClass : AuGIO.FilterOutputStreamClass; + gReserved1 : void; + gReserved2 : void; + + } + + class BufferedOutputStreamPrivate { + } + + class CancellableClass { + parentClass : GObject.ObjectClass; + cancelled : (cancellable: AuGIO.Cancellable | undefined | null) => void; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class CancellablePrivate { + } + + class CharsetConverterClass { + parentClass : GObject.ObjectClass; + + } + + class ConverterIface { + gIface : GObject.TypeInterface; + convert : (converter: AuGIO.Converter, inbuf: number[] | undefined | null, inbufSize: number | bigint, outbuf: number[] | undefined | null, outbufSize: number | bigint, flags: AuGIO.ConverterFlags, bytesRead: number | bigint, bytesWritten: number | bigint) => AuGIO.ConverterResult; + reset : (converter: AuGIO.Converter) => void; + + } + + class ConverterInputStreamClass { + parentClass : AuGIO.FilterInputStreamClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class ConverterInputStreamPrivate { + } + + class ConverterOutputStreamClass { + parentClass : AuGIO.FilterOutputStreamClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class ConverterOutputStreamPrivate { + } + + class CredentialsClass { + } + + class DBusAnnotationInfo { + refCount : number; + key : string; + value : string; + annotations : AuGIO.DBusAnnotationInfo[]; + + ref(): AuGIO.DBusAnnotationInfo; + unref(): void; + static Lookup(annotations: AuGIO.DBusAnnotationInfo[] | undefined | null, name: string): string; + } + + class DBusArgInfo { + refCount : number; + name : string; + signature : string; + annotations : AuGIO.DBusAnnotationInfo[]; + + ref(): AuGIO.DBusArgInfo; + unref(): void; + } + + class DBusErrorEntry { + errorCode : number; + dbusErrorName : string; + + } + + class DBusInterfaceIface { + parentIface : GObject.TypeInterface; + getInfo : (interface: AuGIO.DBusInterface) => AuGIO.DBusInterfaceInfo; + getObject : (interface: AuGIO.DBusInterface) => AuGIO.DBusObject; + setObject : (interface: AuGIO.DBusInterface, object: AuGIO.DBusObject | undefined | null) => void; + dupObject : (interface: AuGIO.DBusInterface) => AuGIO.DBusObject; + + } + + class DBusInterfaceInfo { + refCount : number; + name : string; + methods : AuGIO.DBusMethodInfo[]; + signals : AuGIO.DBusSignalInfo[]; + properties : AuGIO.DBusPropertyInfo[]; + annotations : AuGIO.DBusAnnotationInfo[]; + + cacheBuild(): void; + cacheRelease(): void; + generateXMl(indent: number, stringBuilder: AuGlibEx.String): void; + lookupMethod(name: string): AuGIO.DBusMethodInfo; + lookupProperty(name: string): AuGIO.DBusPropertyInfo; + lookupSignal(name: string): AuGIO.DBusSignalInfo; + ref(): AuGIO.DBusInterfaceInfo; + unref(): void; + } + + class DBusInterfaceSkeletonClass { + parentClass : GObject.ObjectClass; + getInfo : (interface: AuGIO.DBusInterfaceSkeleton) => AuGIO.DBusInterfaceInfo; + getVtable : void; + getProperties : (interface: AuGIO.DBusInterfaceSkeleton) => AuGlibEx.Variant; + flush : (interface: AuGIO.DBusInterfaceSkeleton) => void; + gAuthorizeMethod : (interface: AuGIO.DBusInterfaceSkeleton, invocation: AuGIO.DBusMethodInvocation) => boolean; + + } + + class DBusInterfaceSkeletonPrivate { + } + + class DBusInterfaceVTable { + methodCall : (connection: AuGIO.DBusConnection, sender: string, objectPath: string, interfaceName: string, methodName: string, parameters: AuGlibEx.Variant, invocation: AuGIO.DBusMethodInvocation) => void; + getProperty : (connection: AuGIO.DBusConnection, sender: string, objectPath: string, interfaceName: string, propertyName: string, error: AuGlibEx.Error) => AuGlibEx.Variant; + setProperty : (connection: AuGIO.DBusConnection, sender: string, objectPath: string, interfaceName: string, propertyName: string, value: AuGlibEx.Variant, error: AuGlibEx.Error) => boolean; + + } + + class DBusMethodInfo { + refCount : number; + name : string; + inArgs : AuGIO.DBusArgInfo[]; + outArgs : AuGIO.DBusArgInfo[]; + annotations : AuGIO.DBusAnnotationInfo[]; + + ref(): AuGIO.DBusMethodInfo; + unref(): void; + } + + class DBusNodeInfo { + refCount : number; + path : string; + interfaces : AuGIO.DBusInterfaceInfo[]; + nodes : AuGIO.DBusNodeInfo[]; + annotations : AuGIO.DBusAnnotationInfo[]; + + static NewForXMl(XMlData: string): AuGIO.DBusNodeInfo; + generateXMl(indent: number, stringBuilder: AuGlibEx.String): void; + lookupInterface(name: string): AuGIO.DBusInterfaceInfo; + ref(): AuGIO.DBusNodeInfo; + unref(): void; + } + + class DBusObjectIface { + parentIface : GObject.TypeInterface; + getObjectPath : (object: AuGIO.DBusObject) => string; + getInterfaces : (object: AuGIO.DBusObject) => AuGIO.DBusInterface[]; + getInterface : (object: AuGIO.DBusObject, interfaceName: string) => AuGIO.DBusInterface; + interfaceAdded : (object: AuGIO.DBusObject, interface: AuGIO.DBusInterface) => void; + interfaceRemoved : (object: AuGIO.DBusObject, interface: AuGIO.DBusInterface) => void; + + } + + class DBusObjectManagerClientClass { + parentClass : GObject.ObjectClass; + interfaceProxySignal : (manager: AuGIO.DBusObjectManagerClient, objectProxy: AuGIO.DBusObjectProxy, interfaceProxy: AuGIO.DBusProxy, senderName: string, signalName: string, parameters: AuGlibEx.Variant) => void; + interfaceProxyPropertiesChanged : (manager: AuGIO.DBusObjectManagerClient, objectProxy: AuGIO.DBusObjectProxy, interfaceProxy: AuGIO.DBusProxy, changedProperties: AuGlibEx.Variant, invalidatedProperties: string) => void; + + } + + class DBusObjectManagerClientPrivate { + } + + class DBusObjectManagerIface { + parentIface : GObject.TypeInterface; + getObjectPath : (manager: AuGIO.DBusObjectManager) => string; + getObjects : (manager: AuGIO.DBusObjectManager) => AuGIO.DBusObject[]; + getObject : (manager: AuGIO.DBusObjectManager, objectPath: string) => AuGIO.DBusObject; + getInterface : (manager: AuGIO.DBusObjectManager, objectPath: string, interfaceName: string) => AuGIO.DBusInterface; + objectAdded : (manager: AuGIO.DBusObjectManager, object: AuGIO.DBusObject) => void; + objectRemoved : (manager: AuGIO.DBusObjectManager, object: AuGIO.DBusObject) => void; + interfaceAdded : (manager: AuGIO.DBusObjectManager, object: AuGIO.DBusObject, interface: AuGIO.DBusInterface) => void; + interfaceRemoved : (manager: AuGIO.DBusObjectManager, object: AuGIO.DBusObject, interface: AuGIO.DBusInterface) => void; + + } + + class DBusObjectManagerServerClass { + parentClass : GObject.ObjectClass; + + } + + class DBusObjectManagerServerPrivate { + } + + class DBusObjectProxyClass { + parentClass : GObject.ObjectClass; + + } + + class DBusObjectProxyPrivate { + } + + class DBusObjectSkeletonClass { + parentClass : GObject.ObjectClass; + authorizeMethod : (object: AuGIO.DBusObjectSkeleton, interface: AuGIO.DBusInterfaceSkeleton, invocation: AuGIO.DBusMethodInvocation) => boolean; + + } + + class DBusObjectSkeletonPrivate { + } + + class DBusPropertyInfo { + refCount : number; + name : string; + signature : string; + flags : AuGIO.DBusPropertyInfoFlags; + annotations : AuGIO.DBusAnnotationInfo[]; + + ref(): AuGIO.DBusPropertyInfo; + unref(): void; + } + + class DBusProxyClass { + parentClass : GObject.ObjectClass; + gPropertiesChanged : (proxy: AuGIO.DBusProxy, changedProperties: AuGlibEx.Variant, invalidatedProperties: string) => void; + gSignal : (proxy: AuGIO.DBusProxy, senderName: string, signalName: string, parameters: AuGlibEx.Variant) => void; + + } + + class DBusProxyPrivate { + } + + class DBusSignalInfo { + refCount : number; + name : string; + args : AuGIO.DBusArgInfo[]; + annotations : AuGIO.DBusAnnotationInfo[]; + + ref(): AuGIO.DBusSignalInfo; + unref(): void; + } + + class DBusSubtreeVTable { + enumerate : (connection: AuGIO.DBusConnection, sender: string, objectPath: string) => string[]; + introspect : (connection: AuGIO.DBusConnection, sender: string, objectPath: string, node: string) => AuGIO.DBusInterfaceInfo[]; + dispatch : (connection: AuGIO.DBusConnection, sender: string, objectPath: string, interfaceName: string, node: string) => AuGIO.DBusInterfaceVTable; + + } + + class DataInputStreamClass { + parentClass : AuGIO.BufferedInputStreamClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class DataInputStreamPrivate { + } + + class DataOutputStreamClass { + parentClass : AuGIO.FilterOutputStreamClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class DataOutputStreamPrivate { + } + + class DatagramBasedInterface { + gIface : GObject.TypeInterface; + receiveMessages : (datagramBased: AuGIO.DatagramBased, messages: AuGIO.InputMessage[], numMessages: number, flags: number, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number; + sendMessages : (datagramBased: AuGIO.DatagramBased, messages: AuGIO.OutputMessage[], numMessages: number, flags: number, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number; + createSource : (datagramBased: AuGIO.DatagramBased, condition: AuGlibEx.IOCondition, cancellable: AuGIO.Cancellable | undefined | null) => AuGlibEx.Source; + conditionCheck : (datagramBased: AuGIO.DatagramBased, condition: AuGlibEx.IOCondition) => AuGlibEx.IOCondition; + conditionWait : (datagramBased: AuGIO.DatagramBased, condition: AuGlibEx.IOCondition, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + + } + + class DebugControllerDBusClass { + parentClass : GObject.ObjectClass; + authorize : (controller: AuGIO.DebugControllerDBus, invocation: AuGIO.DBusMethodInvocation) => boolean; + + } + + class DebugControllerInterface { + gIface : GObject.TypeInterface; + + } + + class DriveIface { + gIface : GObject.TypeInterface; + changed : (drive: AuGIO.Drive) => void; + disconnected : (drive: AuGIO.Drive) => void; + ejectButton : (drive: AuGIO.Drive) => void; + getName : (drive: AuGIO.Drive) => string; + getIcon : (drive: AuGIO.Drive) => AuGIO.Icon; + hasVolumes : (drive: AuGIO.Drive) => boolean; + getVolumes : (drive: AuGIO.Drive) => AuGIO.Volume[]; + isMediaRemovable : (drive: AuGIO.Drive) => boolean; + hasMedia : (drive: AuGIO.Drive) => boolean; + isMediaCheckAutomatic : (drive: AuGIO.Drive) => boolean; + canEject : (drive: AuGIO.Drive) => boolean; + canPollForMedia : (drive: AuGIO.Drive) => boolean; + eject : (drive: AuGIO.Drive, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + ejectFinish : (drive: AuGIO.Drive, result: AuGIO.AsyncResult) => boolean; + pollForMedia : (drive: AuGIO.Drive, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + pollForMediaFinish : (drive: AuGIO.Drive, result: AuGIO.AsyncResult) => boolean; + getIdentifier : (drive: AuGIO.Drive, kind: string) => string; + enumerateIdentifiers : (drive: AuGIO.Drive) => string[]; + getStartStopType : (drive: AuGIO.Drive) => AuGIO.DriveStartStopType; + canStart : (drive: AuGIO.Drive) => boolean; + canStartDegraded : (drive: AuGIO.Drive) => boolean; + start : (drive: AuGIO.Drive, flags: AuGIO.DriveStartFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + startFinish : (drive: AuGIO.Drive, result: AuGIO.AsyncResult) => boolean; + canStop : (drive: AuGIO.Drive) => boolean; + stop : (drive: AuGIO.Drive, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + stopFinish : (drive: AuGIO.Drive, result: AuGIO.AsyncResult) => boolean; + stopButton : (drive: AuGIO.Drive) => void; + ejectWithOperation : (drive: AuGIO.Drive, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + ejectWithOperationFinish : (drive: AuGIO.Drive, result: AuGIO.AsyncResult) => boolean; + getSortKey : (drive: AuGIO.Drive) => string; + getSymbolicIcon : (drive: AuGIO.Drive) => AuGIO.Icon; + isRemovable : (drive: AuGIO.Drive) => boolean; + + } + + class DtlsClientConnectionInterface { + gIface : GObject.TypeInterface; + + } + + class DtlsConnectionInterface { + gIface : GObject.TypeInterface; + acceptCertificate : (connection: AuGIO.DtlsConnection, peerCert: AuGIO.TlsCertificate, errors: AuGIO.TlsCertificateFlags) => boolean; + handshake : (conn: AuGIO.DtlsConnection, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + handshakeAsync : (conn: AuGIO.DtlsConnection, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + handshakeFinish : (conn: AuGIO.DtlsConnection, result: AuGIO.AsyncResult) => boolean; + shutdown : (conn: AuGIO.DtlsConnection, shutdownRead: boolean, shutdownWrite: boolean, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + shutdownAsync : (conn: AuGIO.DtlsConnection, shutdownRead: boolean, shutdownWrite: boolean, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + shutdownFinish : (conn: AuGIO.DtlsConnection, result: AuGIO.AsyncResult) => boolean; + setAdvertisedProtocols : (conn: AuGIO.DtlsConnection, protocols: string[] | undefined | null) => void; + getNegotiatedProtocol : (conn: AuGIO.DtlsConnection) => string; + getBindingData : (conn: AuGIO.DtlsConnection, type: AuGIO.TlsChannelBindingType, data: number[]) => boolean; + + } + + class DtlsServerConnectionInterface { + gIface : GObject.TypeInterface; + + } + + class EmblemClass { + } + + class EmblemedIconClass { + parentClass : GObject.ObjectClass; + + } + + class EmblemedIconPrivate { + } + + class FileAttributeInfo { + name : string; + type : AuGIO.FileAttributeType; + flags : AuGIO.FileAttributeInfoFlags; + + } + + class FileAttributeInfoList { + infos : AuGIO.FileAttributeInfo; + nInfos : number; + + static New(): AuGIO.FileAttributeInfoList; + add(name: string, type: AuGIO.FileAttributeType, flags: AuGIO.FileAttributeInfoFlags): void; + dup(): AuGIO.FileAttributeInfoList; + lookup(name: string): AuGIO.FileAttributeInfo; + ref(): AuGIO.FileAttributeInfoList; + unref(): void; + } + + class FileAttributeMatcher { + static New(attributes: string): AuGIO.FileAttributeMatcher; + enumerateNamespace(ns: string): boolean; + enumerateNext(): string; + matches(attribute: string): boolean; + matchesOnly(attribute: string): boolean; + ref(): AuGIO.FileAttributeMatcher; + subtract(subtract: AuGIO.FileAttributeMatcher | undefined | null): AuGIO.FileAttributeMatcher; + unref(): void; + } + + class FileDescriptorBased { + } + + class FileEnumeratorClass { + parentClass : GObject.ObjectClass; + nextFile : (enumerator: AuGIO.FileEnumerator, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo; + closeFn : (enumerator: AuGIO.FileEnumerator, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + nextFilesAsync : (enumerator: AuGIO.FileEnumerator, numFiles: number, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + nextFilesFinish : (enumerator: AuGIO.FileEnumerator, result: AuGIO.AsyncResult) => AuGIO.FileInfo[]; + closeAsync : (enumerator: AuGIO.FileEnumerator, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + closeFinish : (enumerator: AuGIO.FileEnumerator, result: AuGIO.AsyncResult) => boolean; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + gReserved7 : void; + + } + + class FileEnumeratorPrivate { + } + + class FileIOStreamClass { + parentClass : AuGIO.IOStreamClass; + tell : (stream: AuGIO.FileIOStream) => number | bigint; + canSeek : (stream: AuGIO.FileIOStream) => boolean; + seek : (stream: AuGIO.FileIOStream, offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + canTruncate : (stream: AuGIO.FileIOStream) => boolean; + truncateFn : (stream: AuGIO.FileIOStream, size: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + queryInfo : (stream: AuGIO.FileIOStream, attributes: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo; + queryInfoAsync : (stream: AuGIO.FileIOStream, attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + queryInfoFinish : (stream: AuGIO.FileIOStream, result: AuGIO.AsyncResult) => AuGIO.FileInfo; + getEtag : (stream: AuGIO.FileIOStream) => string; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class FileIOStreamPrivate { + } + + class FileIconClass { + } + + class FileIface { + gIface : GObject.TypeInterface; + dup : (file: AuGIO.File) => AuGIO.File; + hash : (file: AuGIO.File) => number; + equal : (file1: AuGIO.File, file2: AuGIO.File) => boolean; + isNative : (file: AuGIO.File) => boolean; + hasUriScheme : (file: AuGIO.File, uriScheme: string) => boolean; + getUriScheme : (file: AuGIO.File) => string; + getBasename : (file: AuGIO.File) => string; + getPath : (file: AuGIO.File) => string; + getUri : (file: AuGIO.File) => string; + getParseName : (file: AuGIO.File) => string; + getParent : (file: AuGIO.File) => AuGIO.File; + prefixMatches : (prefix: AuGIO.File, file: AuGIO.File) => boolean; + getRelativePath : (parent: AuGIO.File, descendant: AuGIO.File) => string; + resolveRelativePath : (file: AuGIO.File, relativePath: string) => AuGIO.File; + getChildForDisplayName : (file: AuGIO.File, displayName: string) => AuGIO.File; + enumerateChildren : (file: AuGIO.File, attributes: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileEnumerator; + enumerateChildrenAsync : (file: AuGIO.File, attributes: string, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + enumerateChildrenFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileEnumerator; + queryInfo : (file: AuGIO.File, attributes: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo; + queryInfoAsync : (file: AuGIO.File, attributes: string, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + queryInfoFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileInfo; + queryFilesystemInfo : (file: AuGIO.File, attributes: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo; + queryFilesystemInfoAsync : (file: AuGIO.File, attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + queryFilesystemInfoFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileInfo; + findEnclosingMount : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.Mount; + findEnclosingMountAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + findEnclosingMountFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.Mount; + setDisplayName : (file: AuGIO.File, displayName: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.File; + setDisplayNameAsync : (file: AuGIO.File, displayName: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + setDisplayNameFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.File; + querySettableAttributes : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileAttributeInfoList; + querySettableAttributesAsync : void; + querySettableAttributesFinish : void; + queryWritableNamespaces : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileAttributeInfoList; + queryWritableNamespacesAsync : void; + queryWritableNamespacesFinish : void; + setAttribute : (file: AuGIO.File, attribute: string, type: AuGIO.FileAttributeType, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + setAttributesFromInfo : (file: AuGIO.File, info: AuGIO.FileInfo, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + setAttributesAsync : (file: AuGIO.File, info: AuGIO.FileInfo, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + setAttributesFinish : (file: AuGIO.File, result: AuGIO.AsyncResult, info: AuGIO.FileInfo) => boolean; + readFn : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInputStream; + readAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + readFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileInputStream; + appendTo : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileOutputStream; + appendToAsync : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + appendToFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileOutputStream; + create : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileOutputStream; + createAsync : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + createFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileOutputStream; + replace : (file: AuGIO.File, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileOutputStream; + replaceAsync : (file: AuGIO.File, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + replaceFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileOutputStream; + deleteFile : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + deleteFileAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + deleteFileFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + trash : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + trashAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + trashFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + makeDirectory : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + makeDirectoryAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + makeDirectoryFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + makeSymbolicLink : (file: AuGIO.File, symlinkValue: string, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + makeSymbolicLinkAsync : void; + makeSymbolicLinkFinish : void; + copy : (source: AuGIO.File, destination: AuGIO.File, flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null) => boolean; + copyAsync : (source: AuGIO.File, destination: AuGIO.File, flags: AuGIO.FileCopyFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + copyFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => boolean; + move : (source: AuGIO.File, destination: AuGIO.File, flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null) => boolean; + moveAsync : (source: AuGIO.File, destination: AuGIO.File, flags: AuGIO.FileCopyFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + moveFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + mountMountable : (file: AuGIO.File, flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + mountMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => AuGIO.File; + unmountMountable : (file: AuGIO.File, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + unmountMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + ejectMountable : (file: AuGIO.File, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + ejectMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + mountEnclosingVolume : (location: AuGIO.File, flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + mountEnclosingVolumeFinish : (location: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + monitorDir : (file: AuGIO.File, flags: AuGIO.FileMonitorFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileMonitor; + monitorFile : (file: AuGIO.File, flags: AuGIO.FileMonitorFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileMonitor; + openReadwrite : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileIOStream; + openReadwriteAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + openReadwriteFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileIOStream; + createReadwrite : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileIOStream; + createReadwriteAsync : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + createReadwriteFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileIOStream; + replaceReadwrite : (file: AuGIO.File, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileIOStream; + replaceReadwriteAsync : (file: AuGIO.File, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + replaceReadwriteFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileIOStream; + startMountable : (file: AuGIO.File, flags: AuGIO.DriveStartFlags, startOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + startMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + stopMountable : (file: AuGIO.File, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + stopMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + supportsThreadContexts : boolean; + unmountMountableWithOperation : (file: AuGIO.File, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + unmountMountableWithOperationFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + ejectMountableWithOperation : (file: AuGIO.File, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + ejectMountableWithOperationFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + pollMountable : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + pollMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean; + measureDiskUsage : void; + measureDiskUsageAsync : void; + measureDiskUsageFinish : (file: AuGIO.File, result: AuGIO.AsyncResult, diskUsage ?: number | bigint, numDirs ?: number | bigint, numFiles ?: number | bigint) => boolean; + + } + + class FileInfoClass { + } + + class FileInputStreamClass { + parentClass : AuGIO.InputStreamClass; + tell : (stream: AuGIO.FileInputStream) => number | bigint; + canSeek : (stream: AuGIO.FileInputStream) => boolean; + seek : (stream: AuGIO.FileInputStream, offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + queryInfo : (stream: AuGIO.FileInputStream, attributes: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo; + queryInfoAsync : (stream: AuGIO.FileInputStream, attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + queryInfoFinish : (stream: AuGIO.FileInputStream, result: AuGIO.AsyncResult) => AuGIO.FileInfo; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class FileInputStreamPrivate { + } + + class FileMonitorClass { + parentClass : GObject.ObjectClass; + changed : (monitor: AuGIO.FileMonitor, file: AuGIO.File, otherFile: AuGIO.File, eventType: AuGIO.FileMonitorEvent) => void; + cancel : (monitor: AuGIO.FileMonitor) => boolean; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class FileMonitorPrivate { + } + + class FileOutputStreamClass { + parentClass : AuGIO.OutputStreamClass; + tell : (stream: AuGIO.FileOutputStream) => number | bigint; + canSeek : (stream: AuGIO.FileOutputStream) => boolean; + seek : (stream: AuGIO.FileOutputStream, offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + canTruncate : (stream: AuGIO.FileOutputStream) => boolean; + truncateFn : (stream: AuGIO.FileOutputStream, size: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + queryInfo : (stream: AuGIO.FileOutputStream, attributes: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo; + queryInfoAsync : (stream: AuGIO.FileOutputStream, attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + queryInfoFinish : (stream: AuGIO.FileOutputStream, result: AuGIO.AsyncResult) => AuGIO.FileInfo; + getEtag : (stream: AuGIO.FileOutputStream) => string; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class FileOutputStreamPrivate { + } + + class FilenameCompleterClass { + parentClass : GObject.ObjectClass; + gotCompletionData : (filenameCompleter: AuGIO.FilenameCompleter) => void; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + + } + + class FilterInputStreamClass { + parentClass : AuGIO.InputStreamClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + + } + + class FilterOutputStreamClass { + parentClass : AuGIO.OutputStreamClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + + } + + class IOExtension { + getName(): string; + getPriority(): number; + getType(): number; + } + + class IOExtensionPoint { + getExtensionByName(name: string): AuGIO.IOExtension; + getExtensions(): AuGIO.IOExtension[]; + getRequiredType(): number; + setRequiredType(type: number): void; + static Implement(extensionPointName: string, type: number, extensionName: string, priority: number): AuGIO.IOExtension; + static Lookup(name: string): AuGIO.IOExtensionPoint; + static Register(name: string): AuGIO.IOExtensionPoint; + } + + class IOModuleClass { + } + + class IOModuleScope { + block(basename: string): void; + free(): void; + } + + class IOSchedulerJob { + sendToMainloop(func: () => boolean, notify: () => void | undefined | null): boolean; + sendToMainloopAsync(func: () => boolean, notify: () => void | undefined | null): void; + } + + class IOStreamAdapter { + } + + class IOStreamClass { + parentClass : GObject.ObjectClass; + getInputStream : (stream: AuGIO.IOStream) => AuGIO.InputStream; + getOutputStream : (stream: AuGIO.IOStream) => AuGIO.OutputStream; + closeFn : (stream: AuGIO.IOStream, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + closeAsync : (stream: AuGIO.IOStream, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + closeFinish : (stream: AuGIO.IOStream, result: AuGIO.AsyncResult) => boolean; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + gReserved7 : void; + gReserved8 : void; + gReserved9 : void; + gReserved10 : void; + + } + + class IOStreamPrivate { + } + + class IconIface { + gIface : GObject.TypeInterface; + hash : (icon: AuGIO.Icon) => number; + equal : (icon1: AuGIO.Icon | undefined | null, icon2: AuGIO.Icon | undefined | null) => boolean; + toTokens : void; + fromTokens : void; + serialize : (icon: AuGIO.Icon) => AuGlibEx.Variant; + + } + + class InetAddressClass { + parentClass : GObject.ObjectClass; + toString : (address: AuGIO.InetAddress) => string; + toBytes : (address: AuGIO.InetAddress) => number; + + } + + class InetAddressMaskClass { + parentClass : GObject.ObjectClass; + + } + + class InetAddressMaskPrivate { + } + + class InetAddressPrivate { + } + + class InetSocketAddressClass { + parentClass : AuGIO.SocketAddressClass; + + } + + class InetSocketAddressPrivate { + } + + class InitableIface { + gIface : GObject.TypeInterface; + init : (initable: AuGIO.Initable, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + + } + + class InputMessage { + address : AuGIO.SocketAddress; + vectors : AuGIO.InputVector[]; + numVectors : number; + bytesReceived : number | bigint; + flags : number; + controlMessages : AuGIO.SocketControlMessage[]; + numControlMessages : number; + + } + + class InputStreamClass { + parentClass : GObject.ObjectClass; + readFn : (stream: AuGIO.InputStream, count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number | bigint; + skip : (stream: AuGIO.InputStream, count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number | bigint; + closeFn : (stream: AuGIO.InputStream, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + readAsync : (stream: AuGIO.InputStream, buffer: number[] | undefined | null, count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + readFinish : (stream: AuGIO.InputStream, result: AuGIO.AsyncResult) => number | bigint; + skipAsync : (stream: AuGIO.InputStream, count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + skipFinish : (stream: AuGIO.InputStream, result: AuGIO.AsyncResult) => number | bigint; + closeAsync : (stream: AuGIO.InputStream, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + closeFinish : (stream: AuGIO.InputStream, result: AuGIO.AsyncResult) => boolean; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class InputStreamPrivate { + } + + class InputVector { + buffer : void; + size : number | bigint; + + } + + class ListModelInterface { + gIface : GObject.TypeInterface; + getItemType : (list: AuGIO.ListModel) => number; + getNItems : (list: AuGIO.ListModel) => number; + getItem : (list: AuGIO.ListModel, position: number) => GObject.Object; + + } + + class ListStoreClass { + parentClass : GObject.ObjectClass; + + } + + class LoadableIconIface { + gIface : GObject.TypeInterface; + load : (icon: AuGIO.LoadableIcon, size: number, type ?: string, cancellable ?: AuGIO.Cancellable | undefined | null) => AuGIO.InputStream; + loadAsync : (icon: AuGIO.LoadableIcon, size: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + loadFinish : (icon: AuGIO.LoadableIcon, res: AuGIO.AsyncResult, type ?: string) => AuGIO.InputStream; + + } + + class MemoryInputStreamClass { + parentClass : AuGIO.InputStreamClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class MemoryInputStreamPrivate { + } + + class MemoryMonitorInterface { + gIface : GObject.TypeInterface; + lowMemoryWarning : (monitor: AuGIO.MemoryMonitor, level: AuGIO.MemoryMonitorWarningLevel) => void; + + } + + class MemoryOutputStreamClass { + parentClass : AuGIO.OutputStreamClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class MemoryOutputStreamPrivate { + } + + class MenuAttributeIterClass { + parentClass : GObject.ObjectClass; + getNext : (iter: AuGIO.MenuAttributeIter, outName ?: string, value ?: AuGlibEx.Variant) => boolean; + + } + + class MenuAttributeIterPrivate { + } + + class MenuLinkIterClass { + parentClass : GObject.ObjectClass; + getNext : (iter: AuGIO.MenuLinkIter, outLink ?: string, value ?: AuGIO.MenuModel) => boolean; + + } + + class MenuLinkIterPrivate { + } + + class MenuModelClass { + parentClass : GObject.ObjectClass; + isMutable : (model: AuGIO.MenuModel) => boolean; + getNItems : (model: AuGIO.MenuModel) => number; + getItemAttributes : (model: AuGIO.MenuModel, itemIndex: number, attributes: number) => void; + iterateItemAttributes : (model: AuGIO.MenuModel, itemIndex: number) => AuGIO.MenuAttributeIter; + getItemAttributeValue : (model: AuGIO.MenuModel, itemIndex: number, attribute: string, expectedType: AuGlibEx.VariantType | undefined | null) => AuGlibEx.Variant; + getItemLinks : (model: AuGIO.MenuModel, itemIndex: number, links: number) => void; + iterateItemLinks : (model: AuGIO.MenuModel, itemIndex: number) => AuGIO.MenuLinkIter; + getItemLink : (model: AuGIO.MenuModel, itemIndex: number, link: string) => AuGIO.MenuModel; + + } + + class MenuModelPrivate { + } + + class MountIface { + gIface : GObject.TypeInterface; + changed : (mount: AuGIO.Mount) => void; + unmounted : (mount: AuGIO.Mount) => void; + getRoot : (mount: AuGIO.Mount) => AuGIO.File; + getName : (mount: AuGIO.Mount) => string; + getIcon : (mount: AuGIO.Mount) => AuGIO.Icon; + getUuid : (mount: AuGIO.Mount) => string; + getVolume : (mount: AuGIO.Mount) => AuGIO.Volume; + getDrive : (mount: AuGIO.Mount) => AuGIO.Drive; + canUnmount : (mount: AuGIO.Mount) => boolean; + canEject : (mount: AuGIO.Mount) => boolean; + unmount : (mount: AuGIO.Mount, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + unmountFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => boolean; + eject : (mount: AuGIO.Mount, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + ejectFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => boolean; + remount : (mount: AuGIO.Mount, flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + remountFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => boolean; + guessContentType : (mount: AuGIO.Mount, forceRescan: boolean, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + guessContentTypeFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => string[]; + guessContentTypeSync : (mount: AuGIO.Mount, forceRescan: boolean, cancellable: AuGIO.Cancellable | undefined | null) => string[]; + preUnmount : (mount: AuGIO.Mount) => void; + unmountWithOperation : (mount: AuGIO.Mount, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + unmountWithOperationFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => boolean; + ejectWithOperation : (mount: AuGIO.Mount, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + ejectWithOperationFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => boolean; + getDefaultLocation : (mount: AuGIO.Mount) => AuGIO.File; + getSortKey : (mount: AuGIO.Mount) => string; + getSymbolicIcon : (mount: AuGIO.Mount) => AuGIO.Icon; + + } + + class MountOperationClass { + parentClass : GObject.ObjectClass; + askPassword : (op: AuGIO.MountOperation, message: string, defaultUser: string, defaultDomain: string, flags: AuGIO.AskPasswordFlags) => void; + askQuestion : (op: AuGIO.MountOperation, message: string, choices: string[]) => void; + reply : (op: AuGIO.MountOperation, result: AuGIO.MountOperationResult) => void; + aborted : (op: AuGIO.MountOperation) => void; + showProcesses : (op: AuGIO.MountOperation, message: string, processes: void[], choices: string[]) => void; + showUnmountProgress : (op: AuGIO.MountOperation, message: string, timeLeft: number | bigint, bytesLeft: number | bigint) => void; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + gReserved7 : void; + gReserved8 : void; + gReserved9 : void; + + } + + class MountOperationPrivate { + } + + class NativeSocketAddressClass { + parentClass : AuGIO.SocketAddressClass; + + } + + class NativeSocketAddressPrivate { + } + + class NativeVolumeMonitorClass { + parentClass : AuGIO.VolumeMonitorClass; + getMountForMountPath : void; + + } + + class NetworkAddressClass { + parentClass : GObject.ObjectClass; + + } + + class NetworkAddressPrivate { + } + + class NetworkMonitorInterface { + gIface : GObject.TypeInterface; + networkChanged : (monitor: AuGIO.NetworkMonitor, networkAvailable: boolean) => void; + canReach : (monitor: AuGIO.NetworkMonitor, connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + canReachAsync : (monitor: AuGIO.NetworkMonitor, connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + canReachFinish : (monitor: AuGIO.NetworkMonitor, result: AuGIO.AsyncResult) => boolean; + + } + + class NetworkServiceClass { + parentClass : GObject.ObjectClass; + + } + + class NetworkServicePrivate { + } + + class OutputMessage { + address : AuGIO.SocketAddress; + vectors : AuGIO.OutputVector; + numVectors : number; + bytesSent : number; + controlMessages : AuGIO.SocketControlMessage[]; + numControlMessages : number; + + } + + class OutputStreamClass { + parentClass : GObject.ObjectClass; + writeFn : (stream: AuGIO.OutputStream, buffer: number[] | undefined | null, count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number | bigint; + splice : (stream: AuGIO.OutputStream, source: AuGIO.InputStream, flags: AuGIO.OutputStreamSpliceFlags, cancellable: AuGIO.Cancellable | undefined | null) => number | bigint; + flush : (stream: AuGIO.OutputStream, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + closeFn : (stream: AuGIO.OutputStream, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + writeAsync : (stream: AuGIO.OutputStream, buffer: number[] | undefined | null, count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + writeFinish : (stream: AuGIO.OutputStream, result: AuGIO.AsyncResult) => number | bigint; + spliceAsync : (stream: AuGIO.OutputStream, source: AuGIO.InputStream, flags: AuGIO.OutputStreamSpliceFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + spliceFinish : (stream: AuGIO.OutputStream, result: AuGIO.AsyncResult) => number | bigint; + flushAsync : (stream: AuGIO.OutputStream, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + flushFinish : (stream: AuGIO.OutputStream, result: AuGIO.AsyncResult) => boolean; + closeAsync : (stream: AuGIO.OutputStream, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + closeFinish : (stream: AuGIO.OutputStream, result: AuGIO.AsyncResult) => boolean; + writevFn : (stream: AuGIO.OutputStream, vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null) => boolean; + writevAsync : (stream: AuGIO.OutputStream, vectors: AuGIO.OutputVector[], nVectors: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + writevFinish : (stream: AuGIO.OutputStream, result: AuGIO.AsyncResult, bytesWritten ?: number | bigint) => boolean; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + gReserved7 : void; + gReserved8 : void; + + } + + class OutputStreamPrivate { + } + + class OutputVector { + buffer : void; + size : number | bigint; + + } + + class PermissionClass { + parentClass : GObject.ObjectClass; + acquire : (permission: AuGIO.Permission, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + acquireAsync : (permission: AuGIO.Permission, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + acquireFinish : (permission: AuGIO.Permission, result: AuGIO.AsyncResult) => boolean; + release : (permission: AuGIO.Permission, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + releaseAsync : (permission: AuGIO.Permission, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + releaseFinish : (permission: AuGIO.Permission, result: AuGIO.AsyncResult) => boolean; + + } + + class PermissionPrivate { + } + + class PollableInputStreamInterface { + gIface : GObject.TypeInterface; + canPoll : (stream: AuGIO.PollableInputStream) => boolean; + isReadable : (stream: AuGIO.PollableInputStream) => boolean; + createSource : (stream: AuGIO.PollableInputStream, cancellable: AuGIO.Cancellable | undefined | null) => AuGlibEx.Source; + readNonblocking : (stream: AuGIO.PollableInputStream, buffer: number[] | undefined | null, count: number | bigint) => number | bigint; + + } + + class PollableOutputStreamInterface { + gIface : GObject.TypeInterface; + canPoll : (stream: AuGIO.PollableOutputStream) => boolean; + isWritable : (stream: AuGIO.PollableOutputStream) => boolean; + createSource : (stream: AuGIO.PollableOutputStream, cancellable: AuGIO.Cancellable | undefined | null) => AuGlibEx.Source; + writeNonblocking : (stream: AuGIO.PollableOutputStream, buffer: number[] | undefined | null, count: number | bigint) => number | bigint; + writevNonblocking : (stream: AuGIO.PollableOutputStream, vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint) => AuGIO.PollableReturn; + + } + + class PowerProfileMonitorInterface { + gIface : GObject.TypeInterface; + + } + + class ProxyAddressClass { + parentClass : AuGIO.InetSocketAddressClass; + + } + + class ProxyAddressEnumeratorClass { + parentClass : AuGIO.SocketAddressEnumeratorClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + gReserved7 : void; + + } + + class ProxyAddressEnumeratorPrivate { + } + + class ProxyAddressPrivate { + } + + class ProxyInterface { + gIface : GObject.TypeInterface; + connect : (proxy: AuGIO.Proxy, connection: AuGIO.IOStream, proxyAddress: AuGIO.ProxyAddress, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.IOStream; + connectAsync : (proxy: AuGIO.Proxy, connection: AuGIO.IOStream, proxyAddress: AuGIO.ProxyAddress, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + connectFinish : (proxy: AuGIO.Proxy, result: AuGIO.AsyncResult) => AuGIO.IOStream; + supportsHostname : (proxy: AuGIO.Proxy) => boolean; + + } + + class ProxyResolverInterface { + gIface : GObject.TypeInterface; + isSupported : (resolver: AuGIO.ProxyResolver) => boolean; + lookup : (resolver: AuGIO.ProxyResolver, uri: string, cancellable: AuGIO.Cancellable | undefined | null) => string[]; + lookupAsync : (resolver: AuGIO.ProxyResolver, uri: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + lookupFinish : (resolver: AuGIO.ProxyResolver, result: AuGIO.AsyncResult) => string[]; + + } + + class RemoteActionGroupInterface { + gIface : GObject.TypeInterface; + activateActionFull : (remote: AuGIO.RemoteActionGroup, actionName: string, parameter: AuGlibEx.Variant | undefined | null, platformData: AuGlibEx.Variant) => void; + changeActionStateFull : (remote: AuGIO.RemoteActionGroup, actionName: string, value: AuGlibEx.Variant, platformData: AuGlibEx.Variant) => void; + + } + + class ResolverClass { + parentClass : GObject.ObjectClass; + reload : (resolver: AuGIO.Resolver) => void; + lookupByName : (resolver: AuGIO.Resolver, hostname: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.InetAddress[]; + lookupByNameAsync : (resolver: AuGIO.Resolver, hostname: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + lookupByNameFinish : (resolver: AuGIO.Resolver, result: AuGIO.AsyncResult) => AuGIO.InetAddress[]; + lookupByAddress : (resolver: AuGIO.Resolver, address: AuGIO.InetAddress, cancellable: AuGIO.Cancellable | undefined | null) => string; + lookupByAddressAsync : (resolver: AuGIO.Resolver, address: AuGIO.InetAddress, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + lookupByAddressFinish : (resolver: AuGIO.Resolver, result: AuGIO.AsyncResult) => string; + lookupService : void; + lookupServiceAsync : (resolver: AuGIO.Resolver, rrname: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + lookupServiceFinish : (resolver: AuGIO.Resolver, result: AuGIO.AsyncResult) => AuGIO.SrvTarget[]; + lookupRecords : (resolver: AuGIO.Resolver, rrname: string, recordType: AuGIO.ResolverRecordType, cancellable: AuGIO.Cancellable | undefined | null) => AuGlibEx.Variant[]; + lookupRecordsAsync : (resolver: AuGIO.Resolver, rrname: string, recordType: AuGIO.ResolverRecordType, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + lookupRecordsFinish : (resolver: AuGIO.Resolver, result: AuGIO.AsyncResult) => AuGlibEx.Variant[]; + lookupByNameWithFlagsAsync : (resolver: AuGIO.Resolver, hostname: string, flags: AuGIO.ResolverNameLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + lookupByNameWithFlagsFinish : (resolver: AuGIO.Resolver, result: AuGIO.AsyncResult) => AuGIO.InetAddress[]; + lookupByNameWithFlags : (resolver: AuGIO.Resolver, hostname: string, flags: AuGIO.ResolverNameLookupFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.InetAddress[]; + + } + + class ResolverPrivate { + } + + class Resource { + static NewFromData(data: AuGlibEx.Bytes): AuGIO.Resource; + register(): void; + unregister(): void; + enumerateChildren(path: string, lookupFlags: AuGIO.ResourceLookupFlags): string[]; + getInfo(path: string, lookupFlags: AuGIO.ResourceLookupFlags, size ?: number | bigint, flags ?: number): boolean; + lookupData(path: string, lookupFlags: AuGIO.ResourceLookupFlags): AuGlibEx.Bytes; + openStream(path: string, lookupFlags: AuGIO.ResourceLookupFlags): AuGIO.InputStream; + ref(): AuGIO.Resource; + unref(): void; + static Load(filename: string): AuGIO.Resource; + } + + class SeekableIface { + gIface : GObject.TypeInterface; + tell : (seekable: AuGIO.Seekable) => number | bigint; + canSeek : (seekable: AuGIO.Seekable) => boolean; + seek : (seekable: AuGIO.Seekable, offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + canTruncate : (seekable: AuGIO.Seekable) => boolean; + truncateFn : (seekable: AuGIO.Seekable, offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + + } + + class SettingsBackendClass { + parentClass : GObject.ObjectClass; + read : (backend: AuGIO.SettingsBackend, key: string, expectedType: AuGlibEx.VariantType, defaultValue: boolean) => AuGlibEx.Variant; + getWritable : (backend: AuGIO.SettingsBackend, key: string) => boolean; + write : (backend: AuGIO.SettingsBackend, key: string, value: AuGlibEx.Variant) => boolean; + writeTree : (backend: AuGIO.SettingsBackend, tree: AuGlibEx.Tree) => boolean; + reset : (backend: AuGIO.SettingsBackend, key: string) => void; + subscribe : (backend: AuGIO.SettingsBackend, name: string) => void; + unsubscribe : (backend: AuGIO.SettingsBackend, name: string) => void; + sync : (backend: AuGIO.SettingsBackend) => void; + getPermission : void; + readUserValue : (backend: AuGIO.SettingsBackend, key: string, expectedType: AuGlibEx.VariantType) => AuGlibEx.Variant; + + } + + class SettingsBackendPrivate { + } + + class SettingsClass { + parentClass : GObject.ObjectClass; + writableChanged : (settings: AuGIO.Settings, key: string) => void; + changed : (settings: AuGIO.Settings, key: string) => void; + writableChangeEvent : (settings: AuGIO.Settings, key: number) => boolean; + changeEvent : (settings: AuGIO.Settings, keys: number, nKeys: number) => boolean; + + } + + class SettingsPrivate { + } + + class SettingsSchema { + getId(): string; + getKey(name: string): AuGIO.SettingsSchemaKey; + getPath(): string; + hasKey(name: string): boolean; + listChildren(): string[]; + listKeys(): string[]; + ref(): AuGIO.SettingsSchema; + unref(): void; + } + + class SettingsSchemaKey { + getDefaultValue(): AuGlibEx.Variant; + getDescription(): string; + getName(): string; + getRange(): AuGlibEx.Variant; + getSummary(): string; + getValueType(): AuGlibEx.VariantType; + rangeCheck(value: AuGlibEx.Variant): boolean; + ref(): AuGIO.SettingsSchemaKey; + unref(): void; + } + + class SettingsSchemaSource { + static NewFromDirectory(directory: string, parent: AuGIO.SettingsSchemaSource | undefined | null, trusted: boolean): AuGIO.SettingsSchemaSource; + listSchemas(recursive: boolean, nonRelocatable: string[], relocatable: string[]): void; + lookup(schemaId: string, recursive: boolean): AuGIO.SettingsSchema; + ref(): AuGIO.SettingsSchemaSource; + unref(): void; + static GetDefault(): AuGIO.SettingsSchemaSource; + } + + class SimpleActionGroupClass { + parentClass : GObject.ObjectClass; + + } + + class SimpleActionGroupPrivate { + } + + class SimpleAsyncResultClass { + } + + class SimpleProxyResolverClass { + parentClass : GObject.ObjectClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class SimpleProxyResolverPrivate { + } + + class SocketAddressClass { + parentClass : GObject.ObjectClass; + getFamily : (address: AuGIO.SocketAddress) => AuGIO.SocketFamily; + getNativeSize : (address: AuGIO.SocketAddress) => number | bigint; + toNative : (address: AuGIO.SocketAddress, destlen: number | bigint) => boolean; + + } + + class SocketAddressEnumeratorClass { + parentClass : GObject.ObjectClass; + next : (enumerator: AuGIO.SocketAddressEnumerator, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.SocketAddress; + nextAsync : (enumerator: AuGIO.SocketAddressEnumerator, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + nextFinish : (enumerator: AuGIO.SocketAddressEnumerator, result: AuGIO.AsyncResult) => AuGIO.SocketAddress; + + } + + class SocketClass { + parentClass : GObject.ObjectClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + gReserved7 : void; + gReserved8 : void; + gReserved9 : void; + gReserved10 : void; + + } + + class SocketClientClass { + parentClass : GObject.ObjectClass; + event : (client: AuGIO.SocketClient, event: AuGIO.SocketClientEvent, connectable: AuGIO.SocketConnectable, connection: AuGIO.IOStream) => void; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + + } + + class SocketClientPrivate { + } + + class SocketConnectableIface { + gIface : GObject.TypeInterface; + enumerate : (connectable: AuGIO.SocketConnectable) => AuGIO.SocketAddressEnumerator; + proxyEnumerate : (connectable: AuGIO.SocketConnectable) => AuGIO.SocketAddressEnumerator; + toString : (connectable: AuGIO.SocketConnectable) => string; + + } + + class SocketConnectionClass { + parentClass : AuGIO.IOStreamClass; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + + } + + class SocketConnectionPrivate { + } + + class SocketControlMessageClass { + parentClass : GObject.ObjectClass; + getSize : (message: AuGIO.SocketControlMessage) => number | bigint; + getLevel : (message: AuGIO.SocketControlMessage) => number; + getType : (message: AuGIO.SocketControlMessage) => number; + serialize : (message: AuGIO.SocketControlMessage) => void; + deserialize : void; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class SocketControlMessagePrivate { + } + + class SocketListenerClass { + parentClass : GObject.ObjectClass; + changed : (listener: AuGIO.SocketListener) => void; + event : (listener: AuGIO.SocketListener, event: AuGIO.SocketListenerEvent, socket: AuGIO.Socket) => void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + + } + + class SocketListenerPrivate { + } + + class SocketPrivate { + } + + class SocketServiceClass { + parentClass : AuGIO.SocketListenerClass; + incoming : (service: AuGIO.SocketService, connection: AuGIO.SocketConnection, sourceObject: GObject.Object) => boolean; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + + } + + class SocketServicePrivate { + } + + class SrvTarget { + static New(hostname: string, port: number, priority: number, weight: number): AuGIO.SrvTarget; + copy(): AuGIO.SrvTarget; + free(): void; + getHostname(): string; + getPort(): number; + getPriority(): number; + getWeight(): number; + } + + class StaticResource { + data : number; + dataLen : number | bigint; + resource : AuGIO.Resource; + next : AuGIO.StaticResource; + padding : void; + + fini(): void; + getResource(): AuGIO.Resource; + init(): void; + } + + class TaskClass { + } + + class TcpConnectionClass { + parentClass : AuGIO.SocketConnectionClass; + + } + + class TcpConnectionPrivate { + } + + class TcpWrapperConnectionClass { + parentClass : AuGIO.TcpConnectionClass; + + } + + class TcpWrapperConnectionPrivate { + } + + class ThemedIconClass { + } + + class ThreadedSocketServiceClass { + parentClass : AuGIO.SocketServiceClass; + run : (service: AuGIO.ThreadedSocketService, connection: AuGIO.SocketConnection, sourceObject: GObject.Object) => boolean; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + + } + + class ThreadedSocketServicePrivate { + } + + class TlsBackendInterface { + gIface : GObject.TypeInterface; + supportsTls : (backend: AuGIO.TlsBackend) => boolean; + getCertificateType : () => number; + getClientConnectionType : () => number; + getServerConnectionType : () => number; + getFileDatabaseType : () => number; + getDefaultDatabase : (backend: AuGIO.TlsBackend) => AuGIO.TlsDatabase; + supportsDtls : (backend: AuGIO.TlsBackend) => boolean; + getDtlsClientConnectionType : () => number; + getDtlsServerConnectionType : () => number; + + } + + class TlsCertificateClass { + parentClass : GObject.ObjectClass; + verify : (cert: AuGIO.TlsCertificate, identity: AuGIO.SocketConnectable | undefined | null, trustedCa: AuGIO.TlsCertificate | undefined | null) => AuGIO.TlsCertificateFlags; + + } + + class TlsCertificatePrivate { + } + + class TlsClientConnectionInterface { + gIface : GObject.TypeInterface; + copySessionState : (conn: AuGIO.TlsClientConnection, source: AuGIO.TlsClientConnection) => void; + + } + + class TlsConnectionClass { + parentClass : AuGIO.IOStreamClass; + acceptCertificate : (connection: AuGIO.TlsConnection, peerCert: AuGIO.TlsCertificate, errors: AuGIO.TlsCertificateFlags) => boolean; + handshake : (conn: AuGIO.TlsConnection, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + handshakeAsync : (conn: AuGIO.TlsConnection, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + handshakeFinish : (conn: AuGIO.TlsConnection, result: AuGIO.AsyncResult) => boolean; + getBindingData : (conn: AuGIO.TlsConnection, type: AuGIO.TlsChannelBindingType, data: number[]) => boolean; + getNegotiatedProtocol : (conn: AuGIO.TlsConnection) => string; + + } + + class TlsConnectionPrivate { + } + + class TlsDatabaseClass { + parentClass : GObject.ObjectClass; + verifyChain : (self: AuGIO.TlsDatabase, chain: AuGIO.TlsCertificate, purpose: string, identity: AuGIO.SocketConnectable | undefined | null, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseVerifyFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsCertificateFlags; + verifyChainAsync : (self: AuGIO.TlsDatabase, chain: AuGIO.TlsCertificate, purpose: string, identity: AuGIO.SocketConnectable | undefined | null, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseVerifyFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + verifyChainFinish : (self: AuGIO.TlsDatabase, result: AuGIO.AsyncResult) => AuGIO.TlsCertificateFlags; + createCertificateHandle : (self: AuGIO.TlsDatabase, certificate: AuGIO.TlsCertificate) => string; + lookupCertificateForHandle : (self: AuGIO.TlsDatabase, handle: string, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsCertificate; + lookupCertificateForHandleAsync : (self: AuGIO.TlsDatabase, handle: string, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + lookupCertificateForHandleFinish : (self: AuGIO.TlsDatabase, result: AuGIO.AsyncResult) => AuGIO.TlsCertificate; + lookupCertificateIssuer : (self: AuGIO.TlsDatabase, certificate: AuGIO.TlsCertificate, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsCertificate; + lookupCertificateIssuerAsync : (self: AuGIO.TlsDatabase, certificate: AuGIO.TlsCertificate, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + lookupCertificateIssuerFinish : (self: AuGIO.TlsDatabase, result: AuGIO.AsyncResult) => AuGIO.TlsCertificate; + lookupCertificatesIssuedBy : (self: AuGIO.TlsDatabase, issuerRawDn: number[], interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsCertificate[]; + lookupCertificatesIssuedByAsync : (self: AuGIO.TlsDatabase, issuerRawDn: number[], interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + lookupCertificatesIssuedByFinish : (self: AuGIO.TlsDatabase, result: AuGIO.AsyncResult) => AuGIO.TlsCertificate[]; + + } + + class TlsDatabasePrivate { + } + + class TlsFileDatabaseInterface { + gIface : GObject.TypeInterface; + + } + + class TlsInteractionClass { + parentClass : GObject.ObjectClass; + askPassword : (interaction: AuGIO.TlsInteraction, password: AuGIO.TlsPassword, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsInteractionResult; + askPasswordAsync : (interaction: AuGIO.TlsInteraction, password: AuGIO.TlsPassword, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + askPasswordFinish : (interaction: AuGIO.TlsInteraction, result: AuGIO.AsyncResult) => AuGIO.TlsInteractionResult; + requestCertificate : (interaction: AuGIO.TlsInteraction, connection: AuGIO.TlsConnection, flags: AuGIO.TlsCertificateRequestFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsInteractionResult; + requestCertificateAsync : (interaction: AuGIO.TlsInteraction, connection: AuGIO.TlsConnection, flags: AuGIO.TlsCertificateRequestFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + requestCertificateFinish : (interaction: AuGIO.TlsInteraction, result: AuGIO.AsyncResult) => AuGIO.TlsInteractionResult; + + } + + class TlsInteractionPrivate { + } + + class TlsPasswordClass { + parentClass : GObject.ObjectClass; + getValue : (password: AuGIO.TlsPassword, length: number | bigint) => number[]; + setValue : (password: AuGIO.TlsPassword, value: number[], length: number | bigint, destroy: () => void | undefined | null) => void; + getDefaultWarning : (password: AuGIO.TlsPassword) => string; + + } + + class TlsPasswordPrivate { + } + + class TlsServerConnectionInterface { + gIface : GObject.TypeInterface; + + } + + class UnixConnectionClass { + parentClass : AuGIO.SocketConnectionClass; + + } + + class UnixConnectionPrivate { + } + + class UnixCredentialsMessageClass { + parentClass : AuGIO.SocketControlMessageClass; + gReserved1 : void; + gReserved2 : void; + + } + + class UnixCredentialsMessagePrivate { + } + + class UnixFDList { + } + + class UnixSocketAddressClass { + parentClass : AuGIO.SocketAddressClass; + + } + + class UnixSocketAddressPrivate { + } + + class VfsClass { + parentClass : GObject.ObjectClass; + isActive : (vfs: AuGIO.Vfs) => boolean; + getFileForPath : (vfs: AuGIO.Vfs, path: string) => AuGIO.File; + getFileForUri : (vfs: AuGIO.Vfs, uri: string) => AuGIO.File; + getSupportedUriSchemes : (vfs: AuGIO.Vfs) => string[]; + parseName : (vfs: AuGIO.Vfs, parseName: string) => AuGIO.File; + localFileAddInfo : (vfs: AuGIO.Vfs, filename: string, device: number | bigint, attributeMatcher: AuGIO.FileAttributeMatcher, info: AuGIO.FileInfo, cancellable: AuGIO.Cancellable | undefined | null, freeExtraData: () => void) => void; + addWritableNamespaces : (vfs: AuGIO.Vfs, list: AuGIO.FileAttributeInfoList) => void; + localFileSetAttributes : (vfs: AuGIO.Vfs, filename: string, info: AuGIO.FileInfo, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null) => boolean; + localFileRemoved : (vfs: AuGIO.Vfs, filename: string) => void; + localFileMoved : (vfs: AuGIO.Vfs, source: string, dest: string) => void; + deserializeIcon : void; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + + } + + class VolumeIface { + gIface : GObject.TypeInterface; + changed : (volume: AuGIO.Volume) => void; + removed : (volume: AuGIO.Volume) => void; + getName : (volume: AuGIO.Volume) => string; + getIcon : (volume: AuGIO.Volume) => AuGIO.Icon; + getUuid : (volume: AuGIO.Volume) => string; + getDrive : (volume: AuGIO.Volume) => AuGIO.Drive; + getMount : (volume: AuGIO.Volume) => AuGIO.Mount; + canMount : (volume: AuGIO.Volume) => boolean; + canEject : (volume: AuGIO.Volume) => boolean; + mountFn : (volume: AuGIO.Volume, flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + mountFinish : (volume: AuGIO.Volume, result: AuGIO.AsyncResult) => boolean; + eject : (volume: AuGIO.Volume, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + ejectFinish : (volume: AuGIO.Volume, result: AuGIO.AsyncResult) => boolean; + getIdentifier : (volume: AuGIO.Volume, kind: string) => string; + enumerateIdentifiers : (volume: AuGIO.Volume) => string[]; + shouldAutomount : (volume: AuGIO.Volume) => boolean; + getActivationRoot : (volume: AuGIO.Volume) => AuGIO.File; + ejectWithOperation : (volume: AuGIO.Volume, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + ejectWithOperationFinish : (volume: AuGIO.Volume, result: AuGIO.AsyncResult) => boolean; + getSortKey : (volume: AuGIO.Volume) => string; + getSymbolicIcon : (volume: AuGIO.Volume) => AuGIO.Icon; + + } + + class VolumeMonitorClass { + parentClass : GObject.ObjectClass; + volumeAdded : (volumeMonitor: AuGIO.VolumeMonitor, volume: AuGIO.Volume) => void; + volumeRemoved : (volumeMonitor: AuGIO.VolumeMonitor, volume: AuGIO.Volume) => void; + volumeChanged : (volumeMonitor: AuGIO.VolumeMonitor, volume: AuGIO.Volume) => void; + mountAdded : (volumeMonitor: AuGIO.VolumeMonitor, mount: AuGIO.Mount) => void; + mountRemoved : (volumeMonitor: AuGIO.VolumeMonitor, mount: AuGIO.Mount) => void; + mountPreUnmount : (volumeMonitor: AuGIO.VolumeMonitor, mount: AuGIO.Mount) => void; + mountChanged : (volumeMonitor: AuGIO.VolumeMonitor, mount: AuGIO.Mount) => void; + driveConnected : (volumeMonitor: AuGIO.VolumeMonitor, drive: AuGIO.Drive) => void; + driveDisconnected : (volumeMonitor: AuGIO.VolumeMonitor, drive: AuGIO.Drive) => void; + driveChanged : (volumeMonitor: AuGIO.VolumeMonitor, drive: AuGIO.Drive) => void; + isSupported : () => boolean; + getConnectedDrives : (volumeMonitor: AuGIO.VolumeMonitor) => AuGIO.Drive[]; + getVolumes : (volumeMonitor: AuGIO.VolumeMonitor) => AuGIO.Volume[]; + getMounts : (volumeMonitor: AuGIO.VolumeMonitor) => AuGIO.Mount[]; + getVolumeForUuid : (volumeMonitor: AuGIO.VolumeMonitor, uuid: string) => AuGIO.Volume; + getMountForUuid : (volumeMonitor: AuGIO.VolumeMonitor, uuid: string) => AuGIO.Mount; + adoptOrphanMount : void; + driveEjectButton : (volumeMonitor: AuGIO.VolumeMonitor, drive: AuGIO.Drive) => void; + driveStopButton : (volumeMonitor: AuGIO.VolumeMonitor, drive: AuGIO.Drive) => void; + gReserved1 : void; + gReserved2 : void; + gReserved3 : void; + gReserved4 : void; + gReserved5 : void; + gReserved6 : void; + + } + + class ZlibCompressorClass { + parentClass : GObject.ObjectClass; + + } + + class ZlibDecompressorClass { + parentClass : GObject.ObjectClass; + + } + + + class AppInfoMonitor extends GObject.Object { + constructor(initializerList ?: AppInfoMonitorCtor); + + static Get(): AuGIO.AppInfoMonitor; + //TypeScript is complete garbage: + } + + class AppInfoMonitorCtor { + } + + class AppInfoMonitorEventListener extends AuGlibEx.IEventListener { + changed(): void; + } + + class AppLaunchContext extends GObject.Object { + constructor(initializerList ?: AppLaunchContextCtor); + + parentInstance : GObject.Object; + priv : AuGIO.AppLaunchContextPrivate; + + static New(): AuGIO.AppLaunchContext; + getEnvironment(): string[]; + getStartupNotifyId(info: AuGIO.AppInfo, files: AuGIO.File[]): string; + launchFailed(startupNotifyId: string): void; + setenv(variable: string, value: string): void; + unsetenv(variable: string): void; + //TypeScript is complete garbage: + } + + class AppLaunchContextCtor { + } + + class AppLaunchContextEventListener extends AuGlibEx.IEventListener { + launchFailed(startupNotifyId: string): void; + launchStarted(info: AuGIO.AppInfo, platformData: AuGlibEx.Variant | undefined | null): void; + launched(info: AuGIO.AppInfo, platformData: AuGlibEx.Variant): void; + } + + class Application extends GObject.Object implements AuGIO.ActionGroup, AuGIO.ActionMap { + constructor(initializerList ?: ApplicationCtor); + + parentInstance : GObject.Object; + priv : AuGIO.ApplicationPrivate; + + actionGroup : AuGIO.ActionGroup; + applicationId : string; + flags : AuGIO.ApplicationFlags; + inactivityTimeout : number; + isBusy : boolean; + isRegistered : boolean; + isRemote : boolean; + resourceBasePath : string; + + static New(applicationId: string | undefined | null, flags: AuGIO.ApplicationFlags): AuGIO.Application; + static GetDefault(): AuGIO.Application; + static IdIsValid(applicationId: string): boolean; + activate(): void; + addMainOption(longName: string, shortName: number, flags: AuGlibEx.OptionFlags, arg: AuGlibEx.OptionArg, description: string, argDescription: string | undefined | null): void; + addMainOptionEntries(entries: AuGlibEx.OptionEntry[]): void; + addOptionGroup(group: AuGlibEx.OptionGroup): void; + bindBusyProperty(object: GObject.Object, property: string): void; + getApplicationId(): string; + getDbusConnection(): AuGIO.DBusConnection; + getDbusObjectPath(): string; + getFlags(): AuGIO.ApplicationFlags; + getInactivityTimeout(): number; + getIsBusy(): boolean; + getIsRegistered(): boolean; + getIsRemote(): boolean; + getResourceBasePath(): string; + hold(): void; + markBusy(): void; + open(files: AuGIO.File[], nFiles: number, hint: string): void; + quit(): void; + register(cancellable: AuGIO.Cancellable | undefined | null): boolean; + release(): void; + run(argc: number, argv: string[] | undefined | null): number; + sendNotification(id: string | undefined | null, notification: AuGIO.Notification): void; + setActionGroup(actionGroup: AuGIO.ActionGroup | undefined | null): void; + setApplicationId(applicationId: string | undefined | null): void; + setDefault(): void; + setFlags(flags: AuGIO.ApplicationFlags): void; + setInactivityTimeout(inactivityTimeout: number): void; + setOptionContextDescription(description: string | undefined | null): void; + setOptionContextParameterString(parameterString: string | undefined | null): void; + setOptionContextSummary(summary: string | undefined | null): void; + setResourceBasePath(resourcePath: string | undefined | null): void; + unbindBusyProperty(object: GObject.Object, property: string): void; + unmarkBusy(): void; + withdrawNotification(id: string): void; + //TypeScript is complete garbage: + actionAdded(actionName: string): void; + actionEnabledChanged(actionName: string, enabled: boolean): void; + actionRemoved(actionName: string): void; + actionStateChanged(actionName: string, state: AuGlibEx.Variant): void; + activateAction(actionName: string, parameter: AuGlibEx.Variant | undefined | null): void; + changeActionState(actionName: string, value: AuGlibEx.Variant): void; + getActionEnabled(actionName: string): boolean; + getActionParameterType(actionName: string): AuGlibEx.VariantType; + getActionState(actionName: string): AuGlibEx.Variant; + getActionStateHint(actionName: string): AuGlibEx.Variant; + getActionStateType(actionName: string): AuGlibEx.VariantType; + hasAction(actionName: string): boolean; + listActions(): string[]; + queryAction(actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant): boolean; + addAction(action: AuGIO.Action): void; + addActionEntries(entries: AuGIO.ActionEntry[], nEntries: number): void; + lookupAction(actionName: string): AuGIO.Action; + removeAction(actionName: string): void; + } + + class ApplicationCtor { + applicationId ?: string; + flags ?: AuGIO.ApplicationFlags; + resourceBasePath ?: string; + isRegistered ?: boolean; + isRemote ?: boolean; + inactivityTimeout ?: number; + actionGroup ?: AuGIO.ActionGroup; + isBusy ?: boolean; + } + + class ApplicationEventListener extends AuGlibEx.IEventListener { + activate(): void; + commandLine(commandLine: AuGIO.ApplicationCommandLine): number; + handleLocalOptions(options: AuGlibEx.VariantDict): number; + nameLost(): boolean; + open(files: AuGIO.File[], nFiles: number, hint: string): void; + shutdown(): void; + startup(): void; + } + + class ApplicationCommandLine extends GObject.Object { + constructor(initializerList ?: ApplicationCommandLineCtor); + + parentInstance : GObject.Object; + priv : AuGIO.ApplicationCommandLinePrivate; + + arguments : AuGlibEx.Variant; + isRemote : boolean; + options : AuGlibEx.Variant; + platformData : AuGlibEx.Variant; + + createFileForArg(arg: string): AuGIO.File; + getArguments(argc ?: number): string[]; + getCwd(): string; + getEnviron(): string[]; + getExitStatus(): number; + getIsRemote(): boolean; + getOptionsDict(): AuGlibEx.VariantDict; + getPlatformData(): AuGlibEx.Variant; + getStdin(): AuGIO.InputStream; + getenv(name: string): string; + setExitStatus(exitStatus: number): void; + //TypeScript is complete garbage: + } + + class ApplicationCommandLineCtor { + arguments ?: any; + options ?: any; + platformData ?: any; + isRemote ?: boolean; + } + + class BufferedInputStream extends AuGIO.FilterInputStream implements AuGIO.Seekable { + constructor(initializerList ?: BufferedInputStreamCtor); + + parentInstance : AuGIO.FilterInputStream; + priv : AuGIO.BufferedInputStreamPrivate; + + bufferSize : number; + + static New(baseStream: AuGIO.InputStream): AuGIO.InputStream; + static NewSized(baseStream: AuGIO.InputStream, size: number | bigint): AuGIO.InputStream; + fill(count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + fillAsync(count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + fillFinish(result: AuGIO.AsyncResult): number | bigint; + getAvailable(): number | bigint; + getBufferSize(): number | bigint; + peek(buffer: number[], offset: number | bigint, count: number | bigint): number | bigint; + peekBuffer(count: number | bigint): number[]; + readByte(cancellable: AuGIO.Cancellable | undefined | null): number; + setBufferSize(size: number | bigint): void; + //TypeScript is complete garbage: + canSeek(): boolean; + canTruncate(): boolean; + seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean; + tell(): number | bigint; + truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class BufferedInputStreamCtor { + baseStream ?: AuGIO.InputStream; + closeBaseStream ?: boolean; + bufferSize ?: number; + } + + class BufferedOutputStream extends AuGIO.FilterOutputStream implements AuGIO.Seekable { + constructor(initializerList ?: BufferedOutputStreamCtor); + + parentInstance : AuGIO.FilterOutputStream; + priv : AuGIO.BufferedOutputStreamPrivate; + + autoGrow : boolean; + bufferSize : number; + + static New(baseStream: AuGIO.OutputStream): AuGIO.OutputStream; + static NewSized(baseStream: AuGIO.OutputStream, size: number | bigint): AuGIO.OutputStream; + getAutoGrow(): boolean; + getBufferSize(): number | bigint; + setAutoGrow(autoGrow: boolean): void; + setBufferSize(size: number | bigint): void; + //TypeScript is complete garbage: + canSeek(): boolean; + canTruncate(): boolean; + seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean; + tell(): number | bigint; + truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class BufferedOutputStreamCtor { + baseStream ?: AuGIO.OutputStream; + closeBaseStream ?: boolean; + bufferSize ?: number; + autoGrow ?: boolean; + } + + class BytesIcon extends GObject.Object implements AuGIO.Icon, AuGIO.LoadableIcon { + constructor(initializerList ?: BytesIconCtor); + + bytes : AuGlibEx.Bytes; + + static New(bytes: AuGlibEx.Bytes): AuGIO.BytesIcon; + getBytes(): AuGlibEx.Bytes; + //TypeScript is complete garbage: + static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon; + static Hash(): number; + static NewForString(str: string): AuGIO.Icon; + equal(icon2: AuGIO.Icon | undefined | null): boolean; + serialize(): AuGlibEx.Variant; + load(size: number, type ?: string, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.InputStream; + loadAsync(size: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + loadFinish(res: AuGIO.AsyncResult, type ?: string): AuGIO.InputStream; + } + + class BytesIconCtor { + bytes ?: AuGlibEx.Bytes; + } + + class Cancellable extends GObject.Object { + constructor(initializerList ?: CancellableCtor); + + parentInstance : GObject.Object; + priv : AuGIO.CancellablePrivate; + + static New(): AuGIO.Cancellable; + static GetCurrent(): AuGIO.Cancellable; + cancel(): void; + connect(callback: () => void, dataDestroyFunc: () => void | undefined | null): number; + disconnect(handlerId: number): void; + getFd(): number; + isCancelled(): boolean; + makePollfd(pollfd: AuGlibEx.PollFD): boolean; + popCurrent(): void; + pushCurrent(): void; + releaseFd(): void; + reset(): void; + setErrorIfCancelled(): boolean; + sourceNew(): AuGlibEx.Source; + //TypeScript is complete garbage: + } + + class CancellableCtor { + } + + class CancellableEventListener extends AuGlibEx.IEventListener { + cancelled(): void; + } + + class CharsetConverter extends GObject.Object implements AuGIO.Converter, AuGIO.Initable { + constructor(initializerList ?: CharsetConverterCtor); + + fromCharset : string; + toCharset : string; + useFallback : boolean; + + static New(toCharset: string, fromCharset: string): AuGIO.CharsetConverter; + getNumFallbacks(): number; + getUseFallback(): boolean; + setUseFallback(useFallback: boolean): void; + //TypeScript is complete garbage: + convert(inbuf: number[], inbufSize: number | bigint, outbuf: number[], outbufSize: number | bigint, flags: AuGIO.ConverterFlags, bytesRead: number | bigint, bytesWritten: number | bigint): AuGIO.ConverterResult; + reset(): void; + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class CharsetConverterCtor { + fromCharset ?: string; + toCharset ?: string; + useFallback ?: boolean; + } + + class ConverterInputStream extends AuGIO.FilterInputStream implements AuGIO.PollableInputStream { + constructor(initializerList ?: ConverterInputStreamCtor); + + parentInstance : AuGIO.FilterInputStream; + priv : AuGIO.ConverterInputStreamPrivate; + + converter : AuGIO.Converter; + + static New(baseStream: AuGIO.InputStream, converter: AuGIO.Converter): AuGIO.InputStream; + getConverter(): AuGIO.Converter; + //TypeScript is complete garbage: + canPoll(): boolean; + createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source; + isReadable(): boolean; + readNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + } + + class ConverterInputStreamCtor { + baseStream ?: AuGIO.InputStream; + closeBaseStream ?: boolean; + converter ?: AuGIO.Converter; + } + + class ConverterOutputStream extends AuGIO.FilterOutputStream implements AuGIO.PollableOutputStream { + constructor(initializerList ?: ConverterOutputStreamCtor); + + parentInstance : AuGIO.FilterOutputStream; + priv : AuGIO.ConverterOutputStreamPrivate; + + converter : AuGIO.Converter; + + static New(baseStream: AuGIO.OutputStream, converter: AuGIO.Converter): AuGIO.OutputStream; + getConverter(): AuGIO.Converter; + //TypeScript is complete garbage: + canPoll(): boolean; + createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source; + isWritable(): boolean; + writeNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + writevNonblocking(vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.PollableReturn; + } + + class ConverterOutputStreamCtor { + baseStream ?: AuGIO.OutputStream; + closeBaseStream ?: boolean; + converter ?: AuGIO.Converter; + } + + class Credentials extends GObject.Object { + constructor(initializerList ?: CredentialsCtor); + + static New(): AuGIO.Credentials; + isSameUser(otherCredentials: AuGIO.Credentials): boolean; + setNative(nativeType: AuGIO.CredentialsType): void; + //TypeScript is complete garbage: + } + + class CredentialsCtor { + } + + class DBusActionGroup extends GObject.Object implements AuGIO.ActionGroup, AuGIO.RemoteActionGroup { + constructor(initializerList ?: DBusActionGroupCtor); + + static Get(connection: AuGIO.DBusConnection, busName: string | undefined | null, objectPath: string): AuGIO.DBusActionGroup; + //TypeScript is complete garbage: + actionAdded(actionName: string): void; + actionEnabledChanged(actionName: string, enabled: boolean): void; + actionRemoved(actionName: string): void; + actionStateChanged(actionName: string, state: AuGlibEx.Variant): void; + activateAction(actionName: string, parameter: AuGlibEx.Variant | undefined | null): void; + changeActionState(actionName: string, value: AuGlibEx.Variant): void; + getActionEnabled(actionName: string): boolean; + getActionParameterType(actionName: string): AuGlibEx.VariantType; + getActionState(actionName: string): AuGlibEx.Variant; + getActionStateHint(actionName: string): AuGlibEx.Variant; + getActionStateType(actionName: string): AuGlibEx.VariantType; + hasAction(actionName: string): boolean; + listActions(): string[]; + queryAction(actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant): boolean; + activateActionFull(actionName: string, parameter: AuGlibEx.Variant | undefined | null, platformData: AuGlibEx.Variant): void; + changeActionStateFull(actionName: string, value: AuGlibEx.Variant, platformData: AuGlibEx.Variant): void; + } + + class DBusActionGroupCtor { + } + + class DBusAuthObserver extends GObject.Object { + constructor(initializerList ?: DBusAuthObserverCtor); + + static New(): AuGIO.DBusAuthObserver; + allowMechanism(mechanism: string): boolean; + authorizeAuthenticatedPeer(stream: AuGIO.IOStream, credentials: AuGIO.Credentials | undefined | null): boolean; + //TypeScript is complete garbage: + } + + class DBusAuthObserverCtor { + } + + class DBusAuthObserverEventListener extends AuGlibEx.IEventListener { + allowMechanism(mechanism: string): boolean; + authorizeAuthenticatedPeer(stream: AuGIO.IOStream, credentials: AuGIO.Credentials | undefined | null): boolean; + } + + class DBusConnection extends GObject.Object implements AuGIO.AsyncInitable, AuGIO.Initable { + constructor(initializerList ?: DBusConnectionCtor); + + address : string; + authenticationObserver : AuGIO.DBusAuthObserver; + capabilities : AuGIO.DBusCapabilityFlags; + closed : boolean; + exitOnClose : boolean; + flags : AuGIO.DBusConnectionFlags; + guid : string; + stream : AuGIO.IOStream; + uniqueName : string; + + static NewFinish(res: AuGIO.AsyncResult): AuGIO.DBusConnection; + static NewForAddressFinish(res: AuGIO.AsyncResult): AuGIO.DBusConnection; + static NewForAddressSync(address: string, flags: AuGIO.DBusConnectionFlags, observer: AuGIO.DBusAuthObserver | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusConnection; + static NewSync(stream: AuGIO.IOStream, guid: string | undefined | null, flags: AuGIO.DBusConnectionFlags, observer: AuGIO.DBusAuthObserver | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusConnection; + static New(stream: AuGIO.IOStream, guid: string | undefined | null, flags: AuGIO.DBusConnectionFlags, observer: AuGIO.DBusAuthObserver | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + static NewForAddress(address: string, flags: AuGIO.DBusConnectionFlags, observer: AuGIO.DBusAuthObserver | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + addFilter(filterFunction: (connection: AuGIO.DBusConnection, message: AuGIO.DBusMessage, incoming: boolean) => AuGIO.DBusMessage, userDataFreeFunc: () => void): number; + call(busName: string | undefined | null, objectPath: string, interfaceName: string, methodName: string, parameters: AuGlibEx.Variant | undefined | null, replyType: AuGlibEx.VariantType | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + callFinish(res: AuGIO.AsyncResult): AuGlibEx.Variant; + callSync(busName: string | undefined | null, objectPath: string, interfaceName: string, methodName: string, parameters: AuGlibEx.Variant | undefined | null, replyType: AuGlibEx.VariantType | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Variant; + callWithUnixFdList(busName: string | undefined | null, objectPath: string, interfaceName: string, methodName: string, parameters: AuGlibEx.Variant | undefined | null, replyType: AuGlibEx.VariantType | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, fdList: AuGIO.UnixFDList | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + callWithUnixFdListFinish(outFdList ?: AuGIO.UnixFDList, res ?: AuGIO.AsyncResult): AuGlibEx.Variant; + callWithUnixFdListSync(busName: string | undefined | null, objectPath: string, interfaceName: string, methodName: string, parameters: AuGlibEx.Variant | undefined | null, replyType: AuGlibEx.VariantType | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, fdList: AuGIO.UnixFDList | undefined | null, outFdList ?: AuGIO.UnixFDList, cancellable ?: AuGIO.Cancellable | undefined | null): AuGlibEx.Variant; + close(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + closeFinish(res: AuGIO.AsyncResult): boolean; + closeSync(cancellable: AuGIO.Cancellable | undefined | null): boolean; + emitSignal(destinationBusName: string | undefined | null, objectPath: string, interfaceName: string, signalName: string, parameters: AuGlibEx.Variant | undefined | null): boolean; + exportActionGroup(objectPath: string, actionGroup: AuGIO.ActionGroup): number; + exportMenuModel(objectPath: string, menu: AuGIO.MenuModel): number; + flush(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + flushFinish(res: AuGIO.AsyncResult): boolean; + flushSync(cancellable: AuGIO.Cancellable | undefined | null): boolean; + getCapabilities(): AuGIO.DBusCapabilityFlags; + getExitOnClose(): boolean; + getFlags(): AuGIO.DBusConnectionFlags; + getGuid(): string; + getLastSerial(): number; + getPeerCredentials(): AuGIO.Credentials; + getStream(): AuGIO.IOStream; + getUniqueName(): string; + isClosed(): boolean; + registerObject(objectPath: string, interfaceInfo: AuGIO.DBusInterfaceInfo, methodCallClosure: GObject.Closure | undefined | null, getPropertyClosure: GObject.Closure | undefined | null, setPropertyClosure: GObject.Closure | undefined | null): number; + registerSubtree(objectPath: string, vtable: AuGIO.DBusSubtreeVTable, flags: AuGIO.DBusSubtreeFlags, userDataFreeFunc: () => void): number; + removeFilter(filterId: number): void; + sendMessage(message: AuGIO.DBusMessage, flags: AuGIO.DBusSendMessageFlags, outSerial ?: number): boolean; + sendMessageWithReply(message: AuGIO.DBusMessage, flags: AuGIO.DBusSendMessageFlags, timeoutMsec: number, outSerial ?: number, cancellable ?: AuGIO.Cancellable | undefined | null, callback ?: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + sendMessageWithReplyFinish(res: AuGIO.AsyncResult): AuGIO.DBusMessage; + sendMessageWithReplySync(message: AuGIO.DBusMessage, flags: AuGIO.DBusSendMessageFlags, timeoutMsec: number, outSerial ?: number, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.DBusMessage; + setExitOnClose(exitOnClose: boolean): void; + signalSubscribe(sender: string | undefined | null, interfaceName: string | undefined | null, member: string | undefined | null, objectPath: string | undefined | null, arg0: string | undefined | null, flags: AuGIO.DBusSignalFlags, callback: (connection: AuGIO.DBusConnection, senderName: string | undefined | null, objectPath: string, interfaceName: string, signalName: string, parameters: AuGlibEx.Variant) => void, userDataFreeFunc: () => void | undefined | null): number; + signalUnsubscribe(subscriptionId: number): void; + startMessageProcessing(): void; + unexportActionGroup(exportId: number): void; + unexportMenuModel(exportId: number): void; + unregisterObject(registrationId: number): boolean; + unregisterSubtree(registrationId: number): boolean; + //TypeScript is complete garbage: + static NewvAsync(objectType: number, nParameters: number, parameters: GObject.Parameter, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + initAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + initFinish(res: AuGIO.AsyncResult): boolean; + newFinish(res: AuGIO.AsyncResult): GObject.Object; + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class DBusConnectionCtor { + stream ?: AuGIO.IOStream; + address ?: string; + flags ?: AuGIO.DBusConnectionFlags; + guid ?: string; + uniqueName ?: string; + closed ?: boolean; + exitOnClose ?: boolean; + capabilities ?: AuGIO.DBusCapabilityFlags; + authenticationObserver ?: AuGIO.DBusAuthObserver; + } + + class DBusConnectionEventListener extends AuGlibEx.IEventListener { + closed(remotePeerVanished: boolean, error: AuGlibEx.Error | undefined | null): void; + } + + class DBusInterfaceSkeleton extends GObject.Object implements AuGIO.DBusInterface { + constructor(initializerList ?: DBusInterfaceSkeletonCtor); + + parentInstance : GObject.Object; + priv : AuGIO.DBusInterfaceSkeletonPrivate; + + gFlags : AuGIO.DBusInterfaceSkeletonFlags; + + export(connection: AuGIO.DBusConnection, objectPath: string): boolean; + flush(): void; + getConnection(): AuGIO.DBusConnection; + getConnections(): AuGIO.DBusConnection[]; + getFlags(): AuGIO.DBusInterfaceSkeletonFlags; + getInfo(): AuGIO.DBusInterfaceInfo; + getObjectPath(): string; + getProperties(): AuGlibEx.Variant; + hasConnection(connection: AuGIO.DBusConnection): boolean; + setFlags(flags: AuGIO.DBusInterfaceSkeletonFlags): void; + unexport(): void; + unexportFromConnection(connection: AuGIO.DBusConnection): void; + //TypeScript is complete garbage: + getObject(): AuGIO.DBusObject; + setObject(object: AuGIO.DBusObject | undefined | null): void; + } + + class DBusInterfaceSkeletonCtor { + gFlags ?: AuGIO.DBusInterfaceSkeletonFlags; + } + + class DBusInterfaceSkeletonEventListener extends AuGlibEx.IEventListener { + gAuthorizeMethod(invocation: AuGIO.DBusMethodInvocation): boolean; + } + + class DBusMenuModel extends AuGIO.MenuModel { + constructor(initializerList ?: DBusMenuModelCtor); + + static Get(connection: AuGIO.DBusConnection, busName: string | undefined | null, objectPath: string): AuGIO.DBusMenuModel; + //TypeScript is complete garbage: + } + + class DBusMenuModelCtor { + } + + class DBusMessage extends GObject.Object { + constructor(initializerList ?: DBusMessageCtor); + + locked : boolean; + + static New(): AuGIO.DBusMessage; + static NewFromBlob(blob: number[], blobLen: number | bigint, capabilities: AuGIO.DBusCapabilityFlags): AuGIO.DBusMessage; + static NewMethodCall(name: string | undefined | null, path: string, interface: string | undefined | null, method: string): AuGIO.DBusMessage; + static NewSignal(path: string, interface: string, signal: string): AuGIO.DBusMessage; + static BytesNeeded(blob: number[], blobLen: number | bigint): number | bigint; + copy(): AuGIO.DBusMessage; + getArg0(): string; + getBody(): AuGlibEx.Variant; + getByteOrder(): AuGIO.DBusMessageByteOrder; + getDestination(): string; + getErrorName(): string; + getFlags(): AuGIO.DBusMessageFlags; + getHeader(headerField: AuGIO.DBusMessageHeaderField): AuGlibEx.Variant; + getHeaderFields(): number[]; + getInterface(): string; + getLocked(): boolean; + getMember(): string; + getMessageType(): AuGIO.DBusMessageType; + getNumUnixFds(): number; + getPath(): string; + getReplySerial(): number; + getSender(): string; + getSerial(): number; + getSignature(): string; + getUnixFdList(): AuGIO.UnixFDList; + lock(): void; + newMethodErrorLiteral(errorName: string, errorMessage: string): AuGIO.DBusMessage; + newMethodReply(): AuGIO.DBusMessage; + print(indent: number): string; + setBody(body: AuGlibEx.Variant): void; + setByteOrder(byteOrder: AuGIO.DBusMessageByteOrder): void; + setDestination(value: string | undefined | null): void; + setErrorName(value: string): void; + setFlags(flags: AuGIO.DBusMessageFlags): void; + setHeader(headerField: AuGIO.DBusMessageHeaderField, value: AuGlibEx.Variant | undefined | null): void; + setInterface(value: string | undefined | null): void; + setMember(value: string | undefined | null): void; + setMessageType(type: AuGIO.DBusMessageType): void; + setNumUnixFds(value: number): void; + setPath(value: string | undefined | null): void; + setReplySerial(value: number): void; + setSender(value: string | undefined | null): void; + setSerial(serial: number): void; + setSignature(value: string | undefined | null): void; + setUnixFdList(fdList: AuGIO.UnixFDList | undefined | null): void; + toBlob(outSize: number | bigint, capabilities: AuGIO.DBusCapabilityFlags): number[]; + toGerror(): boolean; + //TypeScript is complete garbage: + } + + class DBusMessageCtor { + locked ?: boolean; + } + + class DBusMethodInvocation extends GObject.Object { + constructor(initializerList ?: DBusMethodInvocationCtor); + + getConnection(): AuGIO.DBusConnection; + getInterfaceName(): string; + getMessage(): AuGIO.DBusMessage; + getMethodInfo(): AuGIO.DBusMethodInfo; + getMethodName(): string; + getObjectPath(): string; + getParameters(): AuGlibEx.Variant; + getPropertyInfo(): AuGIO.DBusPropertyInfo; + getSender(): string; + returnDbusError(errorName: string, errorMessage: string): void; + returnErrorLiteral(domain: number, code: number, message: string): void; + returnGerror(error: AuGlibEx.Error): void; + returnValue(parameters: AuGlibEx.Variant | undefined | null): void; + returnValueWithUnixFdList(parameters: AuGlibEx.Variant | undefined | null, fdList: AuGIO.UnixFDList | undefined | null): void; + //TypeScript is complete garbage: + } + + class DBusMethodInvocationCtor { + } + + class DBusObjectManagerClient extends GObject.Object implements AuGIO.AsyncInitable, AuGIO.DBusObjectManager, AuGIO.Initable { + constructor(initializerList ?: DBusObjectManagerClientCtor); + + parentInstance : GObject.Object; + priv : AuGIO.DBusObjectManagerClientPrivate; + + busType : AuGIO.BusType; + connection : AuGIO.DBusConnection; + flags : AuGIO.DBusObjectManagerClientFlags; + getProxyTypeDestroyNotify : void; + getProxyTypeFunc : void; + getProxyTypeUserData : void; + name : string; + nameOwner : string; + objectPath : string; + + static NewFinish(res: AuGIO.AsyncResult): AuGIO.DBusObjectManagerClient; + static NewForBusFinish(res: AuGIO.AsyncResult): AuGIO.DBusObjectManagerClient; + static NewForBusSync(busType: AuGIO.BusType, flags: AuGIO.DBusObjectManagerClientFlags, name: string, objectPath: string, getProxyTypeFunc: (manager: AuGIO.DBusObjectManagerClient, objectPath: string, interfaceName: string | undefined | null) => number | undefined | null, getProxyTypeDestroyNotify: () => void | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusObjectManagerClient; + static NewSync(connection: AuGIO.DBusConnection, flags: AuGIO.DBusObjectManagerClientFlags, name: string | undefined | null, objectPath: string, getProxyTypeFunc: (manager: AuGIO.DBusObjectManagerClient, objectPath: string, interfaceName: string | undefined | null) => number | undefined | null, getProxyTypeDestroyNotify: () => void | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusObjectManagerClient; + static New(connection: AuGIO.DBusConnection, flags: AuGIO.DBusObjectManagerClientFlags, name: string, objectPath: string, getProxyTypeFunc: (manager: AuGIO.DBusObjectManagerClient, objectPath: string, interfaceName: string | undefined | null) => number | undefined | null, getProxyTypeDestroyNotify: () => void | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + static NewForBus(busType: AuGIO.BusType, flags: AuGIO.DBusObjectManagerClientFlags, name: string, objectPath: string, getProxyTypeFunc: (manager: AuGIO.DBusObjectManagerClient, objectPath: string, interfaceName: string | undefined | null) => number | undefined | null, getProxyTypeDestroyNotify: () => void | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + getConnection(): AuGIO.DBusConnection; + getFlags(): AuGIO.DBusObjectManagerClientFlags; + getName(): string; + getNameOwner(): string; + //TypeScript is complete garbage: + static NewvAsync(objectType: number, nParameters: number, parameters: GObject.Parameter, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + initAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + initFinish(res: AuGIO.AsyncResult): boolean; + newFinish(res: AuGIO.AsyncResult): GObject.Object; + getInterface(objectPath: string, interfaceName: string): AuGIO.DBusInterface; + getObject(objectPath: string): AuGIO.DBusObject; + getObjectPath(): string; + getObjects(): AuGIO.DBusObject[]; + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class DBusObjectManagerClientCtor { + busType ?: AuGIO.BusType; + connection ?: AuGIO.DBusConnection; + flags ?: AuGIO.DBusObjectManagerClientFlags; + objectPath ?: string; + name ?: string; + nameOwner ?: string; + getProxyTypeFunc ?: number | bigint; + getProxyTypeUserData ?: number | bigint; + getProxyTypeDestroyNotify ?: number | bigint; + } + + class DBusObjectManagerClientEventListener extends AuGlibEx.IEventListener { + interfaceProxyPropertiesChanged(objectProxy: AuGIO.DBusObjectProxy, interfaceProxy: AuGIO.DBusProxy, changedProperties: AuGlibEx.Variant, invalidatedProperties: string[]): void; + interfaceProxySignal(objectProxy: AuGIO.DBusObjectProxy, interfaceProxy: AuGIO.DBusProxy, senderName: string, signalName: string, parameters: AuGlibEx.Variant): void; + } + + class DBusObjectManagerServer extends GObject.Object implements AuGIO.DBusObjectManager { + constructor(initializerList ?: DBusObjectManagerServerCtor); + + parentInstance : GObject.Object; + priv : AuGIO.DBusObjectManagerServerPrivate; + + connection : AuGIO.DBusConnection; + objectPath : string; + + static New(objectPath: string): AuGIO.DBusObjectManagerServer; + export(object: AuGIO.DBusObjectSkeleton): void; + exportUniquely(object: AuGIO.DBusObjectSkeleton): void; + getConnection(): AuGIO.DBusConnection; + isExported(object: AuGIO.DBusObjectSkeleton): boolean; + setConnection(connection: AuGIO.DBusConnection | undefined | null): void; + unexport(objectPath: string): boolean; + //TypeScript is complete garbage: + getInterface(objectPath: string, interfaceName: string): AuGIO.DBusInterface; + getObject(objectPath: string): AuGIO.DBusObject; + getObjectPath(): string; + getObjects(): AuGIO.DBusObject[]; + } + + class DBusObjectManagerServerCtor { + connection ?: AuGIO.DBusConnection; + objectPath ?: string; + } + + class DBusObjectProxy extends GObject.Object implements AuGIO.DBusObject { + constructor(initializerList ?: DBusObjectProxyCtor); + + parentInstance : GObject.Object; + priv : AuGIO.DBusObjectProxyPrivate; + + gConnection : AuGIO.DBusConnection; + gObjectPath : string; + + static New(connection: AuGIO.DBusConnection, objectPath: string): AuGIO.DBusObjectProxy; + getConnection(): AuGIO.DBusConnection; + //TypeScript is complete garbage: + getInterface(interfaceName: string): AuGIO.DBusInterface; + getInterfaces(): AuGIO.DBusInterface[]; + getObjectPath(): string; + } + + class DBusObjectProxyCtor { + gObjectPath ?: string; + gConnection ?: AuGIO.DBusConnection; + } + + class DBusObjectSkeleton extends GObject.Object implements AuGIO.DBusObject { + constructor(initializerList ?: DBusObjectSkeletonCtor); + + parentInstance : GObject.Object; + priv : AuGIO.DBusObjectSkeletonPrivate; + + gObjectPath : string; + + static New(objectPath: string): AuGIO.DBusObjectSkeleton; + addInterface(interface: AuGIO.DBusInterfaceSkeleton): void; + flush(): void; + removeInterface(interface: AuGIO.DBusInterfaceSkeleton): void; + removeInterfaceByName(interfaceName: string): void; + setObjectPath(objectPath: string): void; + //TypeScript is complete garbage: + getInterface(interfaceName: string): AuGIO.DBusInterface; + getInterfaces(): AuGIO.DBusInterface[]; + getObjectPath(): string; + } + + class DBusObjectSkeletonCtor { + gObjectPath ?: string; + } + + class DBusObjectSkeletonEventListener extends AuGlibEx.IEventListener { + authorizeMethod(interface: AuGIO.DBusInterfaceSkeleton, invocation: AuGIO.DBusMethodInvocation): boolean; + } + + class DBusProxy extends GObject.Object implements AuGIO.AsyncInitable, AuGIO.DBusInterface, AuGIO.Initable { + constructor(initializerList ?: DBusProxyCtor); + + parentInstance : GObject.Object; + priv : AuGIO.DBusProxyPrivate; + + gBusType : AuGIO.BusType; + gConnection : AuGIO.DBusConnection; + gDefaultTimeout : number; + gFlags : AuGIO.DBusProxyFlags; + gInterfaceInfo : AuGIO.DBusInterfaceInfo; + gInterfaceName : string; + gName : string; + gNameOwner : string; + gObjectPath : string; + + static NewFinish(res: AuGIO.AsyncResult): AuGIO.DBusProxy; + static NewForBusFinish(res: AuGIO.AsyncResult): AuGIO.DBusProxy; + static NewForBusSync(busType: AuGIO.BusType, flags: AuGIO.DBusProxyFlags, info: AuGIO.DBusInterfaceInfo | undefined | null, name: string, objectPath: string, interfaceName: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusProxy; + static NewSync(connection: AuGIO.DBusConnection, flags: AuGIO.DBusProxyFlags, info: AuGIO.DBusInterfaceInfo | undefined | null, name: string | undefined | null, objectPath: string, interfaceName: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusProxy; + static New(connection: AuGIO.DBusConnection, flags: AuGIO.DBusProxyFlags, info: AuGIO.DBusInterfaceInfo | undefined | null, name: string | undefined | null, objectPath: string, interfaceName: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + static NewForBus(busType: AuGIO.BusType, flags: AuGIO.DBusProxyFlags, info: AuGIO.DBusInterfaceInfo | undefined | null, name: string, objectPath: string, interfaceName: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + call(methodName: string, parameters: AuGlibEx.Variant | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + callFinish(res: AuGIO.AsyncResult): AuGlibEx.Variant; + callSync(methodName: string, parameters: AuGlibEx.Variant | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Variant; + callWithUnixFdList(methodName: string, parameters: AuGlibEx.Variant | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, fdList: AuGIO.UnixFDList | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + callWithUnixFdListFinish(outFdList ?: AuGIO.UnixFDList, res ?: AuGIO.AsyncResult): AuGlibEx.Variant; + callWithUnixFdListSync(methodName: string, parameters: AuGlibEx.Variant | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, fdList: AuGIO.UnixFDList | undefined | null, outFdList ?: AuGIO.UnixFDList, cancellable ?: AuGIO.Cancellable | undefined | null): AuGlibEx.Variant; + getCachedProperty(propertyName: string): AuGlibEx.Variant; + getCachedPropertyNames(): string[]; + getConnection(): AuGIO.DBusConnection; + getDefaultTimeout(): number; + getFlags(): AuGIO.DBusProxyFlags; + getInterfaceInfo(): AuGIO.DBusInterfaceInfo; + getInterfaceName(): string; + getName(): string; + getNameOwner(): string; + getObjectPath(): string; + setCachedProperty(propertyName: string, value: AuGlibEx.Variant | undefined | null): void; + setDefaultTimeout(timeoutMsec: number): void; + setInterfaceInfo(info: AuGIO.DBusInterfaceInfo | undefined | null): void; + //TypeScript is complete garbage: + static NewvAsync(objectType: number, nParameters: number, parameters: GObject.Parameter, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + initAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + initFinish(res: AuGIO.AsyncResult): boolean; + newFinish(res: AuGIO.AsyncResult): GObject.Object; + getObject(): AuGIO.DBusObject; + getInfo(): AuGIO.DBusInterfaceInfo; + setObject(object: AuGIO.DBusObject | undefined | null): void; + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class DBusProxyCtor { + gConnection ?: AuGIO.DBusConnection; + gBusType ?: AuGIO.BusType; + gName ?: string; + gNameOwner ?: string; + gFlags ?: AuGIO.DBusProxyFlags; + gObjectPath ?: string; + gInterfaceName ?: string; + gDefaultTimeout ?: number; + gInterfaceInfo ?: AuGIO.DBusInterfaceInfo; + } + + class DBusProxyEventListener extends AuGlibEx.IEventListener { + gPropertiesChanged(changedProperties: AuGlibEx.Variant, invalidatedProperties: string[]): void; + gSignal(senderName: string | undefined | null, signalName: string, parameters: AuGlibEx.Variant): void; + } + + class DBusServer extends GObject.Object implements AuGIO.Initable { + constructor(initializerList ?: DBusServerCtor); + + active : boolean; + address : string; + authenticationObserver : AuGIO.DBusAuthObserver; + clientAddress : string; + flags : AuGIO.DBusServerFlags; + guid : string; + + static NewSync(address: string, flags: AuGIO.DBusServerFlags, guid: string, observer: AuGIO.DBusAuthObserver | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusServer; + getClientAddress(): string; + getFlags(): AuGIO.DBusServerFlags; + getGuid(): string; + isActive(): boolean; + start(): void; + stop(): void; + //TypeScript is complete garbage: + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class DBusServerCtor { + address ?: string; + clientAddress ?: string; + flags ?: AuGIO.DBusServerFlags; + guid ?: string; + active ?: boolean; + authenticationObserver ?: AuGIO.DBusAuthObserver; + } + + class DBusServerEventListener extends AuGlibEx.IEventListener { + newConnection(connection: AuGIO.DBusConnection): boolean; + } + + class DataInputStream extends AuGIO.BufferedInputStream implements AuGIO.Seekable { + constructor(initializerList ?: DataInputStreamCtor); + + parentInstance : AuGIO.BufferedInputStream; + priv : AuGIO.DataInputStreamPrivate; + + byteOrder : AuGIO.DataStreamByteOrder; + newlineType : AuGIO.DataStreamNewlineType; + + getByteOrder(): AuGIO.DataStreamByteOrder; + getNewlineType(): AuGIO.DataStreamNewlineType; + readInt16(cancellable: AuGIO.Cancellable | undefined | null): number; + readInt32(cancellable: AuGIO.Cancellable | undefined | null): number; + readInt64(cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + readLine(length ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): number[]; + readLineAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readLineFinish(result: AuGIO.AsyncResult, length ?: number | bigint): number[]; + readLineFinishUtf8(result: AuGIO.AsyncResult, length ?: number | bigint): string; + readLineUtf8(length ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): string; + readUint16(cancellable: AuGIO.Cancellable | undefined | null): number; + readUint32(cancellable: AuGIO.Cancellable | undefined | null): number; + readUint64(cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + readUntil(stopChars: string, length ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): string; + readUntilAsync(stopChars: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readUntilFinish(result: AuGIO.AsyncResult, length ?: number | bigint): string; + readUpto(stopChars: string, stopCharsLen: number | bigint, length ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): string; + readUptoAsync(stopChars: string, stopCharsLen: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readUptoFinish(result: AuGIO.AsyncResult, length ?: number | bigint): string; + setByteOrder(order: AuGIO.DataStreamByteOrder): void; + setNewlineType(type: AuGIO.DataStreamNewlineType): void; + //TypeScript is complete garbage: + } + + class DataInputStreamCtor { + baseStream ?: AuGIO.InputStream; + closeBaseStream ?: boolean; + bufferSize ?: number; + byteOrder ?: AuGIO.DataStreamByteOrder; + newlineType ?: AuGIO.DataStreamNewlineType; + } + + class DataOutputStream extends AuGIO.FilterOutputStream implements AuGIO.Seekable { + constructor(initializerList ?: DataOutputStreamCtor); + + parentInstance : AuGIO.FilterOutputStream; + priv : AuGIO.DataOutputStreamPrivate; + + byteOrder : AuGIO.DataStreamByteOrder; + + static New(baseStream: AuGIO.OutputStream): AuGIO.DataOutputStream; + getByteOrder(): AuGIO.DataStreamByteOrder; + putByte(data: number, cancellable: AuGIO.Cancellable | undefined | null): boolean; + putInt16(data: number, cancellable: AuGIO.Cancellable | undefined | null): boolean; + putInt32(data: number, cancellable: AuGIO.Cancellable | undefined | null): boolean; + putInt64(data: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + putString(str: string, cancellable: AuGIO.Cancellable | undefined | null): boolean; + putUint16(data: number, cancellable: AuGIO.Cancellable | undefined | null): boolean; + putUint32(data: number, cancellable: AuGIO.Cancellable | undefined | null): boolean; + putUint64(data: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + setByteOrder(order: AuGIO.DataStreamByteOrder): void; + //TypeScript is complete garbage: + canSeek(): boolean; + canTruncate(): boolean; + seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean; + tell(): number | bigint; + truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class DataOutputStreamCtor { + baseStream ?: AuGIO.OutputStream; + closeBaseStream ?: boolean; + byteOrder ?: AuGIO.DataStreamByteOrder; + } + + class DebugControllerDBus extends GObject.Object implements AuGIO.DebugController, AuGIO.Initable { + constructor(initializerList ?: DebugControllerDBusCtor); + + parentInstance : GObject.Object; + + connection : AuGIO.DBusConnection; + + static New(connection: AuGIO.DBusConnection, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DebugControllerDBus; + stop(): void; + //TypeScript is complete garbage: + debugEnabled : boolean; + + getDebugEnabled(): boolean; + setDebugEnabled(debugEnabled: boolean): void; + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class DebugControllerDBusCtor { + debugEnabled ?: boolean; + connection ?: AuGIO.DBusConnection; + } + + class DebugControllerDBusEventListener extends AuGlibEx.IEventListener { + authorize(invocation: AuGIO.DBusMethodInvocation): boolean; + } + + class Emblem extends GObject.Object implements AuGIO.Icon { + constructor(initializerList ?: EmblemCtor); + + icon : GObject.Object; + origin : AuGIO.EmblemOrigin; + + static New(icon: AuGIO.Icon): AuGIO.Emblem; + static NewWithOrigin(icon: AuGIO.Icon, origin: AuGIO.EmblemOrigin): AuGIO.Emblem; + getIcon(): AuGIO.Icon; + getOrigin(): AuGIO.EmblemOrigin; + //TypeScript is complete garbage: + static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon; + static Hash(): number; + static NewForString(str: string): AuGIO.Icon; + equal(icon2: AuGIO.Icon | undefined | null): boolean; + serialize(): AuGlibEx.Variant; + } + + class EmblemCtor { + icon ?: GObject.Object; + origin ?: AuGIO.EmblemOrigin; + } + + class EmblemedIcon extends GObject.Object implements AuGIO.Icon { + constructor(initializerList ?: EmblemedIconCtor); + + parentInstance : GObject.Object; + priv : AuGIO.EmblemedIconPrivate; + + gicon : AuGIO.Icon; + + static New(icon: AuGIO.Icon, emblem: AuGIO.Emblem | undefined | null): AuGIO.EmblemedIcon; + addEmblem(emblem: AuGIO.Emblem): void; + clearEmblems(): void; + getEmblems(): AuGIO.Emblem[]; + getIcon(): AuGIO.Icon; + //TypeScript is complete garbage: + static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon; + static Hash(): number; + static NewForString(str: string): AuGIO.Icon; + equal(icon2: AuGIO.Icon | undefined | null): boolean; + serialize(): AuGlibEx.Variant; + } + + class EmblemedIconCtor { + gicon ?: AuGIO.Icon; + } + + class FileEnumerator extends GObject.Object { + constructor(initializerList ?: FileEnumeratorCtor); + + parentInstance : GObject.Object; + priv : AuGIO.FileEnumeratorPrivate; + + container : AuGIO.File; + + close(cancellable: AuGIO.Cancellable | undefined | null): boolean; + closeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + closeFinish(result: AuGIO.AsyncResult): boolean; + getChild(info: AuGIO.FileInfo): AuGIO.File; + getContainer(): AuGIO.File; + hasPending(): boolean; + isClosed(): boolean; + iterate(outInfo ?: AuGIO.FileInfo, outChild ?: AuGIO.File, cancellable ?: AuGIO.Cancellable | undefined | null): boolean; + nextFile(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo; + nextFilesAsync(numFiles: number, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + nextFilesFinish(result: AuGIO.AsyncResult): AuGIO.FileInfo[]; + setPending(pending: boolean): void; + //TypeScript is complete garbage: + } + + class FileEnumeratorCtor { + container ?: AuGIO.File; + } + + class FileIOStream extends AuGIO.IOStream implements AuGIO.Seekable { + constructor(initializerList ?: FileIOStreamCtor); + + parentInstance : AuGIO.IOStream; + priv : AuGIO.FileIOStreamPrivate; + + getEtag(): string; + queryInfo(attributes: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo; + queryInfoAsync(attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + queryInfoFinish(result: AuGIO.AsyncResult): AuGIO.FileInfo; + //TypeScript is complete garbage: + canSeek(): boolean; + canTruncate(): boolean; + seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean; + tell(): number | bigint; + truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class FileIOStreamCtor { + inputStream ?: AuGIO.InputStream; + outputStream ?: AuGIO.OutputStream; + closed ?: boolean; + } + + class FileIcon extends GObject.Object implements AuGIO.Icon, AuGIO.LoadableIcon { + constructor(initializerList ?: FileIconCtor); + + file : AuGIO.File; + + static New(file: AuGIO.File): AuGIO.FileIcon; + getFile(): AuGIO.File; + //TypeScript is complete garbage: + static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon; + static Hash(): number; + static NewForString(str: string): AuGIO.Icon; + equal(icon2: AuGIO.Icon | undefined | null): boolean; + serialize(): AuGlibEx.Variant; + load(size: number, type ?: string, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.InputStream; + loadAsync(size: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + loadFinish(res: AuGIO.AsyncResult, type ?: string): AuGIO.InputStream; + } + + class FileIconCtor { + file ?: AuGIO.File; + } + + class FileInfo extends GObject.Object { + constructor(initializerList ?: FileInfoCtor); + + static New(): AuGIO.FileInfo; + clearStatus(): void; + copyInto(destInfo: AuGIO.FileInfo): void; + dup(): AuGIO.FileInfo; + getAccessDateTime(): AuGlibEx.DateTime; + getAttributeAsString(attribute: string): string; + getAttributeBoolean(attribute: string): boolean; + getAttributeByteString(attribute: string): string; + getAttributeData(attribute: string, type ?: AuGIO.FileAttributeType, status ?: AuGIO.FileAttributeStatus): boolean; + getAttributeInt32(attribute: string): number; + getAttributeInt64(attribute: string): number | bigint; + getAttributeObject(attribute: string): GObject.Object; + getAttributeStatus(attribute: string): AuGIO.FileAttributeStatus; + getAttributeString(attribute: string): string; + getAttributeStringv(attribute: string): string[]; + getAttributeType(attribute: string): AuGIO.FileAttributeType; + getAttributeUint32(attribute: string): number; + getAttributeUint64(attribute: string): number | bigint; + getContentType(): string; + getCreationDateTime(): AuGlibEx.DateTime; + getDeletionDate(): AuGlibEx.DateTime; + getDisplayName(): string; + getEditName(): string; + getEtag(): string; + getFileType(): AuGIO.FileType; + getIcon(): AuGIO.Icon; + getIsBackup(): boolean; + getIsHidden(): boolean; + getIsSymlink(): boolean; + getModificationDateTime(): AuGlibEx.DateTime; + getModificationTime(result: AuGlibEx.TimeVal): void; + getName(): string; + getSize(): number | bigint; + getSortOrder(): number; + getSymbolicIcon(): AuGIO.Icon; + getSymlinkTarget(): string; + hasAttribute(attribute: string): boolean; + hasNamespace(nameSpace: string): boolean; + listAttributes(nameSpace: string | undefined | null): string[]; + removeAttribute(attribute: string): void; + setAccessDateTime(atime: AuGlibEx.DateTime): void; + setAttribute(attribute: string, type: AuGIO.FileAttributeType): void; + setAttributeBoolean(attribute: string, attrValue: boolean): void; + setAttributeByteString(attribute: string, attrValue: string): void; + setAttributeInt32(attribute: string, attrValue: number): void; + setAttributeInt64(attribute: string, attrValue: number | bigint): void; + setAttributeMask(mask: AuGIO.FileAttributeMatcher): void; + setAttributeObject(attribute: string, attrValue: GObject.Object): void; + setAttributeStatus(attribute: string, status: AuGIO.FileAttributeStatus): boolean; + setAttributeString(attribute: string, attrValue: string): void; + setAttributeStringv(attribute: string, attrValue: string[]): void; + setAttributeUint32(attribute: string, attrValue: number): void; + setAttributeUint64(attribute: string, attrValue: number | bigint): void; + setContentType(contentType: string): void; + setCreationDateTime(creationTime: AuGlibEx.DateTime): void; + setDisplayName(displayName: string): void; + setEditName(editName: string): void; + setFileType(type: AuGIO.FileType): void; + setIcon(icon: AuGIO.Icon): void; + setIsHidden(isHidden: boolean): void; + setIsSymlink(isSymlink: boolean): void; + setModificationDateTime(mtime: AuGlibEx.DateTime): void; + setModificationTime(mtime: AuGlibEx.TimeVal): void; + setName(name: string): void; + setSize(size: number | bigint): void; + setSortOrder(sortOrder: number): void; + setSymbolicIcon(icon: AuGIO.Icon): void; + setSymlinkTarget(symlinkTarget: string): void; + unsetAttributeMask(): void; + //TypeScript is complete garbage: + } + + class FileInfoCtor { + } + + class FileInputStream extends AuGIO.InputStream implements AuGIO.Seekable { + constructor(initializerList ?: FileInputStreamCtor); + + parentInstance : AuGIO.InputStream; + priv : AuGIO.FileInputStreamPrivate; + + queryInfo(attributes: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo; + queryInfoAsync(attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + queryInfoFinish(result: AuGIO.AsyncResult): AuGIO.FileInfo; + //TypeScript is complete garbage: + canSeek(): boolean; + canTruncate(): boolean; + seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean; + tell(): number | bigint; + truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class FileInputStreamCtor { + } + + class FileMonitor extends GObject.Object { + constructor(initializerList ?: FileMonitorCtor); + + parentInstance : GObject.Object; + priv : AuGIO.FileMonitorPrivate; + + cancelled : boolean; + rateLimit : number; + + cancel(): boolean; + emitEvent(child: AuGIO.File, otherFile: AuGIO.File, eventType: AuGIO.FileMonitorEvent): void; + isCancelled(): boolean; + setRateLimit(limitMsecs: number): void; + //TypeScript is complete garbage: + } + + class FileMonitorCtor { + rateLimit ?: number; + cancelled ?: boolean; + } + + class FileMonitorEventListener extends AuGlibEx.IEventListener { + changed(file: AuGIO.File, otherFile: AuGIO.File | undefined | null, eventType: AuGIO.FileMonitorEvent): void; + } + + class FileOutputStream extends AuGIO.OutputStream implements AuGIO.Seekable { + constructor(initializerList ?: FileOutputStreamCtor); + + parentInstance : AuGIO.OutputStream; + priv : AuGIO.FileOutputStreamPrivate; + + getEtag(): string; + queryInfo(attributes: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo; + queryInfoAsync(attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + queryInfoFinish(result: AuGIO.AsyncResult): AuGIO.FileInfo; + //TypeScript is complete garbage: + canSeek(): boolean; + canTruncate(): boolean; + seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean; + tell(): number | bigint; + truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class FileOutputStreamCtor { + } + + class FilenameCompleter extends GObject.Object { + constructor(initializerList ?: FilenameCompleterCtor); + + static New(): AuGIO.FilenameCompleter; + getCompletionSuffix(initialText: string): string; + getCompletions(initialText: string): string[]; + setDirsOnly(dirsOnly: boolean): void; + //TypeScript is complete garbage: + } + + class FilenameCompleterCtor { + } + + class FilenameCompleterEventListener extends AuGlibEx.IEventListener { + gotCompletionData(): void; + } + + class FilterInputStream extends AuGIO.InputStream { + constructor(initializerList ?: FilterInputStreamCtor); + + parentInstance : AuGIO.InputStream; + baseStream : AuGIO.InputStream; + + closeBaseStream : boolean; + + getBaseStream(): AuGIO.InputStream; + getCloseBaseStream(): boolean; + setCloseBaseStream(closeBase: boolean): void; + //TypeScript is complete garbage: + } + + class FilterInputStreamCtor { + baseStream ?: AuGIO.InputStream; + closeBaseStream ?: boolean; + } + + class FilterOutputStream extends AuGIO.OutputStream { + constructor(initializerList ?: FilterOutputStreamCtor); + + parentInstance : AuGIO.OutputStream; + baseStream : AuGIO.OutputStream; + + closeBaseStream : boolean; + + getBaseStream(): AuGIO.OutputStream; + getCloseBaseStream(): boolean; + setCloseBaseStream(closeBase: boolean): void; + //TypeScript is complete garbage: + } + + class FilterOutputStreamCtor { + baseStream ?: AuGIO.OutputStream; + closeBaseStream ?: boolean; + } + + class IOModule extends GObject.TypeModule implements GObject.TypePlugin { + constructor(initializerList ?: IOModuleCtor); + + static New(filename: string): AuGIO.IOModule; + static Query(): string[]; + //TypeScript is complete garbage: + } + + class IOModuleCtor { + } + + class IOStream extends GObject.Object { + constructor(initializerList ?: IOStreamCtor); + + parentInstance : GObject.Object; + priv : AuGIO.IOStreamPrivate; + + closed : boolean; + inputStream : AuGIO.InputStream; + outputStream : AuGIO.OutputStream; + + static SpliceFinish(result: AuGIO.AsyncResult): boolean; + clearPending(): void; + close(cancellable: AuGIO.Cancellable | undefined | null): boolean; + closeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + closeFinish(result: AuGIO.AsyncResult): boolean; + getInputStream(): AuGIO.InputStream; + getOutputStream(): AuGIO.OutputStream; + hasPending(): boolean; + isClosed(): boolean; + setPending(): boolean; + spliceAsync(stream2: AuGIO.IOStream, flags: AuGIO.IOStreamSpliceFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + //TypeScript is complete garbage: + } + + class IOStreamCtor { + inputStream ?: AuGIO.InputStream; + outputStream ?: AuGIO.OutputStream; + closed ?: boolean; + } + + class InetAddress extends GObject.Object { + constructor(initializerList ?: InetAddressCtor); + + parentInstance : GObject.Object; + priv : AuGIO.InetAddressPrivate; + + bytes : void; + family : AuGIO.SocketFamily; + isAny : boolean; + isLinkLocal : boolean; + isLoopback : boolean; + isMcGlobal : boolean; + isMcLinkLocal : boolean; + isMcNodeLocal : boolean; + isMcOrgLocal : boolean; + isMcSiteLocal : boolean; + isMulticast : boolean; + isSiteLocal : boolean; + + static NewAny(family: AuGIO.SocketFamily): AuGIO.InetAddress; + static NewFromBytes(bytes: number[], family: AuGIO.SocketFamily): AuGIO.InetAddress; + static NewFromString(string: string): AuGIO.InetAddress; + static NewLoopback(family: AuGIO.SocketFamily): AuGIO.InetAddress; + equal(otherAddress: AuGIO.InetAddress): boolean; + getFamily(): AuGIO.SocketFamily; + getIsAny(): boolean; + getIsLinkLocal(): boolean; + getIsLoopback(): boolean; + getIsMcGlobal(): boolean; + getIsMcLinkLocal(): boolean; + getIsMcNodeLocal(): boolean; + getIsMcOrgLocal(): boolean; + getIsMcSiteLocal(): boolean; + getIsMulticast(): boolean; + getIsSiteLocal(): boolean; + getNativeSize(): number | bigint; + //TypeScript is complete garbage: + } + + class InetAddressCtor { + family ?: AuGIO.SocketFamily; + bytes ?: number | bigint; + isAny ?: boolean; + isLoopback ?: boolean; + isLinkLocal ?: boolean; + isSiteLocal ?: boolean; + isMulticast ?: boolean; + isMcGlobal ?: boolean; + isMcLinkLocal ?: boolean; + isMcNodeLocal ?: boolean; + isMcOrgLocal ?: boolean; + isMcSiteLocal ?: boolean; + } + + class InetAddressMask extends GObject.Object implements AuGIO.Initable { + constructor(initializerList ?: InetAddressMaskCtor); + + parentInstance : GObject.Object; + priv : AuGIO.InetAddressMaskPrivate; + + address : AuGIO.InetAddress; + family : AuGIO.SocketFamily; + length : number; + + static New(addr: AuGIO.InetAddress, length: number): AuGIO.InetAddressMask; + static NewFromString(maskString: string): AuGIO.InetAddressMask; + equal(mask2: AuGIO.InetAddressMask): boolean; + getAddress(): AuGIO.InetAddress; + getFamily(): AuGIO.SocketFamily; + getLength(): number; + matches(address: AuGIO.InetAddress): boolean; + //TypeScript is complete garbage: + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class InetAddressMaskCtor { + family ?: AuGIO.SocketFamily; + address ?: AuGIO.InetAddress; + length ?: number; + } + + class InetSocketAddress extends AuGIO.SocketAddress implements AuGIO.SocketConnectable { + constructor(initializerList ?: InetSocketAddressCtor); + + parentInstance : AuGIO.SocketAddress; + priv : AuGIO.InetSocketAddressPrivate; + + address : AuGIO.InetAddress; + flowinfo : number; + port : number; + scopeId : number; + + static New(address: AuGIO.InetAddress, port: number): AuGIO.SocketAddress; + static NewFromString(address: string, port: number): AuGIO.SocketAddress; + getAddress(): AuGIO.InetAddress; + getFlowinfo(): number; + getPort(): number; + getScopeId(): number; + //TypeScript is complete garbage: + } + + class InetSocketAddressCtor { + family ?: AuGIO.SocketFamily; + address ?: AuGIO.InetAddress; + port ?: number; + flowinfo ?: number; + scopeId ?: number; + } + + class InputStream extends GObject.Object { + constructor(initializerList ?: InputStreamCtor); + + parentInstance : GObject.Object; + priv : AuGIO.InputStreamPrivate; + + clearPending(): void; + close(cancellable: AuGIO.Cancellable | undefined | null): boolean; + closeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + closeFinish(result: AuGIO.AsyncResult): boolean; + hasPending(): boolean; + isClosed(): boolean; + read(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + readAll(buffer: number[], count: number | bigint, bytesRead: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + readAllAsync(buffer: number[], count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readAllFinish(result: AuGIO.AsyncResult, bytesRead: number | bigint): boolean; + readAsync(buffer: number[], count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readBytes(count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Bytes; + readBytesAsync(count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + readBytesFinish(result: AuGIO.AsyncResult): AuGlibEx.Bytes; + readFinish(result: AuGIO.AsyncResult): number | bigint; + setPending(): boolean; + skip(count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + skipAsync(count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + skipFinish(result: AuGIO.AsyncResult): number | bigint; + //TypeScript is complete garbage: + } + + class InputStreamCtor { + } + + class ListStore extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: ListStoreCtor); + + itemType : number; + + static New(itemType: number): AuGIO.ListStore; + append(item: GObject.Object): void; + find(item: GObject.Object, position ?: number): boolean; + findWithEqualFunc(item: GObject.Object, equalFunc: () => boolean, position ?: number): boolean; + insert(position: number, item: GObject.Object): void; + insertSorted(item: GObject.Object, compareFunc: () => number): number; + remove(position: number): void; + removeAll(): void; + sort(compareFunc: () => number): void; + splice(position: number, nRemovals: number, additions: GObject.Object[], nAdditions: number): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class ListStoreCtor { + itemType ?: any; + } + + class MemoryInputStream extends AuGIO.InputStream implements AuGIO.PollableInputStream, AuGIO.Seekable { + constructor(initializerList ?: MemoryInputStreamCtor); + + parentInstance : AuGIO.InputStream; + priv : AuGIO.MemoryInputStreamPrivate; + + static New(): AuGIO.InputStream; + static NewFromBytes(bytes: AuGlibEx.Bytes): AuGIO.InputStream; + static NewFromData(data: number[], len: number | bigint, destroy: () => void | undefined | null): AuGIO.InputStream; + addBytes(bytes: AuGlibEx.Bytes): void; + addData(data: number[], len: number | bigint, destroy: () => void | undefined | null): void; + //TypeScript is complete garbage: + canPoll(): boolean; + createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source; + isReadable(): boolean; + readNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + canSeek(): boolean; + canTruncate(): boolean; + seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean; + tell(): number | bigint; + truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class MemoryInputStreamCtor { + } + + class MemoryOutputStream extends AuGIO.OutputStream implements AuGIO.PollableOutputStream, AuGIO.Seekable { + constructor(initializerList ?: MemoryOutputStreamCtor); + + parentInstance : AuGIO.OutputStream; + priv : AuGIO.MemoryOutputStreamPrivate; + + data : void; + dataSize : number; + size : number; + + static NewResizable(): AuGIO.OutputStream; + getDataSize(): number | bigint; + getSize(): number | bigint; + stealAsBytes(): AuGlibEx.Bytes; + //TypeScript is complete garbage: + canPoll(): boolean; + createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source; + isWritable(): boolean; + writeNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + writevNonblocking(vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.PollableReturn; + canSeek(): boolean; + canTruncate(): boolean; + seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean; + tell(): number | bigint; + truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class MemoryOutputStreamCtor { + data ?: number | bigint; + size ?: number; + dataSize ?: number; + reallocFunction ?: number | bigint; + destroyFunction ?: number | bigint; + } + + class Menu extends AuGIO.MenuModel { + constructor(initializerList ?: MenuCtor); + + static New(): AuGIO.Menu; + append(label: string | undefined | null, detailedAction: string | undefined | null): void; + appendItem(item: AuGIO.MenuItem): void; + appendSection(label: string | undefined | null, section: AuGIO.MenuModel): void; + appendSubmenu(label: string | undefined | null, submenu: AuGIO.MenuModel): void; + freeze(): void; + insert(position: number, label: string | undefined | null, detailedAction: string | undefined | null): void; + insertItem(position: number, item: AuGIO.MenuItem): void; + insertSection(position: number, label: string | undefined | null, section: AuGIO.MenuModel): void; + insertSubmenu(position: number, label: string | undefined | null, submenu: AuGIO.MenuModel): void; + prepend(label: string | undefined | null, detailedAction: string | undefined | null): void; + prependItem(item: AuGIO.MenuItem): void; + prependSection(label: string | undefined | null, section: AuGIO.MenuModel): void; + prependSubmenu(label: string | undefined | null, submenu: AuGIO.MenuModel): void; + remove(position: number): void; + removeAll(): void; + //TypeScript is complete garbage: + } + + class MenuCtor { + } + + class MenuAttributeIter extends GObject.Object { + constructor(initializerList ?: MenuAttributeIterCtor); + + parentInstance : GObject.Object; + priv : AuGIO.MenuAttributeIterPrivate; + + getName(): string; + getNext(outName ?: string, value ?: AuGlibEx.Variant): boolean; + getValue(): AuGlibEx.Variant; + next(): boolean; + //TypeScript is complete garbage: + } + + class MenuAttributeIterCtor { + } + + class MenuItem extends GObject.Object { + constructor(initializerList ?: MenuItemCtor); + + static New(label: string | undefined | null, detailedAction: string | undefined | null): AuGIO.MenuItem; + static NewFromModel(model: AuGIO.MenuModel, itemIndex: number): AuGIO.MenuItem; + static NewSection(label: string | undefined | null, section: AuGIO.MenuModel): AuGIO.MenuItem; + static NewSubmenu(label: string | undefined | null, submenu: AuGIO.MenuModel): AuGIO.MenuItem; + getAttributeValue(attribute: string, expectedType: AuGlibEx.VariantType | undefined | null): AuGlibEx.Variant; + getLink(link: string): AuGIO.MenuModel; + setActionAndTargetValue(action: string | undefined | null, targetValue: AuGlibEx.Variant | undefined | null): void; + setAttributeValue(attribute: string, value: AuGlibEx.Variant | undefined | null): void; + setDetailedAction(detailedAction: string): void; + setIcon(icon: AuGIO.Icon): void; + setLabel(label: string | undefined | null): void; + setLink(link: string, model: AuGIO.MenuModel | undefined | null): void; + setSection(section: AuGIO.MenuModel | undefined | null): void; + setSubmenu(submenu: AuGIO.MenuModel | undefined | null): void; + //TypeScript is complete garbage: + } + + class MenuItemCtor { + } + + class MenuLinkIter extends GObject.Object { + constructor(initializerList ?: MenuLinkIterCtor); + + parentInstance : GObject.Object; + priv : AuGIO.MenuLinkIterPrivate; + + getName(): string; + getNext(outLink ?: string, value ?: AuGIO.MenuModel): boolean; + getValue(): AuGIO.MenuModel; + next(): boolean; + //TypeScript is complete garbage: + } + + class MenuLinkIterCtor { + } + + class MenuModel extends GObject.Object { + constructor(initializerList ?: MenuModelCtor); + + parentInstance : GObject.Object; + priv : AuGIO.MenuModelPrivate; + + getItemAttributeValue(itemIndex: number, attribute: string, expectedType: AuGlibEx.VariantType | undefined | null): AuGlibEx.Variant; + getItemLink(itemIndex: number, link: string): AuGIO.MenuModel; + getNItems(): number; + isMutable(): boolean; + itemsChanged(position: number, removed: number, added: number): void; + iterateItemAttributes(itemIndex: number): AuGIO.MenuAttributeIter; + iterateItemLinks(itemIndex: number): AuGIO.MenuLinkIter; + //TypeScript is complete garbage: + } + + class MenuModelCtor { + } + + class MenuModelEventListener extends AuGlibEx.IEventListener { + itemsChanged(position: number, removed: number, added: number): void; + } + + class MountOperation extends GObject.Object { + constructor(initializerList ?: MountOperationCtor); + + parentInstance : GObject.Object; + priv : AuGIO.MountOperationPrivate; + + anonymous : boolean; + choice : number; + domain : string; + isTcryptHiddenVolume : boolean; + isTcryptSystemVolume : boolean; + password : string; + passwordSave : AuGIO.PasswordSave; + pim : number; + username : string; + + getAnonymous(): boolean; + getChoice(): number; + getDomain(): string; + getIsTcryptHiddenVolume(): boolean; + getIsTcryptSystemVolume(): boolean; + getPassword(): string; + getPasswordSave(): AuGIO.PasswordSave; + getPim(): number; + getUsername(): string; + reply(result: AuGIO.MountOperationResult): void; + setAnonymous(anonymous: boolean): void; + setChoice(choice: number): void; + setDomain(domain: string | undefined | null): void; + setIsTcryptHiddenVolume(hiddenVolume: boolean): void; + setIsTcryptSystemVolume(systemVolume: boolean): void; + setPassword(password: string | undefined | null): void; + setPasswordSave(save: AuGIO.PasswordSave): void; + setPim(pim: number): void; + setUsername(username: string | undefined | null): void; + //TypeScript is complete garbage: + } + + class MountOperationCtor { + username ?: string; + password ?: string; + anonymous ?: boolean; + domain ?: string; + passwordSave ?: AuGIO.PasswordSave; + choice ?: number; + isTcryptHiddenVolume ?: boolean; + isTcryptSystemVolume ?: boolean; + pim ?: number; + } + + class MountOperationEventListener extends AuGlibEx.IEventListener { + aborted(): void; + askPassword(message: string, defaultUser: string, defaultDomain: string, flags: AuGIO.AskPasswordFlags): void; + askQuestion(message: string, choices: string[]): void; + reply(result: AuGIO.MountOperationResult): void; + showProcesses(message: string, processes: void[], choices: string[]): void; + showUnmountProgress(message: string, timeLeft: number | bigint, bytesLeft: number | bigint): void; + } + + class NativeSocketAddress extends AuGIO.SocketAddress implements AuGIO.SocketConnectable { + constructor(initializerList ?: NativeSocketAddressCtor); + + parentInstance : AuGIO.SocketAddress; + priv : AuGIO.NativeSocketAddressPrivate; + + static New(len: number | bigint): AuGIO.SocketAddress; + //TypeScript is complete garbage: + } + + class NativeSocketAddressCtor { + family ?: AuGIO.SocketFamily; + } + + class NativeVolumeMonitor extends AuGIO.VolumeMonitor { + constructor(initializerList ?: NativeVolumeMonitorCtor); + + parentInstance : AuGIO.VolumeMonitor; + + //TypeScript is complete garbage: + } + + class NativeVolumeMonitorCtor { + } + + class NetworkAddress extends GObject.Object implements AuGIO.SocketConnectable { + constructor(initializerList ?: NetworkAddressCtor); + + parentInstance : GObject.Object; + priv : AuGIO.NetworkAddressPrivate; + + hostname : string; + port : number; + scheme : string; + + static New(hostname: string, port: number): AuGIO.NetworkAddress; + static NewLoopback(port: number): AuGIO.NetworkAddress; + static Parse(hostAndPort: string, defaultPort: number): AuGIO.NetworkAddress; + static ParseUri(uri: string, defaultPort: number): AuGIO.NetworkAddress; + getHostname(): string; + getPort(): number; + getScheme(): string; + //TypeScript is complete garbage: + enumerate(): AuGIO.SocketAddressEnumerator; + proxyEnumerate(): AuGIO.SocketAddressEnumerator; + } + + class NetworkAddressCtor { + hostname ?: string; + port ?: number; + scheme ?: string; + } + + class NetworkService extends GObject.Object implements AuGIO.SocketConnectable { + constructor(initializerList ?: NetworkServiceCtor); + + parentInstance : GObject.Object; + priv : AuGIO.NetworkServicePrivate; + + domain : string; + protocol : string; + scheme : string; + service : string; + + static New(service: string, protocol: string, domain: string): AuGIO.NetworkService; + getDomain(): string; + getProtocol(): string; + getScheme(): string; + getService(): string; + setScheme(scheme: string): void; + //TypeScript is complete garbage: + enumerate(): AuGIO.SocketAddressEnumerator; + proxyEnumerate(): AuGIO.SocketAddressEnumerator; + } + + class NetworkServiceCtor { + service ?: string; + protocol ?: string; + domain ?: string; + scheme ?: string; + } + + class Notification extends GObject.Object { + constructor(initializerList ?: NotificationCtor); + + static New(title: string): AuGIO.Notification; + addButton(label: string, detailedAction: string): void; + addButtonWithTarget(label: string, action: string, target: AuGlibEx.Variant | undefined | null): void; + setBody(body: string | undefined | null): void; + setCategory(category: string | undefined | null): void; + setDefaultAction(detailedAction: string): void; + setDefaultActionAndTarget(action: string, target: AuGlibEx.Variant | undefined | null): void; + setIcon(icon: AuGIO.Icon): void; + setPriority(priority: AuGIO.NotificationPriority): void; + setTitle(title: string): void; + setUrgent(urgent: boolean): void; + //TypeScript is complete garbage: + } + + class NotificationCtor { + } + + class OutputStream extends GObject.Object { + constructor(initializerList ?: OutputStreamCtor); + + parentInstance : GObject.Object; + priv : AuGIO.OutputStreamPrivate; + + clearPending(): void; + close(cancellable: AuGIO.Cancellable | undefined | null): boolean; + closeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + closeFinish(result: AuGIO.AsyncResult): boolean; + flush(cancellable: AuGIO.Cancellable | undefined | null): boolean; + flushAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + flushFinish(result: AuGIO.AsyncResult): boolean; + hasPending(): boolean; + isClosed(): boolean; + isClosing(): boolean; + setPending(): boolean; + splice(source: AuGIO.InputStream, flags: AuGIO.OutputStreamSpliceFlags, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + spliceAsync(source: AuGIO.InputStream, flags: AuGIO.OutputStreamSpliceFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + spliceFinish(result: AuGIO.AsyncResult): number | bigint; + write(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + writeAll(buffer: number[], count: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): boolean; + writeAllAsync(buffer: number[], count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + writeAllFinish(result: AuGIO.AsyncResult, bytesWritten ?: number | bigint): boolean; + writeAsync(buffer: number[], count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + writeBytes(bytes: AuGlibEx.Bytes, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + writeBytesAsync(bytes: AuGlibEx.Bytes, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + writeBytesFinish(result: AuGIO.AsyncResult): number | bigint; + writeFinish(result: AuGIO.AsyncResult): number | bigint; + writev(vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): boolean; + writevAll(vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): boolean; + writevAllAsync(vectors: AuGIO.OutputVector[], nVectors: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + writevAllFinish(result: AuGIO.AsyncResult, bytesWritten ?: number | bigint): boolean; + writevAsync(vectors: AuGIO.OutputVector[], nVectors: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + writevFinish(result: AuGIO.AsyncResult, bytesWritten ?: number | bigint): boolean; + //TypeScript is complete garbage: + } + + class OutputStreamCtor { + } + + class Permission extends GObject.Object { + constructor(initializerList ?: PermissionCtor); + + parentInstance : GObject.Object; + priv : AuGIO.PermissionPrivate; + + allowed : boolean; + canAcquire : boolean; + canRelease : boolean; + + acquire(cancellable: AuGIO.Cancellable | undefined | null): boolean; + acquireAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + acquireFinish(result: AuGIO.AsyncResult): boolean; + getAllowed(): boolean; + getCanAcquire(): boolean; + getCanRelease(): boolean; + implUpdate(allowed: boolean, canAcquire: boolean, canRelease: boolean): void; + release(cancellable: AuGIO.Cancellable | undefined | null): boolean; + releaseAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + releaseFinish(result: AuGIO.AsyncResult): boolean; + //TypeScript is complete garbage: + } + + class PermissionCtor { + allowed ?: boolean; + canAcquire ?: boolean; + canRelease ?: boolean; + } + + class PropertyAction extends GObject.Object implements AuGIO.Action { + constructor(initializerList ?: PropertyActionCtor); + + enabled : boolean; + invertBoolean : boolean; + name : string; + object : GObject.Object; + parameterType : AuGlibEx.VariantType; + propertyName : string; + state : AuGlibEx.Variant; + stateType : AuGlibEx.VariantType; + + static New(name: string, object: GObject.Object, propertyName: string): AuGIO.PropertyAction; + //TypeScript is complete garbage: + + static NameIsValid(actionName: string): boolean; + static ParseDetailedName(detailedName: string, actionName: string, targetValue: AuGlibEx.Variant): boolean; + static PrintDetailedName(actionName: string, targetValue: AuGlibEx.Variant | undefined | null): string; + activate(parameter: AuGlibEx.Variant | undefined | null): void; + changeState(value: AuGlibEx.Variant): void; + getEnabled(): boolean; + getName(): string; + getParameterType(): AuGlibEx.VariantType; + getState(): AuGlibEx.Variant; + getStateHint(): AuGlibEx.Variant; + getStateType(): AuGlibEx.VariantType; + } + + class PropertyActionCtor { + name ?: string; + parameterType ?: AuGlibEx.VariantType; + enabled ?: boolean; + stateType ?: AuGlibEx.VariantType; + state ?: any; + object ?: GObject.Object; + propertyName ?: string; + invertBoolean ?: boolean; + } + + class ProxyAddress extends AuGIO.InetSocketAddress implements AuGIO.SocketConnectable { + constructor(initializerList ?: ProxyAddressCtor); + + parentInstance : AuGIO.InetSocketAddress; + priv : AuGIO.ProxyAddressPrivate; + + destinationHostname : string; + destinationPort : number; + destinationProtocol : string; + password : string; + protocol : string; + uri : string; + username : string; + + getDestinationHostname(): string; + getDestinationPort(): number; + getDestinationProtocol(): string; + getPassword(): string; + getProtocol(): string; + getUri(): string; + getUsername(): string; + //TypeScript is complete garbage: + } + + class ProxyAddressCtor { + family ?: AuGIO.SocketFamily; + address ?: AuGIO.InetAddress; + port ?: number; + flowinfo ?: number; + scopeId ?: number; + protocol ?: string; + destinationProtocol ?: string; + destinationHostname ?: string; + destinationPort ?: number; + username ?: string; + password ?: string; + uri ?: string; + } + + class ProxyAddressEnumerator extends AuGIO.SocketAddressEnumerator { + constructor(initializerList ?: ProxyAddressEnumeratorCtor); + + parentInstance : AuGIO.SocketAddressEnumerator; + priv : AuGIO.ProxyAddressEnumeratorPrivate; + + connectable : AuGIO.SocketConnectable; + defaultPort : number; + proxyResolver : AuGIO.ProxyResolver; + uri : string; + + //TypeScript is complete garbage: + } + + class ProxyAddressEnumeratorCtor { + uri ?: string; + defaultPort ?: number; + connectable ?: AuGIO.SocketConnectable; + proxyResolver ?: AuGIO.ProxyResolver; + } + + class Resolver extends GObject.Object { + constructor(initializerList ?: ResolverCtor); + + parentInstance : GObject.Object; + priv : AuGIO.ResolverPrivate; + + static GetDefault(): AuGIO.Resolver; + lookupByAddress(address: AuGIO.InetAddress, cancellable: AuGIO.Cancellable | undefined | null): string; + lookupByAddressAsync(address: AuGIO.InetAddress, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + lookupByAddressFinish(result: AuGIO.AsyncResult): string; + lookupByName(hostname: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.InetAddress[]; + lookupByNameAsync(hostname: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + lookupByNameFinish(result: AuGIO.AsyncResult): AuGIO.InetAddress[]; + lookupByNameWithFlags(hostname: string, flags: AuGIO.ResolverNameLookupFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.InetAddress[]; + lookupByNameWithFlagsAsync(hostname: string, flags: AuGIO.ResolverNameLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + lookupByNameWithFlagsFinish(result: AuGIO.AsyncResult): AuGIO.InetAddress[]; + lookupRecords(rrname: string, recordType: AuGIO.ResolverRecordType, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Variant[]; + lookupRecordsAsync(rrname: string, recordType: AuGIO.ResolverRecordType, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + lookupRecordsFinish(result: AuGIO.AsyncResult): AuGlibEx.Variant[]; + lookupService(service: string, protocol: string, domain: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SrvTarget[]; + lookupServiceAsync(service: string, protocol: string, domain: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + lookupServiceFinish(result: AuGIO.AsyncResult): AuGIO.SrvTarget[]; + setDefault(): void; + //TypeScript is complete garbage: + } + + class ResolverCtor { + } + + class ResolverEventListener extends AuGlibEx.IEventListener { + reload(): void; + } + + class Settings extends GObject.Object { + constructor(initializerList ?: SettingsCtor); + + parentInstance : GObject.Object; + priv : AuGIO.SettingsPrivate; + + backend : AuGIO.SettingsBackend; + delayApply : boolean; + hasUnapplied : boolean; + path : string; + schema : string; + schemaId : string; + settingsSchema : AuGIO.SettingsSchema; + + static New(schemaId: string): AuGIO.Settings; + static NewFull(schema: AuGIO.SettingsSchema, backend: AuGIO.SettingsBackend | undefined | null, path: string | undefined | null): AuGIO.Settings; + static NewWithBackend(schemaId: string, backend: AuGIO.SettingsBackend): AuGIO.Settings; + static NewWithBackendAndPath(schemaId: string, backend: AuGIO.SettingsBackend, path: string): AuGIO.Settings; + static NewWithPath(schemaId: string, path: string): AuGIO.Settings; + static ListRelocatableSchemas(): string[]; + static ListSchemas(): string[]; + static Sync(): void; + static Unbind(object: GObject.Object, property: string): void; + apply(): void; + bind(key: string, object: GObject.Object, property: string, flags: AuGIO.SettingsBindFlags): void; + bindWritable(key: string, object: GObject.Object, property: string, inverted: boolean): void; + createAction(key: string): AuGIO.Action; + delay(): void; + getBoolean(key: string): boolean; + getChild(name: string): AuGIO.Settings; + getDefaultValue(key: string): AuGlibEx.Variant; + getDouble(key: string): number; + getEnum(key: string): number; + getFlags(key: string): number; + getHasUnapplied(): boolean; + getInt(key: string): number; + getInt64(key: string): number | bigint; + getMapped(key: string, mapping: (value: AuGlibEx.Variant) => boolean): void; + getRange(key: string): AuGlibEx.Variant; + getString(key: string): string; + getStrv(key: string): string[]; + getUint(key: string): number; + getUint64(key: string): number | bigint; + getUserValue(key: string): AuGlibEx.Variant; + getValue(key: string): AuGlibEx.Variant; + isWritable(name: string): boolean; + listChildren(): string[]; + listKeys(): string[]; + rangeCheck(key: string, value: AuGlibEx.Variant): boolean; + reset(key: string): void; + revert(): void; + setBoolean(key: string, value: boolean): boolean; + setDouble(key: string, value: number): boolean; + setEnum(key: string, value: number): boolean; + setFlags(key: string, value: number): boolean; + setInt(key: string, value: number): boolean; + setInt64(key: string, value: number | bigint): boolean; + setString(key: string, value: string): boolean; + setStrv(key: string, value: string[] | undefined | null): boolean; + setUint(key: string, value: number): boolean; + setUint64(key: string, value: number | bigint): boolean; + setValue(key: string, value: AuGlibEx.Variant): boolean; + //TypeScript is complete garbage: + } + + class SettingsCtor { + settingsSchema ?: AuGIO.SettingsSchema; + schema ?: string; + schemaId ?: string; + backend ?: AuGIO.SettingsBackend; + path ?: string; + hasUnapplied ?: boolean; + delayApply ?: boolean; + } + + class SettingsEventListener extends AuGlibEx.IEventListener { + changeEvent(keys: number[] | undefined | null, nKeys: number): boolean; + changed(key: string): void; + writableChangeEvent(key: number): boolean; + writableChanged(key: string): void; + } + + class SettingsBackend extends GObject.Object { + constructor(initializerList ?: SettingsBackendCtor); + + parentInstance : GObject.Object; + priv : AuGIO.SettingsBackendPrivate; + + static FlattenTree(tree: AuGlibEx.Tree, path: string, keys: string[], values ?: AuGlibEx.Variant[]): void; + static GetDefault(): AuGIO.SettingsBackend; + changed(key: string): void; + changedTree(tree: AuGlibEx.Tree): void; + keysChanged(path: string, items: string[]): void; + pathChanged(path: string): void; + pathWritableChanged(path: string): void; + writableChanged(key: string): void; + //TypeScript is complete garbage: + } + + class SettingsBackendCtor { + } + + class SimpleAction extends GObject.Object implements AuGIO.Action { + constructor(initializerList ?: SimpleActionCtor); + + enabled : boolean; + name : string; + parameterType : AuGlibEx.VariantType; + state : AuGlibEx.Variant; + stateType : AuGlibEx.VariantType; + + static New(name: string, parameterType: AuGlibEx.VariantType | undefined | null): AuGIO.SimpleAction; + static NewStateful(name: string, parameterType: AuGlibEx.VariantType | undefined | null, state: AuGlibEx.Variant): AuGIO.SimpleAction; + setEnabled(enabled: boolean): void; + setState(value: AuGlibEx.Variant): void; + setStateHint(stateHint: AuGlibEx.Variant | undefined | null): void; + //TypeScript is complete garbage: + + static NameIsValid(actionName: string): boolean; + static ParseDetailedName(detailedName: string, actionName: string, targetValue: AuGlibEx.Variant): boolean; + static PrintDetailedName(actionName: string, targetValue: AuGlibEx.Variant | undefined | null): string; + activate(parameter: AuGlibEx.Variant | undefined | null): void; + changeState(value: AuGlibEx.Variant): void; + getEnabled(): boolean; + getName(): string; + getParameterType(): AuGlibEx.VariantType; + getState(): AuGlibEx.Variant; + getStateHint(): AuGlibEx.Variant; + getStateType(): AuGlibEx.VariantType; + } + + class SimpleActionCtor { + name ?: string; + parameterType ?: AuGlibEx.VariantType; + enabled ?: boolean; + stateType ?: AuGlibEx.VariantType; + state ?: any; + } + + class SimpleActionEventListener extends AuGlibEx.IEventListener { + activate(parameter: AuGlibEx.Variant | undefined | null): void; + changeState(value: AuGlibEx.Variant | undefined | null): void; + } + + class SimpleActionGroup extends GObject.Object implements AuGIO.ActionGroup, AuGIO.ActionMap { + constructor(initializerList ?: SimpleActionGroupCtor); + + parentInstance : GObject.Object; + priv : AuGIO.SimpleActionGroupPrivate; + + static New(): AuGIO.SimpleActionGroup; + addEntries(entries: AuGIO.ActionEntry[], nEntries: number): void; + insert(action: AuGIO.Action): void; + lookup(actionName: string): AuGIO.Action; + remove(actionName: string): void; + //TypeScript is complete garbage: + actionAdded(actionName: string): void; + actionEnabledChanged(actionName: string, enabled: boolean): void; + actionRemoved(actionName: string): void; + actionStateChanged(actionName: string, state: AuGlibEx.Variant): void; + activateAction(actionName: string, parameter: AuGlibEx.Variant | undefined | null): void; + changeActionState(actionName: string, value: AuGlibEx.Variant): void; + getActionEnabled(actionName: string): boolean; + getActionParameterType(actionName: string): AuGlibEx.VariantType; + getActionState(actionName: string): AuGlibEx.Variant; + getActionStateHint(actionName: string): AuGlibEx.Variant; + getActionStateType(actionName: string): AuGlibEx.VariantType; + hasAction(actionName: string): boolean; + listActions(): string[]; + queryAction(actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant): boolean; + addAction(action: AuGIO.Action): void; + addActionEntries(entries: AuGIO.ActionEntry[], nEntries: number): void; + lookupAction(actionName: string): AuGIO.Action; + removeAction(actionName: string): void; + } + + class SimpleActionGroupCtor { + } + + class SimpleAsyncResult extends GObject.Object implements AuGIO.AsyncResult { + constructor(initializerList ?: SimpleAsyncResultCtor); + + static New(sourceObject: GObject.Object | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): AuGIO.SimpleAsyncResult; + static NewFromError(sourceObject: GObject.Object | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null, error: AuGlibEx.Error): AuGIO.SimpleAsyncResult; + static IsValid(result: AuGIO.AsyncResult, source: GObject.Object | undefined | null): boolean; + complete(): void; + completeInIdle(): void; + getOpResGboolean(): boolean; + getOpResGssize(): number | bigint; + propagateError(): boolean; + setCheckCancellable(checkCancellable: AuGIO.Cancellable | undefined | null): void; + setFromError(error: AuGlibEx.Error): void; + setHandleCancellation(handleCancellation: boolean): void; + setOpResGboolean(opRes: boolean): void; + setOpResGssize(opRes: number | bigint): void; + //TypeScript is complete garbage: + getSourceObject(): GObject.Object; + getUserData(): void; + isTagged(): boolean; + legacyPropagateError(): boolean; + } + + class SimpleAsyncResultCtor { + } + + class SimpleIOStream extends AuGIO.IOStream { + constructor(initializerList ?: SimpleIOStreamCtor); + + inputStream : AuGIO.InputStream; + outputStream : AuGIO.OutputStream; + + static New(inputStream: AuGIO.InputStream, outputStream: AuGIO.OutputStream): AuGIO.IOStream; + //TypeScript is complete garbage: + } + + class SimpleIOStreamCtor { + closed ?: boolean; + inputStream ?: AuGIO.InputStream; + outputStream ?: AuGIO.OutputStream; + } + + class SimplePermission extends AuGIO.Permission { + constructor(initializerList ?: SimplePermissionCtor); + + static New(allowed: boolean): AuGIO.Permission; + //TypeScript is complete garbage: + } + + class SimplePermissionCtor { + allowed ?: boolean; + canAcquire ?: boolean; + canRelease ?: boolean; + } + + class SimpleProxyResolver extends GObject.Object implements AuGIO.ProxyResolver { + constructor(initializerList ?: SimpleProxyResolverCtor); + + parentInstance : GObject.Object; + priv : AuGIO.SimpleProxyResolverPrivate; + + defaultProxy : string; + ignoreHosts : string[]; + + static New(defaultProxy: string | undefined | null, ignoreHosts: string[] | undefined | null): AuGIO.ProxyResolver; + setDefaultProxy(defaultProxy: string): void; + setIgnoreHosts(ignoreHosts: string[]): void; + setUriProxy(uriScheme: string, proxy: string): void; + //TypeScript is complete garbage: + static GetDefault(): AuGIO.ProxyResolver; + isSupported(): boolean; + lookup(uri: string, cancellable: AuGIO.Cancellable | undefined | null): string[]; + lookupAsync(uri: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + lookupFinish(result: AuGIO.AsyncResult): string[]; + } + + class SimpleProxyResolverCtor { + defaultProxy ?: string; + ignoreHosts ?: any; + } + + class Socket extends GObject.Object implements AuGIO.DatagramBased, AuGIO.Initable { + constructor(initializerList ?: SocketCtor); + + parentInstance : GObject.Object; + priv : AuGIO.SocketPrivate; + + blocking : boolean; + broadcast : boolean; + family : AuGIO.SocketFamily; + fd : number; + keepalive : boolean; + listenBacklog : number; + localAddress : AuGIO.SocketAddress; + multicastLoopback : boolean; + multicastTtl : number; + protocol : AuGIO.SocketProtocol; + remoteAddress : AuGIO.SocketAddress; + timeout : number; + ttl : number; + type : AuGIO.SocketType; + + static New(family: AuGIO.SocketFamily, type: AuGIO.SocketType, protocol: AuGIO.SocketProtocol): AuGIO.Socket; + static NewFromFd(fd: number): AuGIO.Socket; + accept(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.Socket; + bind(address: AuGIO.SocketAddress, allowReuse: boolean): boolean; + checkConnectResult(): boolean; + close(): boolean; + conditionCheck(condition: AuGlibEx.IOCondition): AuGlibEx.IOCondition; + conditionTimedWait(condition: AuGlibEx.IOCondition, timeoutUs: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean; + connect(address: AuGIO.SocketAddress, cancellable: AuGIO.Cancellable | undefined | null): boolean; + connectionFactoryCreateConnection(): AuGIO.SocketConnection; + getAvailableBytes(): number | bigint; + getBlocking(): boolean; + getBroadcast(): boolean; + getCredentials(): AuGIO.Credentials; + getFamily(): AuGIO.SocketFamily; + getFd(): number; + getKeepalive(): boolean; + getListenBacklog(): number; + getLocalAddress(): AuGIO.SocketAddress; + getMulticastLoopback(): boolean; + getMulticastTtl(): number; + getOption(level: number, optname: number, value: number): boolean; + getProtocol(): AuGIO.SocketProtocol; + getRemoteAddress(): AuGIO.SocketAddress; + getSocketType(): AuGIO.SocketType; + getTimeout(): number; + getTtl(): number; + isClosed(): boolean; + isConnected(): boolean; + joinMulticastGroup(group: AuGIO.InetAddress, sourceSpecific: boolean, iface: string | undefined | null): boolean; + joinMulticastGroupSsm(group: AuGIO.InetAddress, sourceSpecific: AuGIO.InetAddress | undefined | null, iface: string | undefined | null): boolean; + leaveMulticastGroup(group: AuGIO.InetAddress, sourceSpecific: boolean, iface: string | undefined | null): boolean; + leaveMulticastGroupSsm(group: AuGIO.InetAddress, sourceSpecific: AuGIO.InetAddress | undefined | null, iface: string | undefined | null): boolean; + listen(): boolean; + receive(buffer: number[], size: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + receiveFrom(address ?: AuGIO.SocketAddress, buffer ?: number[], size ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): number | bigint; + receiveMessage(address ?: AuGIO.SocketAddress, vectors ?: AuGIO.InputVector[], numVectors ?: number, messages ?: AuGIO.SocketControlMessage[] | undefined | null, numMessages ?: number, flags ?: number, cancellable ?: AuGIO.Cancellable | undefined | null): number | bigint; + receiveWithBlocking(buffer: number[], size: number | bigint, blocking: boolean, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + send(buffer: number[], size: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + sendMessage(address: AuGIO.SocketAddress | undefined | null, vectors: AuGIO.OutputVector[], numVectors: number, messages: AuGIO.SocketControlMessage[] | undefined | null, numMessages: number, flags: number, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + sendMessageWithTimeout(address: AuGIO.SocketAddress | undefined | null, vectors: AuGIO.OutputVector[], numVectors: number, messages: AuGIO.SocketControlMessage[] | undefined | null, numMessages: number, flags: number, timeoutUs: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.PollableReturn; + sendTo(address: AuGIO.SocketAddress | undefined | null, buffer: number[], size: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + sendWithBlocking(buffer: number[], size: number | bigint, blocking: boolean, cancellable: AuGIO.Cancellable | undefined | null): number | bigint; + setBlocking(blocking: boolean): void; + setBroadcast(broadcast: boolean): void; + setKeepalive(keepalive: boolean): void; + setListenBacklog(backlog: number): void; + setMulticastLoopback(loopback: boolean): void; + setMulticastTtl(ttl: number): void; + setOption(level: number, optname: number, value: number): boolean; + setTimeout(timeout: number): void; + setTtl(ttl: number): void; + shutdown(shutdownRead: boolean, shutdownWrite: boolean): boolean; + speaksIpv4(): boolean; + + conditionWait(condition: AuGlibEx.IOCondition,timeout: number|bigint,cancellable: Cancellable|null|undefined): boolean; + receiveMessages(messages: InputMessage[],numMessages: number,flags: number,timeout: number|bigint,cancellable: Cancellable|null|undefined): number; + sendMessages(messages: OutputMessage[],numMessages: number,flags: number,timeout: number|bigint,cancellable: Cancellable|null|undefined): number; //TypeScript is complete garbage: + createSource(condition: AuGlibEx.IOCondition, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source; + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class SocketCtor { + family ?: AuGIO.SocketFamily; + type ?: AuGIO.SocketType; + protocol ?: AuGIO.SocketProtocol; + fd ?: number; + blocking ?: boolean; + listenBacklog ?: number; + keepalive ?: boolean; + localAddress ?: AuGIO.SocketAddress; + remoteAddress ?: AuGIO.SocketAddress; + timeout ?: number; + ttl ?: number; + broadcast ?: boolean; + multicastLoopback ?: boolean; + multicastTtl ?: number; + } + + class SocketAddress extends GObject.Object implements AuGIO.SocketConnectable { + constructor(initializerList ?: SocketAddressCtor); + + parentInstance : GObject.Object; + + family : AuGIO.SocketFamily; + + static NewFromNative(len: number | bigint): AuGIO.SocketAddress; + getFamily(): AuGIO.SocketFamily; + getNativeSize(): number | bigint; + toNative(destlen: number | bigint): boolean; + //TypeScript is complete garbage: + enumerate(): AuGIO.SocketAddressEnumerator; + proxyEnumerate(): AuGIO.SocketAddressEnumerator; + } + + class SocketAddressCtor { + family ?: AuGIO.SocketFamily; + } + + class SocketAddressEnumerator extends GObject.Object { + constructor(initializerList ?: SocketAddressEnumeratorCtor); + + parentInstance : GObject.Object; + + next(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SocketAddress; + nextAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + nextFinish(result: AuGIO.AsyncResult): AuGIO.SocketAddress; + //TypeScript is complete garbage: + } + + class SocketAddressEnumeratorCtor { + } + + class SocketClient extends GObject.Object { + constructor(initializerList ?: SocketClientCtor); + + parentInstance : GObject.Object; + priv : AuGIO.SocketClientPrivate; + + enableProxy : boolean; + family : AuGIO.SocketFamily; + localAddress : AuGIO.SocketAddress; + protocol : AuGIO.SocketProtocol; + proxyResolver : AuGIO.ProxyResolver; + timeout : number; + tls : boolean; + tlsValidationFlags : AuGIO.TlsCertificateFlags; + type : AuGIO.SocketType; + + static New(): AuGIO.SocketClient; + addApplicationProxy(protocol: string): void; + connect(connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SocketConnection; + connectAsync(connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + connectFinish(result: AuGIO.AsyncResult): AuGIO.SocketConnection; + connectToHost(hostAndPort: string, defaultPort: number, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SocketConnection; + connectToHostAsync(hostAndPort: string, defaultPort: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + connectToHostFinish(result: AuGIO.AsyncResult): AuGIO.SocketConnection; + connectToService(domain: string, service: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SocketConnection; + connectToServiceAsync(domain: string, service: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + connectToServiceFinish(result: AuGIO.AsyncResult): AuGIO.SocketConnection; + connectToUri(uri: string, defaultPort: number, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SocketConnection; + connectToUriAsync(uri: string, defaultPort: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + connectToUriFinish(result: AuGIO.AsyncResult): AuGIO.SocketConnection; + getEnableProxy(): boolean; + getFamily(): AuGIO.SocketFamily; + getLocalAddress(): AuGIO.SocketAddress; + getProtocol(): AuGIO.SocketProtocol; + getProxyResolver(): AuGIO.ProxyResolver; + getSocketType(): AuGIO.SocketType; + getTimeout(): number; + getTls(): boolean; + getTlsValidationFlags(): AuGIO.TlsCertificateFlags; + setEnableProxy(enable: boolean): void; + setFamily(family: AuGIO.SocketFamily): void; + setLocalAddress(address: AuGIO.SocketAddress | undefined | null): void; + setProtocol(protocol: AuGIO.SocketProtocol): void; + setProxyResolver(proxyResolver: AuGIO.ProxyResolver | undefined | null): void; + setSocketType(type: AuGIO.SocketType): void; + setTimeout(timeout: number): void; + setTls(tls: boolean): void; + setTlsValidationFlags(flags: AuGIO.TlsCertificateFlags): void; + //TypeScript is complete garbage: + } + + class SocketClientCtor { + family ?: AuGIO.SocketFamily; + type ?: AuGIO.SocketType; + protocol ?: AuGIO.SocketProtocol; + localAddress ?: AuGIO.SocketAddress; + timeout ?: number; + enableProxy ?: boolean; + tls ?: boolean; + tlsValidationFlags ?: AuGIO.TlsCertificateFlags; + proxyResolver ?: AuGIO.ProxyResolver; + } + + class SocketClientEventListener extends AuGlibEx.IEventListener { + event(event: AuGIO.SocketClientEvent, connectable: AuGIO.SocketConnectable, connection: AuGIO.IOStream | undefined | null): void; + } + + class SocketConnection extends AuGIO.IOStream { + constructor(initializerList ?: SocketConnectionCtor); + + parentInstance : AuGIO.IOStream; + priv : AuGIO.SocketConnectionPrivate; + + socket : AuGIO.Socket; + + static FactoryLookupType(family: AuGIO.SocketFamily, type: AuGIO.SocketType, protocolId: number): number; + static FactoryRegisterType(gType: number, family: AuGIO.SocketFamily, type: AuGIO.SocketType, protocol: number): void; + connect(address: AuGIO.SocketAddress, cancellable: AuGIO.Cancellable | undefined | null): boolean; + connectAsync(address: AuGIO.SocketAddress, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + connectFinish(result: AuGIO.AsyncResult): boolean; + getLocalAddress(): AuGIO.SocketAddress; + getRemoteAddress(): AuGIO.SocketAddress; + getSocket(): AuGIO.Socket; + isConnected(): boolean; + //TypeScript is complete garbage: + } + + class SocketConnectionCtor { + inputStream ?: AuGIO.InputStream; + outputStream ?: AuGIO.OutputStream; + closed ?: boolean; + socket ?: AuGIO.Socket; + } + + class SocketControlMessage extends GObject.Object { + constructor(initializerList ?: SocketControlMessageCtor); + + parentInstance : GObject.Object; + priv : AuGIO.SocketControlMessagePrivate; + + static Deserialize(level: number, type: number, size: number | bigint, data: number[]): AuGIO.SocketControlMessage; + getLevel(): number; + getMsgType(): number; + getSize(): number | bigint; + serialize(): void; + //TypeScript is complete garbage: + } + + class SocketControlMessageCtor { + } + + class SocketListener extends GObject.Object { + constructor(initializerList ?: SocketListenerCtor); + + parentInstance : GObject.Object; + priv : AuGIO.SocketListenerPrivate; + + listenBacklog : number; + + static New(): AuGIO.SocketListener; + accept(sourceObject ?: GObject.Object | undefined | null, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.SocketConnection; + acceptAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + acceptFinish(result: AuGIO.AsyncResult, sourceObject ?: GObject.Object | undefined | null): AuGIO.SocketConnection; + acceptSocket(sourceObject ?: GObject.Object | undefined | null, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.Socket; + acceptSocketAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + acceptSocketFinish(result: AuGIO.AsyncResult, sourceObject ?: GObject.Object | undefined | null): AuGIO.Socket; + addAddress(address: AuGIO.SocketAddress, type: AuGIO.SocketType, protocol: AuGIO.SocketProtocol, sourceObject: GObject.Object | undefined | null, effectiveAddress ?: AuGIO.SocketAddress): boolean; + addAnyInetPort(sourceObject: GObject.Object | undefined | null): number; + addInetPort(port: number, sourceObject: GObject.Object | undefined | null): boolean; + addSocket(socket: AuGIO.Socket, sourceObject: GObject.Object | undefined | null): boolean; + close(): void; + setBacklog(listenBacklog: number): void; + //TypeScript is complete garbage: + } + + class SocketListenerCtor { + listenBacklog ?: number; + } + + class SocketListenerEventListener extends AuGlibEx.IEventListener { + event(event: AuGIO.SocketListenerEvent, socket: AuGIO.Socket): void; + } + + class SocketService extends AuGIO.SocketListener { + constructor(initializerList ?: SocketServiceCtor); + + parentInstance : AuGIO.SocketListener; + priv : AuGIO.SocketServicePrivate; + + active : boolean; + + isActive(): boolean; + start(): void; + stop(): void; + //TypeScript is complete garbage: + } + + class SocketServiceCtor { + listenBacklog ?: number; + active ?: boolean; + } + + class SocketServiceEventListener extends AuGlibEx.IEventListener { + incoming(connection: AuGIO.SocketConnection, sourceObject: GObject.Object | undefined | null): boolean; + } + + class Subprocess extends GObject.Object implements AuGIO.Initable { + constructor(initializerList ?: SubprocessCtor); + + argv : string[]; + flags : AuGIO.SubprocessFlags; + + static New(argv: string[], flags: AuGIO.SubprocessFlags): AuGIO.Subprocess; + communicate(stdinBuf: AuGlibEx.Bytes | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, stdoutBuf ?: AuGlibEx.Bytes | undefined | null, stderrBuf ?: AuGlibEx.Bytes | undefined | null): boolean; + communicateAsync(stdinBuf: AuGlibEx.Bytes | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + communicateFinish(result: AuGIO.AsyncResult, stdoutBuf ?: AuGlibEx.Bytes | undefined | null, stderrBuf ?: AuGlibEx.Bytes | undefined | null): boolean; + communicateUtf8(stdinBuf: string | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, stdoutBuf ?: string | undefined | null, stderrBuf ?: string | undefined | null): boolean; + communicateUtf8Async(stdinBuf: string | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + communicateUtf8Finish(result: AuGIO.AsyncResult, stdoutBuf ?: string | undefined | null, stderrBuf ?: string | undefined | null): boolean; + forceExit(): void; + getExitStatus(): number; + getIdentifier(): string; + getIfExited(): boolean; + getIfSignaled(): boolean; + getStatus(): number; + getStderrPipe(): AuGIO.InputStream; + getStdinPipe(): AuGIO.OutputStream; + getStdoutPipe(): AuGIO.InputStream; + getSuccessful(): boolean; + getTermSig(): number; + wait(cancellable: AuGIO.Cancellable | undefined | null): boolean; + waitAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + waitCheck(cancellable: AuGIO.Cancellable | undefined | null): boolean; + waitCheckAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + waitCheckFinish(result: AuGIO.AsyncResult): boolean; + waitFinish(result: AuGIO.AsyncResult): boolean; + //TypeScript is complete garbage: + init(cancellable: AuGIO.Cancellable | undefined | null): boolean; + } + + class SubprocessCtor { + flags ?: AuGIO.SubprocessFlags; + argv ?: any; + } + + class SubprocessLauncher extends GObject.Object { + constructor(initializerList ?: SubprocessLauncherCtor); + + flags : AuGIO.SubprocessFlags; + + static New(flags: AuGIO.SubprocessFlags): AuGIO.SubprocessLauncher; + getenv(variable: string): string; + setCwd(cwd: string): void; + setEnviron(env: string[]): void; + setFlags(flags: AuGIO.SubprocessFlags): void; + setenv(variable: string, value: string, overwrite: boolean): void; + spawnv(argv: string[]): AuGIO.Subprocess; + unsetenv(variable: string): void; + //TypeScript is complete garbage: + } + + class SubprocessLauncherCtor { + flags ?: AuGIO.SubprocessFlags; + } + + class Task extends GObject.Object implements AuGIO.AsyncResult { + constructor(initializerList ?: TaskCtor); + + completed : boolean; + + static New(sourceObject: GObject.Object | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): AuGIO.Task; + static IsValid(result: AuGIO.AsyncResult, sourceObject: GObject.Object | undefined | null): boolean; + static ReportError(sourceObject: GObject.Object | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null, error: AuGlibEx.Error): void; + getCancellable(): AuGIO.Cancellable; + getCheckCancellable(): boolean; + getCompleted(): boolean; + getContext(): AuGlibEx.MainContext; + getName(): string; + getPriority(): number; + getReturnOnCancel(): boolean; + getSourceObject(): GObject.Object; + getSourceTag(): void; + getTaskData(): void; + hadError(): boolean; + propagateBoolean(): boolean; + propagateInt(): number | bigint; + propagatePointer(): void; + propagateValue(value: GObject.Value): boolean; + returnBoolean(result: boolean): void; + returnError(error: AuGlibEx.Error): void; + returnErrorIfCancelled(): boolean; + returnInt(result: number | bigint): void; + returnPointer(resultDestroy: () => void | undefined | null): void; + returnValue(result: GObject.Value | undefined | null): void; + runInThread(taskFunc: (task: AuGIO.Task, sourceObject: GObject.Object, cancellable: AuGIO.Cancellable | undefined | null) => void): void; + runInThreadSync(taskFunc: (task: AuGIO.Task, sourceObject: GObject.Object, cancellable: AuGIO.Cancellable | undefined | null) => void): void; + setCheckCancellable(checkCancellable: boolean): void; + setName(name: string | undefined | null): void; + setPriority(priority: number): void; + setReturnOnCancel(returnOnCancel: boolean): boolean; + setSourceTag(): void; + setTaskData(taskDataDestroy: () => void | undefined | null): void; + //TypeScript is complete garbage: + getUserData(): void; + isTagged(): boolean; + legacyPropagateError(): boolean; + } + + class TaskCtor { + completed ?: boolean; + } + + class TcpConnection extends AuGIO.SocketConnection { + constructor(initializerList ?: TcpConnectionCtor); + + parentInstance : AuGIO.SocketConnection; + priv : AuGIO.TcpConnectionPrivate; + + gracefulDisconnect : boolean; + + getGracefulDisconnect(): boolean; + setGracefulDisconnect(gracefulDisconnect: boolean): void; + //TypeScript is complete garbage: + } + + class TcpConnectionCtor { + inputStream ?: AuGIO.InputStream; + outputStream ?: AuGIO.OutputStream; + closed ?: boolean; + socket ?: AuGIO.Socket; + gracefulDisconnect ?: boolean; + } + + class TcpWrapperConnection extends AuGIO.TcpConnection { + constructor(initializerList ?: TcpWrapperConnectionCtor); + + parentInstance : AuGIO.TcpConnection; + priv : AuGIO.TcpWrapperConnectionPrivate; + + baseIoStream : AuGIO.IOStream; + + static New(baseIoStream: AuGIO.IOStream, socket: AuGIO.Socket): AuGIO.SocketConnection; + getBaseIoStream(): AuGIO.IOStream; + //TypeScript is complete garbage: + } + + class TcpWrapperConnectionCtor { + inputStream ?: AuGIO.InputStream; + outputStream ?: AuGIO.OutputStream; + closed ?: boolean; + socket ?: AuGIO.Socket; + gracefulDisconnect ?: boolean; + baseIoStream ?: AuGIO.IOStream; + } + + class TestDBus extends GObject.Object { + constructor(initializerList ?: TestDBusCtor); + + flags : AuGIO.TestDBusFlags; + + static New(flags: AuGIO.TestDBusFlags): AuGIO.TestDBus; + static Unset(): void; + addServiceDir(path: string): void; + down(): void; + getBusAddress(): string; + getFlags(): AuGIO.TestDBusFlags; + stop(): void; + up(): void; + //TypeScript is complete garbage: + } + + class TestDBusCtor { + flags ?: AuGIO.TestDBusFlags; + } + + class ThemedIcon extends GObject.Object implements AuGIO.Icon { + constructor(initializerList ?: ThemedIconCtor); + + name : string; + names : string[]; + useDefaultFallbacks : boolean; + + static New(iconname: string): AuGIO.ThemedIcon; + static NewFromNames(iconnames: string[], len: number): AuGIO.ThemedIcon; + static NewWithDefaultFallbacks(iconname: string): AuGIO.ThemedIcon; + appendName(iconname: string): void; + getNames(): string[]; + prependName(iconname: string): void; + //TypeScript is complete garbage: + static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon; + static Hash(): number; + static NewForString(str: string): AuGIO.Icon; + equal(icon2: AuGIO.Icon | undefined | null): boolean; + serialize(): AuGlibEx.Variant; + } + + class ThemedIconCtor { + name ?: string; + names ?: any; + useDefaultFallbacks ?: boolean; + } + + class ThreadedSocketService extends AuGIO.SocketService { + constructor(initializerList ?: ThreadedSocketServiceCtor); + + parentInstance : AuGIO.SocketService; + priv : AuGIO.ThreadedSocketServicePrivate; + + maxThreads : number; + + //TypeScript is complete garbage: + } + + class ThreadedSocketServiceCtor { + listenBacklog ?: number; + active ?: boolean; + maxThreads ?: number; + } + + class ThreadedSocketServiceEventListener extends AuGlibEx.IEventListener { + run(connection: AuGIO.SocketConnection, sourceObject: GObject.Object | undefined | null): boolean; + } + + class TlsCertificate extends GObject.Object { + constructor(initializerList ?: TlsCertificateCtor); + + parentInstance : GObject.Object; + priv : AuGIO.TlsCertificatePrivate; + + certificate : number[]; + certificatePem : string; + issuer : AuGIO.TlsCertificate; + issuerName : string; + notValidAfter : AuGlibEx.DateTime; + notValidBefore : AuGlibEx.DateTime; + password : string; + pkcs11Uri : string; + pkcs12Data : number[]; + privateKey : number[]; + privateKeyPem : string; + privateKeyPkcs11Uri : string; + subjectName : string; + + static NewFromFile(file: string): AuGIO.TlsCertificate; + static NewFromFileWithPassword(file: string, password: string): AuGIO.TlsCertificate; + static NewFromFiles(certFile: string, keyFile: string): AuGIO.TlsCertificate; + static NewFromPem(data: string, length: number | bigint): AuGIO.TlsCertificate; + static NewFromPkcs11Uris(pkcs11Uri: string, privateKeyPkcs11Uri: string | undefined | null): AuGIO.TlsCertificate; + static NewFromPkcs12(data: number[], length: number | bigint, password: string | undefined | null): AuGIO.TlsCertificate; + static ListNewFromFile(file: string): AuGIO.TlsCertificate[]; + getDnsNames(): AuGlibEx.Bytes[]; + getIpAddresses(): AuGIO.InetAddress[]; + getIssuer(): AuGIO.TlsCertificate; + getIssuerName(): string; + getNotValidAfter(): AuGlibEx.DateTime; + getNotValidBefore(): AuGlibEx.DateTime; + getSubjectName(): string; + isSame(certTwo: AuGIO.TlsCertificate): boolean; + verify(identity: AuGIO.SocketConnectable | undefined | null, trustedCa: AuGIO.TlsCertificate | undefined | null): AuGIO.TlsCertificateFlags; + //TypeScript is complete garbage: + } + + class TlsCertificateCtor { + certificate ?: AuGlibEx.ByteArray; + certificatePem ?: string; + privateKey ?: AuGlibEx.ByteArray; + privateKeyPem ?: string; + issuer ?: AuGIO.TlsCertificate; + pkcs11Uri ?: string; + privateKeyPkcs11Uri ?: string; + notValidBefore ?: AuGlibEx.DateTime; + notValidAfter ?: AuGlibEx.DateTime; + subjectName ?: string; + issuerName ?: string; + dnsNames ?: AuGlibEx.PtrArray; + ipAddresses ?: AuGlibEx.PtrArray; + pkcs12Data ?: AuGlibEx.ByteArray; + password ?: string; + } + + class TlsConnection extends AuGIO.IOStream { + constructor(initializerList ?: TlsConnectionCtor); + + parentInstance : AuGIO.IOStream; + priv : AuGIO.TlsConnectionPrivate; + + advertisedProtocols : string[]; + baseIoStream : AuGIO.IOStream; + certificate : AuGIO.TlsCertificate; + ciphersuiteName : string; + database : AuGIO.TlsDatabase; + interaction : AuGIO.TlsInteraction; + negotiatedProtocol : string; + peerCertificate : AuGIO.TlsCertificate; + peerCertificateErrors : AuGIO.TlsCertificateFlags; + protocolVersion : AuGIO.TlsProtocolVersion; + rehandshakeMode : AuGIO.TlsRehandshakeMode; + requireCloseNotify : boolean; + useSystemCertdb : boolean; + + emitAcceptCertificate(peerCert: AuGIO.TlsCertificate, errors: AuGIO.TlsCertificateFlags): boolean; + getCertificate(): AuGIO.TlsCertificate; + getChannelBindingData(type: AuGIO.TlsChannelBindingType, data ?: number[]): boolean; + getCiphersuiteName(): string; + getDatabase(): AuGIO.TlsDatabase; + getInteraction(): AuGIO.TlsInteraction; + getNegotiatedProtocol(): string; + getPeerCertificate(): AuGIO.TlsCertificate; + getPeerCertificateErrors(): AuGIO.TlsCertificateFlags; + getProtocolVersion(): AuGIO.TlsProtocolVersion; + getRehandshakeMode(): AuGIO.TlsRehandshakeMode; + getRequireCloseNotify(): boolean; + getUseSystemCertdb(): boolean; + handshake(cancellable: AuGIO.Cancellable | undefined | null): boolean; + handshakeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + handshakeFinish(result: AuGIO.AsyncResult): boolean; + setAdvertisedProtocols(protocols: string[] | undefined | null): void; + setCertificate(certificate: AuGIO.TlsCertificate): void; + setDatabase(database: AuGIO.TlsDatabase | undefined | null): void; + setInteraction(interaction: AuGIO.TlsInteraction | undefined | null): void; + setRehandshakeMode(mode: AuGIO.TlsRehandshakeMode): void; + setRequireCloseNotify(requireCloseNotify: boolean): void; + setUseSystemCertdb(useSystemCertdb: boolean): void; + //TypeScript is complete garbage: + } + + class TlsConnectionCtor { + inputStream ?: AuGIO.InputStream; + outputStream ?: AuGIO.OutputStream; + closed ?: boolean; + baseIoStream ?: AuGIO.IOStream; + requireCloseNotify ?: boolean; + rehandshakeMode ?: AuGIO.TlsRehandshakeMode; + useSystemCertdb ?: boolean; + database ?: AuGIO.TlsDatabase; + interaction ?: AuGIO.TlsInteraction; + certificate ?: AuGIO.TlsCertificate; + peerCertificate ?: AuGIO.TlsCertificate; + peerCertificateErrors ?: AuGIO.TlsCertificateFlags; + advertisedProtocols ?: any; + negotiatedProtocol ?: string; + protocolVersion ?: AuGIO.TlsProtocolVersion; + ciphersuiteName ?: string; + } + + class TlsConnectionEventListener extends AuGlibEx.IEventListener { + acceptCertificate(peerCert: AuGIO.TlsCertificate, errors: AuGIO.TlsCertificateFlags): boolean; + } + + class TlsDatabase extends GObject.Object { + constructor(initializerList ?: TlsDatabaseCtor); + + parentInstance : GObject.Object; + priv : AuGIO.TlsDatabasePrivate; + + createCertificateHandle(certificate: AuGIO.TlsCertificate): string; + lookupCertificateForHandle(handle: string, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsCertificate; + lookupCertificateForHandleAsync(handle: string, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + lookupCertificateForHandleFinish(result: AuGIO.AsyncResult): AuGIO.TlsCertificate; + lookupCertificateIssuer(certificate: AuGIO.TlsCertificate, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsCertificate; + lookupCertificateIssuerAsync(certificate: AuGIO.TlsCertificate, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + lookupCertificateIssuerFinish(result: AuGIO.AsyncResult): AuGIO.TlsCertificate; + lookupCertificatesIssuedBy(issuerRawDn: number[], interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsCertificate[]; + lookupCertificatesIssuedByAsync(issuerRawDn: number[], interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + lookupCertificatesIssuedByFinish(result: AuGIO.AsyncResult): AuGIO.TlsCertificate[]; + verifyChain(chain: AuGIO.TlsCertificate, purpose: string, identity: AuGIO.SocketConnectable | undefined | null, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseVerifyFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsCertificateFlags; + verifyChainAsync(chain: AuGIO.TlsCertificate, purpose: string, identity: AuGIO.SocketConnectable | undefined | null, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseVerifyFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + verifyChainFinish(result: AuGIO.AsyncResult): AuGIO.TlsCertificateFlags; + //TypeScript is complete garbage: + } + + class TlsDatabaseCtor { + } + + class TlsInteraction extends GObject.Object { + constructor(initializerList ?: TlsInteractionCtor); + + parentInstance : GObject.Object; + priv : AuGIO.TlsInteractionPrivate; + + askPassword(password: AuGIO.TlsPassword, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsInteractionResult; + askPasswordAsync(password: AuGIO.TlsPassword, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + askPasswordFinish(result: AuGIO.AsyncResult): AuGIO.TlsInteractionResult; + invokeAskPassword(password: AuGIO.TlsPassword, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsInteractionResult; + invokeRequestCertificate(connection: AuGIO.TlsConnection, flags: AuGIO.TlsCertificateRequestFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsInteractionResult; + requestCertificate(connection: AuGIO.TlsConnection, flags: AuGIO.TlsCertificateRequestFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsInteractionResult; + requestCertificateAsync(connection: AuGIO.TlsConnection, flags: AuGIO.TlsCertificateRequestFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + requestCertificateFinish(result: AuGIO.AsyncResult): AuGIO.TlsInteractionResult; + //TypeScript is complete garbage: + } + + class TlsInteractionCtor { + } + + class TlsPassword extends GObject.Object { + constructor(initializerList ?: TlsPasswordCtor); + + parentInstance : GObject.Object; + priv : AuGIO.TlsPasswordPrivate; + + description : string; + flags : AuGIO.TlsPasswordFlags; + warning : string; + + static New(flags: AuGIO.TlsPasswordFlags, description: string): AuGIO.TlsPassword; + getDescription(): string; + getFlags(): AuGIO.TlsPasswordFlags; + getValue(length: number | bigint): number[]; + getWarning(): string; + setDescription(description: string): void; + setFlags(flags: AuGIO.TlsPasswordFlags): void; + setValue(value: number[], length: number | bigint): void; + setValueFull(value: number[], length: number | bigint, destroy: () => void | undefined | null): void; + setWarning(warning: string): void; + //TypeScript is complete garbage: + } + + class TlsPasswordCtor { + flags ?: AuGIO.TlsPasswordFlags; + description ?: string; + warning ?: string; + } + + class UnixConnection extends AuGIO.SocketConnection { + constructor(initializerList ?: UnixConnectionCtor); + + parentInstance : AuGIO.SocketConnection; + priv : AuGIO.UnixConnectionPrivate; + + receiveCredentials(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.Credentials; + receiveCredentialsAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + receiveCredentialsFinish(result: AuGIO.AsyncResult): AuGIO.Credentials; + receiveFd(cancellable: AuGIO.Cancellable | undefined | null): number; + sendCredentials(cancellable: AuGIO.Cancellable | undefined | null): boolean; + sendCredentialsAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + sendCredentialsFinish(result: AuGIO.AsyncResult): boolean; + sendFd(fd: number, cancellable: AuGIO.Cancellable | undefined | null): boolean; + //TypeScript is complete garbage: + } + + class UnixConnectionCtor { + inputStream ?: AuGIO.InputStream; + outputStream ?: AuGIO.OutputStream; + closed ?: boolean; + socket ?: AuGIO.Socket; + } + + class UnixCredentialsMessage extends AuGIO.SocketControlMessage { + constructor(initializerList ?: UnixCredentialsMessageCtor); + + parentInstance : AuGIO.SocketControlMessage; + priv : AuGIO.UnixCredentialsMessagePrivate; + + credentials : AuGIO.Credentials; + + static New(): AuGIO.SocketControlMessage; + static NewWithCredentials(credentials: AuGIO.Credentials): AuGIO.SocketControlMessage; + static IsSupported(): boolean; + getCredentials(): AuGIO.Credentials; + //TypeScript is complete garbage: + } + + class UnixCredentialsMessageCtor { + credentials ?: AuGIO.Credentials; + } + + class UnixSocketAddress extends AuGIO.SocketAddress implements AuGIO.SocketConnectable { + constructor(initializerList ?: UnixSocketAddressCtor); + + parentInstance : AuGIO.SocketAddress; + priv : AuGIO.UnixSocketAddressPrivate; + + abstract : boolean; + addressType : AuGIO.UnixSocketAddressType; + path : string; + pathAsArray : number[]; + + static New(path: string): AuGIO.SocketAddress; + static NewAbstract(path: number[], pathLen: number): AuGIO.SocketAddress; + static NewWithType(path: number[], pathLen: number, type: AuGIO.UnixSocketAddressType): AuGIO.SocketAddress; + static AbstractNamesSupported(): boolean; + getAddressType(): AuGIO.UnixSocketAddressType; + getIsAbstract(): boolean; + getPath(): string; + getPathLen(): number | bigint; + //TypeScript is complete garbage: + } + + class UnixSocketAddressCtor { + family ?: AuGIO.SocketFamily; + path ?: string; + pathAsArray ?: AuGlibEx.ByteArray; + abstract ?: boolean; + addressType ?: AuGIO.UnixSocketAddressType; + } + + class Vfs extends GObject.Object { + constructor(initializerList ?: VfsCtor); + + parentInstance : GObject.Object; + + static GetDefault(): AuGIO.Vfs; + static GetLocal(): AuGIO.Vfs; + getFileForPath(path: string): AuGIO.File; + getFileForUri(uri: string): AuGIO.File; + getSupportedUriSchemes(): string[]; + isActive(): boolean; + parseName(parseName: string): AuGIO.File; + registerUriScheme(scheme: string, uriFunc: (vfs: AuGIO.Vfs, identifier: string) => AuGIO.File | undefined | null, uriDestroy: () => void | undefined | null, parseNameFunc: (vfs: AuGIO.Vfs, identifier: string) => AuGIO.File | undefined | null, parseNameDestroy: () => void | undefined | null): boolean; + unregisterUriScheme(scheme: string): boolean; + //TypeScript is complete garbage: + } + + class VfsCtor { + } + + class VolumeMonitor extends GObject.Object { + constructor(initializerList ?: VolumeMonitorCtor); + + parentInstance : GObject.Object; + priv : void; + + static AdoptOrphanMount(mount: AuGIO.Mount): AuGIO.Volume; + static Get(): AuGIO.VolumeMonitor; + getConnectedDrives(): AuGIO.Drive[]; + getMountForUuid(uuid: string): AuGIO.Mount; + getMounts(): AuGIO.Mount[]; + getVolumeForUuid(uuid: string): AuGIO.Volume; + getVolumes(): AuGIO.Volume[]; + //TypeScript is complete garbage: + } + + class VolumeMonitorCtor { + } + + class VolumeMonitorEventListener extends AuGlibEx.IEventListener { + driveChanged(drive: AuGIO.Drive): void; + driveConnected(drive: AuGIO.Drive): void; + driveDisconnected(drive: AuGIO.Drive): void; + driveEjectButton(drive: AuGIO.Drive): void; + driveStopButton(drive: AuGIO.Drive): void; + mountAdded(mount: AuGIO.Mount): void; + mountChanged(mount: AuGIO.Mount): void; + mountPreUnmount(mount: AuGIO.Mount): void; + mountRemoved(mount: AuGIO.Mount): void; + volumeAdded(volume: AuGIO.Volume): void; + volumeChanged(volume: AuGIO.Volume): void; + volumeRemoved(volume: AuGIO.Volume): void; + } + + class ZlibCompressor extends GObject.Object implements AuGIO.Converter { + constructor(initializerList ?: ZlibCompressorCtor); + + fileInfo : AuGIO.FileInfo; + format : AuGIO.ZlibCompressorFormat; + level : number; + + static New(format: AuGIO.ZlibCompressorFormat, level: number): AuGIO.ZlibCompressor; + getFileInfo(): AuGIO.FileInfo; + setFileInfo(fileInfo: AuGIO.FileInfo | undefined | null): void; + //TypeScript is complete garbage: + convert(inbuf: number[], inbufSize: number | bigint, outbuf: number[], outbufSize: number | bigint, flags: AuGIO.ConverterFlags, bytesRead: number | bigint, bytesWritten: number | bigint): AuGIO.ConverterResult; + reset(): void; + } + + class ZlibCompressorCtor { + format ?: AuGIO.ZlibCompressorFormat; + level ?: number; + fileInfo ?: AuGIO.FileInfo; + } + + class ZlibDecompressor extends GObject.Object implements AuGIO.Converter { + constructor(initializerList ?: ZlibDecompressorCtor); + + fileInfo : AuGIO.FileInfo; + format : AuGIO.ZlibCompressorFormat; + + static New(format: AuGIO.ZlibCompressorFormat): AuGIO.ZlibDecompressor; + getFileInfo(): AuGIO.FileInfo; + //TypeScript is complete garbage: + convert(inbuf: number[], inbufSize: number | bigint, outbuf: number[], outbufSize: number | bigint, flags: AuGIO.ConverterFlags, bytesRead: number | bigint, bytesWritten: number | bigint): AuGIO.ConverterResult; + reset(): void; + } + + class ZlibDecompressorCtor { + format ?: AuGIO.ZlibCompressorFormat; + fileInfo ?: AuGIO.FileInfo; + } +} \ No newline at end of file diff --git a/Graphene.d.ts b/Graphene.d.ts new file mode 100644 index 0000000..f3442cd --- /dev/null +++ b/Graphene.d.ts @@ -0,0 +1,564 @@ +declare namespace Graphene { + + class EulerOrder { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": EulerOrder + static readonly "kXYz": EulerOrder + static readonly "kYZx": EulerOrder + static readonly "kZxy": EulerOrder + static readonly "kXZy": EulerOrder + static readonly "kYXz": EulerOrder + static readonly "kZyx": EulerOrder + static readonly "kSxyz": EulerOrder + static readonly "kSxyx": EulerOrder + static readonly "kSxzy": EulerOrder + static readonly "kSxzx": EulerOrder + static readonly "kSyzx": EulerOrder + static readonly "kSyzy": EulerOrder + static readonly "kSyxz": EulerOrder + static readonly "kSyxy": EulerOrder + static readonly "kSzxy": EulerOrder + static readonly "kSzxz": EulerOrder + static readonly "kSzyx": EulerOrder + static readonly "kSzyz": EulerOrder + static readonly "kRzyx": EulerOrder + static readonly "kRxyx": EulerOrder + static readonly "kRyzx": EulerOrder + static readonly "kRxzx": EulerOrder + static readonly "kRxzy": EulerOrder + static readonly "kRyzy": EulerOrder + static readonly "kRzxy": EulerOrder + static readonly "kRyxy": EulerOrder + static readonly "kRyxz": EulerOrder + static readonly "kRzxz": EulerOrder + static readonly "kRxyz": EulerOrder + static readonly "kRzyz": EulerOrder + } + + class RayIntersectionKind { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": RayIntersectionKind + static readonly "kEnter": RayIntersectionKind + static readonly "kLeave": RayIntersectionKind + } + + + class Box { + min : Graphene.Vec3; + max : Graphene.Vec3; + + static Alloc(): Graphene.Box; + containsBox(b: Graphene.Box): boolean; + containsPoint(point: Graphene.Point3D): boolean; + equal(b: Graphene.Box): boolean; + expand(point: Graphene.Point3D, res: Graphene.Box): void; + expandScalar(scalar: number, res: Graphene.Box): void; + expandVec3(vec: Graphene.Vec3, res: Graphene.Box): void; + free(): void; + getBoundingSphere(sphere: Graphene.Sphere): void; + getCenter(center: Graphene.Point3D): void; + getDepth(): number; + getHeight(): number; + getMax(max: Graphene.Point3D): void; + getMin(min: Graphene.Point3D): void; + getSize(size: Graphene.Vec3): void; + getVertices(vertices: Graphene.Vec3[]): void; + getWidth(): number; + init(min: Graphene.Point3D | undefined | null, max: Graphene.Point3D | undefined | null): Graphene.Box; + initFromBox(src: Graphene.Box): Graphene.Box; + initFromPoints(nPoints: number, points: Graphene.Point3D[]): Graphene.Box; + initFromVec3(min: Graphene.Vec3 | undefined | null, max: Graphene.Vec3 | undefined | null): Graphene.Box; + initFromVectors(nVectors: number, vectors: Graphene.Vec3[]): Graphene.Box; + intersection(b: Graphene.Box, res ?: Graphene.Box): boolean; + union(b: Graphene.Box, res: Graphene.Box): void; + static Empty(): Graphene.Box; + static Infinite(): Graphene.Box; + static MinusOne(): Graphene.Box; + static One(): Graphene.Box; + static OneMinusOne(): Graphene.Box; + static Zero(): Graphene.Box; + } + + class Euler { + angles : Graphene.Vec3; + order : Graphene.EulerOrder; + + static Alloc(): Graphene.Euler; + equal(b: Graphene.Euler): boolean; + free(): void; + getAlpha(): number; + getBeta(): number; + getGamma(): number; + getOrder(): Graphene.EulerOrder; + getX(): number; + getY(): number; + getZ(): number; + init(x: number, y: number, z: number): Graphene.Euler; + initFromEuler(src: Graphene.Euler | undefined | null): Graphene.Euler; + initFromMatrix(m: Graphene.Matrix | undefined | null, order: Graphene.EulerOrder): Graphene.Euler; + initFromQuaternion(q: Graphene.Quaternion | undefined | null, order: Graphene.EulerOrder): Graphene.Euler; + initFromRadians(x: number, y: number, z: number, order: Graphene.EulerOrder): Graphene.Euler; + initFromVec3(v: Graphene.Vec3 | undefined | null, order: Graphene.EulerOrder): Graphene.Euler; + initWithOrder(x: number, y: number, z: number, order: Graphene.EulerOrder): Graphene.Euler; + reorder(order: Graphene.EulerOrder, res: Graphene.Euler): void; + toMatrix(res: Graphene.Matrix): void; + toQuaternion(res: Graphene.Quaternion): void; + toVec3(res: Graphene.Vec3): void; + } + + class Frustum { + planes : Graphene.Plane[]; + + static Alloc(): Graphene.Frustum; + containsPoint(point: Graphene.Point3D): boolean; + equal(b: Graphene.Frustum): boolean; + free(): void; + getPlanes(planes: Graphene.Plane[]): void; + init(p0: Graphene.Plane, p1: Graphene.Plane, p2: Graphene.Plane, p3: Graphene.Plane, p4: Graphene.Plane, p5: Graphene.Plane): Graphene.Frustum; + initFromFrustum(src: Graphene.Frustum): Graphene.Frustum; + initFromMatrix(matrix: Graphene.Matrix): Graphene.Frustum; + intersectsBox(box: Graphene.Box): boolean; + intersectsSphere(sphere: Graphene.Sphere): boolean; + } + + class Matrix { + value : Graphene.Simd4X4F; + + static Alloc(): Graphene.Matrix; + decompose(translate: Graphene.Vec3, scale: Graphene.Vec3, rotate: Graphene.Quaternion, shear: Graphene.Vec3, perspective: Graphene.Vec4): boolean; + determinant(): number; + equal(b: Graphene.Matrix): boolean; + equalFast(b: Graphene.Matrix): boolean; + free(): void; + getRow(index: number, res: Graphene.Vec4): void; + getValue(row: number, col: number): number; + getXScale(): number; + getXTranslation(): number; + getYScale(): number; + getYTranslation(): number; + getZScale(): number; + getZTranslation(): number; + initFrom2d(XX: number, YX: number, XY: number, YY: number, X0: number, Y0: number): Graphene.Matrix; + initFromFloat(v: number[]): Graphene.Matrix; + initFromMatrix(src: Graphene.Matrix): Graphene.Matrix; + initFromVec4(v0: Graphene.Vec4, v1: Graphene.Vec4, v2: Graphene.Vec4, v3: Graphene.Vec4): Graphene.Matrix; + initFrustum(left: number, right: number, bottom: number, top: number, zNear: number, zFar: number): Graphene.Matrix; + initIdentity(): Graphene.Matrix; + initLookAt(eye: Graphene.Vec3, center: Graphene.Vec3, up: Graphene.Vec3): Graphene.Matrix; + initOrtho(left: number, right: number, top: number, bottom: number, zNear: number, zFar: number): Graphene.Matrix; + initPerspective(fovy: number, aspect: number, zNear: number, zFar: number): Graphene.Matrix; + initRotate(angle: number, axis: Graphene.Vec3): Graphene.Matrix; + initScale(x: number, y: number, z: number): Graphene.Matrix; + initSkew(XSkew: number, YSkew: number): Graphene.Matrix; + initTranslate(p: Graphene.Point3D): Graphene.Matrix; + interpolate(b: Graphene.Matrix, factor: number, res: Graphene.Matrix): void; + inverse(res: Graphene.Matrix): boolean; + is2d(): boolean; + isBackfaceVisible(): boolean; + isIdentity(): boolean; + isSingular(): boolean; + multiply(b: Graphene.Matrix, res: Graphene.Matrix): void; + near(b: Graphene.Matrix, epsilon: number): boolean; + normalize(res: Graphene.Matrix): void; + perspective(depth: number, res: Graphene.Matrix): void; + print(): void; + projectPoint(p: Graphene.Point, res: Graphene.Point): void; + projectRect(r: Graphene.Rect, res: Graphene.Quad): void; + projectRectBounds(r: Graphene.Rect, res: Graphene.Rect): void; + rotate(angle: number, axis: Graphene.Vec3): void; + rotateEuler(e: Graphene.Euler): void; + rotateQuaternion(q: Graphene.Quaternion): void; + rotateX(angle: number): void; + rotateY(angle: number): void; + rotateZ(angle: number): void; + scale(factorX: number, factorY: number, factorZ: number): void; + skewXY(factor: number): void; + skewXZ(factor: number): void; + skewYZ(factor: number): void; + to2d(XX: number, YX: number, XY: number, YY: number, X0: number, Y0: number): boolean; + toFloat(v: number[]): void; + transformBounds(r: Graphene.Rect, res: Graphene.Rect): void; + transformBox(b: Graphene.Box, res: Graphene.Box): void; + transformPoint(p: Graphene.Point, res: Graphene.Point): void; + transformPoint3d(p: Graphene.Point3D, res: Graphene.Point3D): void; + transformRay(r: Graphene.Ray, res: Graphene.Ray): void; + transformRect(r: Graphene.Rect, res: Graphene.Quad): void; + transformSphere(s: Graphene.Sphere, res: Graphene.Sphere): void; + transformVec3(v: Graphene.Vec3, res: Graphene.Vec3): void; + transformVec4(v: Graphene.Vec4, res: Graphene.Vec4): void; + translate(pos: Graphene.Point3D): void; + transpose(res: Graphene.Matrix): void; + unprojectPoint3d(modelview: Graphene.Matrix, point: Graphene.Point3D, res: Graphene.Point3D): void; + untransformBounds(r: Graphene.Rect, bounds: Graphene.Rect, res: Graphene.Rect): void; + untransformPoint(p: Graphene.Point, bounds: Graphene.Rect, res: Graphene.Point): boolean; + } + + class Plane { + normal : Graphene.Vec3; + constant : number; + + static Alloc(): Graphene.Plane; + distance(point: Graphene.Point3D): number; + equal(b: Graphene.Plane): boolean; + free(): void; + getConstant(): number; + getNormal(normal: Graphene.Vec3): void; + init(normal: Graphene.Vec3 | undefined | null, constant: number): Graphene.Plane; + initFromPlane(src: Graphene.Plane): Graphene.Plane; + initFromPoint(normal: Graphene.Vec3, point: Graphene.Point3D): Graphene.Plane; + initFromPoints(a: Graphene.Point3D, b: Graphene.Point3D, c: Graphene.Point3D): Graphene.Plane; + initFromVec4(src: Graphene.Vec4): Graphene.Plane; + negate(res: Graphene.Plane): void; + normalize(res: Graphene.Plane): void; + transform(matrix: Graphene.Matrix, normalMatrix: Graphene.Matrix | undefined | null, res: Graphene.Plane): void; + } + + class Point { + x : number; + y : number; + + static Alloc(): Graphene.Point; + distance(b: Graphene.Point, dX ?: number, dY ?: number): number; + equal(b: Graphene.Point): boolean; + free(): void; + init(x: number, y: number): Graphene.Point; + initFromPoint(src: Graphene.Point): Graphene.Point; + initFromVec2(src: Graphene.Vec2): Graphene.Point; + interpolate(b: Graphene.Point, factor: number, res: Graphene.Point): void; + near(b: Graphene.Point, epsilon: number): boolean; + toVec2(v: Graphene.Vec2): void; + static Zero(): Graphene.Point; + } + + class Point3D { + x : number; + y : number; + z : number; + + static Alloc(): Graphene.Point3D; + cross(b: Graphene.Point3D, res: Graphene.Point3D): void; + distance(b: Graphene.Point3D, delta ?: Graphene.Vec3): number; + dot(b: Graphene.Point3D): number; + equal(b: Graphene.Point3D): boolean; + free(): void; + init(x: number, y: number, z: number): Graphene.Point3D; + initFromPoint(src: Graphene.Point3D): Graphene.Point3D; + initFromVec3(v: Graphene.Vec3): Graphene.Point3D; + interpolate(b: Graphene.Point3D, factor: number, res: Graphene.Point3D): void; + length(): number; + near(b: Graphene.Point3D, epsilon: number): boolean; + normalize(res: Graphene.Point3D): void; + normalizeViewport(viewport: Graphene.Rect, zNear: number, zFar: number, res: Graphene.Point3D): void; + scale(factor: number, res: Graphene.Point3D): void; + toVec3(v: Graphene.Vec3): void; + static Zero(): Graphene.Point3D; + } + + class Quad { + points : Graphene.Point[]; + + static Alloc(): Graphene.Quad; + bounds(r: Graphene.Rect): void; + contains(p: Graphene.Point): boolean; + free(): void; + getPoint(index: number): Graphene.Point; + init(p1: Graphene.Point, p2: Graphene.Point, p3: Graphene.Point, p4: Graphene.Point): Graphene.Quad; + initFromPoints(points: Graphene.Point[]): Graphene.Quad; + initFromRect(r: Graphene.Rect): Graphene.Quad; + } + + class Quaternion { + x : number; + y : number; + z : number; + w : number; + + static Alloc(): Graphene.Quaternion; + add(b: Graphene.Quaternion, res: Graphene.Quaternion): void; + dot(b: Graphene.Quaternion): number; + equal(b: Graphene.Quaternion): boolean; + free(): void; + init(x: number, y: number, z: number, w: number): Graphene.Quaternion; + initFromAngleVec3(angle: number, axis: Graphene.Vec3): Graphene.Quaternion; + initFromAngles(degX: number, degY: number, degZ: number): Graphene.Quaternion; + initFromEuler(e: Graphene.Euler): Graphene.Quaternion; + initFromMatrix(m: Graphene.Matrix): Graphene.Quaternion; + initFromQuaternion(src: Graphene.Quaternion): Graphene.Quaternion; + initFromRadians(radX: number, radY: number, radZ: number): Graphene.Quaternion; + initFromVec4(src: Graphene.Vec4): Graphene.Quaternion; + initIdentity(): Graphene.Quaternion; + invert(res: Graphene.Quaternion): void; + multiply(b: Graphene.Quaternion, res: Graphene.Quaternion): void; + normalize(res: Graphene.Quaternion): void; + scale(factor: number, res: Graphene.Quaternion): void; + slerp(b: Graphene.Quaternion, factor: number, res: Graphene.Quaternion): void; + toAngleVec3(angle: number, axis: Graphene.Vec3): void; + toAngles(degX ?: number, degY ?: number, degZ ?: number): void; + toMatrix(m: Graphene.Matrix): void; + toRadians(radX ?: number, radY ?: number, radZ ?: number): void; + toVec4(res: Graphene.Vec4): void; + } + + class Ray { + origin : Graphene.Vec3; + direction : Graphene.Vec3; + + static Alloc(): Graphene.Ray; + equal(b: Graphene.Ray): boolean; + free(): void; + getClosestPointToPoint(p: Graphene.Point3D, res: Graphene.Point3D): void; + getDirection(direction: Graphene.Vec3): void; + getDistanceToPlane(p: Graphene.Plane): number; + getDistanceToPoint(p: Graphene.Point3D): number; + getOrigin(origin: Graphene.Point3D): void; + getPositionAt(t: number, position: Graphene.Point3D): void; + init(origin: Graphene.Point3D | undefined | null, direction: Graphene.Vec3 | undefined | null): Graphene.Ray; + initFromRay(src: Graphene.Ray): Graphene.Ray; + initFromVec3(origin: Graphene.Vec3 | undefined | null, direction: Graphene.Vec3 | undefined | null): Graphene.Ray; + intersectBox(b: Graphene.Box, tOut: number): Graphene.RayIntersectionKind; + intersectSphere(s: Graphene.Sphere, tOut: number): Graphene.RayIntersectionKind; + intersectTriangle(t: Graphene.Triangle, tOut: number): Graphene.RayIntersectionKind; + intersectsBox(b: Graphene.Box): boolean; + intersectsSphere(s: Graphene.Sphere): boolean; + intersectsTriangle(t: Graphene.Triangle): boolean; + } + + class Rect { + origin : Graphene.Point; + size : Graphene.Size; + + containsPoint(p: Graphene.Point): boolean; + containsRect(b: Graphene.Rect): boolean; + equal(b: Graphene.Rect): boolean; + expand(p: Graphene.Point, res: Graphene.Rect): void; + free(): void; + getArea(): number; + getBottomLeft(p: Graphene.Point): void; + getBottomRight(p: Graphene.Point): void; + getCenter(p: Graphene.Point): void; + getHeight(): number; + getTopLeft(p: Graphene.Point): void; + getTopRight(p: Graphene.Point): void; + getVertices(vertices: Graphene.Vec2[]): void; + getWidth(): number; + getX(): number; + getY(): number; + init(x: number, y: number, width: number, height: number): Graphene.Rect; + initFromRect(src: Graphene.Rect): Graphene.Rect; + inset(dX: number, dY: number): Graphene.Rect; + insetR(dX: number, dY: number, res: Graphene.Rect): void; + interpolate(b: Graphene.Rect, factor: number, res: Graphene.Rect): void; + intersection(b: Graphene.Rect, res ?: Graphene.Rect): boolean; + normalize(): Graphene.Rect; + normalizeR(res: Graphene.Rect): void; + offset(dX: number, dY: number): Graphene.Rect; + offsetR(dX: number, dY: number, res: Graphene.Rect): void; + round(res: Graphene.Rect): void; + roundExtents(res: Graphene.Rect): void; + roundToPixel(): Graphene.Rect; + scale(sH: number, sV: number, res: Graphene.Rect): void; + union(b: Graphene.Rect, res: Graphene.Rect): void; + static Alloc(): Graphene.Rect; + static Zero(): Graphene.Rect; + } + + class Simd4F { + x : number; + y : number; + z : number; + w : number; + + } + + class Simd4X4F { + x : Graphene.Simd4F; + y : Graphene.Simd4F; + z : Graphene.Simd4F; + w : Graphene.Simd4F; + + } + + class Size { + width : number; + height : number; + + static Alloc(): Graphene.Size; + equal(b: Graphene.Size): boolean; + free(): void; + init(width: number, height: number): Graphene.Size; + initFromSize(src: Graphene.Size): Graphene.Size; + interpolate(b: Graphene.Size, factor: number, res: Graphene.Size): void; + scale(factor: number, res: Graphene.Size): void; + static Zero(): Graphene.Size; + } + + class Sphere { + center : Graphene.Vec3; + radius : number; + + static Alloc(): Graphene.Sphere; + containsPoint(point: Graphene.Point3D): boolean; + distance(point: Graphene.Point3D): number; + equal(b: Graphene.Sphere): boolean; + free(): void; + getBoundingBox(box: Graphene.Box): void; + getCenter(center: Graphene.Point3D): void; + getRadius(): number; + init(center: Graphene.Point3D | undefined | null, radius: number): Graphene.Sphere; + initFromPoints(nPoints: number, points: Graphene.Point3D[], center: Graphene.Point3D | undefined | null): Graphene.Sphere; + initFromVectors(nVectors: number, vectors: Graphene.Vec3[], center: Graphene.Point3D | undefined | null): Graphene.Sphere; + isEmpty(): boolean; + translate(point: Graphene.Point3D, res: Graphene.Sphere): void; + } + + class Triangle { + a : Graphene.Vec3; + b : Graphene.Vec3; + c : Graphene.Vec3; + + static Alloc(): Graphene.Triangle; + containsPoint(p: Graphene.Point3D): boolean; + equal(b: Graphene.Triangle): boolean; + free(): void; + getArea(): number; + getBarycoords(p: Graphene.Point3D | undefined | null, res: Graphene.Vec2): boolean; + getBoundingBox(res: Graphene.Box): void; + getMidpoint(res: Graphene.Point3D): void; + getNormal(res: Graphene.Vec3): void; + getPlane(res: Graphene.Plane): void; + getPoints(a ?: Graphene.Point3D, b ?: Graphene.Point3D, c ?: Graphene.Point3D): void; + getUv(p: Graphene.Point3D | undefined | null, uvA: Graphene.Vec2, uvB: Graphene.Vec2, uvC: Graphene.Vec2, res: Graphene.Vec2): boolean; + getVertices(a ?: Graphene.Vec3, b ?: Graphene.Vec3, c ?: Graphene.Vec3): void; + initFromFloat(a: number[], b: number[], c: number[]): Graphene.Triangle; + initFromPoint3d(a: Graphene.Point3D | undefined | null, b: Graphene.Point3D | undefined | null, c: Graphene.Point3D | undefined | null): Graphene.Triangle; + initFromVec3(a: Graphene.Vec3 | undefined | null, b: Graphene.Vec3 | undefined | null, c: Graphene.Vec3 | undefined | null): Graphene.Triangle; + } + + class Vec2 { + value : Graphene.Simd4F; + + static Alloc(): Graphene.Vec2; + add(b: Graphene.Vec2, res: Graphene.Vec2): void; + divide(b: Graphene.Vec2, res: Graphene.Vec2): void; + dot(b: Graphene.Vec2): number; + equal(v2: Graphene.Vec2): boolean; + free(): void; + getX(): number; + getY(): number; + init(x: number, y: number): Graphene.Vec2; + initFromFloat(src: number[]): Graphene.Vec2; + initFromVec2(src: Graphene.Vec2): Graphene.Vec2; + interpolate(v2: Graphene.Vec2, factor: number, res: Graphene.Vec2): void; + length(): number; + max(b: Graphene.Vec2, res: Graphene.Vec2): void; + min(b: Graphene.Vec2, res: Graphene.Vec2): void; + multiply(b: Graphene.Vec2, res: Graphene.Vec2): void; + near(v2: Graphene.Vec2, epsilon: number): boolean; + negate(res: Graphene.Vec2): void; + normalize(res: Graphene.Vec2): void; + scale(factor: number, res: Graphene.Vec2): void; + subtract(b: Graphene.Vec2, res: Graphene.Vec2): void; + toFloat(dest: number[]): void; + static One(): Graphene.Vec2; + static XAxis(): Graphene.Vec2; + static YAxis(): Graphene.Vec2; + static Zero(): Graphene.Vec2; + } + + class Vec3 { + value : Graphene.Simd4F; + + static Alloc(): Graphene.Vec3; + add(b: Graphene.Vec3, res: Graphene.Vec3): void; + cross(b: Graphene.Vec3, res: Graphene.Vec3): void; + divide(b: Graphene.Vec3, res: Graphene.Vec3): void; + dot(b: Graphene.Vec3): number; + equal(v2: Graphene.Vec3): boolean; + free(): void; + getX(): number; + getXY(res: Graphene.Vec2): void; + getXY0(res: Graphene.Vec3): void; + getXYz0(res: Graphene.Vec4): void; + getXYz1(res: Graphene.Vec4): void; + getXYzw(w: number, res: Graphene.Vec4): void; + getY(): number; + getZ(): number; + init(x: number, y: number, z: number): Graphene.Vec3; + initFromFloat(src: number[]): Graphene.Vec3; + initFromVec3(src: Graphene.Vec3): Graphene.Vec3; + interpolate(v2: Graphene.Vec3, factor: number, res: Graphene.Vec3): void; + length(): number; + max(b: Graphene.Vec3, res: Graphene.Vec3): void; + min(b: Graphene.Vec3, res: Graphene.Vec3): void; + multiply(b: Graphene.Vec3, res: Graphene.Vec3): void; + near(v2: Graphene.Vec3, epsilon: number): boolean; + negate(res: Graphene.Vec3): void; + normalize(res: Graphene.Vec3): void; + scale(factor: number, res: Graphene.Vec3): void; + subtract(b: Graphene.Vec3, res: Graphene.Vec3): void; + toFloat(dest: number[]): void; + static One(): Graphene.Vec3; + static XAxis(): Graphene.Vec3; + static YAxis(): Graphene.Vec3; + static ZAxis(): Graphene.Vec3; + static Zero(): Graphene.Vec3; + } + + class Vec4 { + value : Graphene.Simd4F; + + static Alloc(): Graphene.Vec4; + add(b: Graphene.Vec4, res: Graphene.Vec4): void; + divide(b: Graphene.Vec4, res: Graphene.Vec4): void; + dot(b: Graphene.Vec4): number; + equal(v2: Graphene.Vec4): boolean; + free(): void; + getW(): number; + getX(): number; + getXY(res: Graphene.Vec2): void; + getXYz(res: Graphene.Vec3): void; + getY(): number; + getZ(): number; + init(x: number, y: number, z: number, w: number): Graphene.Vec4; + initFromFloat(src: number[]): Graphene.Vec4; + initFromVec2(src: Graphene.Vec2, z: number, w: number): Graphene.Vec4; + initFromVec3(src: Graphene.Vec3, w: number): Graphene.Vec4; + initFromVec4(src: Graphene.Vec4): Graphene.Vec4; + interpolate(v2: Graphene.Vec4, factor: number, res: Graphene.Vec4): void; + length(): number; + max(b: Graphene.Vec4, res: Graphene.Vec4): void; + min(b: Graphene.Vec4, res: Graphene.Vec4): void; + multiply(b: Graphene.Vec4, res: Graphene.Vec4): void; + near(v2: Graphene.Vec4, epsilon: number): boolean; + negate(res: Graphene.Vec4): void; + normalize(res: Graphene.Vec4): void; + scale(factor: number, res: Graphene.Vec4): void; + subtract(b: Graphene.Vec4, res: Graphene.Vec4): void; + toFloat(dest: number[]): void; + static One(): Graphene.Vec4; + static WAxis(): Graphene.Vec4; + static XAxis(): Graphene.Vec4; + static YAxis(): Graphene.Vec4; + static ZAxis(): Graphene.Vec4; + static Zero(): Graphene.Vec4; + } + +} \ No newline at end of file diff --git a/Gsk.d.ts b/Gsk.d.ts new file mode 100644 index 0000000..8e469dd --- /dev/null +++ b/Gsk.d.ts @@ -0,0 +1,712 @@ +declare namespace Gsk { + class BlendMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": BlendMode + static readonly "kMultiply": BlendMode + static readonly "kScreen": BlendMode + static readonly "kOverlay": BlendMode + static readonly "kDarken": BlendMode + static readonly "kLighten": BlendMode + static readonly "kColorDodge": BlendMode + static readonly "kColorBurn": BlendMode + static readonly "kHardLight": BlendMode + static readonly "kSoftLight": BlendMode + static readonly "kDifference": BlendMode + static readonly "kExclusion": BlendMode + static readonly "kColor": BlendMode + static readonly "kHue": BlendMode + static readonly "kSaturation": BlendMode + static readonly "kLuminosity": BlendMode + } + + class Corner { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kTopLeft": Corner + static readonly "kTopRight": Corner + static readonly "kBottomRight": Corner + static readonly "kBottomLeft": Corner + } + + class GLUniformType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": GLUniformType + static readonly "kFloat": GLUniformType + static readonly "kInt": GLUniformType + static readonly "kUint": GLUniformType + static readonly "kBool": GLUniformType + static readonly "kVec2": GLUniformType + static readonly "kVec3": GLUniformType + static readonly "kVec4": GLUniformType + } + + class RenderNodeType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNotARenderNode": RenderNodeType + static readonly "kContainerNode": RenderNodeType + static readonly "kCairoNode": RenderNodeType + static readonly "kColorNode": RenderNodeType + static readonly "kLinearGradientNode": RenderNodeType + static readonly "kRepeatingLinearGradientNode": RenderNodeType + static readonly "kRadialGradientNode": RenderNodeType + static readonly "kRepeatingRadialGradientNode": RenderNodeType + static readonly "kConicGradientNode": RenderNodeType + static readonly "kBorderNode": RenderNodeType + static readonly "kTextureNode": RenderNodeType + static readonly "kTextureScaleNode": RenderNodeType + static readonly "kInsetShadowNode": RenderNodeType + static readonly "kOutsetShadowNode": RenderNodeType + static readonly "kTransformNode": RenderNodeType + static readonly "kOpacityNode": RenderNodeType + static readonly "kColorMatrixNode": RenderNodeType + static readonly "kRepeatNode": RenderNodeType + static readonly "kClipNode": RenderNodeType + static readonly "kRoundedClipNode": RenderNodeType + static readonly "kShadowNode": RenderNodeType + static readonly "kBlendNode": RenderNodeType + static readonly "kMaskNode": RenderNodeType + static readonly "kCrossFadeNode": RenderNodeType + static readonly "kTextNode": RenderNodeType + static readonly "kBlurNode": RenderNodeType + static readonly "kDebugNode": RenderNodeType + static readonly "kGlShaderNode": RenderNodeType + } + + class ScalingFilter { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLinear": ScalingFilter + static readonly "kNearest": ScalingFilter + static readonly "kTrilinear": ScalingFilter + } + + class SerializationError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnsupportedFormat": SerializationError + static readonly "kUnsupportedVersion": SerializationError + static readonly "kInvalidData": SerializationError + } + + class TransformCategory { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": TransformCategory + static readonly "kAny": TransformCategory + static readonly "k3d": TransformCategory + static readonly "k2d": TransformCategory + static readonly "k2dAffine": TransformCategory + static readonly "k2dTranslate": TransformCategory + static readonly "kIdentity": TransformCategory + } + + + class CairoRendererClass { + } + + class ColorStop { + offset : number; + color : AuGDK.RGBA; + + } + + class GLRendererClass { + } + + class GLShaderClass { + parentClass : GObject.ObjectClass; + + } + + class ParseLocation { + bytes : number | bigint; + chars : number | bigint; + lines : number | bigint; + lineBytes : number | bigint; + lineChars : number | bigint; + + } + + class RendererClass { + } + + class RoundedRect { + bounds : Graphene.Rect; + corner : Graphene.Size[]; + + containsPoint(point: Graphene.Point): boolean; + containsRect(rect: Graphene.Rect): boolean; + init(bounds: Graphene.Rect, topLeft: Graphene.Size, topRight: Graphene.Size, bottomRight: Graphene.Size, bottomLeft: Graphene.Size): Gsk.RoundedRect; + initCopy(src: Gsk.RoundedRect): Gsk.RoundedRect; + initFromRect(bounds: Graphene.Rect, radius: number): Gsk.RoundedRect; + intersectsRect(rect: Graphene.Rect): boolean; + isRectilinear(): boolean; + normalize(): Gsk.RoundedRect; + offset(dx: number, dy: number): Gsk.RoundedRect; + shrink(top: number, right: number, bottom: number, left: number): Gsk.RoundedRect; + } + + class ShaderArgsBuilder { + static New(shader: Gsk.GLShader, initialValues: AuGlibEx.Bytes | undefined | null): Gsk.ShaderArgsBuilder; + ref(): Gsk.ShaderArgsBuilder; + setBool(idx: number, value: boolean): void; + setFloat(idx: number, value: number): void; + setInt(idx: number, value: number): void; + setUint(idx: number, value: number): void; + setVec2(idx: number, value: Graphene.Vec2): void; + setVec3(idx: number, value: Graphene.Vec3): void; + setVec4(idx: number, value: Graphene.Vec4): void; + toArgs(): AuGlibEx.Bytes; + unref(): void; + } + + class Shadow { + color : AuGDK.RGBA; + dx : number; + dy : number; + radius : number; + + } + + class Transform { + static New(): Gsk.Transform; + equal(second: Gsk.Transform | undefined | null): boolean; + getCategory(): Gsk.TransformCategory; + invert(): Gsk.Transform; + matrix(matrix: Graphene.Matrix): Gsk.Transform; + perspective(depth: number): Gsk.Transform; + print(string: AuGlibEx.String): void; + ref(): Gsk.Transform; + rotate(angle: number): Gsk.Transform; + rotate3d(angle: number, axis: Graphene.Vec3): Gsk.Transform; + scale(factorX: number, factorY: number): Gsk.Transform; + scale3d(factorX: number, factorY: number, factorZ: number): Gsk.Transform; + skew(skewX: number, skewY: number): Gsk.Transform; + to2d(outXX: number, outYX: number, outXY: number, outYY: number, outDx: number, outDy: number): void; + to2dComponents(outSkewX: number, outSkewY: number, outScaleX: number, outScaleY: number, outAngle: number, outDx: number, outDy: number): void; + toAffine(outScaleX: number, outScaleY: number, outDx: number, outDy: number): void; + toMatrix(outMatrix: Graphene.Matrix): void; + toTranslate(outDx: number, outDy: number): void; + transform(other: Gsk.Transform | undefined | null): Gsk.Transform; + transformBounds(rect: Graphene.Rect, outRect: Graphene.Rect): void; + transformPoint(point: Graphene.Point, outPoint: Graphene.Point): void; + translate(point: Graphene.Point): Gsk.Transform; + translate3d(point: Graphene.Point3D): Gsk.Transform; + unref(): void; + static Parse(string: string, outTransform: Gsk.Transform): boolean; + } + + + class BlendNode extends Gsk.RenderNode { + constructor(initializerList ?: BlendNodeCtor); + + static New(bottom: Gsk.RenderNode, top: Gsk.RenderNode, blendMode: Gsk.BlendMode): Gsk.BlendNode; + getBlendMode(): Gsk.BlendMode; + getBottomChild(): Gsk.RenderNode; + getTopChild(): Gsk.RenderNode; + //TypeScript is complete garbage: + } + + class BlendNodeCtor { + } + + class BlurNode extends Gsk.RenderNode { + constructor(initializerList ?: BlurNodeCtor); + + static New(child: Gsk.RenderNode, radius: number): Gsk.BlurNode; + getChild(): Gsk.RenderNode; + getRadius(): number; + //TypeScript is complete garbage: + } + + class BlurNodeCtor { + } + + class BorderNode extends Gsk.RenderNode { + constructor(initializerList ?: BorderNodeCtor); + + static New(outline: Gsk.RoundedRect, borderWidth: number[], borderColor: AuGDK.RGBA[]): Gsk.BorderNode; + getColors(): AuGDK.RGBA; + getOutline(): Gsk.RoundedRect; + getWidths(): number[]; + //TypeScript is complete garbage: + } + + class BorderNodeCtor { + } + + class CairoNode extends Gsk.RenderNode { + constructor(initializerList ?: CairoNodeCtor); + + static New(bounds: Graphene.Rect): Gsk.CairoNode; + getDrawContext(): cairo.Context; + getSurface(): cairo.Surface; + //TypeScript is complete garbage: + } + + class CairoNodeCtor { + } + + class CairoRenderer extends Gsk.Renderer { + constructor(initializerList ?: CairoRendererCtor); + + static New(): Gsk.Renderer; + //TypeScript is complete garbage: + } + + class CairoRendererCtor { + realized ?: boolean; + surface ?: AuGDK.Surface; + } + + class ClipNode extends Gsk.RenderNode { + constructor(initializerList ?: ClipNodeCtor); + + static New(child: Gsk.RenderNode, clip: Graphene.Rect): Gsk.ClipNode; + getChild(): Gsk.RenderNode; + getClip(): Graphene.Rect; + //TypeScript is complete garbage: + } + + class ClipNodeCtor { + } + + class ColorMatrixNode extends Gsk.RenderNode { + constructor(initializerList ?: ColorMatrixNodeCtor); + + static New(child: Gsk.RenderNode, colorMatrix: Graphene.Matrix, colorOffset: Graphene.Vec4): Gsk.ColorMatrixNode; + getChild(): Gsk.RenderNode; + getColorMatrix(): Graphene.Matrix; + getColorOffset(): Graphene.Vec4; + //TypeScript is complete garbage: + } + + class ColorMatrixNodeCtor { + } + + class ColorNode extends Gsk.RenderNode { + constructor(initializerList ?: ColorNodeCtor); + + static New(rgba: AuGDK.RGBA, bounds: Graphene.Rect): Gsk.ColorNode; + getColor(): AuGDK.RGBA; + //TypeScript is complete garbage: + } + + class ColorNodeCtor { + } + + class ConicGradientNode extends Gsk.RenderNode { + constructor(initializerList ?: ConicGradientNodeCtor); + + static New(bounds: Graphene.Rect, center: Graphene.Point, rotation: number, colorStops: Gsk.ColorStop[], nColorStops: number | bigint): Gsk.ConicGradientNode; + getAngle(): number; + getCenter(): Graphene.Point; + getColorStops(nStops ?: number | bigint): Gsk.ColorStop[]; + getNColorStops(): number | bigint; + getRotation(): number; + //TypeScript is complete garbage: + } + + class ConicGradientNodeCtor { + } + + class ContainerNode extends Gsk.RenderNode { + constructor(initializerList ?: ContainerNodeCtor); + + static New(children: Gsk.RenderNode[], nChildren: number): Gsk.ContainerNode; + getChild(idx: number): Gsk.RenderNode; + getNChildren(): number; + //TypeScript is complete garbage: + } + + class ContainerNodeCtor { + } + + class CrossFadeNode extends Gsk.RenderNode { + constructor(initializerList ?: CrossFadeNodeCtor); + + static New(start: Gsk.RenderNode, end: Gsk.RenderNode, progress: number): Gsk.CrossFadeNode; + getEndChild(): Gsk.RenderNode; + getProgress(): number; + getStartChild(): Gsk.RenderNode; + //TypeScript is complete garbage: + } + + class CrossFadeNodeCtor { + } + + class DebugNode extends Gsk.RenderNode { + constructor(initializerList ?: DebugNodeCtor); + + static New(child: Gsk.RenderNode, message: string): Gsk.DebugNode; + getChild(): Gsk.RenderNode; + getMessage(): string; + //TypeScript is complete garbage: + } + + class DebugNodeCtor { + } + + class GLRenderer extends Gsk.Renderer { + constructor(initializerList ?: GLRendererCtor); + + static New(): Gsk.Renderer; + //TypeScript is complete garbage: + } + + class GLRendererCtor { + realized ?: boolean; + surface ?: AuGDK.Surface; + } + + class GLShader extends GObject.Object { + constructor(initializerList ?: GLShaderCtor); + + resource : string; + source : AuGlibEx.Bytes; + + static NewFromBytes(sourcecode: AuGlibEx.Bytes): Gsk.GLShader; + static NewFromResource(resourcePath: string): Gsk.GLShader; + compile(renderer: Gsk.Renderer): boolean; + findUniformByName(name: string): number; + getArgBool(args: AuGlibEx.Bytes, idx: number): boolean; + getArgFloat(args: AuGlibEx.Bytes, idx: number): number; + getArgInt(args: AuGlibEx.Bytes, idx: number): number; + getArgUint(args: AuGlibEx.Bytes, idx: number): number; + getArgVec2(args: AuGlibEx.Bytes, idx: number, outValue: Graphene.Vec2): void; + getArgVec3(args: AuGlibEx.Bytes, idx: number, outValue: Graphene.Vec3): void; + getArgVec4(args: AuGlibEx.Bytes, idx: number, outValue: Graphene.Vec4): void; + getArgsSize(): number | bigint; + getNTextures(): number; + getNUniforms(): number; + getResource(): string; + getSource(): AuGlibEx.Bytes; + getUniformName(idx: number): string; + getUniformOffset(idx: number): number; + getUniformType(idx: number): Gsk.GLUniformType; + //TypeScript is complete garbage: + } + + class GLShaderCtor { + source ?: AuGlibEx.Bytes; + resource ?: string; + } + + class GLShaderNode extends Gsk.RenderNode { + constructor(initializerList ?: GLShaderNodeCtor); + + static New(shader: Gsk.GLShader, bounds: Graphene.Rect, args: AuGlibEx.Bytes, children: Gsk.RenderNode[] | undefined | null, nChildren: number): Gsk.GLShaderNode; + getArgs(): AuGlibEx.Bytes; + getChild(idx: number): Gsk.RenderNode; + getNChildren(): number; + getShader(): Gsk.GLShader; + //TypeScript is complete garbage: + } + + class GLShaderNodeCtor { + } + + class InsetShadowNode extends Gsk.RenderNode { + constructor(initializerList ?: InsetShadowNodeCtor); + + static New(outline: Gsk.RoundedRect, color: AuGDK.RGBA, dx: number, dy: number, spread: number, blurRadius: number): Gsk.InsetShadowNode; + getBlurRadius(): number; + getColor(): AuGDK.RGBA; + getDx(): number; + getDy(): number; + getOutline(): Gsk.RoundedRect; + getSpread(): number; + //TypeScript is complete garbage: + } + + class InsetShadowNodeCtor { + } + + class LinearGradientNode extends Gsk.RenderNode { + constructor(initializerList ?: LinearGradientNodeCtor); + + static New(bounds: Graphene.Rect, start: Graphene.Point, end: Graphene.Point, colorStops: Gsk.ColorStop[], nColorStops: number | bigint): Gsk.LinearGradientNode; + getColorStops(nStops ?: number | bigint): Gsk.ColorStop[]; + getEnd(): Graphene.Point; + getNColorStops(): number | bigint; + getStart(): Graphene.Point; + //TypeScript is complete garbage: + } + + class LinearGradientNodeCtor { + } + + class MaskNode extends Gsk.RenderNode { + constructor(initializerList ?: MaskNodeCtor); + + static New(source: Gsk.RenderNode, mask: Gsk.RenderNode): Gsk.MaskNode; + static GetMask(node: Gsk.BlendNode): Gsk.RenderNode; + static GetSource(node: Gsk.BlendNode): Gsk.RenderNode; + //TypeScript is complete garbage: + } + + class MaskNodeCtor { + } + + class NglRenderer extends Gsk.Renderer { + constructor(initializerList ?: NglRendererCtor); + + static New(): Gsk.Renderer; + //TypeScript is complete garbage: + } + + class NglRendererCtor { + realized ?: boolean; + surface ?: AuGDK.Surface; + } + + class OpacityNode extends Gsk.RenderNode { + constructor(initializerList ?: OpacityNodeCtor); + + static New(child: Gsk.RenderNode, opacity: number): Gsk.OpacityNode; + getChild(): Gsk.RenderNode; + getOpacity(): number; + //TypeScript is complete garbage: + } + + class OpacityNodeCtor { + } + + class OutsetShadowNode extends Gsk.RenderNode { + constructor(initializerList ?: OutsetShadowNodeCtor); + + static New(outline: Gsk.RoundedRect, color: AuGDK.RGBA, dx: number, dy: number, spread: number, blurRadius: number): Gsk.OutsetShadowNode; + getBlurRadius(): number; + getColor(): AuGDK.RGBA; + getDx(): number; + getDy(): number; + getOutline(): Gsk.RoundedRect; + getSpread(): number; + //TypeScript is complete garbage: + } + + class OutsetShadowNodeCtor { + } + + class RadialGradientNode extends Gsk.RenderNode { + constructor(initializerList ?: RadialGradientNodeCtor); + + static New(bounds: Graphene.Rect, center: Graphene.Point, hradius: number, vradius: number, start: number, end: number, colorStops: Gsk.ColorStop[], nColorStops: number | bigint): Gsk.RadialGradientNode; + getCenter(): Graphene.Point; + getColorStops(nStops ?: number | bigint): Gsk.ColorStop[]; + getEnd(): number; + getHradius(): number; + getNColorStops(): number | bigint; + getStart(): number; + getVradius(): number; + //TypeScript is complete garbage: + } + + class RadialGradientNodeCtor { + } + + class RenderNode { + constructor(initializerList ?: RenderNodeCtor); + + static Deserialize(bytes: AuGlibEx.Bytes, errorFunc: (start: Gsk.ParseLocation, end: Gsk.ParseLocation, error: AuGlibEx.Error) => void | undefined | null): Gsk.RenderNode; + draw(cr: cairo.Context): void; + getBounds(bounds: Graphene.Rect): void; + getNodeType(): Gsk.RenderNodeType; + ref(): Gsk.RenderNode; + serialize(): AuGlibEx.Bytes; + unref(): void; + writeToFile(filename: string): boolean; + //TypeScript is complete garbage: + } + + class RenderNodeCtor { + } + + class Renderer extends GObject.Object { + constructor(initializerList ?: RendererCtor); + + realized : boolean; + surface : AuGDK.Surface; + + static NewForSurface(surface: AuGDK.Surface): Gsk.Renderer; + getSurface(): AuGDK.Surface; + isRealized(): boolean; + realize(surface: AuGDK.Surface | undefined | null): boolean; + render(root: Gsk.RenderNode, region: cairo.Region | undefined | null): void; + renderTexture(root: Gsk.RenderNode, viewport: Graphene.Rect | undefined | null): AuGDK.Texture; + unrealize(): void; + //TypeScript is complete garbage: + } + + class RendererCtor { + realized ?: boolean; + surface ?: AuGDK.Surface; + } + + class RepeatNode extends Gsk.RenderNode { + constructor(initializerList ?: RepeatNodeCtor); + + static New(bounds: Graphene.Rect, child: Gsk.RenderNode, childBounds: Graphene.Rect | undefined | null): Gsk.RepeatNode; + getChild(): Gsk.RenderNode; + getChildBounds(): Graphene.Rect; + //TypeScript is complete garbage: + } + + class RepeatNodeCtor { + } + + class RepeatingLinearGradientNode extends Gsk.RenderNode { + constructor(initializerList ?: RepeatingLinearGradientNodeCtor); + + static New(bounds: Graphene.Rect, start: Graphene.Point, end: Graphene.Point, colorStops: Gsk.ColorStop[], nColorStops: number | bigint): Gsk.RepeatingLinearGradientNode; + //TypeScript is complete garbage: + } + + class RepeatingLinearGradientNodeCtor { + } + + class RepeatingRadialGradientNode extends Gsk.RenderNode { + constructor(initializerList ?: RepeatingRadialGradientNodeCtor); + + static New(bounds: Graphene.Rect, center: Graphene.Point, hradius: number, vradius: number, start: number, end: number, colorStops: Gsk.ColorStop[], nColorStops: number | bigint): Gsk.RepeatingRadialGradientNode; + //TypeScript is complete garbage: + } + + class RepeatingRadialGradientNodeCtor { + } + + class RoundedClipNode extends Gsk.RenderNode { + constructor(initializerList ?: RoundedClipNodeCtor); + + static New(child: Gsk.RenderNode, clip: Gsk.RoundedRect): Gsk.RoundedClipNode; + getChild(): Gsk.RenderNode; + getClip(): Gsk.RoundedRect; + //TypeScript is complete garbage: + } + + class RoundedClipNodeCtor { + } + + class ShadowNode extends Gsk.RenderNode { + constructor(initializerList ?: ShadowNodeCtor); + + static New(child: Gsk.RenderNode, shadows: Gsk.Shadow[], nShadows: number | bigint): Gsk.ShadowNode; + getChild(): Gsk.RenderNode; + getNShadows(): number | bigint; + getShadow(i: number | bigint): Gsk.Shadow; + //TypeScript is complete garbage: + } + + class ShadowNodeCtor { + } + + class TextNode extends Gsk.RenderNode { + constructor(initializerList ?: TextNodeCtor); + + static New(font: AuPango.Font, glyphs: AuPango.GlyphString, color: AuGDK.RGBA, offset: Graphene.Point): Gsk.TextNode; + getColor(): AuGDK.RGBA; + getFont(): AuPango.Font; + getGlyphs(nGlyphs ?: number): AuPango.GlyphInfo[]; + getNumGlyphs(): number; + getOffset(): Graphene.Point; + hasColorGlyphs(): boolean; + //TypeScript is complete garbage: + } + + class TextNodeCtor { + } + + class TextureNode extends Gsk.RenderNode { + constructor(initializerList ?: TextureNodeCtor); + + static New(texture: AuGDK.Texture, bounds: Graphene.Rect): Gsk.TextureNode; + getTexture(): AuGDK.Texture; + //TypeScript is complete garbage: + } + + class TextureNodeCtor { + } + + class TextureScaleNode extends Gsk.RenderNode { + constructor(initializerList ?: TextureScaleNodeCtor); + + static New(texture: AuGDK.Texture, bounds: Graphene.Rect, filter: Gsk.ScalingFilter): Gsk.TextureScaleNode; + static GetFilter(node: Gsk.TextureNode): Gsk.ScalingFilter; + static GetTexture(node: Gsk.TextureNode): AuGDK.Texture; + //TypeScript is complete garbage: + } + + class TextureScaleNodeCtor { + } + + class TransformNode extends Gsk.RenderNode { + constructor(initializerList ?: TransformNodeCtor); + + static New(child: Gsk.RenderNode, transform: Gsk.Transform): Gsk.TransformNode; + getChild(): Gsk.RenderNode; + getTransform(): Gsk.Transform; + //TypeScript is complete garbage: + } + + class TransformNodeCtor { + } +} \ No newline at end of file diff --git a/Gst.d.ts b/Gst.d.ts new file mode 100644 index 0000000..d0b1a7a --- /dev/null +++ b/Gst.d.ts @@ -0,0 +1,4343 @@ +declare namespace Gst { + + class AllocatorFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCustomAlloc": AllocatorFlags + static readonly "kLast": AllocatorFlags + } + + class BinFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNoResync": BinFlags + static readonly "kStreamsAware": BinFlags + static readonly "kLast": BinFlags + } + + class BufferCopyFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": BufferCopyFlags + static readonly "kFlags": BufferCopyFlags + static readonly "kTimestamps": BufferCopyFlags + static readonly "kMeta": BufferCopyFlags + static readonly "kMemory": BufferCopyFlags + static readonly "kMerge": BufferCopyFlags + static readonly "kDeep": BufferCopyFlags + } + + class BufferFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLive": BufferFlags + static readonly "kDecodeOnly": BufferFlags + static readonly "kDiscont": BufferFlags + static readonly "kResync": BufferFlags + static readonly "kCorrupted": BufferFlags + static readonly "kMarker": BufferFlags + static readonly "kHeader": BufferFlags + static readonly "kGap": BufferFlags + static readonly "kDroppable": BufferFlags + static readonly "kDeltaUnit": BufferFlags + static readonly "kTagMemory": BufferFlags + static readonly "kSyncAfter": BufferFlags + static readonly "kNonDroppable": BufferFlags + static readonly "kLast": BufferFlags + } + + class BufferPoolAcquireFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": BufferPoolAcquireFlags + static readonly "kKeyUnit": BufferPoolAcquireFlags + static readonly "kDontwait": BufferPoolAcquireFlags + static readonly "kDiscont": BufferPoolAcquireFlags + static readonly "kLast": BufferPoolAcquireFlags + } + + class BufferingMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStream": BufferingMode + static readonly "kDownload": BufferingMode + static readonly "kTimeshift": BufferingMode + static readonly "kLive": BufferingMode + } + + class BusFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFlushing": BusFlags + static readonly "kFlagLast": BusFlags + } + + class BusSyncReply { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDrop": BusSyncReply + static readonly "kPass": BusSyncReply + static readonly "kAsync": BusSyncReply + } + + class CapsFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAny": CapsFlags + } + + class CapsIntersectMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kZigZag": CapsIntersectMode + static readonly "kFirst": CapsIntersectMode + } + + class ClockEntryType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSingle": ClockEntryType + static readonly "kPeriodic": ClockEntryType + } + + class ClockFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCanDoSingleSync": ClockFlags + static readonly "kCanDoSingleAsync": ClockFlags + static readonly "kCanDoPeriodicSync": ClockFlags + static readonly "kCanDoPeriodicAsync": ClockFlags + static readonly "kCanSetResolution": ClockFlags + static readonly "kCanSetMaster": ClockFlags + static readonly "kNeedsStartupSync": ClockFlags + static readonly "kLast": ClockFlags + } + + class ClockReturn { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kOk": ClockReturn + static readonly "kEarly": ClockReturn + static readonly "kUnscheduled": ClockReturn + static readonly "kBusy": ClockReturn + static readonly "kBadtime": ClockReturn + static readonly "kError": ClockReturn + static readonly "kUnsupported": ClockReturn + static readonly "kDone": ClockReturn + } + + class ClockType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kRealtime": ClockType + static readonly "kMonotonic": ClockType + static readonly "kOther": ClockType + static readonly "kTai": ClockType + } + + class CoreError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": CoreError + static readonly "kTooLazy": CoreError + static readonly "kNotImplemented": CoreError + static readonly "kStateChange": CoreError + static readonly "kPad": CoreError + static readonly "kThread": CoreError + static readonly "kNegotiation": CoreError + static readonly "kEvent": CoreError + static readonly "kSeek": CoreError + static readonly "kCaps": CoreError + static readonly "kTag": CoreError + static readonly "kMissingPlugin": CoreError + static readonly "kClock": CoreError + static readonly "kDisabled": CoreError + static readonly "kNumErrors": CoreError + } + + class DebugColorFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFgBlack": DebugColorFlags + static readonly "kFgRed": DebugColorFlags + static readonly "kFgGreen": DebugColorFlags + static readonly "kFgYEllow": DebugColorFlags + static readonly "kFgBlue": DebugColorFlags + static readonly "kFgMagenta": DebugColorFlags + static readonly "kFgCyan": DebugColorFlags + static readonly "kFgWhite": DebugColorFlags + static readonly "kBgBlack": DebugColorFlags + static readonly "kBgRed": DebugColorFlags + static readonly "kBgGreen": DebugColorFlags + static readonly "kBgYEllow": DebugColorFlags + static readonly "kBgBlue": DebugColorFlags + static readonly "kBgMagenta": DebugColorFlags + static readonly "kBgCyan": DebugColorFlags + static readonly "kBgWhite": DebugColorFlags + static readonly "kBold": DebugColorFlags + static readonly "kUnderline": DebugColorFlags + } + + class DebugColorMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kOff": DebugColorMode + static readonly "kOn": DebugColorMode + static readonly "kUnix": DebugColorMode + } + + class DebugGraphDetails { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMediaType": DebugGraphDetails + static readonly "kCapsDetails": DebugGraphDetails + static readonly "kNonDefaultParams": DebugGraphDetails + static readonly "kStates": DebugGraphDetails + static readonly "kFullParams": DebugGraphDetails + static readonly "kAll": DebugGraphDetails + static readonly "kVerbose": DebugGraphDetails + } + + class DebugLevel { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": DebugLevel + static readonly "kError": DebugLevel + static readonly "kWarning": DebugLevel + static readonly "kFixme": DebugLevel + static readonly "kInfo": DebugLevel + static readonly "kDebug": DebugLevel + static readonly "kLog": DebugLevel + static readonly "kTrace": DebugLevel + static readonly "kMemdump": DebugLevel + static readonly "kCount": DebugLevel + } + + class ElementFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLockedState": ElementFlags + static readonly "kSink": ElementFlags + static readonly "kSource": ElementFlags + static readonly "kProvideClock": ElementFlags + static readonly "kRequireClock": ElementFlags + static readonly "kIndexable": ElementFlags + static readonly "kLast": ElementFlags + } + + class EventType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": EventType + static readonly "kFlushStart": EventType + static readonly "kFlushStop": EventType + static readonly "kStreamStart": EventType + static readonly "kCaps": EventType + static readonly "kSegment": EventType + static readonly "kStreamCollection": EventType + static readonly "kTag": EventType + static readonly "kBuffersize": EventType + static readonly "kSinkMessage": EventType + static readonly "kStreamGroupDone": EventType + static readonly "kEos": EventType + static readonly "kToc": EventType + static readonly "kProtection": EventType + static readonly "kSegmentDone": EventType + static readonly "kGap": EventType + static readonly "kInstantRateChange": EventType + static readonly "kQos": EventType + static readonly "kSeek": EventType + static readonly "kNavigation": EventType + static readonly "kLatency": EventType + static readonly "kStep": EventType + static readonly "kReconfigure": EventType + static readonly "kTocSelect": EventType + static readonly "kSelectStreams": EventType + static readonly "kInstantRateSyncTime": EventType + static readonly "kCustomUpstream": EventType + static readonly "kCustomDownstream": EventType + static readonly "kCustomDownstreamOob": EventType + static readonly "kCustomDownstreamSticky": EventType + static readonly "kCustomBoth": EventType + static readonly "kCustomBothOob": EventType + } + + class EventTypeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUpstream": EventTypeFlags + static readonly "kDownstream": EventTypeFlags + static readonly "kSerialized": EventTypeFlags + static readonly "kSticky": EventTypeFlags + static readonly "kStickyMulti": EventTypeFlags + } + + class FlowReturn { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCustomSuccess2": FlowReturn + static readonly "kCustomSuccess1": FlowReturn + static readonly "kCustomSuccess": FlowReturn + static readonly "kOk": FlowReturn + static readonly "kNotLinked": FlowReturn + static readonly "kFlushing": FlowReturn + static readonly "kEos": FlowReturn + static readonly "kNotNegotiated": FlowReturn + static readonly "kError": FlowReturn + static readonly "kNotSupported": FlowReturn + static readonly "kCustomError": FlowReturn + static readonly "kCustomError1": FlowReturn + static readonly "kCustomError2": FlowReturn + } + + class Format { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUndefined": Format + static readonly "kDefault": Format + static readonly "kBytes": Format + static readonly "kTime": Format + static readonly "kBuffers": Format + static readonly "kPercent": Format + } + + class GapFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kData": GapFlags + } + + class IteratorItem { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSkip": IteratorItem + static readonly "kPass": IteratorItem + static readonly "kEnd": IteratorItem + } + + class IteratorResult { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDone": IteratorResult + static readonly "kOk": IteratorResult + static readonly "kResync": IteratorResult + static readonly "kError": IteratorResult + } + + class LibraryError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": LibraryError + static readonly "kTooLazy": LibraryError + static readonly "kInit": LibraryError + static readonly "kShutdown": LibraryError + static readonly "kSettings": LibraryError + static readonly "kEncode": LibraryError + static readonly "kNumErrors": LibraryError + } + + class LockFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kRead": LockFlags + static readonly "kWrite": LockFlags + static readonly "kExclusive": LockFlags + static readonly "kLast": LockFlags + } + + class MapFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kRead": MapFlags + static readonly "kWrite": MapFlags + static readonly "kFlagLast": MapFlags + } + + class MemoryFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kReadonly": MemoryFlags + static readonly "kNoShare": MemoryFlags + static readonly "kZeroPrefixed": MemoryFlags + static readonly "kZeroPadded": MemoryFlags + static readonly "kPhysicallyContiguous": MemoryFlags + static readonly "kNotMappable": MemoryFlags + static readonly "kLast": MemoryFlags + } + + class MessageType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": MessageType + static readonly "kEos": MessageType + static readonly "kError": MessageType + static readonly "kWarning": MessageType + static readonly "kInfo": MessageType + static readonly "kTag": MessageType + static readonly "kBuffering": MessageType + static readonly "kStateChanged": MessageType + static readonly "kStateDirty": MessageType + static readonly "kStepDone": MessageType + static readonly "kClockProvide": MessageType + static readonly "kClockLost": MessageType + static readonly "kNewClock": MessageType + static readonly "kStructureChange": MessageType + static readonly "kStreamStatus": MessageType + static readonly "kApplication": MessageType + static readonly "kElement": MessageType + static readonly "kSegmentStart": MessageType + static readonly "kSegmentDone": MessageType + static readonly "kDurationChanged": MessageType + static readonly "kLatency": MessageType + static readonly "kAsyncStart": MessageType + static readonly "kAsyncDone": MessageType + static readonly "kRequestState": MessageType + static readonly "kStepStart": MessageType + static readonly "kQos": MessageType + static readonly "kProgress": MessageType + static readonly "kToc": MessageType + static readonly "kResetTime": MessageType + static readonly "kStreamStart": MessageType + static readonly "kNeedContext": MessageType + static readonly "kHaveContext": MessageType + static readonly "kExtended": MessageType + static readonly "kDeviceAdded": MessageType + static readonly "kDeviceRemoved": MessageType + static readonly "kPropertyNotify": MessageType + static readonly "kStreamCollection": MessageType + static readonly "kStreamsSelected": MessageType + static readonly "kRedirect": MessageType + static readonly "kDeviceChanged": MessageType + static readonly "kInstantRateRequest": MessageType + static readonly "kAny": MessageType + } + + class MetaFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": MetaFlags + static readonly "kReadonly": MetaFlags + static readonly "kPooled": MetaFlags + static readonly "kLocked": MetaFlags + static readonly "kLast": MetaFlags + } + + class MiniObjectFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLockable": MiniObjectFlags + static readonly "kLockReadonly": MiniObjectFlags + static readonly "kMayBeLeaked": MiniObjectFlags + static readonly "kLast": MiniObjectFlags + } + + class ObjectFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMayBeLeaked": ObjectFlags + static readonly "kLast": ObjectFlags + } + + class PadDirection { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": PadDirection + static readonly "kSrc": PadDirection + static readonly "kSink": PadDirection + } + + class PadFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBlocked": PadFlags + static readonly "kFlushing": PadFlags + static readonly "kEos": PadFlags + static readonly "kBlocking": PadFlags + static readonly "kNeedParent": PadFlags + static readonly "kNeedReconfigure": PadFlags + static readonly "kPendingEvents": PadFlags + static readonly "kFixedCaps": PadFlags + static readonly "kProxyCaps": PadFlags + static readonly "kProxyAllocation": PadFlags + static readonly "kProxyScheduling": PadFlags + static readonly "kAcceptIntersect": PadFlags + static readonly "kAcceptTemplate": PadFlags + static readonly "kLast": PadFlags + } + + class PadLinkCheck { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNothing": PadLinkCheck + static readonly "kHierarchy": PadLinkCheck + static readonly "kTemplateCaps": PadLinkCheck + static readonly "kCaps": PadLinkCheck + static readonly "kNoReconfigure": PadLinkCheck + static readonly "kDefault": PadLinkCheck + } + + class PadLinkReturn { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kOk": PadLinkReturn + static readonly "kWrongHierarchy": PadLinkReturn + static readonly "kWasLinked": PadLinkReturn + static readonly "kWrongDirection": PadLinkReturn + static readonly "kNoformat": PadLinkReturn + static readonly "kNosched": PadLinkReturn + static readonly "kRefused": PadLinkReturn + } + + class PadMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": PadMode + static readonly "kPush": PadMode + static readonly "kPull": PadMode + } + + class PadPresence { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAlways": PadPresence + static readonly "kSometimes": PadPresence + static readonly "kRequest": PadPresence + } + + class PadProbeReturn { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDrop": PadProbeReturn + static readonly "kOk": PadProbeReturn + static readonly "kRemove": PadProbeReturn + static readonly "kPass": PadProbeReturn + static readonly "kHandled": PadProbeReturn + } + + class PadProbeType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": PadProbeType + static readonly "kIdle": PadProbeType + static readonly "kBlock": PadProbeType + static readonly "kBuffer": PadProbeType + static readonly "kBufferList": PadProbeType + static readonly "kEventDownstream": PadProbeType + static readonly "kEventUpstream": PadProbeType + static readonly "kEventFlush": PadProbeType + static readonly "kQueryDownstream": PadProbeType + static readonly "kQueryUpstream": PadProbeType + static readonly "kPush": PadProbeType + static readonly "kPull": PadProbeType + static readonly "kBlocking": PadProbeType + static readonly "kDataDownstream": PadProbeType + static readonly "kDataUpstream": PadProbeType + static readonly "kDataBoth": PadProbeType + static readonly "kBlockDownstream": PadProbeType + static readonly "kBlockUpstream": PadProbeType + static readonly "kEventBoth": PadProbeType + static readonly "kQueryBoth": PadProbeType + static readonly "kAllBoth": PadProbeType + static readonly "kScheduling": PadProbeType + } + + class PadTemplateFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLast": PadTemplateFlags + } + + class ParseError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSyntax": ParseError + static readonly "kNoSuchElement": ParseError + static readonly "kNoSuchProperty": ParseError + static readonly "kLink": ParseError + static readonly "kCouldNotSetProperty": ParseError + static readonly "kEmptyBin": ParseError + static readonly "kEmpty": ParseError + static readonly "kDelayedLink": ParseError + } + + class ParseFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": ParseFlags + static readonly "kFatalErrors": ParseFlags + static readonly "kNoSingleElementBins": ParseFlags + static readonly "kPlaceInBin": ParseFlags + } + + class PipelineFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFixedClock": PipelineFlags + static readonly "kLast": PipelineFlags + } + + class PluginAPIFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMembers": PluginAPIFlags + } + + class PluginDependencyFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": PluginDependencyFlags + static readonly "kRecurse": PluginDependencyFlags + static readonly "kPathsAreDefaultOnly": PluginDependencyFlags + static readonly "kFileNameIsSuffix": PluginDependencyFlags + static readonly "kFileNameIsPrefix": PluginDependencyFlags + static readonly "kPathsAreRelativeToExe": PluginDependencyFlags + } + + class PluginError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kModule": PluginError + static readonly "kDependencies": PluginError + static readonly "kNameMismatch": PluginError + } + + class PluginFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCached": PluginFlags + static readonly "kBlacklisted": PluginFlags + } + + class ProgressType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStart": ProgressType + static readonly "kContinue": ProgressType + static readonly "kComplete": ProgressType + static readonly "kCanceled": ProgressType + static readonly "kError": ProgressType + } + + class PromiseResult { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kPending": PromiseResult + static readonly "kInterrupted": PromiseResult + static readonly "kReplied": PromiseResult + static readonly "kExpired": PromiseResult + } + + class QOSType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kOverflow": QOSType + static readonly "kUnderflow": QOSType + static readonly "kThrottle": QOSType + } + + class QueryType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": QueryType + static readonly "kPosition": QueryType + static readonly "kDuration": QueryType + static readonly "kLatency": QueryType + static readonly "kJitter": QueryType + static readonly "kRate": QueryType + static readonly "kSeeking": QueryType + static readonly "kSegment": QueryType + static readonly "kConvert": QueryType + static readonly "kFormats": QueryType + static readonly "kBuffering": QueryType + static readonly "kCustom": QueryType + static readonly "kUri": QueryType + static readonly "kAllocation": QueryType + static readonly "kScheduling": QueryType + static readonly "kAcceptCaps": QueryType + static readonly "kCaps": QueryType + static readonly "kDrain": QueryType + static readonly "kContext": QueryType + static readonly "kBitrate": QueryType + } + + class QueryTypeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUpstream": QueryTypeFlags + static readonly "kDownstream": QueryTypeFlags + static readonly "kSerialized": QueryTypeFlags + } + + class Rank { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": Rank + static readonly "kMarginal": Rank + static readonly "kSecondary": Rank + static readonly "kPrimary": Rank + } + + class ResourceError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": ResourceError + static readonly "kTooLazy": ResourceError + static readonly "kNotFound": ResourceError + static readonly "kBusy": ResourceError + static readonly "kOpenRead": ResourceError + static readonly "kOpenWrite": ResourceError + static readonly "kOpenReadWrite": ResourceError + static readonly "kClose": ResourceError + static readonly "kRead": ResourceError + static readonly "kWrite": ResourceError + static readonly "kSeek": ResourceError + static readonly "kSync": ResourceError + static readonly "kSettings": ResourceError + static readonly "kNoSpaceLeft": ResourceError + static readonly "kNotAuthorized": ResourceError + static readonly "kNumErrors": ResourceError + } + + class SchedulingFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSeekable": SchedulingFlags + static readonly "kSequential": SchedulingFlags + static readonly "kBandwidthLimited": SchedulingFlags + } + + class SearchMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kExact": SearchMode + static readonly "kBefore": SearchMode + static readonly "kAfter": SearchMode + } + + class SeekFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SeekFlags + static readonly "kFlush": SeekFlags + static readonly "kAccurate": SeekFlags + static readonly "kKeyUnit": SeekFlags + static readonly "kSegment": SeekFlags + static readonly "kTrickmode": SeekFlags + static readonly "kSkip": SeekFlags + static readonly "kSnapBefore": SeekFlags + static readonly "kSnapAfter": SeekFlags + static readonly "kSnapNearest": SeekFlags + static readonly "kTrickmodeKeyUnits": SeekFlags + static readonly "kTrickmodeNoAudio": SeekFlags + static readonly "kTrickmodeForwardPredicted": SeekFlags + static readonly "kInstantRateChange": SeekFlags + } + + class SeekType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SeekType + static readonly "kSet": SeekType + static readonly "kEnd": SeekType + } + + class SegmentFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SegmentFlags + static readonly "kReset": SegmentFlags + static readonly "kTrickmode": SegmentFlags + static readonly "kSkip": SegmentFlags + static readonly "kSegment": SegmentFlags + static readonly "kTrickmodeKeyUnits": SegmentFlags + static readonly "kTrickmodeForwardPredicted": SegmentFlags + static readonly "kTrickmodeNoAudio": SegmentFlags + } + + class SerializeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SerializeFlags + static readonly "kBackwardCompat": SerializeFlags + } + + class StackTraceFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": StackTraceFlags + static readonly "kFull": StackTraceFlags + } + + class State { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kVoidPending": State + static readonly "kNull": State + static readonly "kReady": State + static readonly "kPaused": State + static readonly "kPlaying": State + } + + class StateChange { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNullToReady": StateChange + static readonly "kReadyToPaused": StateChange + static readonly "kPausedToPlaying": StateChange + static readonly "kPlayingToPaused": StateChange + static readonly "kPausedToReady": StateChange + static readonly "kReadyToNull": StateChange + static readonly "kNullToNull": StateChange + static readonly "kReadyToReady": StateChange + static readonly "kPausedToPaused": StateChange + static readonly "kPlayingToPlaying": StateChange + } + + class StateChangeReturn { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailure": StateChangeReturn + static readonly "kSuccess": StateChangeReturn + static readonly "kAsync": StateChangeReturn + static readonly "kNoPreroll": StateChangeReturn + } + + class StreamError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": StreamError + static readonly "kTooLazy": StreamError + static readonly "kNotImplemented": StreamError + static readonly "kTypeNotFound": StreamError + static readonly "kWrongType": StreamError + static readonly "kCodecNotFound": StreamError + static readonly "kDecode": StreamError + static readonly "kEncode": StreamError + static readonly "kDemux": StreamError + static readonly "kMux": StreamError + static readonly "kFormat": StreamError + static readonly "kDecrypt": StreamError + static readonly "kDecryptNokey": StreamError + static readonly "kNumErrors": StreamError + } + + class StreamFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": StreamFlags + static readonly "kSparse": StreamFlags + static readonly "kSelect": StreamFlags + static readonly "kUnselect": StreamFlags + } + + class StreamStatusType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCreate": StreamStatusType + static readonly "kEnter": StreamStatusType + static readonly "kLeave": StreamStatusType + static readonly "kDestroy": StreamStatusType + static readonly "kStart": StreamStatusType + static readonly "kPause": StreamStatusType + static readonly "kStop": StreamStatusType + } + + class StreamType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": StreamType + static readonly "kAudio": StreamType + static readonly "kVideo": StreamType + static readonly "kContainer": StreamType + static readonly "kText": StreamType + } + + class StructureChangeType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLink": StructureChangeType + static readonly "kUnlink": StructureChangeType + } + + class TagFlag { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUndefined": TagFlag + static readonly "kMeta": TagFlag + static readonly "kEncoded": TagFlag + static readonly "kDecoded": TagFlag + static readonly "kCount": TagFlag + } + + class TagMergeMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUndefined": TagMergeMode + static readonly "kReplaceAll": TagMergeMode + static readonly "kReplace": TagMergeMode + static readonly "kAppend": TagMergeMode + static readonly "kPrepend": TagMergeMode + static readonly "kKeep": TagMergeMode + static readonly "kKeepAll": TagMergeMode + static readonly "kCount": TagMergeMode + } + + class TagScope { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStream": TagScope + static readonly "kGlobal": TagScope + } + + class TaskState { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStarted": TaskState + static readonly "kStopped": TaskState + static readonly "kPaused": TaskState + } + + class TocEntryType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAngle": TocEntryType + static readonly "kVersion": TocEntryType + static readonly "kEdition": TocEntryType + static readonly "kInvalid": TocEntryType + static readonly "kTitle": TocEntryType + static readonly "kTrack": TocEntryType + static readonly "kChapter": TocEntryType + } + + class TocLoopType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TocLoopType + static readonly "kForward": TocLoopType + static readonly "kReverse": TocLoopType + static readonly "kPingPong": TocLoopType + } + + class TocScope { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kGlobal": TocScope + static readonly "kCurrent": TocScope + } + + class TracerValueFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TracerValueFlags + static readonly "kOptional": TracerValueFlags + static readonly "kAggregated": TracerValueFlags + } + + class TracerValueScope { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kProcess": TracerValueScope + static readonly "kThread": TracerValueScope + static readonly "kElement": TracerValueScope + static readonly "kPad": TracerValueScope + } + + class TypeFindProbability { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TypeFindProbability + static readonly "kMinimum": TypeFindProbability + static readonly "kPossible": TypeFindProbability + static readonly "kLikely": TypeFindProbability + static readonly "kNearlyCertain": TypeFindProbability + static readonly "kMaximum": TypeFindProbability + } + + class URIError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnsupportedProtocol": URIError + static readonly "kBadUri": URIError + static readonly "kBadState": URIError + static readonly "kBadReference": URIError + } + + class URIType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": URIType + static readonly "kSink": URIType + static readonly "kSrc": URIType + } + + + class ChildProxy { + childAdded(child: GObject.Object, name: string): void; + childRemoved(child: GObject.Object, name: string): void; + getChildByIndex(index: number): GObject.Object; + getChildByName(name: string): GObject.Object; + getChildrenCount(): number; + getProperty(name: string, value: GObject.Value): void; + lookup(name: string, target ?: GObject.Object, pspec ?: GObject.ParamSpec): boolean; + setProperty(name: string, value: GObject.Value): void; + } + + class Preset { + static GetAppDir(): string; + static SetAppDir(appDir: string): boolean; + deletePreset(name: string): boolean; + getMeta(name: string, tag: string, value: string): boolean; + getPresetNames(): string[]; + getPropertyNames(): string[]; + isEditable(): boolean; + loadPreset(name: string): boolean; + renamePreset(oldName: string, newName: string): boolean; + savePreset(name: string): boolean; + setMeta(name: string, tag: string, value: string | undefined | null): boolean; + } + + class TagSetter { + addTagValue(mode: Gst.TagMergeMode, tag: string, value: GObject.Value): void; + getTagList(): Gst.TagList; + getTagMergeMode(): Gst.TagMergeMode; + mergeTags(list: Gst.TagList, mode: Gst.TagMergeMode): void; + resetTags(): void; + setTagMergeMode(mode: Gst.TagMergeMode): void; + } + + class TocSetter { + getToc(): Gst.Toc; + reset(): void; + setToc(toc: Gst.Toc | undefined | null): void; + } + + class URIHandler { + getProtocols(): string[]; + getUri(): string; + getUriType(): Gst.URIType; + setUri(uri: string): boolean; + } + + + class AllocationParams { + flags : Gst.MemoryFlags; + align : number | bigint; + prefix : number | bigint; + padding : number | bigint; + + static New(): Gst.AllocationParams; + copy(): Gst.AllocationParams; + free(): void; + init(): void; + } + + class AllocatorClass { + objectClass : Gst.ObjectClass; + alloc : (allocator: Gst.Allocator | undefined | null, size: number | bigint, params: Gst.AllocationParams | undefined | null) => Gst.Memory; + free : (allocator: Gst.Allocator, memory: Gst.Memory) => void; + + } + + class AllocatorPrivate { + } + + class AtomicQueue { + static New(initialSize: number): Gst.AtomicQueue; + length(): number; + peek(): void; + pop(): void; + push(): void; + ref(): void; + unref(): void; + } + + class BinClass { + parentClass : Gst.ElementClass; + pool : AuGlibEx.ThreadPool; + elementAdded : (bin: Gst.Bin, child: Gst.Element) => void; + elementRemoved : (bin: Gst.Bin, child: Gst.Element) => void; + addElement : (bin: Gst.Bin, element: Gst.Element) => boolean; + removeElement : (bin: Gst.Bin, element: Gst.Element) => boolean; + handleMessage : (bin: Gst.Bin, message: Gst.Message) => void; + doLatency : (bin: Gst.Bin) => boolean; + deepElementAdded : (bin: Gst.Bin, subBin: Gst.Bin, child: Gst.Element) => void; + deepElementRemoved : (bin: Gst.Bin, subBin: Gst.Bin, child: Gst.Element) => void; + + } + + class BinPrivate { + } + + class Buffer { + miniObject : Gst.MiniObject; + pool : Gst.BufferPool; + pts : number | bigint; + dts : number | bigint; + duration : number | bigint; + offset : number | bigint; + offsetEnd : number | bigint; + + static New(): Gst.Buffer; + static NewAllocate(allocator: Gst.Allocator | undefined | null, size: number | bigint, params: Gst.AllocationParams | undefined | null): Gst.Buffer; + static NewMemdup(data: number[], size: number | bigint): Gst.Buffer; + static NewWrapped(data: number[], size: number | bigint): Gst.Buffer; + static NewWrappedBytes(bytes: AuGlibEx.Bytes): Gst.Buffer; + static NewWrappedFull(flags: Gst.MemoryFlags, data: number[], maxsize: number | bigint, offset: number | bigint, size: number | bigint, notify: () => void | undefined | null): Gst.Buffer; + addCustomMeta(name: string): Gst.CustomMeta; + addMeta(info: Gst.MetaInfo): Gst.Meta; + addParentBufferMeta(ref: Gst.Buffer): Gst.ParentBufferMeta; + addProtectionMeta(info: Gst.Structure): Gst.ProtectionMeta; + addReferenceTimestampMeta(reference: Gst.Caps, timestamp: number | bigint, duration: number | bigint): Gst.ReferenceTimestampMeta; + append(buf2: Gst.Buffer): Gst.Buffer; + appendMemory(mem: Gst.Memory): void; + appendRegion(buf2: Gst.Buffer, offset: number | bigint, size: number | bigint): Gst.Buffer; + copyDeep(): Gst.Buffer; + copyInto(src: Gst.Buffer, flags: Gst.BufferCopyFlags, offset: number | bigint, size: number | bigint): boolean; + copyRegion(flags: Gst.BufferCopyFlags, offset: number | bigint, size: number | bigint): Gst.Buffer; + extract(offset: number | bigint, dest: number[], size: number | bigint): number | bigint; + extractDup(offset: number | bigint, size: number | bigint, dest: number[], destSize: number | bigint): void; + fill(offset: number | bigint, src: number[], size: number | bigint): number | bigint; + findMemory(offset: number | bigint, size: number | bigint, idx: number, length: number, skip: number | bigint): boolean; + foreachMeta(func: (buffer: Gst.Buffer, meta: Gst.Meta | undefined | null) => boolean): boolean; + getAllMemory(): Gst.Memory; + getCustomMeta(name: string): Gst.CustomMeta; + getFlags(): Gst.BufferFlags; + getMemory(idx: number): Gst.Memory; + getMemoryRange(idx: number, length: number): Gst.Memory; + getMeta(api: number): Gst.Meta; + getNMeta(apiType: number): number; + getReferenceTimestampMeta(reference: Gst.Caps | undefined | null): Gst.ReferenceTimestampMeta; + getSize(): number | bigint; + getSizes(offset ?: number | bigint, maxsize ?: number | bigint): number | bigint; + getSizesRange(idx: number, length: number, offset ?: number | bigint, maxsize ?: number | bigint): number | bigint; + hasFlags(flags: Gst.BufferFlags): boolean; + insertMemory(idx: number, mem: Gst.Memory): void; + isAllMemoryWritable(): boolean; + isMemoryRangeWritable(idx: number, length: number): boolean; + map(info: Gst.MapInfo, flags: Gst.MapFlags): boolean; + mapRange(idx: number, length: number, info: Gst.MapInfo, flags: Gst.MapFlags): boolean; + memcmp(offset: number | bigint, mem: number[], size: number | bigint): number; + memset(offset: number | bigint, val: number, size: number | bigint): number | bigint; + nMemory(): number; + peekMemory(idx: number): Gst.Memory; + prependMemory(mem: Gst.Memory): void; + removeAllMemory(): void; + removeMemory(idx: number): void; + removeMemoryRange(idx: number, length: number): void; + removeMeta(meta: Gst.Meta): boolean; + replaceAllMemory(mem: Gst.Memory): void; + replaceMemory(idx: number, mem: Gst.Memory): void; + replaceMemoryRange(idx: number, length: number, mem: Gst.Memory): void; + resize(offset: number | bigint, size: number | bigint): void; + resizeRange(idx: number, length: number, offset: number | bigint, size: number | bigint): boolean; + setFlags(flags: Gst.BufferFlags): boolean; + setSize(size: number | bigint): void; + unmap(info: Gst.MapInfo): void; + unsetFlags(flags: Gst.BufferFlags): boolean; + static GetMaxMemory(): number; + } + + class BufferList { + static New(): Gst.BufferList; + static NewSized(size: number): Gst.BufferList; + calculateSize(): number | bigint; + copyDeep(): Gst.BufferList; + foreach(func: (buffer: Gst.Buffer | undefined | null, idx: number) => boolean): boolean; + get(idx: number): Gst.Buffer; + getWritable(idx: number): Gst.Buffer; + insert(idx: number, buffer: Gst.Buffer): void; + length(): number; + remove(idx: number, length: number): void; + } + + class BufferPoolAcquireParams { + format : Gst.Format; + start : number | bigint; + stop : number | bigint; + flags : Gst.BufferPoolAcquireFlags; + + } + + class BufferPoolClass { + objectClass : Gst.ObjectClass; + getOptions : (pool: Gst.BufferPool) => string[]; + setConfig : (pool: Gst.BufferPool, config: Gst.Structure) => boolean; + start : (pool: Gst.BufferPool) => boolean; + stop : (pool: Gst.BufferPool) => boolean; + acquireBuffer : (pool: Gst.BufferPool, buffer: Gst.Buffer, params: Gst.BufferPoolAcquireParams | undefined | null) => Gst.FlowReturn; + allocBuffer : (pool: Gst.BufferPool, buffer: Gst.Buffer, params: Gst.BufferPoolAcquireParams | undefined | null) => Gst.FlowReturn; + resetBuffer : (pool: Gst.BufferPool, buffer: Gst.Buffer) => void; + releaseBuffer : (pool: Gst.BufferPool, buffer: Gst.Buffer) => void; + freeBuffer : (pool: Gst.BufferPool, buffer: Gst.Buffer) => void; + flushStart : (pool: Gst.BufferPool) => void; + flushStop : (pool: Gst.BufferPool) => void; + + } + + class BufferPoolPrivate { + } + + class BusClass { + parentClass : Gst.ObjectClass; + message : (bus: Gst.Bus, message: Gst.Message) => void; + syncMessage : (bus: Gst.Bus, message: Gst.Message) => void; + + } + + class BusPrivate { + } + + class Caps { + miniObject : Gst.MiniObject; + + static NewAny(): Gst.Caps; + static NewEmpty(): Gst.Caps; + static NewEmptySimple(mediaType: string): Gst.Caps; + append(caps2: Gst.Caps): void; + appendStructure(structure: Gst.Structure): void; + appendStructureFull(structure: Gst.Structure, features: Gst.CapsFeatures | undefined | null): void; + canIntersect(caps2: Gst.Caps): boolean; + copy(): Gst.Caps; + copyNth(nth: number): Gst.Caps; + filterAndMapInPlace(func: (features: Gst.CapsFeatures, structure: Gst.Structure) => boolean): void; + fixate(): Gst.Caps; + foreach(func: (features: Gst.CapsFeatures, structure: Gst.Structure) => boolean): boolean; + getFeatures(index: number): Gst.CapsFeatures; + getSize(): number; + getStructure(index: number): Gst.Structure; + intersect(caps2: Gst.Caps): Gst.Caps; + intersectFull(caps2: Gst.Caps, mode: Gst.CapsIntersectMode): Gst.Caps; + isAlwaysCompatible(caps2: Gst.Caps): boolean; + isAny(): boolean; + isEmpty(): boolean; + isEqual(caps2: Gst.Caps): boolean; + isEqualFixed(caps2: Gst.Caps): boolean; + isFixed(): boolean; + isStrictlyEqual(caps2: Gst.Caps): boolean; + isSubset(superset: Gst.Caps): boolean; + isSubsetStructure(structure: Gst.Structure): boolean; + isSubsetStructureFull(structure: Gst.Structure, features: Gst.CapsFeatures | undefined | null): boolean; + mapInPlace(func: (features: Gst.CapsFeatures, structure: Gst.Structure) => boolean): boolean; + merge(caps2: Gst.Caps): Gst.Caps; + mergeStructure(structure: Gst.Structure): Gst.Caps; + mergeStructureFull(structure: Gst.Structure, features: Gst.CapsFeatures | undefined | null): Gst.Caps; + normalize(): Gst.Caps; + removeStructure(idx: number): void; + serialize(flags: Gst.SerializeFlags): string; + setFeatures(index: number, features: Gst.CapsFeatures | undefined | null): void; + setFeaturesSimple(features: Gst.CapsFeatures | undefined | null): void; + setValue(field: string, value: GObject.Value): void; + simplify(): Gst.Caps; + stealStructure(index: number): Gst.Structure; + subtract(subtrahend: Gst.Caps): Gst.Caps; + truncate(): Gst.Caps; + static FromString(string: string): Gst.Caps; + } + + class CapsFeatures { + static NewAny(): Gst.CapsFeatures; + static NewEmpty(): Gst.CapsFeatures; + static NewSingle(feature: string): Gst.CapsFeatures; + add(feature: string): void; + addId(feature: number): void; + contains(feature: string): boolean; + containsId(feature: number): boolean; + copy(): Gst.CapsFeatures; + free(): void; + getNth(i: number): string; + getNthId(i: number): number; + getSize(): number; + isAny(): boolean; + isEqual(features2: Gst.CapsFeatures): boolean; + remove(feature: string): void; + removeId(feature: number): void; + setParentRefcount(refcount: number): boolean; + static FromString(features: string): Gst.CapsFeatures; + } + + class ChildProxyInterface { + parent : GObject.TypeInterface; + getChildByName : (parent: Gst.ChildProxy, name: string) => GObject.Object; + getChildByIndex : (parent: Gst.ChildProxy, index: number) => GObject.Object; + getChildrenCount : (parent: Gst.ChildProxy) => number; + childAdded : (parent: Gst.ChildProxy, child: GObject.Object, name: string) => void; + childRemoved : (parent: Gst.ChildProxy, child: GObject.Object, name: string) => void; + + } + + class ClockClass { + parentClass : Gst.ObjectClass; + changeResolution : (clock: Gst.Clock, oldResolution: number | bigint, newResolution: number | bigint) => number | bigint; + getResolution : (clock: Gst.Clock) => number | bigint; + getInternalTime : (clock: Gst.Clock) => number | bigint; + wait : (clock: Gst.Clock, entry: Gst.ClockEntry, jitter ?: number | bigint) => Gst.ClockReturn; + waitAsync : (clock: Gst.Clock, entry: Gst.ClockEntry) => Gst.ClockReturn; + unschedule : (clock: Gst.Clock, entry: Gst.ClockEntry) => void; + + } + + class ClockEntry { + refcount : number; + clock : Gst.Clock; + type : Gst.ClockEntryType; + time : number | bigint; + interval : number | bigint; + status : Gst.ClockReturn; + func : (clock: Gst.Clock, time: number | bigint) => boolean; + userData : void; + destroyData : () => void; + unscheduled : boolean; + wokenUp : boolean; + + } + + class ClockPrivate { + } + + class Context { + static New(contextType: string, persistent: boolean): Gst.Context; + getContextType(): string; + getStructure(): Gst.Structure; + hasContextType(contextType: string): boolean; + isPersistent(): boolean; + writableStructure(): Gst.Structure; + } + + class ControlBindingClass { + parentClass : Gst.ObjectClass; + syncValues : (binding: Gst.ControlBinding, object: Gst.Object, timestamp: number | bigint, lastSync: number | bigint) => boolean; + getValue : (binding: Gst.ControlBinding, timestamp: number | bigint) => GObject.Value; + getValueArray : void; + getGValueArray : (binding: Gst.ControlBinding, timestamp: number | bigint, interval: number | bigint, nValues: number, values: GObject.Value[]) => boolean; + + } + + class ControlBindingPrivate { + } + + class ControlSourceClass { + parentClass : Gst.ObjectClass; + + } + + class CustomMeta { + meta : Gst.Meta; + + getStructure(): Gst.Structure; + hasName(name: string): boolean; + } + + class DateTime { + static New(tzoffset: number, YEar: number, month: number, day: number, hour: number, minute: number, seconds: number): Gst.DateTime; + static NewFromGDateTime(dt: AuGlibEx.DateTime | undefined | null): Gst.DateTime; + static NewFromIso8601String(string: string): Gst.DateTime; + static NewFromUnixEpochLocalTime(secs: number | bigint): Gst.DateTime; + static NewFromUnixEpochLocalTimeUsecs(usecs: number | bigint): Gst.DateTime; + static NewFromUnixEpochUtc(secs: number | bigint): Gst.DateTime; + static NewFromUnixEpochUtcUsecs(usecs: number | bigint): Gst.DateTime; + static NewLocalTime(YEar: number, month: number, day: number, hour: number, minute: number, seconds: number): Gst.DateTime; + static NewNowLocalTime(): Gst.DateTime; + static NewNowUtc(): Gst.DateTime; + static NewY(YEar: number): Gst.DateTime; + static NewYM(YEar: number, month: number): Gst.DateTime; + static NewYMd(YEar: number, month: number, day: number): Gst.DateTime; + getDay(): number; + getHour(): number; + getMicrosecond(): number; + getMinute(): number; + getMonth(): number; + getSecond(): number; + getTimeZoneOffset(): number; + getYEar(): number; + hasDay(): boolean; + hasMonth(): boolean; + hasSecond(): boolean; + hasTime(): boolean; + hasYEar(): boolean; + ref(): Gst.DateTime; + toGDateTime(): AuGlibEx.DateTime; + toIso8601String(): string; + unref(): void; + } + + class DebugCategory { + threshold : number; + color : number; + name : string; + description : string; + + free(): void; + getColor(): number; + getDescription(): string; + getName(): string; + getThreshold(): Gst.DebugLevel; + resetThreshold(): void; + setThreshold(level: Gst.DebugLevel): void; + } + + class DebugMessage { + get(): string; + } + + class DeviceClass { + parentClass : Gst.ObjectClass; + createElement : (device: Gst.Device, name: string | undefined | null) => Gst.Element; + reconfigureElement : (device: Gst.Device, element: Gst.Element) => boolean; + + } + + class DeviceMonitorClass { + parentClass : Gst.ObjectClass; + + } + + class DeviceMonitorPrivate { + } + + class DevicePrivate { + } + + class DeviceProviderClass { + parentClass : Gst.ObjectClass; + factory : Gst.DeviceProviderFactory; + probe : void; + start : (provider: Gst.DeviceProvider) => boolean; + stop : (provider: Gst.DeviceProvider) => void; + metadata : void; + + addMetadata(key: string, value: string): void; + addStaticMetadata(key: string, value: string): void; + getMetadata(key: string): string; + setMetadata(longname: string, classification: string, description: string, author: string): void; + setStaticMetadata(longname: string, classification: string, description: string, author: string): void; + } + + class DeviceProviderFactoryClass { + } + + class DeviceProviderPrivate { + } + + class DynamicTypeFactoryClass { + } + + class ElementClass { + parentClass : Gst.ObjectClass; + metadata : void; + elementfactory : Gst.ElementFactory; + numpadtemplates : number; + padTemplCookie : number; + padAdded : (element: Gst.Element, pad: Gst.Pad) => void; + padRemoved : (element: Gst.Element, pad: Gst.Pad) => void; + noMorePads : (element: Gst.Element) => void; + requestNewPad : (element: Gst.Element, templ: Gst.PadTemplate, name: string | undefined | null, caps: Gst.Caps | undefined | null) => Gst.Pad; + releasePad : (element: Gst.Element, pad: Gst.Pad) => void; + getState : (element: Gst.Element, state ?: Gst.State, pending ?: Gst.State, timeout ?: number | bigint) => Gst.StateChangeReturn; + setState : (element: Gst.Element, state: Gst.State) => Gst.StateChangeReturn; + changeState : (element: Gst.Element, transition: Gst.StateChange) => Gst.StateChangeReturn; + stateChanged : (element: Gst.Element, oldstate: Gst.State, newstate: Gst.State, pending: Gst.State) => void; + setBus : (element: Gst.Element, bus: Gst.Bus | undefined | null) => void; + provideClock : (element: Gst.Element) => Gst.Clock; + setClock : (element: Gst.Element, clock: Gst.Clock | undefined | null) => boolean; + sendEvent : (element: Gst.Element, event: Gst.Event) => boolean; + query : (element: Gst.Element, query: Gst.Query) => boolean; + postMessage : (element: Gst.Element, message: Gst.Message) => boolean; + setContext : (element: Gst.Element, context: Gst.Context) => void; + + addMetadata(key: string, value: string): void; + addPadTemplate(templ: Gst.PadTemplate): void; + addStaticMetadata(key: string, value: string): void; + addStaticPadTemplate(staticTempl: Gst.StaticPadTemplate): void; + addStaticPadTemplateWithGtype(staticTempl: Gst.StaticPadTemplate, padType: number): void; + getMetadata(key: string): string; + getPadTemplate(name: string): Gst.PadTemplate; + getPadTemplateList(): Gst.PadTemplate[]; + setMetadata(longname: string, classification: string, description: string, author: string): void; + setStaticMetadata(longname: string, classification: string, description: string, author: string): void; + } + + class ElementFactoryClass { + } + + class Event { + miniObject : Gst.MiniObject; + type : Gst.EventType; + timestamp : number | bigint; + seqnum : number; + + static NewBufferSize(format: Gst.Format, minsize: number | bigint, maxsize: number | bigint, _async: boolean): Gst.Event; + static NewCaps(caps: Gst.Caps): Gst.Event; + static NewCustom(type: Gst.EventType, structure: Gst.Structure): Gst.Event; + static NewEos(): Gst.Event; + static NewFlushStart(): Gst.Event; + static NewFlushStop(resetTime: boolean): Gst.Event; + static NewGap(timestamp: number | bigint, duration: number | bigint): Gst.Event; + static NewInstantRateChange(rateMultiplier: number, newFlags: Gst.SegmentFlags): Gst.Event; + static NewInstantRateSyncTime(rateMultiplier: number, runningTime: number | bigint, upstreamRunningTime: number | bigint): Gst.Event; + static NewLatency(latency: number | bigint): Gst.Event; + static NewNavigation(structure: Gst.Structure): Gst.Event; + static NewProtection(systemId: string, data: Gst.Buffer, origin: string): Gst.Event; + static NewQos(type: Gst.QOSType, proportion: number, diff: number | bigint, timestamp: number | bigint): Gst.Event; + static NewReconfigure(): Gst.Event; + static NewSeek(rate: number, format: Gst.Format, flags: Gst.SeekFlags, startType: Gst.SeekType, start: number | bigint, stopType: Gst.SeekType, stop: number | bigint): Gst.Event; + static NewSegment(segment: Gst.Segment): Gst.Event; + static NewSegmentDone(format: Gst.Format, position: number | bigint): Gst.Event; + static NewSelectStreams(streams: string[]): Gst.Event; + static NewSinkMessage(name: string, msg: Gst.Message): Gst.Event; + static NewStep(format: Gst.Format, amount: number | bigint, rate: number, flush: boolean, intermediate: boolean): Gst.Event; + static NewStreamCollection(collection: Gst.StreamCollection): Gst.Event; + static NewStreamGroupDone(groupId: number): Gst.Event; + static NewStreamStart(streamId: string): Gst.Event; + static NewTag(taglist: Gst.TagList): Gst.Event; + static NewToc(toc: Gst.Toc, updated: boolean): Gst.Event; + static NewTocSelect(uid: string): Gst.Event; + copySegment(segment: Gst.Segment): void; + getRunningTimeOffset(): number | bigint; + getSeqnum(): number; + getStructure(): Gst.Structure; + hasName(name: string): boolean; + hasNameId(name: number): boolean; + parseBufferSize(format: Gst.Format, minsize: number | bigint, maxsize: number | bigint, _async: boolean): void; + parseCaps(caps: Gst.Caps): void; + parseFlushStop(resetTime: boolean): void; + parseGap(timestamp ?: number | bigint, duration ?: number | bigint): void; + parseGapFlags(flags: Gst.GapFlags): void; + parseGroupId(groupId: number): boolean; + parseInstantRateChange(rateMultiplier ?: number, newFlags ?: Gst.SegmentFlags): void; + parseInstantRateSyncTime(rateMultiplier ?: number, runningTime ?: number | bigint, upstreamRunningTime ?: number | bigint): void; + parseLatency(latency: number | bigint): void; + parseProtection(systemId ?: string, data ?: Gst.Buffer, origin ?: string): void; + parseQos(type: Gst.QOSType, proportion: number, diff: number | bigint, timestamp: number | bigint): void; + parseSeek(rate: number, format: Gst.Format, flags: Gst.SeekFlags, startType: Gst.SeekType, start: number | bigint, stopType: Gst.SeekType, stop: number | bigint): void; + parseSeekTrickmodeInterval(interval: number | bigint): void; + parseSegment(segment: Gst.Segment): void; + parseSegmentDone(format ?: Gst.Format, position ?: number | bigint): void; + parseSelectStreams(streams: string[]): void; + parseSinkMessage(msg: Gst.Message): void; + parseStep(format ?: Gst.Format, amount ?: number | bigint, rate ?: number, flush ?: boolean, intermediate ?: boolean): void; + parseStream(stream: Gst.Stream): void; + parseStreamCollection(collection: Gst.StreamCollection): void; + parseStreamFlags(flags: Gst.StreamFlags): void; + parseStreamGroupDone(groupId: number): void; + parseStreamStart(streamId: string): void; + parseTag(taglist: Gst.TagList): void; + parseToc(toc: Gst.Toc, updated: boolean): void; + parseTocSelect(uid ?: string): void; + setGapFlags(flags: Gst.GapFlags): void; + setGroupId(groupId: number): void; + setRunningTimeOffset(offset: number | bigint): void; + setSeekTrickmodeInterval(interval: number | bigint): void; + setSeqnum(seqnum: number): void; + setStream(stream: Gst.Stream): void; + setStreamFlags(flags: Gst.StreamFlags): void; + writableStructure(): Gst.Structure; + } + + class FormatDefinition { + value : Gst.Format; + nick : string; + description : string; + quark : number; + + } + + class GhostPadClass { + parentClass : Gst.ProxyPadClass; + + } + + class GhostPadPrivate { + } + + class Iterator { + copy : (it: Gst.Iterator, copy: Gst.Iterator) => void; + next : (it: Gst.Iterator, result: GObject.Value) => Gst.IteratorResult; + item : (it: Gst.Iterator, item: GObject.Value) => Gst.IteratorItem; + resync : (it: Gst.Iterator) => void; + free : (it: Gst.Iterator) => void; + pushed : Gst.Iterator; + type : number; + cookie : number; + masterCookie : number; + size : number; + + static NewSingle(type: number, object: GObject.Value): Gst.Iterator; + filter(func: () => number, userData: GObject.Value): Gst.Iterator; + findCustom(func: () => number, elem: GObject.Value): boolean; + fold(func: (item: GObject.Value, ret: GObject.Value) => boolean, ret: GObject.Value): Gst.IteratorResult; + foreach(func: (item: GObject.Value) => void): Gst.IteratorResult; + push(other: Gst.Iterator): void; + } + + class MapInfo { + memory : Gst.Memory; + flags : Gst.MapFlags; + data : number[]; + size : number | bigint; + maxsize : number | bigint; + + } + + class Memory { + miniObject : Gst.MiniObject; + allocator : Gst.Allocator; + parent : Gst.Memory; + maxsize : number | bigint; + align : number | bigint; + offset : number | bigint; + size : number | bigint; + + static NewWrapped(flags: Gst.MemoryFlags, data: number[], maxsize: number | bigint, offset: number | bigint, size: number | bigint, notify: () => void | undefined | null): Gst.Memory; + copy(offset: number | bigint, size: number | bigint): Gst.Memory; + getSizes(offset ?: number | bigint, maxsize ?: number | bigint): number | bigint; + isSpan(mem2: Gst.Memory, offset: number | bigint): boolean; + isType(memType: string): boolean; + makeMapped(info: Gst.MapInfo, flags: Gst.MapFlags): Gst.Memory; + map(info: Gst.MapInfo, flags: Gst.MapFlags): boolean; + resize(offset: number | bigint, size: number | bigint): void; + share(offset: number | bigint, size: number | bigint): Gst.Memory; + unmap(info: Gst.MapInfo): void; + } + + class Message { + miniObject : Gst.MiniObject; + type : Gst.MessageType; + timestamp : number | bigint; + src : Gst.Object; + seqnum : number; + cond : AuGlibEx.Cond; + + static NewApplication(src: Gst.Object | undefined | null, structure: Gst.Structure): Gst.Message; + static NewAsyncDone(src: Gst.Object | undefined | null, runningTime: number | bigint): Gst.Message; + static NewAsyncStart(src: Gst.Object | undefined | null): Gst.Message; + static NewBuffering(src: Gst.Object | undefined | null, percent: number): Gst.Message; + static NewClockLost(src: Gst.Object | undefined | null, clock: Gst.Clock): Gst.Message; + static NewClockProvide(src: Gst.Object | undefined | null, clock: Gst.Clock, ready: boolean): Gst.Message; + static NewCustom(type: Gst.MessageType, src: Gst.Object | undefined | null, structure: Gst.Structure | undefined | null): Gst.Message; + static NewDeviceAdded(src: Gst.Object, device: Gst.Device): Gst.Message; + static NewDeviceChanged(src: Gst.Object, device: Gst.Device, changedDevice: Gst.Device): Gst.Message; + static NewDeviceRemoved(src: Gst.Object, device: Gst.Device): Gst.Message; + static NewDurationChanged(src: Gst.Object | undefined | null): Gst.Message; + static NewElement(src: Gst.Object | undefined | null, structure: Gst.Structure): Gst.Message; + static NewEos(src: Gst.Object | undefined | null): Gst.Message; + static NewError(src: Gst.Object | undefined | null, error: AuGlibEx.Error, debug: string): Gst.Message; + static NewErrorWithDetails(src: Gst.Object | undefined | null, error: AuGlibEx.Error, debug: string, details: Gst.Structure | undefined | null): Gst.Message; + static NewHaveContext(src: Gst.Object | undefined | null, context: Gst.Context): Gst.Message; + static NewInfo(src: Gst.Object | undefined | null, error: AuGlibEx.Error, debug: string): Gst.Message; + static NewInfoWithDetails(src: Gst.Object | undefined | null, error: AuGlibEx.Error, debug: string, details: Gst.Structure | undefined | null): Gst.Message; + static NewInstantRateRequest(src: Gst.Object, rateMultiplier: number): Gst.Message; + static NewLatency(src: Gst.Object | undefined | null): Gst.Message; + static NewNeedContext(src: Gst.Object | undefined | null, contextType: string): Gst.Message; + static NewNewClock(src: Gst.Object | undefined | null, clock: Gst.Clock): Gst.Message; + static NewProgress(src: Gst.Object, type: Gst.ProgressType, code: string, text: string): Gst.Message; + static NewPropertyNotify(src: Gst.Object, propertyName: string, val: GObject.Value | undefined | null): Gst.Message; + static NewQos(src: Gst.Object, live: boolean, runningTime: number | bigint, streamTime: number | bigint, timestamp: number | bigint, duration: number | bigint): Gst.Message; + static NewRedirect(src: Gst.Object, location: string, tagList: Gst.TagList | undefined | null, entryStruct: Gst.Structure | undefined | null): Gst.Message; + static NewRequestState(src: Gst.Object | undefined | null, state: Gst.State): Gst.Message; + static NewResetTime(src: Gst.Object | undefined | null, runningTime: number | bigint): Gst.Message; + static NewSegmentDone(src: Gst.Object | undefined | null, format: Gst.Format, position: number | bigint): Gst.Message; + static NewSegmentStart(src: Gst.Object | undefined | null, format: Gst.Format, position: number | bigint): Gst.Message; + static NewStateChanged(src: Gst.Object | undefined | null, oldstate: Gst.State, newstate: Gst.State, pending: Gst.State): Gst.Message; + static NewStateDirty(src: Gst.Object | undefined | null): Gst.Message; + static NewStepDone(src: Gst.Object, format: Gst.Format, amount: number | bigint, rate: number, flush: boolean, intermediate: boolean, duration: number | bigint, eos: boolean): Gst.Message; + static NewStepStart(src: Gst.Object, active: boolean, format: Gst.Format, amount: number | bigint, rate: number, flush: boolean, intermediate: boolean): Gst.Message; + static NewStreamCollection(src: Gst.Object, collection: Gst.StreamCollection): Gst.Message; + static NewStreamStart(src: Gst.Object | undefined | null): Gst.Message; + static NewStreamStatus(src: Gst.Object, type: Gst.StreamStatusType, owner: Gst.Element): Gst.Message; + static NewStreamsSelected(src: Gst.Object, collection: Gst.StreamCollection): Gst.Message; + static NewStructureChange(src: Gst.Object | undefined | null, type: Gst.StructureChangeType, owner: Gst.Element, busy: boolean): Gst.Message; + static NewTag(src: Gst.Object | undefined | null, tagList: Gst.TagList): Gst.Message; + static NewToc(src: Gst.Object, toc: Gst.Toc, updated: boolean): Gst.Message; + static NewWarning(src: Gst.Object | undefined | null, error: AuGlibEx.Error, debug: string): Gst.Message; + static NewWarningWithDetails(src: Gst.Object | undefined | null, error: AuGlibEx.Error, debug: string, details: Gst.Structure | undefined | null): Gst.Message; + addRedirectEntry(location: string, tagList: Gst.TagList | undefined | null, entryStruct: Gst.Structure | undefined | null): void; + getNumRedirectEntries(): number | bigint; + getSeqnum(): number; + getStreamStatusObject(): GObject.Value; + getStructure(): Gst.Structure; + hasName(name: string): boolean; + parseAsyncDone(runningTime ?: number | bigint): void; + parseBuffering(percent ?: number): void; + parseBufferingStats(mode ?: Gst.BufferingMode, avgIn ?: number, avgOut ?: number, bufferingLeft ?: number | bigint): void; + parseClockLost(clock ?: Gst.Clock): void; + parseClockProvide(clock ?: Gst.Clock, ready ?: boolean): void; + parseContextType(contextType ?: string): boolean; + parseDeviceAdded(device ?: Gst.Device): void; + parseDeviceChanged(device ?: Gst.Device, changedDevice ?: Gst.Device): void; + parseDeviceRemoved(device ?: Gst.Device): void; + parseError(gerror ?: AuGlibEx.Error, debug ?: string): void; + parseErrorDetails(structure: Gst.Structure): void; + parseGroupId(groupId ?: number): boolean; + parseHaveContext(context ?: Gst.Context): void; + parseInfo(gerror ?: AuGlibEx.Error, debug ?: string): void; + parseInfoDetails(structure: Gst.Structure): void; + parseInstantRateRequest(rateMultiplier ?: number): void; + parseNewClock(clock ?: Gst.Clock): void; + parseProgress(type ?: Gst.ProgressType, code ?: string, text ?: string): void; + parsePropertyNotify(object ?: Gst.Object, propertyName ?: string, propertyValue ?: GObject.Value): void; + parseQos(live ?: boolean, runningTime ?: number | bigint, streamTime ?: number | bigint, timestamp ?: number | bigint, duration ?: number | bigint): void; + parseQosStats(format ?: Gst.Format, processed ?: number | bigint, dropped ?: number | bigint): void; + parseQosValues(jitter ?: number | bigint, proportion ?: number, quality ?: number): void; + parseRedirectEntry(entryIndex: number | bigint, location ?: string, tagList ?: Gst.TagList, entryStruct ?: Gst.Structure): void; + parseRequestState(state ?: Gst.State): void; + parseResetTime(runningTime ?: number | bigint): void; + parseSegmentDone(format ?: Gst.Format, position ?: number | bigint): void; + parseSegmentStart(format ?: Gst.Format, position ?: number | bigint): void; + parseStateChanged(oldstate ?: Gst.State, newstate ?: Gst.State, pending ?: Gst.State): void; + parseStepDone(format ?: Gst.Format, amount ?: number | bigint, rate ?: number, flush ?: boolean, intermediate ?: boolean, duration ?: number | bigint, eos ?: boolean): void; + parseStepStart(active ?: boolean, format ?: Gst.Format, amount ?: number | bigint, rate ?: number, flush ?: boolean, intermediate ?: boolean): void; + parseStreamCollection(collection ?: Gst.StreamCollection): void; + parseStreamStatus(type: Gst.StreamStatusType, owner: Gst.Element): void; + parseStreamsSelected(collection ?: Gst.StreamCollection): void; + parseStructureChange(type: Gst.StructureChangeType, owner ?: Gst.Element, busy ?: boolean): void; + parseTag(tagList: Gst.TagList): void; + parseToc(toc: Gst.Toc, updated: boolean): void; + parseWarning(gerror ?: AuGlibEx.Error, debug ?: string): void; + parseWarningDetails(structure: Gst.Structure): void; + setBufferingStats(mode: Gst.BufferingMode, avgIn: number, avgOut: number, bufferingLeft: number | bigint): void; + setGroupId(groupId: number): void; + setQosStats(format: Gst.Format, processed: number | bigint, dropped: number | bigint): void; + setQosValues(jitter: number | bigint, proportion: number, quality: number): void; + setSeqnum(seqnum: number): void; + setStreamStatusObject(object: GObject.Value): void; + streamsSelectedAdd(stream: Gst.Stream): void; + streamsSelectedGetSize(): number; + streamsSelectedGetStream(idx: number): Gst.Stream; + writableStructure(): Gst.Structure; + } + + class Meta { + flags : Gst.MetaFlags; + info : Gst.MetaInfo; + + compareSeqnum(meta2: Gst.Meta): number; + getSeqnum(): number | bigint; + static ApiTypeGetTags(api: number): string[]; + static ApiTypeHasTag(api: number, tag: number): boolean; + static ApiTypeRegister(api: string, tags: string[]): number; + static GetInfo(impl: string): Gst.MetaInfo; + static Register(api: number, impl: string, size: number | bigint, initFunc: (meta: Gst.Meta, buffer: Gst.Buffer) => boolean, freeFunc: (meta: Gst.Meta, buffer: Gst.Buffer) => void, transformFunc: (transbuf: Gst.Buffer, meta: Gst.Meta, buffer: Gst.Buffer, type: number) => boolean): Gst.MetaInfo; + static RegisterCustom(name: string, tags: string[], transformFunc: (transbuf: Gst.Buffer, meta: Gst.CustomMeta, buffer: Gst.Buffer, type: number) => boolean | undefined | null, destroyData: () => void): Gst.MetaInfo; + } + + class MetaInfo { + api : number; + type : number; + size : number | bigint; + initFunc : (meta: Gst.Meta, buffer: Gst.Buffer) => boolean; + freeFunc : (meta: Gst.Meta, buffer: Gst.Buffer) => void; + transformFunc : (transbuf: Gst.Buffer, meta: Gst.Meta, buffer: Gst.Buffer, type: number) => boolean; + + isCustom(): boolean; + } + + class MetaTransformCopy { + region : boolean; + offset : number | bigint; + size : number | bigint; + + } + + class MiniObject { + type : number; + refcount : number; + lockstate : number; + flags : number; + copy : (obj: Gst.MiniObject) => Gst.MiniObject; + dispose : (obj: Gst.MiniObject) => boolean; + free : (obj: Gst.MiniObject) => void; + privUint : number; + privPointer : void; + + addParent(parent: Gst.MiniObject): void; + getQdata(quark: number): void; + isWritable(): boolean; + lock(flags: Gst.LockFlags): boolean; + removeParent(parent: Gst.MiniObject): void; + setQdata(quark: number, destroy: () => void): void; + stealQdata(quark: number): void; + unlock(flags: Gst.LockFlags): void; + static Replace(olddata ?: Gst.MiniObject | undefined | null, newdata ?: Gst.MiniObject | undefined | null): boolean; + static Take(olddata: Gst.MiniObject, newdata: Gst.MiniObject): boolean; + } + + class ObjectClass { + parentClass : GObject.InitiallyUnownedClass; + pathStringSeparator : string; + deepNotify : (object: Gst.Object, orig: Gst.Object, pspec: GObject.ParamSpec) => void; + + } + + class PadClass { + parentClass : Gst.ObjectClass; + linked : (pad: Gst.Pad, peer: Gst.Pad) => void; + unlinked : (pad: Gst.Pad, peer: Gst.Pad) => void; + + } + + class PadPrivate { + } + + class PadProbeInfo { + type : Gst.PadProbeType; + id : number; + data : void; + offset : number | bigint; + size : number; + + getBuffer(): Gst.Buffer; + getBufferList(): Gst.BufferList; + getEvent(): Gst.Event; + getQuery(): Gst.Query; + } + + class PadTemplateClass { + parentClass : Gst.ObjectClass; + padCreated : (templ: Gst.PadTemplate, pad: Gst.Pad) => void; + + } + + class ParamSpecArray { + parentInstance : GObject.ParamSpec; + elementSpec : GObject.ParamSpec; + + } + + class ParamSpecFraction { + parentInstance : GObject.ParamSpec; + minNum : number; + minDen : number; + maxNum : number; + maxDen : number; + defNum : number; + defDen : number; + + } + + class ParentBufferMeta { + parent : Gst.Meta; + buffer : Gst.Buffer; + + static GetInfo(): Gst.MetaInfo; + } + + class ParseContext { + static New(): Gst.ParseContext; + copy(): Gst.ParseContext; + free(): void; + getMissingElements(): string[]; + } + + class PipelineClass { + parentClass : Gst.BinClass; + + } + + class PipelinePrivate { + } + + class PluginClass { + } + + class PluginDesc { + majorVersion : number; + minorVersion : number; + name : string; + description : string; + pluginInit : (plugin: Gst.Plugin) => boolean; + version : string; + license : string; + source : string; + package : string; + origin : string; + releaseDatetime : string; + + } + + class PluginFeatureClass { + } + + class Poll { + addFd(fd: Gst.PollFD): boolean; + fdCanRead(fd: Gst.PollFD): boolean; + fdCanWrite(fd: Gst.PollFD): boolean; + fdCtlPri(fd: Gst.PollFD, active: boolean): boolean; + fdCtlRead(fd: Gst.PollFD, active: boolean): boolean; + fdCtlWrite(fd: Gst.PollFD, active: boolean): boolean; + fdHasClosed(fd: Gst.PollFD): boolean; + fdHasError(fd: Gst.PollFD): boolean; + fdHasPri(fd: Gst.PollFD): boolean; + fdIgnored(fd: Gst.PollFD): void; + free(): void; + getReadGpollfd(fd: AuGlibEx.PollFD): void; + readControl(): boolean; + removeFd(fd: Gst.PollFD): boolean; + restart(): void; + setControllable(controllable: boolean): boolean; + setFlushing(flushing: boolean): void; + wait(timeout: number | bigint): number; + writeControl(): boolean; + } + + class PollFD { + fd : number; + idx : number; + + init(): void; + } + + class PresetInterface { + parent : GObject.TypeInterface; + getPresetNames : (preset: Gst.Preset) => string[]; + getPropertyNames : (preset: Gst.Preset) => string[]; + loadPreset : (preset: Gst.Preset, name: string) => boolean; + savePreset : (preset: Gst.Preset, name: string) => boolean; + renamePreset : (preset: Gst.Preset, oldName: string, newName: string) => boolean; + deletePreset : (preset: Gst.Preset, name: string) => boolean; + setMeta : (preset: Gst.Preset, name: string, tag: string, value: string | undefined | null) => boolean; + getMeta : (preset: Gst.Preset, name: string, tag: string, value: string) => boolean; + + } + + class Promise { + parent : Gst.MiniObject; + + static New(): Gst.Promise; + static NewWithChangeFunc(func: (promise: Gst.Promise) => void, notify: () => void): Gst.Promise; + expire(): void; + getReply(): Gst.Structure; + interrupt(): void; + reply(s: Gst.Structure | undefined | null): void; + wait(): Gst.PromiseResult; + } + + class ProtectionMeta { + meta : Gst.Meta; + info : Gst.Structure; + + static GetInfo(): Gst.MetaInfo; + } + + class ProxyPadClass { + parentClass : Gst.PadClass; + + } + + class ProxyPadPrivate { + } + + class Query { + miniObject : Gst.MiniObject; + type : Gst.QueryType; + + static NewAcceptCaps(caps: Gst.Caps): Gst.Query; + static NewAllocation(caps: Gst.Caps, needPool: boolean): Gst.Query; + static NewBitrate(): Gst.Query; + static NewBuffering(format: Gst.Format): Gst.Query; + static NewCaps(filter: Gst.Caps): Gst.Query; + static NewContext(contextType: string): Gst.Query; + static NewConvert(srcFormat: Gst.Format, value: number | bigint, destFormat: Gst.Format): Gst.Query; + static NewCustom(type: Gst.QueryType, structure: Gst.Structure | undefined | null): Gst.Query; + static NewDrain(): Gst.Query; + static NewDuration(format: Gst.Format): Gst.Query; + static NewFormats(): Gst.Query; + static NewLatency(): Gst.Query; + static NewPosition(format: Gst.Format): Gst.Query; + static NewScheduling(): Gst.Query; + static NewSeeking(format: Gst.Format): Gst.Query; + static NewSegment(format: Gst.Format): Gst.Query; + static NewUri(): Gst.Query; + addAllocationMeta(api: number, params: Gst.Structure | undefined | null): void; + addAllocationParam(allocator: Gst.Allocator | undefined | null, params: Gst.AllocationParams | undefined | null): void; + addAllocationPool(pool: Gst.BufferPool | undefined | null, size: number, minBuffers: number, maxBuffers: number): void; + addBufferingRange(start: number | bigint, stop: number | bigint): boolean; + addSchedulingMode(mode: Gst.PadMode): void; + findAllocationMeta(api: number, index ?: number): boolean; + getNAllocationMetas(): number; + getNAllocationParams(): number; + getNAllocationPools(): number; + getNBufferingRanges(): number; + getNSchedulingModes(): number; + getStructure(): Gst.Structure; + hasSchedulingMode(mode: Gst.PadMode): boolean; + hasSchedulingModeWithFlags(mode: Gst.PadMode, flags: Gst.SchedulingFlags): boolean; + parseAcceptCaps(caps: Gst.Caps): void; + parseAcceptCapsResult(result ?: boolean): void; + parseAllocation(caps ?: Gst.Caps, needPool ?: boolean): void; + parseBitrate(nominalBitrate ?: number): void; + parseBufferingPercent(busy ?: boolean, percent ?: number): void; + parseBufferingRange(format ?: Gst.Format, start ?: number | bigint, stop ?: number | bigint, estimatedTotal ?: number | bigint): void; + parseBufferingStats(mode ?: Gst.BufferingMode, avgIn ?: number, avgOut ?: number, bufferingLeft ?: number | bigint): void; + parseCaps(filter: Gst.Caps): void; + parseCapsResult(caps: Gst.Caps): void; + parseContext(context: Gst.Context): void; + parseContextType(contextType ?: string): boolean; + parseConvert(srcFormat ?: Gst.Format, srcValue ?: number | bigint, destFormat ?: Gst.Format, destValue ?: number | bigint): void; + parseDuration(format ?: Gst.Format, duration ?: number | bigint): void; + parseLatency(live ?: boolean, minLatency ?: number | bigint, maxLatency ?: number | bigint): void; + parseNFormats(nFormats ?: number): void; + parseNthAllocationMeta(index: number, params ?: Gst.Structure): number; + parseNthAllocationParam(index: number, allocator ?: Gst.Allocator, params ?: Gst.AllocationParams): void; + parseNthAllocationPool(index: number, pool ?: Gst.BufferPool, size ?: number, minBuffers ?: number, maxBuffers ?: number): void; + parseNthBufferingRange(index: number, start ?: number | bigint, stop ?: number | bigint): boolean; + parseNthFormat(nth: number, format ?: Gst.Format): void; + parseNthSchedulingMode(index: number): Gst.PadMode; + parsePosition(format ?: Gst.Format, cur ?: number | bigint): void; + parseScheduling(flags ?: Gst.SchedulingFlags, minsize ?: number, maxsize ?: number, align ?: number): void; + parseSeeking(format ?: Gst.Format, seekable ?: boolean, segmentStart ?: number | bigint, segmentEnd ?: number | bigint): void; + parseSegment(rate ?: number, format ?: Gst.Format, startValue ?: number | bigint, stopValue ?: number | bigint): void; + parseUri(uri ?: string): void; + parseUriRedirection(uri ?: string): void; + parseUriRedirectionPermanent(permanent ?: boolean): void; + removeNthAllocationMeta(index: number): void; + removeNthAllocationParam(index: number): void; + removeNthAllocationPool(index: number): void; + setAcceptCapsResult(result: boolean): void; + setBitrate(nominalBitrate: number): void; + setBufferingPercent(busy: boolean, percent: number): void; + setBufferingRange(format: Gst.Format, start: number | bigint, stop: number | bigint, estimatedTotal: number | bigint): void; + setBufferingStats(mode: Gst.BufferingMode, avgIn: number, avgOut: number, bufferingLeft: number | bigint): void; + setCapsResult(caps: Gst.Caps): void; + setContext(context: Gst.Context): void; + setConvert(srcFormat: Gst.Format, srcValue: number | bigint, destFormat: Gst.Format, destValue: number | bigint): void; + setDuration(format: Gst.Format, duration: number | bigint): void; + setFormatsv(nFormats: number, formats: Gst.Format[]): void; + setLatency(live: boolean, minLatency: number | bigint, maxLatency: number | bigint): void; + setNthAllocationParam(index: number, allocator: Gst.Allocator | undefined | null, params: Gst.AllocationParams | undefined | null): void; + setNthAllocationPool(index: number, pool: Gst.BufferPool | undefined | null, size: number, minBuffers: number, maxBuffers: number): void; + setPosition(format: Gst.Format, cur: number | bigint): void; + setScheduling(flags: Gst.SchedulingFlags, minsize: number, maxsize: number, align: number): void; + setSeeking(format: Gst.Format, seekable: boolean, segmentStart: number | bigint, segmentEnd: number | bigint): void; + setSegment(rate: number, format: Gst.Format, startValue: number | bigint, stopValue: number | bigint): void; + setUri(uri: string): void; + setUriRedirection(uri: string): void; + setUriRedirectionPermanent(permanent: boolean): void; + writableStructure(): Gst.Structure; + } + + class ReferenceTimestampMeta { + parent : Gst.Meta; + reference : Gst.Caps; + timestamp : number | bigint; + duration : number | bigint; + + static GetInfo(): Gst.MetaInfo; + } + + class RegistryClass { + parentClass : Gst.ObjectClass; + + } + + class RegistryPrivate { + } + + class Sample { + static New(buffer: Gst.Buffer | undefined | null, caps: Gst.Caps | undefined | null, segment: Gst.Segment | undefined | null, info: Gst.Structure | undefined | null): Gst.Sample; + getBuffer(): Gst.Buffer; + getBufferList(): Gst.BufferList; + getCaps(): Gst.Caps; + getInfo(): Gst.Structure; + getSegment(): Gst.Segment; + setBuffer(buffer: Gst.Buffer): void; + setBufferList(bufferList: Gst.BufferList): void; + setCaps(caps: Gst.Caps): void; + setInfo(info: Gst.Structure): boolean; + setSegment(segment: Gst.Segment): void; + } + + class Segment { + flags : Gst.SegmentFlags; + rate : number; + appliedRate : number; + format : Gst.Format; + base : number | bigint; + offset : number | bigint; + start : number | bigint; + stop : number | bigint; + time : number | bigint; + position : number | bigint; + duration : number | bigint; + + static New(): Gst.Segment; + clip(format: Gst.Format, start: number | bigint, stop: number | bigint, clipStart ?: number | bigint, clipStop ?: number | bigint): boolean; + copy(): Gst.Segment; + copyInto(dest: Gst.Segment): void; + doSeek(rate: number, format: Gst.Format, flags: Gst.SeekFlags, startType: Gst.SeekType, start: number | bigint, stopType: Gst.SeekType, stop: number | bigint, update ?: boolean): boolean; + free(): void; + init(format: Gst.Format): void; + isEqual(s1: Gst.Segment): boolean; + offsetRunningTime(format: Gst.Format, offset: number | bigint): boolean; + positionFromRunningTime(format: Gst.Format, runningTime: number | bigint): number | bigint; + positionFromRunningTimeFull(format: Gst.Format, runningTime: number | bigint, position: number | bigint): number; + positionFromStreamTime(format: Gst.Format, streamTime: number | bigint): number | bigint; + positionFromStreamTimeFull(format: Gst.Format, streamTime: number | bigint, position: number | bigint): number; + setRunningTime(format: Gst.Format, runningTime: number | bigint): boolean; + toPosition(format: Gst.Format, runningTime: number | bigint): number | bigint; + toRunningTime(format: Gst.Format, position: number | bigint): number | bigint; + toRunningTimeFull(format: Gst.Format, position: number | bigint, runningTime ?: number | bigint): number; + toStreamTime(format: Gst.Format, position: number | bigint): number | bigint; + toStreamTimeFull(format: Gst.Format, position: number | bigint, streamTime: number | bigint): number; + } + + class SharedTaskPoolClass { + parentClass : Gst.TaskPoolClass; + + } + + class SharedTaskPoolPrivate { + } + + class StaticCaps { + caps : Gst.Caps; + string : string; + + cleanup(): void; + get(): Gst.Caps; + } + + class StaticPadTemplate { + nameTemplate : string; + direction : Gst.PadDirection; + presence : Gst.PadPresence; + staticCaps : Gst.StaticCaps; + + get(): Gst.PadTemplate; + getCaps(): Gst.Caps; + } + + class StreamClass { + parentClass : Gst.ObjectClass; + + } + + class StreamCollectionClass { + parentClass : Gst.ObjectClass; + streamNotify : (collection: Gst.StreamCollection, stream: Gst.Stream, pspec: GObject.ParamSpec) => void; + + } + + class StreamCollectionPrivate { + } + + class StreamPrivate { + } + + class Structure { + type : number; + name : number; + + static FromString(string: string, end ?: string): Gst.Structure; + static NewEmpty(name: string): Gst.Structure; + static NewFromString(string: string): Gst.Structure; + static NewIdEmpty(quark: number): Gst.Structure; + canIntersect(struct2: Gst.Structure): boolean; + copy(): Gst.Structure; + filterAndMapInPlace(func: (fieldId: number, value: GObject.Value) => boolean): void; + fixate(): void; + fixateField(fieldName: string): boolean; + fixateFieldBoolean(fieldName: string, target: boolean): boolean; + fixateFieldNearestDouble(fieldName: string, target: number): boolean; + fixateFieldNearestFraction(fieldName: string, targetNumerator: number, targetDenominator: number): boolean; + fixateFieldNearestInt(fieldName: string, target: number): boolean; + fixateFieldString(fieldName: string, target: string): boolean; + foreach(func: (fieldId: number, value: GObject.Value) => boolean): boolean; + free(): void; + getArray(fieldname: string, array: GObject.ValueArray): boolean; + getBoolean(fieldname: string, value: boolean): boolean; + getClockTime(fieldname: string, value: number | bigint): boolean; + getDate(fieldname: string, value: AuGlibEx.Date): boolean; + getDateTime(fieldname: string, value: Gst.DateTime): boolean; + getDouble(fieldname: string, value: number): boolean; + getEnum(fieldname: string, enumtype: number, value: number): boolean; + getFieldType(fieldname: string): number; + getFlagset(fieldname: string, valueFlags ?: number, valueMask ?: number): boolean; + getFraction(fieldname: string, valueNumerator: number, valueDenominator: number): boolean; + getInt(fieldname: string, value: number): boolean; + getInt64(fieldname: string, value: number | bigint): boolean; + getList(fieldname: string, array: GObject.ValueArray): boolean; + getName(): string; + getNameId(): number; + getString(fieldname: string): string; + getUint(fieldname: string, value: number): boolean; + getUint64(fieldname: string, value: number | bigint): boolean; + getValue(fieldname: string): GObject.Value; + hasField(fieldname: string): boolean; + hasFieldTyped(fieldname: string, type: number): boolean; + hasName(name: string): boolean; + idGetValue(field: number): GObject.Value; + idHasField(field: number): boolean; + idHasFieldTyped(field: number, type: number): boolean; + idSetValue(field: number, value: GObject.Value): void; + idTakeValue(field: number, value: GObject.Value): void; + intersect(struct2: Gst.Structure): Gst.Structure; + isEqual(structure2: Gst.Structure): boolean; + isSubset(superset: Gst.Structure): boolean; + mapInPlace(func: (fieldId: number, value: GObject.Value) => boolean): boolean; + nFields(): number; + nthFieldName(index: number): string; + removeAllFields(): void; + removeField(fieldname: string): void; + serialize(flags: Gst.SerializeFlags): string; + setArray(fieldname: string, array: GObject.ValueArray): void; + setList(fieldname: string, array: GObject.ValueArray): void; + setName(name: string): void; + setParentRefcount(refcount: number): boolean; + setValue(fieldname: string, value: GObject.Value): void; + takeValue(fieldname: string, value: GObject.Value): void; + static Take(oldstrPtr ?: Gst.Structure | undefined | null, newstr ?: Gst.Structure | undefined | null): boolean; + } + + class SystemClockClass { + parentClass : Gst.ClockClass; + + } + + class SystemClockPrivate { + } + + class TagList { + miniObject : Gst.MiniObject; + + static NewEmpty(): Gst.TagList; + static NewFromString(str: string): Gst.TagList; + addValue(mode: Gst.TagMergeMode, tag: string, value: GObject.Value): void; + copy(): Gst.TagList; + foreach(func: (list: Gst.TagList, tag: string) => void): void; + getBoolean(tag: string, value: boolean): boolean; + getBooleanIndex(tag: string, index: number, value: boolean): boolean; + getDate(tag: string, value: AuGlibEx.Date): boolean; + getDateIndex(tag: string, index: number, value: AuGlibEx.Date): boolean; + getDateTime(tag: string, value: Gst.DateTime): boolean; + getDateTimeIndex(tag: string, index: number, value: Gst.DateTime): boolean; + getDouble(tag: string, value: number): boolean; + getDoubleIndex(tag: string, index: number, value: number): boolean; + getFloat(tag: string, value: number): boolean; + getFloatIndex(tag: string, index: number, value: number): boolean; + getInt(tag: string, value: number): boolean; + getInt64(tag: string, value: number | bigint): boolean; + getInt64Index(tag: string, index: number, value: number | bigint): boolean; + getIntIndex(tag: string, index: number, value: number): boolean; + getPointer(tag: string): boolean; + getPointerIndex(tag: string, index: number): boolean; + getSample(tag: string, sample: Gst.Sample): boolean; + getSampleIndex(tag: string, index: number, sample: Gst.Sample): boolean; + getScope(): Gst.TagScope; + getString(tag: string, value: string): boolean; + getStringIndex(tag: string, index: number, value: string): boolean; + getTagSize(tag: string): number; + getUint(tag: string, value: number): boolean; + getUint64(tag: string, value: number | bigint): boolean; + getUint64Index(tag: string, index: number, value: number | bigint): boolean; + getUintIndex(tag: string, index: number, value: number): boolean; + getValueIndex(tag: string, index: number): GObject.Value; + insert(from: Gst.TagList, mode: Gst.TagMergeMode): void; + isEmpty(): boolean; + isEqual(list2: Gst.TagList): boolean; + merge(list2: Gst.TagList | undefined | null, mode: Gst.TagMergeMode): Gst.TagList; + nTags(): number; + nthTagName(index: number): string; + peekStringIndex(tag: string, index: number, value: string): boolean; + removeTag(tag: string): void; + setScope(scope: Gst.TagScope): void; + static CopyValue(dest: GObject.Value, list: Gst.TagList, tag: string): boolean; + } + + class TagSetterInterface { + gIface : GObject.TypeInterface; + + } + + class TaskClass { + parentClass : Gst.ObjectClass; + pool : Gst.TaskPool; + + } + + class TaskPoolClass { + parentClass : Gst.ObjectClass; + prepare : (pool: Gst.TaskPool) => void; + cleanup : (pool: Gst.TaskPool) => void; + push : (pool: Gst.TaskPool, func: () => void) => void; + join : (pool: Gst.TaskPool) => void; + disposeHandle : (pool: Gst.TaskPool) => void; + + } + + class TaskPrivate { + } + + class TimedValue { + timestamp : number | bigint; + value : number; + + } + + class Toc { + static New(scope: Gst.TocScope): Gst.Toc; + appendEntry(entry: Gst.TocEntry): void; + dump(): void; + findEntry(uid: string): Gst.TocEntry; + getEntries(): Gst.TocEntry[]; + getScope(): Gst.TocScope; + getTags(): Gst.TagList; + mergeTags(tags: Gst.TagList | undefined | null, mode: Gst.TagMergeMode): void; + setTags(tags: Gst.TagList | undefined | null): void; + } + + class TocEntry { + static New(type: Gst.TocEntryType, uid: string): Gst.TocEntry; + appendSubEntry(subentry: Gst.TocEntry): void; + getEntryType(): Gst.TocEntryType; + getLoop(loopType ?: Gst.TocLoopType, repeatCount ?: number): boolean; + getParent(): Gst.TocEntry; + getStartStopTimes(start ?: number | bigint, stop ?: number | bigint): boolean; + getSubEntries(): Gst.TocEntry[]; + getTags(): Gst.TagList; + getToc(): Gst.Toc; + getUid(): string; + isAlternative(): boolean; + isSequence(): boolean; + mergeTags(tags: Gst.TagList | undefined | null, mode: Gst.TagMergeMode): void; + setLoop(loopType: Gst.TocLoopType, repeatCount: number): void; + setStartStopTimes(start: number | bigint, stop: number | bigint): void; + setTags(tags: Gst.TagList | undefined | null): void; + } + + class TocSetterInterface { + gIface : GObject.TypeInterface; + + } + + class TracerClass { + parentClass : Gst.ObjectClass; + + } + + class TracerFactoryClass { + } + + class TracerPrivate { + } + + class TracerRecordClass { + } + + class TypeFind { + peek : (offset: number | bigint, size: number) => number; + suggest : (probability: number, caps: Gst.Caps) => void; + data : void; + getLength : () => number | bigint; + + suggestEmptySimple(probability: number, mediaType: string): void; + static Register(plugin: Gst.Plugin | undefined | null, name: string, rank: number, func: (find: Gst.TypeFind) => void, extensions: string | undefined | null, possibleCaps: Gst.Caps | undefined | null, dataNotify: () => void): boolean; + } + + class TypeFindFactoryClass { + } + + class URIHandlerInterface { + parent : GObject.TypeInterface; + getType : (type: number) => Gst.URIType; + getProtocols : (type: number) => string[]; + getUri : (handler: Gst.URIHandler) => string; + setUri : (handler: Gst.URIHandler, uri: string) => boolean; + + } + + class Uri { + static New(scheme: string | undefined | null, userinfo: string | undefined | null, host: string | undefined | null, port: number, path: string | undefined | null, query: string | undefined | null, fragment: string | undefined | null): Gst.Uri; + appendPath(relativePath: string): boolean; + appendPathSegment(pathSegment: string): boolean; + equal(second: Gst.Uri): boolean; + fromStringWithBase(uri: string): Gst.Uri; + getFragment(): string; + getHost(): string; + getMediaFragmentTable(): number; + getPath(): string; + getPathSegments(): string[]; + getPathString(): string; + getPort(): number; + getQueryKeys(): string[]; + getQueryString(): string; + getQueryTable(): number; + getQueryValue(queryKey: string): string; + getScheme(): string; + getUserinfo(): string; + isNormalized(): boolean; + isWritable(): boolean; + join(refUri: Gst.Uri | undefined | null): Gst.Uri; + makeWritable(): Gst.Uri; + newWithBase(scheme: string | undefined | null, userinfo: string | undefined | null, host: string | undefined | null, port: number, path: string | undefined | null, query: string | undefined | null, fragment: string | undefined | null): Gst.Uri; + normalize(): boolean; + queryHasKey(queryKey: string): boolean; + removeQueryKey(queryKey: string): boolean; + setFragment(fragment: string | undefined | null): boolean; + setHost(host: string): boolean; + setPath(path: string): boolean; + setPathSegments(pathSegments: string[] | undefined | null): boolean; + setPathString(path: string): boolean; + setPort(port: number): boolean; + setQueryString(query: string): boolean; + setQueryTable(queryTable: number | undefined | null): boolean; + setQueryValue(queryKey: string, queryValue: string | undefined | null): boolean; + setScheme(scheme: string): boolean; + setUserinfo(userinfo: string): boolean; + static Construct(protocol: string, location: string): string; + static FromString(uri: string): Gst.Uri; + static FromStringEscaped(uri: string): Gst.Uri; + static GetLocation(uri: string): string; + static GetProtocol(uri: string): string; + static HasProtocol(uri: string, protocol: string): boolean; + static IsValid(uri: string): boolean; + static JoinStrings(baseUri: string, refUri: string): string; + static ProtocolIsSupported(type: Gst.URIType, protocol: string): boolean; + static ProtocolIsValid(protocol: string): boolean; + } + + class ValueTable { + type : number; + compare : (value1: GObject.Value, value2: GObject.Value) => number; + serialize : (value1: GObject.Value) => string; + deserialize : (dest: GObject.Value, s: string) => boolean; + deserializeWithPspec : (dest: GObject.Value, s: string, pspec: GObject.ParamSpec) => boolean; + + } + + + class Allocator extends Gst.Object { + constructor(initializerList ?: AllocatorCtor); + + object : Gst.Object; + memType : string; + memMap : (mem: Gst.Memory, maxsize: number | bigint, flags: Gst.MapFlags) => void; + memUnmap : (mem: Gst.Memory) => void; + memCopy : (mem: Gst.Memory, offset: number | bigint, size: number | bigint) => Gst.Memory; + memShare : (mem: Gst.Memory, offset: number | bigint, size: number | bigint) => Gst.Memory; + memIsSpan : (mem1: Gst.Memory, mem2: Gst.Memory, offset: number | bigint) => boolean; + memMapFull : (mem: Gst.Memory, info: Gst.MapInfo, maxsize: number | bigint) => void; + memUnmapFull : (mem: Gst.Memory, info: Gst.MapInfo) => void; + priv : Gst.AllocatorPrivate; + + static Find(name: string | undefined | null): Gst.Allocator; + static Register(name: string, allocator: Gst.Allocator): void; + alloc(size: number | bigint, params: Gst.AllocationParams | undefined | null): Gst.Memory; + free(memory: Gst.Memory): void; + setDefault(): void; + //TypeScript is complete garbage: + } + + class AllocatorCtor { + name ?: string; + parent ?: Gst.Object; + } + + class Bin extends Gst.Element implements Gst.ChildProxy { + constructor(initializerList ?: BinCtor); + + element : Gst.Element; + numchildren : number; + children : Gst.Element[]; + childrenCookie : number; + childBus : Gst.Bus; + messages : Gst.Message[]; + polling : boolean; + stateDirty : boolean; + clockDirty : boolean; + providedClock : Gst.Clock; + clockProvider : Gst.Element; + priv : Gst.BinPrivate; + + asyncHandling : boolean; + messageForward : boolean; + + static New(name: string | undefined | null): Gst.Element; + add(element: Gst.Element): boolean; + findUnlinkedPad(direction: Gst.PadDirection): Gst.Pad; + getByInterface(iface: number): Gst.Element; + getByName(name: string): Gst.Element; + getByNameRecurseUp(name: string): Gst.Element; + getSuppressedFlags(): Gst.ElementFlags; + iterateAllByElementFactoryName(factoryName: string): Gst.Iterator; + iterateAllByInterface(iface: number): Gst.Iterator; + iterateElements(): Gst.Iterator; + iterateRecurse(): Gst.Iterator; + iterateSinks(): Gst.Iterator; + iterateSorted(): Gst.Iterator; + iterateSources(): Gst.Iterator; + recalculateLatency(): boolean; + remove(element: Gst.Element): boolean; + setSuppressedFlags(flags: Gst.ElementFlags): void; + syncChildrenStates(): boolean; + //TypeScript is complete garbage: + childAdded(child: GObject.Object, name: string): void; + childRemoved(child: GObject.Object, name: string): void; + getChildByIndex(index: number): GObject.Object; + getChildByName(name: string): GObject.Object; + getChildrenCount(): number; + lookup(name: string, target ?: GObject.Object, pspec ?: GObject.ParamSpec): boolean; + } + + class BinCtor { + name ?: string; + parent ?: Gst.Object; + asyncHandling ?: boolean; + messageForward ?: boolean; + } + + class BinEventListener extends AuGlibEx.IEventListener { + deepElementAdded(subBin: Gst.Bin, element: Gst.Element): void; + deepElementRemoved(subBin: Gst.Bin, element: Gst.Element): void; + doLatency(): boolean; + elementAdded(element: Gst.Element): void; + elementRemoved(element: Gst.Element): void; + } + + class Bitmask { + constructor(initializerList ?: BitmaskCtor); + + //TypeScript is complete garbage: + } + + class BitmaskCtor { + } + + class BufferPool extends Gst.Object { + constructor(initializerList ?: BufferPoolCtor); + + object : Gst.Object; + flushing : number; + priv : Gst.BufferPoolPrivate; + + static New(): Gst.BufferPool; + static ConfigAddOption(config: Gst.Structure, option: string): void; + static ConfigGetAllocator(config: Gst.Structure, allocator ?: Gst.Allocator | undefined | null, params ?: Gst.AllocationParams): boolean; + static ConfigGetOption(config: Gst.Structure, index: number): string; + static ConfigGetParams(config: Gst.Structure, caps ?: Gst.Caps | undefined | null, size ?: number, minBuffers ?: number, maxBuffers ?: number): boolean; + static ConfigHasOption(config: Gst.Structure, option: string): boolean; + static ConfigNOptions(config: Gst.Structure): number; + static ConfigSetAllocator(config: Gst.Structure, allocator: Gst.Allocator | undefined | null, params: Gst.AllocationParams | undefined | null): void; + static ConfigSetParams(config: Gst.Structure, caps: Gst.Caps | undefined | null, size: number, minBuffers: number, maxBuffers: number): void; + static ConfigValidateParams(config: Gst.Structure, caps: Gst.Caps | undefined | null, size: number, minBuffers: number, maxBuffers: number): boolean; + acquireBuffer(buffer: Gst.Buffer, params: Gst.BufferPoolAcquireParams | undefined | null): Gst.FlowReturn; + getConfig(): Gst.Structure; + getOptions(): string[]; + hasOption(option: string): boolean; + isActive(): boolean; + releaseBuffer(buffer: Gst.Buffer): void; + setActive(active: boolean): boolean; + setConfig(config: Gst.Structure): boolean; + setFlushing(flushing: boolean): void; + //TypeScript is complete garbage: + } + + class BufferPoolCtor { + name ?: string; + parent ?: Gst.Object; + } + + class Bus extends Gst.Object { + constructor(initializerList ?: BusCtor); + + object : Gst.Object; + priv : Gst.BusPrivate; + + enableAsync : boolean; + + static New(): Gst.Bus; + addSignalWatch(): void; + addSignalWatchFull(priority: number): void; + addWatch(priority: number, func: (bus: Gst.Bus, message: Gst.Message) => boolean, notify: () => void): number; + asyncSignalFunc(message: Gst.Message): boolean; + createWatch(): AuGlibEx.Source; + disableSyncMessageEmission(): void; + enableSyncMessageEmission(): void; + getPollfd(fd: AuGlibEx.PollFD): void; + havePending(): boolean; + peek(): Gst.Message; + poll(events: Gst.MessageType, timeout: number | bigint): Gst.Message; + pop(): Gst.Message; + popFiltered(types: Gst.MessageType): Gst.Message; + post(message: Gst.Message): boolean; + removeSignalWatch(): void; + removeWatch(): boolean; + setFlushing(flushing: boolean): void; + setSyncHandler(func: (bus: Gst.Bus, message: Gst.Message) => Gst.BusSyncReply | undefined | null, notify: () => void): void; + syncSignalHandler(message: Gst.Message): Gst.BusSyncReply; + timedPop(timeout: number | bigint): Gst.Message; + timedPopFiltered(timeout: number | bigint, types: Gst.MessageType): Gst.Message; + //TypeScript is complete garbage: + } + + class BusCtor { + name ?: string; + parent ?: Gst.Object; + enableAsync ?: boolean; + } + + class BusEventListener extends AuGlibEx.IEventListener { + message(message: Gst.Message): void; + syncMessage(message: Gst.Message): void; + } + + class Clock extends Gst.Object { + constructor(initializerList ?: ClockCtor); + + object : Gst.Object; + priv : Gst.ClockPrivate; + + timeout : number | bigint; + windowSize : number; + windowThreshold : number; + + static IdCompareFunc(): number; + static IdGetClock(): Gst.Clock; + static IdGetTime(): number | bigint; + static IdRef(): void; + static IdUnref(): void; + static IdUnschedule(): void; + static IdUsesClock(clock: Gst.Clock): boolean; + static IdWait(jitter ?: number | bigint): Gst.ClockReturn; + static IdWaitAsync(func: (clock: Gst.Clock, time: number | bigint) => boolean, destroyData: () => void): Gst.ClockReturn; + addObservation(slave: number | bigint, master: number | bigint, rSquared: number): boolean; + addObservationUnapplied(slave: number | bigint, master: number | bigint, rSquared: number, internal ?: number | bigint, external ?: number | bigint, rateNum ?: number | bigint, rateDenom ?: number | bigint): boolean; + adjustUnlocked(internal: number | bigint): number | bigint; + adjustWithCalibration(internalTarget: number | bigint, cinternal: number | bigint, cexternal: number | bigint, cnum: number | bigint, cdenom: number | bigint): number | bigint; + getCalibration(internal ?: number | bigint, external ?: number | bigint, rateNum ?: number | bigint, rateDenom ?: number | bigint): void; + getInternalTime(): number | bigint; + getMaster(): Gst.Clock; + getResolution(): number | bigint; + getTime(): number | bigint; + getTimeout(): number | bigint; + isSynced(): boolean; + newPeriodicId(startTime: number | bigint, interval: number | bigint): void; + newSingleShotId(time: number | bigint): void; + periodicIdReinit(startTime: number | bigint, interval: number | bigint): boolean; + setCalibration(internal: number | bigint, external: number | bigint, rateNum: number | bigint, rateDenom: number | bigint): void; + setMaster(master: Gst.Clock | undefined | null): boolean; + setResolution(resolution: number | bigint): number | bigint; + setSynced(synced: boolean): void; + setTimeout(timeout: number | bigint): void; + singleShotIdReinit(time: number | bigint): boolean; + unadjustUnlocked(external: number | bigint): number | bigint; + unadjustWithCalibration(externalTarget: number | bigint, cinternal: number | bigint, cexternal: number | bigint, cnum: number | bigint, cdenom: number | bigint): number | bigint; + waitForSync(timeout: number | bigint): boolean; + //TypeScript is complete garbage: + } + + class ClockCtor { + name ?: string; + parent ?: Gst.Object; + windowSize ?: number; + windowThreshold ?: number; + timeout ?: number; + } + + class ClockEventListener extends AuGlibEx.IEventListener { + synced(synced: boolean): void; + } + + class ControlBinding extends Gst.Object { + constructor(initializerList ?: ControlBindingCtor); + + parent : Gst.Object; + name : string; + pspec : GObject.ParamSpec; + object : Gst.Object; + disabled : boolean; + + + isDisabled(): boolean; + setDisabled(disabled: boolean): void; + //TypeScript is complete garbage: + } + + class ControlBindingCtor { + parent ?: Gst.Object; + object ?: Gst.Object; + name ?: string; + } + + class ControlSource extends Gst.Object { + constructor(initializerList ?: ControlSourceCtor); + + parent : Gst.Object; + getValueArray : (self: Gst.ControlSource, timestamp: number | bigint, interval: number | bigint, nValues: number, values: number) => boolean; + + controlSourceGetValue(timestamp: number | bigint, value: number): boolean; + controlSourceGetValueArray(timestamp: number | bigint, interval: number | bigint, nValues: number, values: number[]): boolean; + //TypeScript is complete garbage: + } + + class ControlSourceCtor { + name ?: string; + parent ?: Gst.Object; + } + + class Device extends Gst.Object { + constructor(initializerList ?: DeviceCtor); + + parent : Gst.Object; + priv : Gst.DevicePrivate; + + caps : Gst.Caps; + deviceClass : string; + displayName : string; + properties : Gst.Structure; + + createElement(name: string | undefined | null): Gst.Element; + getCaps(): Gst.Caps; + getDeviceClass(): string; + getDisplayName(): string; + getProperties(): Gst.Structure; + hasClasses(classes: string): boolean; + hasClassesv(classes: string[]): boolean; + reconfigureElement(element: Gst.Element): boolean; + //TypeScript is complete garbage: + } + + class DeviceCtor { + name ?: string; + parent ?: Gst.Object; + displayName ?: string; + deviceClass ?: string; + } + + class DeviceEventListener extends AuGlibEx.IEventListener { + removed(): void; + } + + class DeviceMonitor extends Gst.Object { + constructor(initializerList ?: DeviceMonitorCtor); + + parent : Gst.Object; + priv : Gst.DeviceMonitorPrivate; + + showAll : boolean; + + static New(): Gst.DeviceMonitor; + addFilter(classes: string | undefined | null, caps: Gst.Caps | undefined | null): number; + getBus(): Gst.Bus; + getDevices(): Gst.Device[]; + getProviders(): string[]; + getShowAllDevices(): boolean; + removeFilter(filterId: number): boolean; + setShowAllDevices(showAll: boolean): void; + start(): boolean; + stop(): void; + //TypeScript is complete garbage: + } + + class DeviceMonitorCtor { + name ?: string; + parent ?: Gst.Object; + showAll ?: boolean; + } + + class DeviceProvider extends Gst.Object { + constructor(initializerList ?: DeviceProviderCtor); + + parent : Gst.Object; + priv : Gst.DeviceProviderPrivate; + + static Register(plugin: Gst.Plugin | undefined | null, name: string, rank: number, type: number): boolean; + canMonitor(): boolean; + deviceAdd(device: Gst.Device): void; + deviceChanged(device: Gst.Device, changedDevice: Gst.Device): void; + deviceRemove(device: Gst.Device): void; + getBus(): Gst.Bus; + getDevices(): Gst.Device[]; + getFactory(): Gst.DeviceProviderFactory; + getHiddenProviders(): string[]; + getMetadata(key: string): string; + hideProvider(name: string): void; + isStarted(): boolean; + start(): boolean; + stop(): void; + unhideProvider(name: string): void; + //TypeScript is complete garbage: + } + + class DeviceProviderCtor { + name ?: string; + parent ?: Gst.Object; + } + + class DeviceProviderEventListener extends AuGlibEx.IEventListener { + providerHidden(object: string): void; + providerUnhidden(object: string): void; + } + + class DeviceProviderFactory extends Gst.PluginFeature { + constructor(initializerList ?: DeviceProviderFactoryCtor); + + static Find(name: string): Gst.DeviceProviderFactory; + static GetByName(factoryname: string): Gst.DeviceProvider; + static ListGetDeviceProviders(minrank: Gst.Rank): Gst.DeviceProviderFactory[]; + get(): Gst.DeviceProvider; + getDeviceProviderType(): number; + getMetadata(key: string): string; + getMetadataKeys(): string[]; + hasClasses(classes: string | undefined | null): boolean; + hasClassesv(classes: string[] | undefined | null): boolean; + //TypeScript is complete garbage: + } + + class DeviceProviderFactoryCtor { + name ?: string; + parent ?: Gst.Object; + } + + class DoubleRange { + constructor(initializerList ?: DoubleRangeCtor); + + //TypeScript is complete garbage: + } + + class DoubleRangeCtor { + } + + class DynamicTypeFactory extends Gst.PluginFeature { + constructor(initializerList ?: DynamicTypeFactoryCtor); + + static Load(factoryname: string): number; + //TypeScript is complete garbage: + } + + class DynamicTypeFactoryCtor { + name ?: string; + parent ?: Gst.Object; + } + + class Element extends Gst.Object { + constructor(initializerList ?: ElementCtor); + + object : Gst.Object; + stateLock : AuGlibEx.RecMutex; + stateCond : AuGlibEx.Cond; + stateCookie : number; + targetState : Gst.State; + currentState : Gst.State; + nextState : Gst.State; + pendingState : Gst.State; + lastReturn : Gst.StateChangeReturn; + bus : Gst.Bus; + clock : Gst.Clock; + baseTime : number | bigint; + startTime : number | bigint; + numpads : number; + pads : Gst.Pad[]; + numsrcpads : number; + srcpads : Gst.Pad[]; + numsinkpads : number; + sinkpads : Gst.Pad[]; + padsCookie : number; + contexts : Gst.Context[]; + + static MakeFromUri(type: Gst.URIType, uri: string, elementname: string | undefined | null): Gst.Element; + static Register(plugin: Gst.Plugin | undefined | null, name: string, rank: number, type: number): boolean; + static StateChangeReturnGetName(stateRet: Gst.StateChangeReturn): string; + static StateGetName(state: Gst.State): string; + static TypeSetSkipDocumentation(type: number): void; + abortState(): void; + addPad(pad: Gst.Pad): boolean; + addPropertyDeepNotifyWatch(propertyName: string | undefined | null, includeValue: boolean): number; + addPropertyNotifyWatch(propertyName: string | undefined | null, includeValue: boolean): number; + callAsync(func: (element: Gst.Element) => void, destroyNotify: () => void): void; + changeState(transition: Gst.StateChange): Gst.StateChangeReturn; + continueState(ret: Gst.StateChangeReturn): Gst.StateChangeReturn; + createAllPads(): void; + foreachPad(func: (element: Gst.Element, pad: Gst.Pad) => boolean): boolean; + foreachSinkPad(func: (element: Gst.Element, pad: Gst.Pad) => boolean): boolean; + foreachSrcPad(func: (element: Gst.Element, pad: Gst.Pad) => boolean): boolean; + getBaseTime(): number | bigint; + getBus(): Gst.Bus; + getClock(): Gst.Clock; + getCompatiblePad(pad: Gst.Pad, caps: Gst.Caps | undefined | null): Gst.Pad; + getCompatiblePadTemplate(compattempl: Gst.PadTemplate): Gst.PadTemplate; + getContext(contextType: string): Gst.Context; + getContextUnlocked(contextType: string): Gst.Context; + getContexts(): Gst.Context[]; + getCurrentClockTime(): number | bigint; + getCurrentRunningTime(): number | bigint; + getFactory(): Gst.ElementFactory; + getMetadata(key: string): string; + getPadTemplate(name: string): Gst.PadTemplate; + getPadTemplateList(): Gst.PadTemplate[]; + getRequestPad(name: string): Gst.Pad; + getStartTime(): number | bigint; + getState(state ?: Gst.State, pending ?: Gst.State, timeout ?: number | bigint): Gst.StateChangeReturn; + getStaticPad(name: string): Gst.Pad; + isLockedState(): boolean; + iteratePads(): Gst.Iterator; + iterateSinkPads(): Gst.Iterator; + iterateSrcPads(): Gst.Iterator; + link(dest: Gst.Element): boolean; + linkFiltered(dest: Gst.Element, filter: Gst.Caps | undefined | null): boolean; + linkPads(srcpadname: string | undefined | null, dest: Gst.Element, destpadname: string | undefined | null): boolean; + linkPadsFiltered(srcpadname: string | undefined | null, dest: Gst.Element, destpadname: string | undefined | null, filter: Gst.Caps | undefined | null): boolean; + linkPadsFull(srcpadname: string | undefined | null, dest: Gst.Element, destpadname: string | undefined | null, flags: Gst.PadLinkCheck): boolean; + lostState(): void; + messageFull(type: Gst.MessageType, domain: number, code: number, text: string | undefined | null, debug: string | undefined | null, file: string, _func: string, line: number): void; + messageFullWithDetails(type: Gst.MessageType, domain: number, code: number, text: string | undefined | null, debug: string | undefined | null, file: string, _func: string, line: number, structure: Gst.Structure): void; + noMorePads(): void; + postMessage(message: Gst.Message): boolean; + provideClock(): Gst.Clock; + query(query: Gst.Query): boolean; + queryConvert(srcFormat: Gst.Format, srcVal: number | bigint, destFormat: Gst.Format, destVal: number | bigint): boolean; + queryDuration(format: Gst.Format, duration ?: number | bigint): boolean; + queryPosition(format: Gst.Format, cur ?: number | bigint): boolean; + releaseRequestPad(pad: Gst.Pad): void; + removePad(pad: Gst.Pad): boolean; + removePropertyNotifyWatch(watchId: number): void; + requestPad(templ: Gst.PadTemplate, name: string | undefined | null, caps: Gst.Caps | undefined | null): Gst.Pad; + requestPadSimple(name: string): Gst.Pad; + seek(rate: number, format: Gst.Format, flags: Gst.SeekFlags, startType: Gst.SeekType, start: number | bigint, stopType: Gst.SeekType, stop: number | bigint): boolean; + seekSimple(format: Gst.Format, seekFlags: Gst.SeekFlags, seekPos: number | bigint): boolean; + sendEvent(event: Gst.Event): boolean; + setBaseTime(time: number | bigint): void; + setBus(bus: Gst.Bus | undefined | null): void; + setClock(clock: Gst.Clock | undefined | null): boolean; + setContext(context: Gst.Context): void; + setLockedState(lockedState: boolean): boolean; + setStartTime(time: number | bigint): void; + setState(state: Gst.State): Gst.StateChangeReturn; + syncStateWithParent(): boolean; + unlink(dest: Gst.Element): void; + unlinkPads(srcpadname: string, dest: Gst.Element, destpadname: string): void; + //TypeScript is complete garbage: + } + + class ElementCtor { + name ?: string; + parent ?: Gst.Object; + } + + class ElementEventListener extends AuGlibEx.IEventListener { + noMorePads(): void; + padAdded(newPad: Gst.Pad): void; + padRemoved(oldPad: Gst.Pad): void; + } + + class ElementFactory extends Gst.PluginFeature { + constructor(initializerList ?: ElementFactoryCtor); + + static Find(name: string): Gst.ElementFactory; + static ListFilter(list: Gst.ElementFactory[], caps: Gst.Caps, direction: Gst.PadDirection, subsetonly: boolean): Gst.ElementFactory[]; + static ListGetElements(type: number | bigint, minrank: Gst.Rank): Gst.ElementFactory[]; + static Make(factoryname: string, name: string | undefined | null): Gst.Element; + static MakeWithProperties(factoryname: string, n: number, names: string[] | undefined | null, values: GObject.Value[] | undefined | null): Gst.Element; + canSinkAllCaps(caps: Gst.Caps): boolean; + canSinkAnyCaps(caps: Gst.Caps): boolean; + canSrcAllCaps(caps: Gst.Caps): boolean; + canSrcAnyCaps(caps: Gst.Caps): boolean; + create(name: string | undefined | null): Gst.Element; + createWithProperties(n: number, names: string[] | undefined | null, values: GObject.Value[] | undefined | null): Gst.Element; + getElementType(): number; + getMetadata(key: string): string; + getMetadataKeys(): string[]; + getNumPadTemplates(): number; + getSkipDocumentation(): boolean; + getStaticPadTemplates(): Gst.StaticPadTemplate[]; + getUriProtocols(): string[]; + getUriType(): Gst.URIType; + hasInterface(interfacename: string): boolean; + listIsType(type: number | bigint): boolean; + //TypeScript is complete garbage: + } + + class ElementFactoryCtor { + name ?: string; + parent ?: Gst.Object; + } + + class FlagSet { + constructor(initializerList ?: FlagSetCtor); + + static Register(flagsType: number): number; + //TypeScript is complete garbage: + } + + class FlagSetCtor { + } + + class Fraction { + constructor(initializerList ?: FractionCtor); + + //TypeScript is complete garbage: + } + + class FractionCtor { + } + + class FractionRange { + constructor(initializerList ?: FractionRangeCtor); + + //TypeScript is complete garbage: + } + + class FractionRangeCtor { + } + + class GhostPad extends Gst.ProxyPad { + constructor(initializerList ?: GhostPadCtor); + + pad : Gst.ProxyPad; + priv : Gst.GhostPadPrivate; + + static NewNoTarget(name: string | undefined | null, dir: Gst.PadDirection): Gst.Pad; + static NewNoTargetFromTemplate(name: string | undefined | null, templ: Gst.PadTemplate): Gst.Pad; + static ActivateModeDefault(pad: Gst.Pad, parent: Gst.Object | undefined | null, mode: Gst.PadMode, active: boolean): boolean; + static InternalActivateModeDefault(pad: Gst.Pad, parent: Gst.Object | undefined | null, mode: Gst.PadMode, active: boolean): boolean; + construct(): boolean; + getTarget(): Gst.Pad; + setTarget(newtarget: Gst.Pad | undefined | null): boolean; + //TypeScript is complete garbage: + } + + class GhostPadCtor { + name ?: string; + parent ?: Gst.Object; + direction ?: Gst.PadDirection; + template ?: Gst.PadTemplate; + offset ?: number | bigint; + } + + class Int64Range { + constructor(initializerList ?: Int64RangeCtor); + + //TypeScript is complete garbage: + } + + class Int64RangeCtor { + } + + class IntRange { + constructor(initializerList ?: IntRangeCtor); + + //TypeScript is complete garbage: + } + + class IntRangeCtor { + } + + class Object extends GObject.InitiallyUnowned { + constructor(initializerList ?: ObjectCtor); + + object : GObject.InitiallyUnowned; + name : string; + parent : Gst.Object; + flags : number; + controlRate : number | bigint; + lastSync : number | bigint; + gstReserved : void; + + + static CheckUniqueness(list: Gst.Object[], name: string): boolean; + static DefaultDeepNotify(object: GObject.Object, orig: Gst.Object, pspec: GObject.ParamSpec, excludedProps: string[] | undefined | null): void; + static Replace(oldobj ?: Gst.Object | undefined | null, newobj ?: Gst.Object | undefined | null): boolean; + addControlBinding(binding: Gst.ControlBinding): boolean; + defaultError(error: AuGlibEx.Error, debug: string | undefined | null): void; + getControlBinding(propertyName: string): Gst.ControlBinding; + getControlRate(): number | bigint; + getGValueArray(propertyName: string, timestamp: number | bigint, interval: number | bigint, nValues: number, values: GObject.Value[]): boolean; + getName(): string; + getParent(): Gst.Object; + getPathString(): string; + getValue(propertyName: string, timestamp: number | bigint): GObject.Value; + hasActiveControlBindings(): boolean; + hasAncestor(ancestor: Gst.Object): boolean; + hasAsAncestor(ancestor: Gst.Object): boolean; + hasAsParent(parent: Gst.Object): boolean; + removeControlBinding(binding: Gst.ControlBinding): boolean; + setControlBindingDisabled(propertyName: string, disabled: boolean): void; + setControlBindingsDisabled(disabled: boolean): void; + setControlRate(controlRate: number | bigint): void; + setName(name: string | undefined | null): boolean; + setParent(parent: Gst.Object): boolean; + suggestNextSync(): number | bigint; + syncValues(timestamp: number | bigint): boolean; + unparent(): void; + //TypeScript is complete garbage: + } + + class ObjectCtor { + name ?: string; + parent ?: Gst.Object; + } + + class ObjectEventListener extends AuGlibEx.IEventListener { + deepNotify(propObject: Gst.Object, prop: GObject.ParamSpec): void; + } + + class Pad extends Gst.Object { + constructor(initializerList ?: PadCtor); + + object : Gst.Object; + elementPrivate : void; + padtemplate : Gst.PadTemplate; + direction : Gst.PadDirection; + streamRecLock : AuGlibEx.RecMutex; + task : Gst.Task; + blockCond : AuGlibEx.Cond; + probes : AuGlibEx.HookList; + mode : Gst.PadMode; + activatefunc : (pad: Gst.Pad, parent: Gst.Object) => boolean; + activatedata : void; + activatenotify : () => void; + activatemodefunc : (pad: Gst.Pad, parent: Gst.Object, mode: Gst.PadMode, active: boolean) => boolean; + activatemodedata : void; + activatemodenotify : () => void; + peer : Gst.Pad; + linkfunc : (pad: Gst.Pad, parent: Gst.Object | undefined | null, peer: Gst.Pad) => Gst.PadLinkReturn; + linkdata : void; + linknotify : () => void; + unlinkfunc : (pad: Gst.Pad, parent: Gst.Object | undefined | null) => void; + unlinkdata : void; + unlinknotify : () => void; + chainfunc : (pad: Gst.Pad, parent: Gst.Object | undefined | null, buffer: Gst.Buffer) => Gst.FlowReturn; + chaindata : void; + chainnotify : () => void; + chainlistfunc : (pad: Gst.Pad, parent: Gst.Object | undefined | null, list: Gst.BufferList) => Gst.FlowReturn; + chainlistdata : void; + chainlistnotify : () => void; + getrangefunc : (pad: Gst.Pad, parent: Gst.Object | undefined | null, offset: number | bigint, length: number, buffer: Gst.Buffer) => Gst.FlowReturn; + getrangedata : void; + getrangenotify : () => void; + eventfunc : (pad: Gst.Pad, parent: Gst.Object | undefined | null, event: Gst.Event) => boolean; + eventdata : void; + eventnotify : () => void; + offset : number | bigint; + queryfunc : (pad: Gst.Pad, parent: Gst.Object | undefined | null, query: Gst.Query) => boolean; + querydata : void; + querynotify : () => void; + iterintlinkfunc : (pad: Gst.Pad, parent: Gst.Object | undefined | null) => Gst.Iterator; + iterintlinkdata : void; + iterintlinknotify : () => void; + numProbes : number; + numBlocked : number; + priv : Gst.PadPrivate; + + caps : Gst.Caps; + template : Gst.PadTemplate; + + static New(name: string | undefined | null, direction: Gst.PadDirection): Gst.Pad; + static NewFromStaticTemplate(templ: Gst.StaticPadTemplate, name: string): Gst.Pad; + static NewFromTemplate(templ: Gst.PadTemplate, name: string | undefined | null): Gst.Pad; + static LinkGetName(ret: Gst.PadLinkReturn): string; + activateMode(mode: Gst.PadMode, active: boolean): boolean; + addProbe(mask: Gst.PadProbeType, callback: (pad: Gst.Pad, info: Gst.PadProbeInfo) => Gst.PadProbeReturn, destroyData: () => void): number; + canLink(sinkpad: Gst.Pad): boolean; + chain(buffer: Gst.Buffer): Gst.FlowReturn; + chainList(list: Gst.BufferList): Gst.FlowReturn; + checkReconfigure(): boolean; + createStreamId(parent: Gst.Element, streamId: string | undefined | null): string; + eventDefault(parent: Gst.Object | undefined | null, event: Gst.Event): boolean; + forward(forward: (pad: Gst.Pad) => boolean): boolean; + getAllowedCaps(): Gst.Caps; + getCurrentCaps(): Gst.Caps; + getDirection(): Gst.PadDirection; + getElementPrivate(): void; + getLastFlowReturn(): Gst.FlowReturn; + getOffset(): number | bigint; + getPadTemplate(): Gst.PadTemplate; + getPadTemplateCaps(): Gst.Caps; + getParentElement(): Gst.Element; + getPeer(): Gst.Pad; + getRange(offset: number | bigint, size: number, buffer: Gst.Buffer): Gst.FlowReturn; + getSingleInternalLink(): Gst.Pad; + getStickyEvent(eventType: Gst.EventType, idx: number): Gst.Event; + getStream(): Gst.Stream; + getStreamId(): string; + getTaskState(): Gst.TaskState; + hasCurrentCaps(): boolean; + isActive(): boolean; + isBlocked(): boolean; + isBlocking(): boolean; + isLinked(): boolean; + iterateInternalLinks(): Gst.Iterator; + iterateInternalLinksDefault(parent: Gst.Object | undefined | null): Gst.Iterator; + link(sinkpad: Gst.Pad): Gst.PadLinkReturn; + linkFull(sinkpad: Gst.Pad, flags: Gst.PadLinkCheck): Gst.PadLinkReturn; + linkMaybeGhosting(sink: Gst.Pad): boolean; + linkMaybeGhostingFull(sink: Gst.Pad, flags: Gst.PadLinkCheck): boolean; + markReconfigure(): void; + needsReconfigure(): boolean; + pauseTask(): boolean; + peerQuery(query: Gst.Query): boolean; + peerQueryAcceptCaps(caps: Gst.Caps): boolean; + peerQueryCaps(filter: Gst.Caps | undefined | null): Gst.Caps; + peerQueryConvert(srcFormat: Gst.Format, srcVal: number | bigint, destFormat: Gst.Format, destVal: number | bigint): boolean; + peerQueryDuration(format: Gst.Format, duration ?: number | bigint): boolean; + peerQueryPosition(format: Gst.Format, cur ?: number | bigint): boolean; + proxyQueryAcceptCaps(query: Gst.Query): boolean; + proxyQueryCaps(query: Gst.Query): boolean; + pullRange(offset: number | bigint, size: number, buffer: Gst.Buffer): Gst.FlowReturn; + push(buffer: Gst.Buffer): Gst.FlowReturn; + pushEvent(event: Gst.Event): boolean; + pushList(list: Gst.BufferList): Gst.FlowReturn; + query(query: Gst.Query): boolean; + queryAcceptCaps(caps: Gst.Caps): boolean; + queryCaps(filter: Gst.Caps | undefined | null): Gst.Caps; + queryConvert(srcFormat: Gst.Format, srcVal: number | bigint, destFormat: Gst.Format, destVal: number | bigint): boolean; + queryDefault(parent: Gst.Object | undefined | null, query: Gst.Query): boolean; + queryDuration(format: Gst.Format, duration ?: number | bigint): boolean; + queryPosition(format: Gst.Format, cur ?: number | bigint): boolean; + removeProbe(id: number): void; + sendEvent(event: Gst.Event): boolean; + setActivateFunctionFull(activate: (pad: Gst.Pad, parent: Gst.Object) => boolean, notify: () => void): void; + setActivatemodeFunctionFull(activatemode: (pad: Gst.Pad, parent: Gst.Object, mode: Gst.PadMode, active: boolean) => boolean, notify: () => void): void; + setActive(active: boolean): boolean; + setChainFunctionFull(chain: (pad: Gst.Pad, parent: Gst.Object | undefined | null, buffer: Gst.Buffer) => Gst.FlowReturn, notify: () => void): void; + setChainListFunctionFull(chainlist: (pad: Gst.Pad, parent: Gst.Object | undefined | null, list: Gst.BufferList) => Gst.FlowReturn, notify: () => void): void; + setElementPrivate(): void; + setEventFullFunctionFull(event: (pad: Gst.Pad, parent: Gst.Object | undefined | null, event: Gst.Event) => Gst.FlowReturn, notify: () => void): void; + setEventFunctionFull(event: (pad: Gst.Pad, parent: Gst.Object | undefined | null, event: Gst.Event) => boolean, notify: () => void): void; + setGetrangeFunctionFull(get: (pad: Gst.Pad, parent: Gst.Object | undefined | null, offset: number | bigint, length: number, buffer: Gst.Buffer) => Gst.FlowReturn, notify: () => void): void; + setIterateInternalLinksFunctionFull(iterintlink: (pad: Gst.Pad, parent: Gst.Object | undefined | null) => Gst.Iterator, notify: () => void): void; + setLinkFunctionFull(link: (pad: Gst.Pad, parent: Gst.Object | undefined | null, peer: Gst.Pad) => Gst.PadLinkReturn, notify: () => void): void; + setOffset(offset: number | bigint): void; + setQueryFunctionFull(query: (pad: Gst.Pad, parent: Gst.Object | undefined | null, query: Gst.Query) => boolean, notify: () => void): void; + setUnlinkFunctionFull(unlink: (pad: Gst.Pad, parent: Gst.Object | undefined | null) => void, notify: () => void): void; + startTask(func: () => void, notify: () => void): boolean; + stickyEventsForeach(foreachFunc: (pad: Gst.Pad, event: Gst.Event | undefined | null) => boolean): void; + stopTask(): boolean; + storeStickyEvent(event: Gst.Event): Gst.FlowReturn; + unlink(sinkpad: Gst.Pad): boolean; + useFixedCaps(): void; + //TypeScript is complete garbage: + } + + class PadCtor { + name ?: string; + parent ?: Gst.Object; + direction ?: Gst.PadDirection; + template ?: Gst.PadTemplate; + offset ?: number | bigint; + } + + class PadEventListener extends AuGlibEx.IEventListener { + linked(peer: Gst.Pad): void; + unlinked(peer: Gst.Pad): void; + } + + class PadTemplate extends Gst.Object { + constructor(initializerList ?: PadTemplateCtor); + + object : Gst.Object; + nameTemplate : string; + direction : Gst.PadDirection; + presence : Gst.PadPresence; + caps : Gst.Caps; + + gtype : number; + + static New(nameTemplate: string, direction: Gst.PadDirection, presence: Gst.PadPresence, caps: Gst.Caps): Gst.PadTemplate; + static NewFromStaticPadTemplateWithGtype(padTemplate: Gst.StaticPadTemplate, padType: number): Gst.PadTemplate; + static NewWithGtype(nameTemplate: string, direction: Gst.PadDirection, presence: Gst.PadPresence, caps: Gst.Caps, padType: number): Gst.PadTemplate; + getCaps(): Gst.Caps; + getDocumentationCaps(): Gst.Caps; + padCreated(pad: Gst.Pad): void; + setDocumentationCaps(caps: Gst.Caps): void; + //TypeScript is complete garbage: + } + + class PadTemplateCtor { + name ?: string; + parent ?: Gst.Object; + nameTemplate ?: string; + direction ?: Gst.PadDirection; + presence ?: Gst.PadPresence; + gtype ?: any; + } + + class PadTemplateEventListener extends AuGlibEx.IEventListener { + padCreated(pad: Gst.Pad): void; + } + + class ParamArray extends GObject.ParamSpec { + constructor(initializerList ?: ParamArrayCtor); + + //TypeScript is complete garbage: + } + + class ParamArrayCtor { + } + + class ParamFraction extends GObject.ParamSpec { + constructor(initializerList ?: ParamFractionCtor); + + //TypeScript is complete garbage: + } + + class ParamFractionCtor { + } + + class Pipeline extends Gst.Bin implements Gst.ChildProxy { + constructor(initializerList ?: PipelineCtor); + + bin : Gst.Bin; + fixedClock : Gst.Clock; + streamTime : number | bigint; + delay : number | bigint; + priv : Gst.PipelinePrivate; + + autoFlushBus : boolean; + latency : number | bigint; + + autoClock(): void; + getAutoFlushBus(): boolean; + getDelay(): number | bigint; + getLatency(): number | bigint; + getPipelineClock(): Gst.Clock; + setAutoFlushBus(autoFlush: boolean): void; + setDelay(delay: number | bigint): void; + setLatency(latency: number | bigint): void; + useClock(clock: Gst.Clock | undefined | null): void; + //TypeScript is complete garbage: + } + + class PipelineCtor { + name ?: string; + parent ?: Gst.Object; + asyncHandling ?: boolean; + messageForward ?: boolean; + delay ?: number; + autoFlushBus ?: boolean; + latency ?: number; + } + + class Plugin extends Gst.Object { + constructor(initializerList ?: PluginCtor); + + static ListFree(list: Gst.Plugin[]): void; + static LoadByName(name: string): Gst.Plugin; + static LoadFile(filename: string): Gst.Plugin; + static RegisterStatic(majorVersion: number, minorVersion: number, name: string, description: string, initFunc: (plugin: Gst.Plugin) => boolean, version: string, license: string, source: string, package: string, origin: string): boolean; + static RegisterStaticFull(majorVersion: number, minorVersion: number, name: string, description: string, initFullFunc: (plugin: Gst.Plugin) => boolean, version: string, license: string, source: string, package: string, origin: string): boolean; + addDependency(envVars: string[] | undefined | null, paths: string[] | undefined | null, names: string[] | undefined | null, flags: Gst.PluginDependencyFlags): void; + addDependencySimple(envVars: string | undefined | null, paths: string | undefined | null, names: string | undefined | null, flags: Gst.PluginDependencyFlags): void; + getCacheData(): Gst.Structure; + getDescription(): string; + getFilename(): string; + getLicense(): string; + getOrigin(): string; + getPackage(): string; + getReleaseDateString(): string; + getSource(): string; + getVersion(): string; + isLoaded(): boolean; + load(): Gst.Plugin; + setCacheData(cacheData: Gst.Structure): void; + //TypeScript is complete garbage: + } + + class PluginCtor { + name ?: string; + parent ?: Gst.Object; + } + + class PluginFeature extends Gst.Object { + constructor(initializerList ?: PluginFeatureCtor); + + static ListCopy(list: Gst.PluginFeature[]): Gst.PluginFeature[]; + static ListDebug(list: Gst.PluginFeature[]): void; + static ListFree(list: Gst.PluginFeature[]): void; + static RankCompareFunc(): number; + checkVersion(minMajor: number, minMinor: number, minMicro: number): boolean; + getPlugin(): Gst.Plugin; + getPluginName(): string; + getRank(): number; + load(): Gst.PluginFeature; + setRank(rank: number): void; + //TypeScript is complete garbage: + } + + class PluginFeatureCtor { + name ?: string; + parent ?: Gst.Object; + } + + class ProxyPad extends Gst.Pad { + constructor(initializerList ?: ProxyPadCtor); + + pad : Gst.Pad; + priv : Gst.ProxyPadPrivate; + + static ChainDefault(pad: Gst.Pad, parent: Gst.Object | undefined | null, buffer: Gst.Buffer): Gst.FlowReturn; + static ChainListDefault(pad: Gst.Pad, parent: Gst.Object | undefined | null, list: Gst.BufferList): Gst.FlowReturn; + static GetrangeDefault(pad: Gst.Pad, parent: Gst.Object, offset: number | bigint, size: number, buffer: Gst.Buffer): Gst.FlowReturn; + static IterateInternalLinksDefault(pad: Gst.Pad, parent: Gst.Object | undefined | null): Gst.Iterator; + getInternal(): Gst.ProxyPad; + //TypeScript is complete garbage: + } + + class ProxyPadCtor { + name ?: string; + parent ?: Gst.Object; + direction ?: Gst.PadDirection; + template ?: Gst.PadTemplate; + offset ?: number | bigint; + } + + class Registry extends Gst.Object { + constructor(initializerList ?: RegistryCtor); + + object : Gst.Object; + priv : Gst.RegistryPrivate; + + static ForkIsEnabled(): boolean; + static ForkSetEnabled(enabled: boolean): void; + static Get(): Gst.Registry; + addFeature(feature: Gst.PluginFeature): boolean; + addPlugin(plugin: Gst.Plugin): boolean; + checkFeatureVersion(featureName: string, minMajor: number, minMinor: number, minMicro: number): boolean; + featureFilter(filter: (feature: Gst.PluginFeature) => boolean, first: boolean): Gst.PluginFeature[]; + findFeature(name: string, type: number): Gst.PluginFeature; + findPlugin(name: string): Gst.Plugin; + getFeatureList(type: number): Gst.PluginFeature[]; + getFeatureListByPlugin(name: string): Gst.PluginFeature[]; + getFeatureListCookie(): number; + getPluginList(): Gst.Plugin[]; + lookup(filename: string): Gst.Plugin; + lookupFeature(name: string): Gst.PluginFeature; + pluginFilter(filter: (plugin: Gst.Plugin) => boolean, first: boolean): Gst.Plugin[]; + removeFeature(feature: Gst.PluginFeature): void; + removePlugin(plugin: Gst.Plugin): void; + scanPath(path: string): boolean; + //TypeScript is complete garbage: + } + + class RegistryCtor { + name ?: string; + parent ?: Gst.Object; + } + + class RegistryEventListener extends AuGlibEx.IEventListener { + featureAdded(feature: Gst.PluginFeature): void; + pluginAdded(plugin: Gst.Plugin): void; + } + + class SharedTaskPool extends Gst.TaskPool { + constructor(initializerList ?: SharedTaskPoolCtor); + + parent : Gst.TaskPool; + priv : Gst.SharedTaskPoolPrivate; + + getMaxThreads(): number; + setMaxThreads(maxThreads: number): void; + //TypeScript is complete garbage: + } + + class SharedTaskPoolCtor { + name ?: string; + parent ?: Gst.Object; + } + + class Stream extends Gst.Object { + constructor(initializerList ?: StreamCtor); + + object : Gst.Object; + streamId : string; + priv : Gst.StreamPrivate; + + caps : Gst.Caps; + streamFlags : Gst.StreamFlags; + streamType : Gst.StreamType; + tags : Gst.TagList; + + static New(streamId: string | undefined | null, caps: Gst.Caps | undefined | null, type: Gst.StreamType, flags: Gst.StreamFlags): Gst.Stream; + getCaps(): Gst.Caps; + getStreamFlags(): Gst.StreamFlags; + getStreamId(): string; + getStreamType(): Gst.StreamType; + getTags(): Gst.TagList; + setCaps(caps: Gst.Caps | undefined | null): void; + setStreamFlags(flags: Gst.StreamFlags): void; + setStreamType(streamType: Gst.StreamType): void; + setTags(tags: Gst.TagList | undefined | null): void; + //TypeScript is complete garbage: + } + + class StreamCtor { + name ?: string; + parent ?: Gst.Object; + streamId ?: string; + streamFlags ?: Gst.StreamFlags; + streamType ?: Gst.StreamType; + } + + class StreamCollection extends Gst.Object { + constructor(initializerList ?: StreamCollectionCtor); + + object : Gst.Object; + upstreamId : string; + priv : Gst.StreamCollectionPrivate; + + + static New(upstreamId: string | undefined | null): Gst.StreamCollection; + addStream(stream: Gst.Stream): boolean; + getSize(): number; + getStream(index: number): Gst.Stream; + getUpstreamId(): string; + //TypeScript is complete garbage: + } + + class StreamCollectionCtor { + name ?: string; + parent ?: Gst.Object; + upstreamId ?: string; + } + + class StreamCollectionEventListener extends AuGlibEx.IEventListener { + streamNotify(object: Gst.Stream, p0: GObject.ParamSpec): void; + } + + class SystemClock extends Gst.Clock { + constructor(initializerList ?: SystemClockCtor); + + clock : Gst.Clock; + priv : Gst.SystemClockPrivate; + + clockType : Gst.ClockType; + + static Obtain(): Gst.Clock; + static SetDefault(newClock: Gst.Clock | undefined | null): void; + //TypeScript is complete garbage: + } + + class SystemClockCtor { + name ?: string; + parent ?: Gst.Object; + windowSize ?: number; + windowThreshold ?: number; + timeout ?: number; + clockType ?: Gst.ClockType; + } + + class Task extends Gst.Object { + constructor(initializerList ?: TaskCtor); + + object : Gst.Object; + state : Gst.TaskState; + cond : AuGlibEx.Cond; + lock : AuGlibEx.RecMutex; + func : () => void; + userData : void; + notify : () => void; + running : boolean; + thread : AuGlibEx.Thread; + priv : Gst.TaskPrivate; + + static New(func: () => void, notify: () => void): Gst.Task; + static CleanupAll(): void; + getPool(): Gst.TaskPool; + getState(): Gst.TaskState; + join(): boolean; + pause(): boolean; + resume(): boolean; + setEnterCallback(enterFunc: (task: Gst.Task, thread: AuGlibEx.Thread) => void, notify: () => void): void; + setLeaveCallback(leaveFunc: (task: Gst.Task, thread: AuGlibEx.Thread) => void, notify: () => void): void; + setLock(mutex: AuGlibEx.RecMutex): void; + setPool(pool: Gst.TaskPool): void; + setState(state: Gst.TaskState): boolean; + start(): boolean; + stop(): boolean; + //TypeScript is complete garbage: + } + + class TaskCtor { + name ?: string; + parent ?: Gst.Object; + } + + class TaskPool extends Gst.Object { + constructor(initializerList ?: TaskPoolCtor); + + object : Gst.Object; + pool : AuGlibEx.ThreadPool; + + static New(): Gst.TaskPool; + cleanup(): void; + disposeHandle(): void; + join(): void; + prepare(): void; + push(func: () => void): void; + //TypeScript is complete garbage: + } + + class TaskPoolCtor { + name ?: string; + parent ?: Gst.Object; + } + + class Tracer extends Gst.Object { + constructor(initializerList ?: TracerCtor); + + parent : Gst.Object; + priv : Gst.TracerPrivate; + + params : string; + + static Register(plugin: Gst.Plugin | undefined | null, name: string, type: number): boolean; + //TypeScript is complete garbage: + } + + class TracerCtor { + name ?: string; + parent ?: Gst.Object; + params ?: string; + } + + class TracerFactory extends Gst.PluginFeature { + constructor(initializerList ?: TracerFactoryCtor); + + static GetList(): Gst.TracerFactory[]; + getTracerType(): number; + //TypeScript is complete garbage: + } + + class TracerFactoryCtor { + name ?: string; + parent ?: Gst.Object; + } + + class TracerRecord extends Gst.Object { + constructor(initializerList ?: TracerRecordCtor); + + //TypeScript is complete garbage: + } + + class TracerRecordCtor { + name ?: string; + parent ?: Gst.Object; + } + + class TypeFindFactory extends Gst.PluginFeature { + constructor(initializerList ?: TypeFindFactoryCtor); + + static GetList(): Gst.TypeFindFactory[]; + callFunction(find: Gst.TypeFind): void; + getCaps(): Gst.Caps; + getExtensions(): string[]; + hasFunction(): boolean; + //TypeScript is complete garbage: + } + + class TypeFindFactoryCtor { + name ?: string; + parent ?: Gst.Object; + } + + class ValueArray { + constructor(initializerList ?: ValueArrayCtor); + + static AppendAndTakeValue(value: GObject.Value, appendValue: GObject.Value): void; + static AppendValue(value: GObject.Value, appendValue: GObject.Value): void; + static GetSize(value: GObject.Value): number; + static GetValue(value: GObject.Value, index: number): GObject.Value; + static Init(value: GObject.Value, prealloc: number): GObject.Value; + static PrependValue(value: GObject.Value, prependValue: GObject.Value): void; + //TypeScript is complete garbage: + } + + class ValueArrayCtor { + } + + class ValueList { + constructor(initializerList ?: ValueListCtor); + + static AppendAndTakeValue(value: GObject.Value, appendValue: GObject.Value): void; + static AppendValue(value: GObject.Value, appendValue: GObject.Value): void; + static Concat(dest: GObject.Value, value1: GObject.Value, value2: GObject.Value): void; + static GetSize(value: GObject.Value): number; + static GetValue(value: GObject.Value, index: number): GObject.Value; + static Init(value: GObject.Value, prealloc: number): GObject.Value; + static Merge(dest: GObject.Value, value1: GObject.Value, value2: GObject.Value): void; + static PrependValue(value: GObject.Value, prependValue: GObject.Value): void; + //TypeScript is complete garbage: + } + + class ValueListCtor { + } +} \ No newline at end of file diff --git a/GstBase.d.ts b/GstBase.d.ts new file mode 100644 index 0000000..a2602ac --- /dev/null +++ b/GstBase.d.ts @@ -0,0 +1,864 @@ +declare namespace GstBase { + + class AggregatorStartTimeSelection { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kZero": AggregatorStartTimeSelection + static readonly "kFirst": AggregatorStartTimeSelection + static readonly "kSet": AggregatorStartTimeSelection + } + + class BaseParseFrameFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": BaseParseFrameFlags + static readonly "kNewFrame": BaseParseFrameFlags + static readonly "kNoFrame": BaseParseFrameFlags + static readonly "kClip": BaseParseFrameFlags + static readonly "kDrop": BaseParseFrameFlags + static readonly "kQueue": BaseParseFrameFlags + } + + class BaseSrcFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStarting": BaseSrcFlags + static readonly "kStarted": BaseSrcFlags + static readonly "kLast": BaseSrcFlags + } + + class CollectPadsStateFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kEos": CollectPadsStateFlags + static readonly "kFlushing": CollectPadsStateFlags + static readonly "kNewSegment": CollectPadsStateFlags + static readonly "kWaiting": CollectPadsStateFlags + static readonly "kLocked": CollectPadsStateFlags + } + + + class AdapterClass { + } + + class AggregatorClass { + parentClass : Gst.ElementClass; + flush : (aggregator: GstBase.Aggregator) => Gst.FlowReturn; + clip : (aggregator: GstBase.Aggregator, aggregatorPad: GstBase.AggregatorPad, buf: Gst.Buffer) => Gst.Buffer; + finishBuffer : (aggregator: GstBase.Aggregator, buffer: Gst.Buffer) => Gst.FlowReturn; + sinkEvent : (aggregator: GstBase.Aggregator, aggregatorPad: GstBase.AggregatorPad, event: Gst.Event) => boolean; + sinkQuery : (aggregator: GstBase.Aggregator, aggregatorPad: GstBase.AggregatorPad, query: Gst.Query) => boolean; + srcEvent : (aggregator: GstBase.Aggregator, event: Gst.Event) => boolean; + srcQuery : (aggregator: GstBase.Aggregator, query: Gst.Query) => boolean; + srcActivate : (aggregator: GstBase.Aggregator, mode: Gst.PadMode, active: boolean) => boolean; + aggregate : (aggregator: GstBase.Aggregator, timeout: boolean) => Gst.FlowReturn; + stop : (aggregator: GstBase.Aggregator) => boolean; + start : (aggregator: GstBase.Aggregator) => boolean; + getNextTime : (aggregator: GstBase.Aggregator) => number | bigint; + createNewPad : void; + updateSrcCaps : (self: GstBase.Aggregator, caps: Gst.Caps, ret ?: Gst.Caps) => Gst.FlowReturn; + fixateSrcCaps : (self: GstBase.Aggregator, caps: Gst.Caps) => Gst.Caps; + negotiatedSrcCaps : (self: GstBase.Aggregator, caps: Gst.Caps) => boolean; + decideAllocation : (self: GstBase.Aggregator, query: Gst.Query) => boolean; + proposeAllocation : (self: GstBase.Aggregator, pad: GstBase.AggregatorPad, decideQuery: Gst.Query, query: Gst.Query) => boolean; + negotiate : (self: GstBase.Aggregator) => boolean; + sinkEventPreQueue : (aggregator: GstBase.Aggregator, aggregatorPad: GstBase.AggregatorPad, event: Gst.Event) => Gst.FlowReturn; + sinkQueryPreQueue : (aggregator: GstBase.Aggregator, aggregatorPad: GstBase.AggregatorPad, query: Gst.Query) => boolean; + finishBufferList : (aggregator: GstBase.Aggregator, bufferlist: Gst.BufferList) => Gst.FlowReturn; + peekNextSample : (aggregator: GstBase.Aggregator, aggregatorPad: GstBase.AggregatorPad) => Gst.Sample; + + } + + class AggregatorPadClass { + parentClass : Gst.PadClass; + flush : (aggpad: GstBase.AggregatorPad, aggregator: GstBase.Aggregator) => Gst.FlowReturn; + skipBuffer : (aggpad: GstBase.AggregatorPad, aggregator: GstBase.Aggregator, buffer: Gst.Buffer) => boolean; + + } + + class AggregatorPadPrivate { + } + + class AggregatorPrivate { + } + + class BaseParseClass { + parentClass : Gst.ElementClass; + start : (parse: GstBase.BaseParse) => boolean; + stop : (parse: GstBase.BaseParse) => boolean; + setSinkCaps : (parse: GstBase.BaseParse, caps: Gst.Caps) => boolean; + handleFrame : (parse: GstBase.BaseParse, frame: GstBase.BaseParseFrame, skipsize: number) => Gst.FlowReturn; + prePushFrame : (parse: GstBase.BaseParse, frame: GstBase.BaseParseFrame) => Gst.FlowReturn; + convert : (parse: GstBase.BaseParse, srcFormat: Gst.Format, srcValue: number | bigint, destFormat: Gst.Format, destValue: number | bigint) => boolean; + sinkEvent : (parse: GstBase.BaseParse, event: Gst.Event) => boolean; + srcEvent : (parse: GstBase.BaseParse, event: Gst.Event) => boolean; + getSinkCaps : (parse: GstBase.BaseParse, filter: Gst.Caps) => Gst.Caps; + detect : (parse: GstBase.BaseParse, buffer: Gst.Buffer) => Gst.FlowReturn; + sinkQuery : (parse: GstBase.BaseParse, query: Gst.Query) => boolean; + srcQuery : (parse: GstBase.BaseParse, query: Gst.Query) => boolean; + + } + + class BaseParseFrame { + buffer : Gst.Buffer; + outBuffer : Gst.Buffer; + flags : number; + offset : number | bigint; + overhead : number; + size : number; + gstReservedI : number[]; + privateFlags : number; + + static New(buffer: Gst.Buffer, flags: GstBase.BaseParseFrameFlags, overhead: number): GstBase.BaseParseFrame; + copy(): GstBase.BaseParseFrame; + free(): void; + init(): void; + } + + class BaseParsePrivate { + } + + class BaseSinkClass { + parentClass : Gst.ElementClass; + getCaps : (sink: GstBase.BaseSink, filter: Gst.Caps) => Gst.Caps; + setCaps : (sink: GstBase.BaseSink, caps: Gst.Caps) => boolean; + fixate : (sink: GstBase.BaseSink, caps: Gst.Caps) => Gst.Caps; + activatePull : (sink: GstBase.BaseSink, active: boolean) => boolean; + getTimes : (sink: GstBase.BaseSink, buffer: Gst.Buffer, start: number | bigint, end: number | bigint) => void; + proposeAllocation : (sink: GstBase.BaseSink, query: Gst.Query) => boolean; + start : (sink: GstBase.BaseSink) => boolean; + stop : (sink: GstBase.BaseSink) => boolean; + unlock : (sink: GstBase.BaseSink) => boolean; + unlockStop : (sink: GstBase.BaseSink) => boolean; + query : (sink: GstBase.BaseSink, query: Gst.Query) => boolean; + event : (sink: GstBase.BaseSink, event: Gst.Event) => boolean; + waitEvent : (sink: GstBase.BaseSink, event: Gst.Event) => Gst.FlowReturn; + prepare : (sink: GstBase.BaseSink, buffer: Gst.Buffer) => Gst.FlowReturn; + prepareList : (sink: GstBase.BaseSink, bufferList: Gst.BufferList) => Gst.FlowReturn; + preroll : (sink: GstBase.BaseSink, buffer: Gst.Buffer) => Gst.FlowReturn; + render : (sink: GstBase.BaseSink, buffer: Gst.Buffer) => Gst.FlowReturn; + renderList : (sink: GstBase.BaseSink, bufferList: Gst.BufferList) => Gst.FlowReturn; + + } + + class BaseSinkPrivate { + } + + class BaseSrcClass { + parentClass : Gst.ElementClass; + getCaps : (src: GstBase.BaseSrc, filter: Gst.Caps | undefined | null) => Gst.Caps; + negotiate : (src: GstBase.BaseSrc) => boolean; + fixate : (src: GstBase.BaseSrc, caps: Gst.Caps) => Gst.Caps; + setCaps : (src: GstBase.BaseSrc, caps: Gst.Caps) => boolean; + decideAllocation : (src: GstBase.BaseSrc, query: Gst.Query) => boolean; + start : (src: GstBase.BaseSrc) => boolean; + stop : (src: GstBase.BaseSrc) => boolean; + getTimes : (src: GstBase.BaseSrc, buffer: Gst.Buffer, start: number | bigint, end: number | bigint) => void; + getSize : (src: GstBase.BaseSrc, size: number | bigint) => boolean; + isSeekable : (src: GstBase.BaseSrc) => boolean; + prepareSeekSegment : (src: GstBase.BaseSrc, seek: Gst.Event, segment: Gst.Segment) => boolean; + doSeek : (src: GstBase.BaseSrc, segment: Gst.Segment) => boolean; + unlock : (src: GstBase.BaseSrc) => boolean; + unlockStop : (src: GstBase.BaseSrc) => boolean; + query : (src: GstBase.BaseSrc, query: Gst.Query) => boolean; + event : (src: GstBase.BaseSrc, event: Gst.Event) => boolean; + create : (src: GstBase.BaseSrc, offset: number | bigint, size: number, buf: Gst.Buffer) => Gst.FlowReturn; + alloc : (src: GstBase.BaseSrc, offset: number | bigint, size: number, buf: Gst.Buffer) => Gst.FlowReturn; + fill : (src: GstBase.BaseSrc, offset: number | bigint, size: number, buf: Gst.Buffer) => Gst.FlowReturn; + + } + + class BaseSrcPrivate { + } + + class BaseTransformClass { + parentClass : Gst.ElementClass; + passthroughOnSameCaps : boolean; + transformIpOnPassthrough : boolean; + transformCaps : (trans: GstBase.BaseTransform, direction: Gst.PadDirection, caps: Gst.Caps, filter: Gst.Caps) => Gst.Caps; + fixateCaps : (trans: GstBase.BaseTransform, direction: Gst.PadDirection, caps: Gst.Caps, othercaps: Gst.Caps) => Gst.Caps; + acceptCaps : (trans: GstBase.BaseTransform, direction: Gst.PadDirection, caps: Gst.Caps) => boolean; + setCaps : (trans: GstBase.BaseTransform, incaps: Gst.Caps, outcaps: Gst.Caps) => boolean; + query : (trans: GstBase.BaseTransform, direction: Gst.PadDirection, query: Gst.Query) => boolean; + decideAllocation : (trans: GstBase.BaseTransform, query: Gst.Query) => boolean; + filterMeta : (trans: GstBase.BaseTransform, query: Gst.Query, api: number, params: Gst.Structure) => boolean; + proposeAllocation : (trans: GstBase.BaseTransform, decideQuery: Gst.Query, query: Gst.Query) => boolean; + transformSize : (trans: GstBase.BaseTransform, direction: Gst.PadDirection, caps: Gst.Caps, size: number | bigint, othercaps: Gst.Caps, othersize: number | bigint) => boolean; + getUnitSize : (trans: GstBase.BaseTransform, caps: Gst.Caps, size: number | bigint) => boolean; + start : (trans: GstBase.BaseTransform) => boolean; + stop : (trans: GstBase.BaseTransform) => boolean; + sinkEvent : (trans: GstBase.BaseTransform, event: Gst.Event) => boolean; + srcEvent : (trans: GstBase.BaseTransform, event: Gst.Event) => boolean; + prepareOutputBuffer : (trans: GstBase.BaseTransform, input: Gst.Buffer, outbuf: Gst.Buffer) => Gst.FlowReturn; + copyMetadata : (trans: GstBase.BaseTransform, input: Gst.Buffer, outbuf: Gst.Buffer) => boolean; + transformMeta : (trans: GstBase.BaseTransform, outbuf: Gst.Buffer, meta: Gst.Meta, inbuf: Gst.Buffer) => boolean; + beforeTransform : (trans: GstBase.BaseTransform, buffer: Gst.Buffer) => void; + transform : (trans: GstBase.BaseTransform, inbuf: Gst.Buffer, outbuf: Gst.Buffer) => Gst.FlowReturn; + transformIp : (trans: GstBase.BaseTransform, buf: Gst.Buffer) => Gst.FlowReturn; + submitInputBuffer : (trans: GstBase.BaseTransform, isDiscont: boolean, input: Gst.Buffer) => Gst.FlowReturn; + generateOutput : (trans: GstBase.BaseTransform, outbuf: Gst.Buffer) => Gst.FlowReturn; + + } + + class BaseTransformPrivate { + } + + class BitReader { + data : number[]; + size : number; + byte : number; + bit : number; + + free(): void; + getBitsUint16(val: number, nbits: number): boolean; + getBitsUint32(val: number, nbits: number): boolean; + getBitsUint64(val: number | bigint, nbits: number): boolean; + getBitsUint8(val: number, nbits: number): boolean; + getPos(): number; + getRemaining(): number; + getSize(): number; + init(data: number[], size: number): void; + peekBitsUint16(val: number, nbits: number): boolean; + peekBitsUint32(val: number, nbits: number): boolean; + peekBitsUint64(val: number | bigint, nbits: number): boolean; + peekBitsUint8(val: number, nbits: number): boolean; + setPos(pos: number): boolean; + skip(nbits: number): boolean; + skipToByte(): boolean; + } + + class BitWriter { + data : number; + bitSize : number; + bitCapacity : number; + autoGrow : boolean; + owned : boolean; + + alignBytes(trailingBit: number): boolean; + free(): void; + freeAndGetBuffer(): Gst.Buffer; + freeAndGetData(): number[]; + getData(): number[]; + getRemaining(): number; + getSize(): number; + putBitsUint16(value: number, nbits: number): boolean; + putBitsUint32(value: number, nbits: number): boolean; + putBitsUint64(value: number | bigint, nbits: number): boolean; + putBitsUint8(value: number, nbits: number): boolean; + putBytes(data: number[], nbytes: number): boolean; + reset(): void; + resetAndGetBuffer(): Gst.Buffer; + resetAndGetData(): number[]; + setPos(pos: number): boolean; + } + + class ByteReader { + data : number[]; + size : number; + byte : number; + + dupData(size: number, val: number[]): boolean; + dupStringUtf16(str: number[]): boolean; + dupStringUtf32(str: number[]): boolean; + dupStringUtf8(str: string[]): boolean; + free(): void; + getData(size: number, val: number[]): boolean; + getFloat32Be(val: number): boolean; + getFloat32Le(val: number): boolean; + getFloat64Be(val: number): boolean; + getFloat64Le(val: number): boolean; + getInt16Be(val: number): boolean; + getInt16Le(val: number): boolean; + getInt24Be(val: number): boolean; + getInt24Le(val: number): boolean; + getInt32Be(val: number): boolean; + getInt32Le(val: number): boolean; + getInt64Be(val: number | bigint): boolean; + getInt64Le(val: number | bigint): boolean; + getInt8(val: number): boolean; + getPos(): number; + getRemaining(): number; + getSize(): number; + getStringUtf8(str: string[]): boolean; + getUint16Be(val: number): boolean; + getUint16Le(val: number): boolean; + getUint24Be(val: number): boolean; + getUint24Le(val: number): boolean; + getUint32Be(val: number): boolean; + getUint32Le(val: number): boolean; + getUint64Be(val: number | bigint): boolean; + getUint64Le(val: number | bigint): boolean; + getUint8(val: number): boolean; + init(data: number[], size: number): void; + maskedScanUint32(mask: number, pattern: number, offset: number, size: number): number; + maskedScanUint32Peek(mask: number, pattern: number, offset: number, size: number, value: number): number; + peekData(size: number, val: number[]): boolean; + peekFloat32Be(val: number): boolean; + peekFloat32Le(val: number): boolean; + peekFloat64Be(val: number): boolean; + peekFloat64Le(val: number): boolean; + peekInt16Be(val: number): boolean; + peekInt16Le(val: number): boolean; + peekInt24Be(val: number): boolean; + peekInt24Le(val: number): boolean; + peekInt32Be(val: number): boolean; + peekInt32Le(val: number): boolean; + peekInt64Be(val: number | bigint): boolean; + peekInt64Le(val: number | bigint): boolean; + peekInt8(val: number): boolean; + peekStringUtf8(str: string[]): boolean; + peekUint16Be(val: number): boolean; + peekUint16Le(val: number): boolean; + peekUint24Be(val: number): boolean; + peekUint24Le(val: number): boolean; + peekUint32Be(val: number): boolean; + peekUint32Le(val: number): boolean; + peekUint64Be(val: number | bigint): boolean; + peekUint64Le(val: number | bigint): boolean; + peekUint8(val: number): boolean; + setPos(pos: number): boolean; + skip(nbytes: number): boolean; + skipStringUtf16(): boolean; + skipStringUtf32(): boolean; + skipStringUtf8(): boolean; + } + + class ByteWriter { + parent : GstBase.ByteReader; + allocSize : number; + fixed : boolean; + owned : boolean; + + ensureFreeSpace(size: number): boolean; + fill(value: number, size: number): boolean; + free(): void; + freeAndGetBuffer(): Gst.Buffer; + freeAndGetData(): number; + getRemaining(): number; + init(): void; + initWithData(data: number[], size: number, initialized: boolean): void; + initWithSize(size: number, fixed: boolean): void; + putBuffer(buffer: Gst.Buffer, offset: number | bigint, size: number | bigint): boolean; + putData(data: number[], size: number): boolean; + putFloat32Be(val: number): boolean; + putFloat32Le(val: number): boolean; + putFloat64Be(val: number): boolean; + putFloat64Le(val: number): boolean; + putInt16Be(val: number): boolean; + putInt16Le(val: number): boolean; + putInt24Be(val: number): boolean; + putInt24Le(val: number): boolean; + putInt32Be(val: number): boolean; + putInt32Le(val: number): boolean; + putInt64Be(val: number | bigint): boolean; + putInt64Le(val: number | bigint): boolean; + putInt8(val: number): boolean; + putStringUtf16(data: number[]): boolean; + putStringUtf32(data: number[]): boolean; + putStringUtf8(data: string): boolean; + putUint16Be(val: number): boolean; + putUint16Le(val: number): boolean; + putUint24Be(val: number): boolean; + putUint24Le(val: number): boolean; + putUint32Be(val: number): boolean; + putUint32Le(val: number): boolean; + putUint64Be(val: number | bigint): boolean; + putUint64Le(val: number | bigint): boolean; + putUint8(val: number): boolean; + reset(): void; + resetAndGetBuffer(): Gst.Buffer; + resetAndGetData(): number[]; + } + + class CollectData { + collect : GstBase.CollectPads; + pad : Gst.Pad; + buffer : Gst.Buffer; + pos : number; + segment : Gst.Segment; + state : GstBase.CollectPadsStateFlags; + priv : GstBase.CollectDataPrivate; + + } + + class CollectDataPrivate { + } + + class CollectPadsClass { + parentClass : Gst.ObjectClass; + + } + + class CollectPadsPrivate { + } + + class DataQueueClass { + parentClass : GObject.ObjectClass; + empty : (queue: GstBase.DataQueue) => void; + full : (queue: GstBase.DataQueue) => void; + + } + + class DataQueuePrivate { + } + + class FlowCombiner { + static New(): GstBase.FlowCombiner; + addPad(pad: Gst.Pad): void; + clear(): void; + free(): void; + ref(): GstBase.FlowCombiner; + removePad(pad: Gst.Pad): void; + reset(): void; + unref(): void; + updateFlow(fret: Gst.FlowReturn): Gst.FlowReturn; + updatePadFlow(pad: Gst.Pad, fret: Gst.FlowReturn): Gst.FlowReturn; + } + + class PushSrcClass { + parentClass : GstBase.BaseSrcClass; + create : (src: GstBase.PushSrc, buf: Gst.Buffer) => Gst.FlowReturn; + alloc : (src: GstBase.PushSrc, buf: Gst.Buffer) => Gst.FlowReturn; + fill : (src: GstBase.PushSrc, buf: Gst.Buffer) => Gst.FlowReturn; + + } + + + class Adapter extends GObject.Object { + constructor(initializerList ?: AdapterCtor); + + static New(): GstBase.Adapter; + available(): number | bigint; + availableFast(): number | bigint; + clear(): void; + copy(offset: number | bigint, size: number | bigint): AuGlibEx.Bytes; + distanceFromDiscont(): number | bigint; + dtsAtDiscont(): number | bigint; + flush(flush: number | bigint): void; + getBuffer(nbytes: number | bigint): Gst.Buffer; + getBufferFast(nbytes: number | bigint): Gst.Buffer; + getBufferList(nbytes: number | bigint): Gst.BufferList; + getList(nbytes: number | bigint): Gst.Buffer[]; + map(size: number | bigint): number[]; + maskedScanUint32(mask: number, pattern: number, offset: number | bigint, size: number | bigint): number | bigint; + maskedScanUint32Peek(mask: number, pattern: number, offset: number | bigint, size: number | bigint, value ?: number): number | bigint; + offsetAtDiscont(): number | bigint; + prevDts(distance ?: number | bigint): number | bigint; + prevDtsAtOffset(offset: number | bigint, distance ?: number | bigint): number | bigint; + prevOffset(distance ?: number | bigint): number | bigint; + prevPts(distance ?: number | bigint): number | bigint; + prevPtsAtOffset(offset: number | bigint, distance ?: number | bigint): number | bigint; + ptsAtDiscont(): number | bigint; + push(buf: Gst.Buffer): void; + take(nbytes: number | bigint): number[]; + takeBuffer(nbytes: number | bigint): Gst.Buffer; + takeBufferFast(nbytes: number | bigint): Gst.Buffer; + takeBufferList(nbytes: number | bigint): Gst.BufferList; + takeList(nbytes: number | bigint): Gst.Buffer[]; + unmap(): void; + //TypeScript is complete garbage: + } + + class AdapterCtor { + } + + class Aggregator extends Gst.Element { + constructor(initializerList ?: AggregatorCtor); + + parent : Gst.Element; + srcpad : Gst.Pad; + priv : GstBase.AggregatorPrivate; + + emitSignals : boolean; + latency : number | bigint; + minUpstreamLatency : number | bigint; + startTime : number | bigint; + startTimeSelection : GstBase.AggregatorStartTimeSelection; + + finishBuffer(buffer: Gst.Buffer): Gst.FlowReturn; + finishBufferList(bufferlist: Gst.BufferList): Gst.FlowReturn; + getAllocator(allocator ?: Gst.Allocator | undefined | null, params ?: Gst.AllocationParams): void; + getBufferPool(): Gst.BufferPool; + getIgnoreInactivePads(): boolean; + getLatency(): number | bigint; + negotiate(): boolean; + peekNextSample(pad: GstBase.AggregatorPad): Gst.Sample; + selectedSamples(pts: number | bigint, dts: number | bigint, duration: number | bigint, info: Gst.Structure | undefined | null): void; + setIgnoreInactivePads(ignore: boolean): void; + setLatency(minLatency: number | bigint, maxLatency: number | bigint): void; + setSrcCaps(caps: Gst.Caps): void; + simpleGetNextTime(): number | bigint; + updateSegment(segment: Gst.Segment): void; + //TypeScript is complete garbage: + } + + class AggregatorCtor { + name ?: string; + parent ?: Gst.Object; + latency ?: number; + minUpstreamLatency ?: number; + startTimeSelection ?: GstBase.AggregatorStartTimeSelection; + startTime ?: number; + emitSignals ?: boolean; + } + + class AggregatorEventListener extends AuGlibEx.IEventListener { + samplesSelected(segment: Gst.Segment, pts: number | bigint, dts: number | bigint, duration: number | bigint, info: Gst.Structure | undefined | null): void; + } + + class AggregatorPad extends Gst.Pad { + constructor(initializerList ?: AggregatorPadCtor); + + parent : Gst.Pad; + segment : Gst.Segment; + priv : GstBase.AggregatorPadPrivate; + + emitSignals : boolean; + + dropBuffer(): boolean; + hasBuffer(): boolean; + isEos(): boolean; + isInactive(): boolean; + peekBuffer(): Gst.Buffer; + popBuffer(): Gst.Buffer; + //TypeScript is complete garbage: + } + + class AggregatorPadCtor { + name ?: string; + parent ?: Gst.Object; + direction ?: Gst.PadDirection; + template ?: Gst.PadTemplate; + offset ?: number | bigint; + emitSignals ?: boolean; + } + + class AggregatorPadEventListener extends AuGlibEx.IEventListener { + bufferConsumed(object: Gst.Buffer): void; + } + + class BaseParse extends Gst.Element { + constructor(initializerList ?: BaseParseCtor); + + element : Gst.Element; + sinkpad : Gst.Pad; + srcpad : Gst.Pad; + flags : number; + segment : Gst.Segment; + priv : GstBase.BaseParsePrivate; + + disablePassthrough : boolean; + + addIndexEntry(offset: number | bigint, ts: number | bigint, key: boolean, force: boolean): boolean; + convertDefault(srcFormat: Gst.Format, srcValue: number | bigint, destFormat: Gst.Format, destValue: number | bigint): boolean; + drain(): void; + finishFrame(frame: GstBase.BaseParseFrame, size: number): Gst.FlowReturn; + mergeTags(tags: Gst.TagList | undefined | null, mode: Gst.TagMergeMode): void; + pushFrame(frame: GstBase.BaseParseFrame): Gst.FlowReturn; + setAverageBitrate(bitrate: number): void; + setDuration(fmt: Gst.Format, duration: number | bigint, interval: number): void; + setFrameRate(fpsNum: number, fpsDen: number, leadIn: number, leadOut: number): void; + setHasTimingInfo(hasTiming: boolean): void; + setInferTs(inferTs: boolean): void; + setLatency(minLatency: number | bigint, maxLatency: number | bigint): void; + setMinFrameSize(minSize: number): void; + setPassthrough(passthrough: boolean): void; + setPtsInterpolation(ptsInterpolate: boolean): void; + setSyncable(syncable: boolean): void; + setTsAtOffset(offset: number | bigint): void; + //TypeScript is complete garbage: + } + + class BaseParseCtor { + name ?: string; + parent ?: Gst.Object; + disablePassthrough ?: boolean; + } + + class BaseSink extends Gst.Element { + constructor(initializerList ?: BaseSinkCtor); + + element : Gst.Element; + sinkpad : Gst.Pad; + padMode : Gst.PadMode; + offset : number | bigint; + canActivatePull : boolean; + canActivatePush : boolean; + prerollCond : AuGlibEx.Cond; + eos : boolean; + needPreroll : boolean; + havePreroll : boolean; + playingAsync : boolean; + haveNewsegment : boolean; + segment : Gst.Segment; + clockId : void; + sync : boolean; + flushing : boolean; + running : boolean; + maxLateness : number | bigint; + priv : GstBase.BaseSinkPrivate; + + _async : boolean; + blocksize : number; + enableLastSample : boolean; + lastSample : Gst.Sample; + maxBitrate : number | bigint; + processingDeadline : number | bigint; + qos : boolean; + renderDelay : number | bigint; + stats : Gst.Structure; + throttleTime : number | bigint; + tsOffset : number | bigint; + + doPreroll(obj: Gst.MiniObject): Gst.FlowReturn; + getBlocksize(): number; + getDropOutOfSegment(): boolean; + getLastSample(): Gst.Sample; + getLatency(): number | bigint; + getMaxBitrate(): number | bigint; + getMaxLateness(): number | bigint; + getProcessingDeadline(): number | bigint; + getRenderDelay(): number | bigint; + getStats(): Gst.Structure; + getSync(): boolean; + getThrottleTime(): number | bigint; + getTsOffset(): number | bigint; + isAsyncEnabled(): boolean; + isLastSampleEnabled(): boolean; + isQosEnabled(): boolean; + queryLatency(live ?: boolean, upstreamLive ?: boolean, minLatency ?: number | bigint, maxLatency ?: number | bigint): boolean; + setAsyncEnabled(enabled: boolean): void; + setBlocksize(blocksize: number): void; + setDropOutOfSegment(dropOutOfSegment: boolean): void; + setLastSampleEnabled(enabled: boolean): void; + setMaxBitrate(maxBitrate: number | bigint): void; + setMaxLateness(maxLateness: number | bigint): void; + setProcessingDeadline(processingDeadline: number | bigint): void; + setQosEnabled(enabled: boolean): void; + setRenderDelay(delay: number | bigint): void; + setSync(sync: boolean): void; + setThrottleTime(throttle: number | bigint): void; + setTsOffset(offset: number | bigint): void; + wait(time: number | bigint, jitter ?: number | bigint): Gst.FlowReturn; + waitClock(time: number | bigint, jitter ?: number | bigint): Gst.ClockReturn; + waitPreroll(): Gst.FlowReturn; + //TypeScript is complete garbage: + } + + class BaseSinkCtor { + name ?: string; + parent ?: Gst.Object; + sync ?: boolean; + maxLateness ?: number | bigint; + qos ?: boolean; + async ?: boolean; + tsOffset ?: number | bigint; + enableLastSample ?: boolean; + blocksize ?: number; + renderDelay ?: number; + throttleTime ?: number; + maxBitrate ?: number; + processingDeadline ?: number; + } + + class BaseSrc extends Gst.Element { + constructor(initializerList ?: BaseSrcCtor); + + element : Gst.Element; + srcpad : Gst.Pad; + liveCond : AuGlibEx.Cond; + isLive : boolean; + liveRunning : boolean; + blocksize : number; + canActivatePush : boolean; + randomAccess : boolean; + clockId : void; + segment : Gst.Segment; + needNewsegment : boolean; + numBuffers : number; + numBuffersLeft : number; + typefind : boolean; + running : boolean; + pendingSeek : Gst.Event; + priv : GstBase.BaseSrcPrivate; + + doTimestamp : boolean; + + getAllocator(allocator ?: Gst.Allocator | undefined | null, params ?: Gst.AllocationParams): void; + getBlocksize(): number; + getBufferPool(): Gst.BufferPool; + getDoTimestamp(): boolean; + isAsync(): boolean; + negotiate(): boolean; + newSeamlessSegment(start: number | bigint, stop: number | bigint, time: number | bigint): boolean; + newSegment(segment: Gst.Segment): boolean; + queryLatency(live ?: boolean, minLatency ?: number | bigint, maxLatency ?: number | bigint): boolean; + setAsync(_async: boolean): void; + setAutomaticEos(automaticEos: boolean): void; + setBlocksize(blocksize: number): void; + setCaps(caps: Gst.Caps): boolean; + setDoTimestamp(timestamp: boolean): void; + setDynamicSize(dynamic: boolean): void; + setFormat(format: Gst.Format): void; + setLive(live: boolean): void; + startComplete(ret: Gst.FlowReturn): void; + startWait(): Gst.FlowReturn; + submitBufferList(bufferList: Gst.BufferList): void; + waitPlaying(): Gst.FlowReturn; + //TypeScript is complete garbage: + } + + class BaseSrcCtor { + name ?: string; + parent ?: Gst.Object; + blocksize ?: number; + numBuffers ?: number; + typefind ?: boolean; + doTimestamp ?: boolean; + } + + class BaseTransform extends Gst.Element { + constructor(initializerList ?: BaseTransformCtor); + + element : Gst.Element; + sinkpad : Gst.Pad; + srcpad : Gst.Pad; + haveSegment : boolean; + segment : Gst.Segment; + queuedBuf : Gst.Buffer; + priv : GstBase.BaseTransformPrivate; + + qos : boolean; + + getAllocator(allocator ?: Gst.Allocator | undefined | null, params ?: Gst.AllocationParams): void; + getBufferPool(): Gst.BufferPool; + isInPlace(): boolean; + isPassthrough(): boolean; + isQosEnabled(): boolean; + reconfigure(): boolean; + reconfigureSink(): void; + reconfigureSrc(): void; + setGapAware(gapAware: boolean): void; + setInPlace(inPlace: boolean): void; + setPassthrough(passthrough: boolean): void; + setPreferPassthrough(preferPassthrough: boolean): void; + setQosEnabled(enabled: boolean): void; + updateQos(proportion: number, diff: number | bigint, timestamp: number | bigint): void; + updateSrcCaps(updatedCaps: Gst.Caps): boolean; + //TypeScript is complete garbage: + } + + class BaseTransformCtor { + name ?: string; + parent ?: Gst.Object; + qos ?: boolean; + } + + class CollectPads extends Gst.Object { + constructor(initializerList ?: CollectPadsCtor); + + object : Gst.Object; + data : GstBase.CollectData[]; + streamLock : AuGlibEx.RecMutex; + priv : GstBase.CollectPadsPrivate; + + static New(): GstBase.CollectPads; + addPad(pad: Gst.Pad, size: number, destroyNotify: (data: GstBase.CollectData) => void, lock: boolean): GstBase.CollectData; + available(): number; + clipRunningTime(cdata: GstBase.CollectData, buf: Gst.Buffer, outbuf ?: Gst.Buffer): Gst.FlowReturn; + eventDefault(data: GstBase.CollectData, event: Gst.Event, discard: boolean): boolean; + flush(data: GstBase.CollectData, size: number): number; + peek(data: GstBase.CollectData): Gst.Buffer; + pop(data: GstBase.CollectData): Gst.Buffer; + queryDefault(data: GstBase.CollectData, query: Gst.Query, discard: boolean): boolean; + readBuffer(data: GstBase.CollectData, size: number): Gst.Buffer; + removePad(pad: Gst.Pad): boolean; + setBufferFunction(func: (pads: GstBase.CollectPads, data: GstBase.CollectData, buffer: Gst.Buffer) => Gst.FlowReturn): void; + setClipFunction(clipfunc: (pads: GstBase.CollectPads, data: GstBase.CollectData, inbuffer: Gst.Buffer, outbuffer: Gst.Buffer) => Gst.FlowReturn): void; + setCompareFunction(func: (pads: GstBase.CollectPads, data1: GstBase.CollectData, timestamp1: number | bigint, data2: GstBase.CollectData, timestamp2: number | bigint) => number): void; + setEventFunction(func: (pads: GstBase.CollectPads, pad: GstBase.CollectData, event: Gst.Event) => boolean): void; + setFlushFunction(func: (pads: GstBase.CollectPads) => void): void; + setFlushing(flushing: boolean): void; + setFunction(func: (pads: GstBase.CollectPads) => Gst.FlowReturn): void; + setQueryFunction(func: (pads: GstBase.CollectPads, pad: GstBase.CollectData, query: Gst.Query) => boolean): void; + setWaiting(data: GstBase.CollectData, waiting: boolean): void; + srcEventDefault(pad: Gst.Pad, event: Gst.Event): boolean; + start(): void; + stop(): void; + takeBuffer(data: GstBase.CollectData, size: number): Gst.Buffer; + //TypeScript is complete garbage: + } + + class CollectPadsCtor { + name ?: string; + parent ?: Gst.Object; + } + + class DataQueue extends GObject.Object { + constructor(initializerList ?: DataQueueCtor); + + object : GObject.Object; + priv : GstBase.DataQueuePrivate; + + currentLevelBytes : number; + currentLevelTime : number | bigint; + currentLevelVisible : number; + + //TypeScript is complete garbage: + } + + class DataQueueCtor { + currentLevelVisible ?: number; + currentLevelBytes ?: number; + currentLevelTime ?: number; + } + + class PushSrc extends GstBase.BaseSrc { + constructor(initializerList ?: PushSrcCtor); + + parent : GstBase.BaseSrc; + + //TypeScript is complete garbage: + } + + class PushSrcCtor { + name ?: string; + parent ?: Gst.Object; + blocksize ?: number; + numBuffers ?: number; + typefind ?: boolean; + doTimestamp ?: boolean; + } +} \ No newline at end of file diff --git a/GstPlay.d.ts b/GstPlay.d.ts new file mode 100644 index 0000000..9d89ea3 --- /dev/null +++ b/GstPlay.d.ts @@ -0,0 +1,372 @@ +declare namespace GstPlay { + class PlayColorBalanceType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kHue": PlayColorBalanceType + static readonly "kBrightness": PlayColorBalanceType + static readonly "kSaturation": PlayColorBalanceType + static readonly "kContrast": PlayColorBalanceType + } + + class PlayError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": PlayError + } + + class PlayMessage { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUriLoaded": PlayMessage + static readonly "kPositionUpdated": PlayMessage + static readonly "kDurationChanged": PlayMessage + static readonly "kStateChanged": PlayMessage + static readonly "kBuffering": PlayMessage + static readonly "kEndOfStream": PlayMessage + static readonly "kError": PlayMessage + static readonly "kWarning": PlayMessage + static readonly "kVideoDimensionsChanged": PlayMessage + static readonly "kMediaInfoUpdated": PlayMessage + static readonly "kVolumeChanged": PlayMessage + static readonly "kMuteChanged": PlayMessage + static readonly "kSeekDone": PlayMessage + } + + class PlaySnapshotFormat { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kRawNative": PlaySnapshotFormat + static readonly "kRawXRgb": PlaySnapshotFormat + static readonly "kRawBgrx": PlaySnapshotFormat + static readonly "kJpg": PlaySnapshotFormat + static readonly "kPng": PlaySnapshotFormat + } + + class PlayState { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStopped": PlayState + static readonly "kBuffering": PlayState + static readonly "kPaused": PlayState + static readonly "kPlaying": PlayState + } + + + class PlayVideoRenderer { + } + + + class PlayAudioInfoClass { + } + + class PlayClass { + } + + class PlayMediaInfoClass { + } + + class PlaySignalAdapterClass { + } + + class PlayStreamInfoClass { + } + + class PlaySubtitleInfoClass { + } + + class PlayVideoInfoClass { + } + + class PlayVideoOverlayVideoRendererClass { + } + + class PlayVideoRendererInterface { + parentIface : GObject.TypeInterface; + createVideoSink : void; + + } + + class PlayVisualization { + name : string; + description : string; + + copy(): GstPlay.PlayVisualization; + free(): void; + } + + + class Play extends Gst.Object { + constructor(initializerList ?: PlayCtor); + + audioVideoOffset : number | bigint; + currentAudioTrack : GstPlay.PlayAudioInfo; + currentSubtitleTrack : GstPlay.PlaySubtitleInfo; + currentVideoTrack : GstPlay.PlayVideoInfo; + duration : number | bigint; + mediaInfo : GstPlay.PlayMediaInfo; + mute : boolean; + pipeline : Gst.Element; + position : number | bigint; + rate : number; + subtitleVideoOffset : number | bigint; + suburi : string; + uri : string; + videoMultiviewFlags : GstVideo.VideoMultiviewFlags; + videoMultiviewMode : GstVideo.VideoMultiviewFramePacking; + videoRenderer : GstPlay.PlayVideoRenderer; + volume : number; + + static New(videoRenderer: GstPlay.PlayVideoRenderer | undefined | null): GstPlay.Play; + static ConfigGetPositionUpdateInterval(config: Gst.Structure): number; + static ConfigGetSeekAccurate(config: Gst.Structure): boolean; + static ConfigGetUserAgent(config: Gst.Structure): string; + static ConfigSetPositionUpdateInterval(config: Gst.Structure, interval: number): void; + static ConfigSetSeekAccurate(config: Gst.Structure, accurate: boolean): void; + static ConfigSetUserAgent(config: Gst.Structure, agent: string | undefined | null): void; + static GetAudioStreams(info: GstPlay.PlayMediaInfo): GstPlay.PlayAudioInfo[]; + static GetSubtitleStreams(info: GstPlay.PlayMediaInfo): GstPlay.PlaySubtitleInfo[]; + static GetVideoStreams(info: GstPlay.PlayMediaInfo): GstPlay.PlayVideoInfo[]; + static IsPlayMessage(msg: Gst.Message): boolean; + static VisualizationsFree(viss: GstPlay.PlayVisualization): void; + static VisualizationsGet(): GstPlay.PlayVisualization[]; + getAudioVideoOffset(): number | bigint; + getColorBalance(type: GstPlay.PlayColorBalanceType): number; + getConfig(): Gst.Structure; + getCurrentAudioTrack(): GstPlay.PlayAudioInfo; + getCurrentSubtitleTrack(): GstPlay.PlaySubtitleInfo; + getCurrentVideoTrack(): GstPlay.PlayVideoInfo; + getCurrentVisualization(): string; + getDuration(): number | bigint; + getMediaInfo(): GstPlay.PlayMediaInfo; + getMessageBus(): Gst.Bus; + getMultiviewFlags(): GstVideo.VideoMultiviewFlags; + getMultiviewMode(): GstVideo.VideoMultiviewFramePacking; + getMute(): boolean; + getPipeline(): Gst.Element; + getPosition(): number | bigint; + getRate(): number; + getSubtitleUri(): string; + getSubtitleVideoOffset(): number | bigint; + getUri(): string; + getVideoSnapshot(format: GstPlay.PlaySnapshotFormat, config: Gst.Structure | undefined | null): Gst.Sample; + getVolume(): number; + hasColorBalance(): boolean; + pause(): void; + play(): void; + seek(position: number | bigint): void; + setAudioTrack(streamIndex: number): boolean; + setAudioTrackEnabled(enabled: boolean): void; + setAudioVideoOffset(offset: number | bigint): void; + setColorBalance(type: GstPlay.PlayColorBalanceType, value: number): void; + setConfig(config: Gst.Structure): boolean; + setMultiviewFlags(flags: GstVideo.VideoMultiviewFlags): void; + setMultiviewMode(mode: GstVideo.VideoMultiviewFramePacking): void; + setMute(val: boolean): void; + setRate(rate: number): void; + setSubtitleTrack(streamIndex: number): boolean; + setSubtitleTrackEnabled(enabled: boolean): void; + setSubtitleUri(uri: string | undefined | null): void; + setSubtitleVideoOffset(offset: number | bigint): void; + setUri(uri: string | undefined | null): void; + setVideoTrack(streamIndex: number): boolean; + setVideoTrackEnabled(enabled: boolean): void; + setVisualization(name: string | undefined | null): boolean; + setVisualizationEnabled(enabled: boolean): void; + setVolume(val: number): void; + stop(): void; + //TypeScript is complete garbage: + } + + class PlayCtor { + name ?: string; + parent ?: Gst.Object; + videoRenderer ?: GstPlay.PlayVideoRenderer; + uri ?: string; + suburi ?: string; + position ?: number; + duration ?: number; + mediaInfo ?: GstPlay.PlayMediaInfo; + currentAudioTrack ?: GstPlay.PlayAudioInfo; + currentVideoTrack ?: GstPlay.PlayVideoInfo; + currentSubtitleTrack ?: GstPlay.PlaySubtitleInfo; + volume ?: number; + mute ?: boolean; + rate ?: number; + pipeline ?: Gst.Element; + videoMultiviewMode ?: GstVideo.VideoMultiviewFramePacking; + videoMultiviewFlags ?: GstVideo.VideoMultiviewFlags; + audioVideoOffset ?: number | bigint; + subtitleVideoOffset ?: number | bigint; + } + + class PlayAudioInfo extends GstPlay.PlayStreamInfo { + constructor(initializerList ?: PlayAudioInfoCtor); + + getBitrate(): number; + getChannels(): number; + getLanguage(): string; + getMaxBitrate(): number; + getSampleRate(): number; + //TypeScript is complete garbage: + } + + class PlayAudioInfoCtor { + } + + class PlayMediaInfo extends GObject.Object { + constructor(initializerList ?: PlayMediaInfoCtor); + + getAudioStreams(): GstPlay.PlayAudioInfo[]; + getContainerFormat(): string; + getDuration(): number | bigint; + getImageSample(): Gst.Sample; + getNumberOfAudioStreams(): number; + getNumberOfStreams(): number; + getNumberOfSubtitleStreams(): number; + getNumberOfVideoStreams(): number; + getStreamList(): GstPlay.PlayStreamInfo[]; + getSubtitleStreams(): GstPlay.PlaySubtitleInfo[]; + getTags(): Gst.TagList; + getTitle(): string; + getUri(): string; + getVideoStreams(): GstPlay.PlayVideoInfo[]; + isLive(): boolean; + isSeekable(): boolean; + //TypeScript is complete garbage: + } + + class PlayMediaInfoCtor { + } + + class PlaySignalAdapter extends GObject.Object { + constructor(initializerList ?: PlaySignalAdapterCtor); + + play : GstPlay.Play; + + static New(play: GstPlay.Play): GstPlay.PlaySignalAdapter; + static NewSyncEmit(play: GstPlay.Play): GstPlay.PlaySignalAdapter; + static NewWithMainContext(play: GstPlay.Play, context: AuGlibEx.MainContext): GstPlay.PlaySignalAdapter; + getPlay(): GstPlay.Play; + //TypeScript is complete garbage: + } + + class PlaySignalAdapterCtor { + play ?: GstPlay.Play; + } + + class PlaySignalAdapterEventListener extends AuGlibEx.IEventListener { + buffering(object: number): void; + durationChanged(object: number | bigint): void; + endOfStream(): void; + error(object: AuGlibEx.Error, p0: Gst.Structure): void; + mediaInfoUpdated(object: GstPlay.PlayMediaInfo): void; + muteChanged(object: boolean): void; + positionUpdated(object: number | bigint): void; + seekDone(object: number | bigint): void; + stateChanged(object: GstPlay.PlayState): void; + uriLoaded(object: string): void; + videoDimensionsChanged(object: number, p0: number): void; + volumeChanged(object: number): void; + warning(object: AuGlibEx.Error, p0: Gst.Structure): void; + } + + class PlayStreamInfo extends GObject.Object { + constructor(initializerList ?: PlayStreamInfoCtor); + + getCaps(): Gst.Caps; + getCodec(): string; + getIndex(): number; + getStreamType(): string; + getTags(): Gst.TagList; + //TypeScript is complete garbage: + } + + class PlayStreamInfoCtor { + } + + class PlaySubtitleInfo extends GstPlay.PlayStreamInfo { + constructor(initializerList ?: PlaySubtitleInfoCtor); + + getLanguage(): string; + //TypeScript is complete garbage: + } + + class PlaySubtitleInfoCtor { + } + + class PlayVideoInfo extends GstPlay.PlayStreamInfo { + constructor(initializerList ?: PlayVideoInfoCtor); + + getBitrate(): number; + getFramerate(fpsN: number, fpsD: number): void; + getHeight(): number; + getMaxBitrate(): number; + getPixelAspectRatio(parN: number, parD: number): void; + getWidth(): number; + //TypeScript is complete garbage: + } + + class PlayVideoInfoCtor { + } + + class PlayVideoOverlayVideoRenderer extends GObject.Object implements GstPlay.PlayVideoRenderer { + constructor(initializerList ?: PlayVideoOverlayVideoRendererCtor); + + videoSink : Gst.Element; + windowHandle : void; + + static New(): GstPlay.PlayVideoRenderer; + static NewWithSink(videoSink: Gst.Element): GstPlay.PlayVideoRenderer; + expose(): void; + getRenderRectangle(x ?: number, y ?: number, width ?: number, height ?: number): void; + getWindowHandle(): void; + setRenderRectangle(x: number, y: number, width: number, height: number): void; + setWindowHandle(): void; + //TypeScript is complete garbage: + } + + class PlayVideoOverlayVideoRendererCtor { + windowHandle ?: number | bigint; + videoSink ?: Gst.Element; + } +} \ No newline at end of file diff --git a/GstPlayer.d.ts b/GstPlayer.d.ts new file mode 100644 index 0000000..d16ab7d --- /dev/null +++ b/GstPlayer.d.ts @@ -0,0 +1,352 @@ +declare namespace GstPlayer { + class PlayerColorBalanceType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kHue": PlayerColorBalanceType + static readonly "kBrightness": PlayerColorBalanceType + static readonly "kSaturation": PlayerColorBalanceType + static readonly "kContrast": PlayerColorBalanceType + } + + class PlayerError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": PlayerError + } + + class PlayerSnapshotFormat { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kRawNative": PlayerSnapshotFormat + static readonly "kRawXRgb": PlayerSnapshotFormat + static readonly "kRawBgrx": PlayerSnapshotFormat + static readonly "kJpg": PlayerSnapshotFormat + static readonly "kPng": PlayerSnapshotFormat + } + + class PlayerState { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStopped": PlayerState + static readonly "kBuffering": PlayerState + static readonly "kPaused": PlayerState + static readonly "kPlaying": PlayerState + } + + + class PlayerSignalDispatcher { + } + + class PlayerVideoRenderer { + } + + + class PlayerAudioInfoClass { + } + + class PlayerClass { + } + + class PlayerGMainContextSignalDispatcherClass { + } + + class PlayerMediaInfoClass { + } + + class PlayerSignalDispatcherInterface { + parentIface : GObject.TypeInterface; + dispatch : (self: GstPlayer.PlayerSignalDispatcher, player: GstPlayer.Player, emitter: () => void, destroy: () => void) => void; + + } + + class PlayerStreamInfoClass { + } + + class PlayerSubtitleInfoClass { + } + + class PlayerVideoInfoClass { + } + + class PlayerVideoOverlayVideoRendererClass { + } + + class PlayerVideoRendererInterface { + parentIface : GObject.TypeInterface; + createVideoSink : void; + + } + + class PlayerVisualization { + name : string; + description : string; + + copy(): GstPlayer.PlayerVisualization; + free(): void; + } + + + class Player extends Gst.Object { + constructor(initializerList ?: PlayerCtor); + + audioVideoOffset : number | bigint; + currentAudioTrack : GstPlayer.PlayerAudioInfo; + currentSubtitleTrack : GstPlayer.PlayerSubtitleInfo; + currentVideoTrack : GstPlayer.PlayerVideoInfo; + duration : number | bigint; + mediaInfo : GstPlayer.PlayerMediaInfo; + mute : boolean; + pipeline : Gst.Element; + position : number | bigint; + rate : number; + signalDispatcher : GstPlayer.PlayerSignalDispatcher; + subtitleVideoOffset : number | bigint; + suburi : string; + uri : string; + videoMultiviewFlags : GstVideo.VideoMultiviewFlags; + videoMultiviewMode : GstVideo.VideoMultiviewFramePacking; + videoRenderer : GstPlayer.PlayerVideoRenderer; + volume : number; + + static New(videoRenderer: GstPlayer.PlayerVideoRenderer | undefined | null, signalDispatcher: GstPlayer.PlayerSignalDispatcher | undefined | null): GstPlayer.Player; + static ConfigGetPositionUpdateInterval(config: Gst.Structure): number; + static ConfigGetSeekAccurate(config: Gst.Structure): boolean; + static ConfigGetUserAgent(config: Gst.Structure): string; + static ConfigSetPositionUpdateInterval(config: Gst.Structure, interval: number): void; + static ConfigSetSeekAccurate(config: Gst.Structure, accurate: boolean): void; + static ConfigSetUserAgent(config: Gst.Structure, agent: string | undefined | null): void; + static GetAudioStreams(info: GstPlayer.PlayerMediaInfo): GstPlayer.PlayerAudioInfo[]; + static GetSubtitleStreams(info: GstPlayer.PlayerMediaInfo): GstPlayer.PlayerSubtitleInfo[]; + static GetVideoStreams(info: GstPlayer.PlayerMediaInfo): GstPlayer.PlayerVideoInfo[]; + static VisualizationsFree(viss: GstPlayer.PlayerVisualization): void; + static VisualizationsGet(): GstPlayer.PlayerVisualization[]; + getAudioVideoOffset(): number | bigint; + getColorBalance(type: GstPlayer.PlayerColorBalanceType): number; + getConfig(): Gst.Structure; + getCurrentAudioTrack(): GstPlayer.PlayerAudioInfo; + getCurrentSubtitleTrack(): GstPlayer.PlayerSubtitleInfo; + getCurrentVideoTrack(): GstPlayer.PlayerVideoInfo; + getCurrentVisualization(): string; + getDuration(): number | bigint; + getMediaInfo(): GstPlayer.PlayerMediaInfo; + getMultiviewFlags(): GstVideo.VideoMultiviewFlags; + getMultiviewMode(): GstVideo.VideoMultiviewFramePacking; + getMute(): boolean; + getPipeline(): Gst.Element; + getPosition(): number | bigint; + getRate(): number; + getSubtitleUri(): string; + getSubtitleVideoOffset(): number | bigint; + getUri(): string; + getVideoSnapshot(format: GstPlayer.PlayerSnapshotFormat, config: Gst.Structure | undefined | null): Gst.Sample; + getVolume(): number; + hasColorBalance(): boolean; + pause(): void; + play(): void; + seek(position: number | bigint): void; + setAudioTrack(streamIndex: number): boolean; + setAudioTrackEnabled(enabled: boolean): void; + setAudioVideoOffset(offset: number | bigint): void; + setColorBalance(type: GstPlayer.PlayerColorBalanceType, value: number): void; + setConfig(config: Gst.Structure): boolean; + setMultiviewFlags(flags: GstVideo.VideoMultiviewFlags): void; + setMultiviewMode(mode: GstVideo.VideoMultiviewFramePacking): void; + setMute(val: boolean): void; + setRate(rate: number): void; + setSubtitleTrack(streamIndex: number): boolean; + setSubtitleTrackEnabled(enabled: boolean): void; + setSubtitleUri(uri: string | undefined | null): void; + setSubtitleVideoOffset(offset: number | bigint): void; + setUri(uri: string | undefined | null): void; + setVideoTrack(streamIndex: number): boolean; + setVideoTrackEnabled(enabled: boolean): void; + setVisualization(name: string | undefined | null): boolean; + setVisualizationEnabled(enabled: boolean): void; + setVolume(val: number): void; + stop(): void; + //TypeScript is complete garbage: + } + + class PlayerCtor { + name ?: string; + parent ?: Gst.Object; + videoRenderer ?: GstPlayer.PlayerVideoRenderer; + signalDispatcher ?: GstPlayer.PlayerSignalDispatcher; + uri ?: string; + suburi ?: string; + position ?: number; + duration ?: number; + mediaInfo ?: GstPlayer.PlayerMediaInfo; + currentAudioTrack ?: GstPlayer.PlayerAudioInfo; + currentVideoTrack ?: GstPlayer.PlayerVideoInfo; + currentSubtitleTrack ?: GstPlayer.PlayerSubtitleInfo; + volume ?: number; + mute ?: boolean; + rate ?: number; + pipeline ?: Gst.Element; + videoMultiviewMode ?: GstVideo.VideoMultiviewFramePacking; + videoMultiviewFlags ?: GstVideo.VideoMultiviewFlags; + audioVideoOffset ?: number | bigint; + subtitleVideoOffset ?: number | bigint; + } + + class PlayerEventListener extends AuGlibEx.IEventListener { + buffering(object: number): void; + durationChanged(object: number | bigint): void; + endOfStream(): void; + error(object: AuGlibEx.Error): void; + mediaInfoUpdated(object: GstPlayer.PlayerMediaInfo): void; + muteChanged(): void; + positionUpdated(object: number | bigint): void; + seekDone(object: number | bigint): void; + stateChanged(object: GstPlayer.PlayerState): void; + uriLoaded(object: string): void; + videoDimensionsChanged(object: number, p0: number): void; + volumeChanged(): void; + warning(object: AuGlibEx.Error): void; + } + + class PlayerAudioInfo extends GstPlayer.PlayerStreamInfo { + constructor(initializerList ?: PlayerAudioInfoCtor); + + getBitrate(): number; + getChannels(): number; + getLanguage(): string; + getMaxBitrate(): number; + getSampleRate(): number; + //TypeScript is complete garbage: + } + + class PlayerAudioInfoCtor { + } + + class PlayerGMainContextSignalDispatcher extends GObject.Object implements GstPlayer.PlayerSignalDispatcher { + constructor(initializerList ?: PlayerGMainContextSignalDispatcherCtor); + + applicationContext : AuGlibEx.MainContext; + + static New(applicationContext: AuGlibEx.MainContext | undefined | null): GstPlayer.PlayerSignalDispatcher; + //TypeScript is complete garbage: + } + + class PlayerGMainContextSignalDispatcherCtor { + applicationContext ?: AuGlibEx.MainContext; + } + + class PlayerMediaInfo extends GObject.Object { + constructor(initializerList ?: PlayerMediaInfoCtor); + + getAudioStreams(): GstPlayer.PlayerAudioInfo[]; + getContainerFormat(): string; + getDuration(): number | bigint; + getImageSample(): Gst.Sample; + getNumberOfAudioStreams(): number; + getNumberOfStreams(): number; + getNumberOfSubtitleStreams(): number; + getNumberOfVideoStreams(): number; + getStreamList(): GstPlayer.PlayerStreamInfo[]; + getSubtitleStreams(): GstPlayer.PlayerSubtitleInfo[]; + getTags(): Gst.TagList; + getTitle(): string; + getUri(): string; + getVideoStreams(): GstPlayer.PlayerVideoInfo[]; + isLive(): boolean; + isSeekable(): boolean; + //TypeScript is complete garbage: + } + + class PlayerMediaInfoCtor { + } + + class PlayerStreamInfo extends GObject.Object { + constructor(initializerList ?: PlayerStreamInfoCtor); + + getCaps(): Gst.Caps; + getCodec(): string; + getIndex(): number; + getStreamType(): string; + getTags(): Gst.TagList; + //TypeScript is complete garbage: + } + + class PlayerStreamInfoCtor { + } + + class PlayerSubtitleInfo extends GstPlayer.PlayerStreamInfo { + constructor(initializerList ?: PlayerSubtitleInfoCtor); + + getLanguage(): string; + //TypeScript is complete garbage: + } + + class PlayerSubtitleInfoCtor { + } + + class PlayerVideoInfo extends GstPlayer.PlayerStreamInfo { + constructor(initializerList ?: PlayerVideoInfoCtor); + + getBitrate(): number; + getFramerate(fpsN: number, fpsD: number): void; + getHeight(): number; + getMaxBitrate(): number; + getPixelAspectRatio(parN: number, parD: number): void; + getWidth(): number; + //TypeScript is complete garbage: + } + + class PlayerVideoInfoCtor { + } + + class PlayerVideoOverlayVideoRenderer extends GObject.Object implements GstPlayer.PlayerVideoRenderer { + constructor(initializerList ?: PlayerVideoOverlayVideoRendererCtor); + + videoSink : Gst.Element; + windowHandle : void; + + static New(): GstPlayer.PlayerVideoRenderer; + static NewWithSink(videoSink: Gst.Element): GstPlayer.PlayerVideoRenderer; + expose(): void; + getRenderRectangle(x ?: number, y ?: number, width ?: number, height ?: number): void; + getWindowHandle(): void; + setRenderRectangle(x: number, y: number, width: number, height: number): void; + setWindowHandle(): void; + //TypeScript is complete garbage: + } + + class PlayerVideoOverlayVideoRendererCtor { + windowHandle ?: number | bigint; + videoSink ?: Gst.Element; + } +} \ No newline at end of file diff --git a/GstVideo.d.ts b/GstVideo.d.ts new file mode 100644 index 0000000..089da17 --- /dev/null +++ b/GstVideo.d.ts @@ -0,0 +1,1974 @@ +declare namespace GstVideo { + + class ColorBalanceType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kHardware": ColorBalanceType + static readonly "kSoftware": ColorBalanceType + } + + class NavigationCommand { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": NavigationCommand + static readonly "kMenu1": NavigationCommand + static readonly "kMenu2": NavigationCommand + static readonly "kMenu3": NavigationCommand + static readonly "kMenu4": NavigationCommand + static readonly "kMenu5": NavigationCommand + static readonly "kMenu6": NavigationCommand + static readonly "kMenu7": NavigationCommand + static readonly "kLeft": NavigationCommand + static readonly "kRight": NavigationCommand + static readonly "kUp": NavigationCommand + static readonly "kDown": NavigationCommand + static readonly "kActivate": NavigationCommand + static readonly "kPrevAngle": NavigationCommand + static readonly "kNextAngle": NavigationCommand + } + + class NavigationEventType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": NavigationEventType + static readonly "kKeyPress": NavigationEventType + static readonly "kKeyRelease": NavigationEventType + static readonly "kMouseButtonPress": NavigationEventType + static readonly "kMouseButtonRelease": NavigationEventType + static readonly "kMouseMove": NavigationEventType + static readonly "kCommand": NavigationEventType + static readonly "kMouseScroll": NavigationEventType + } + + class NavigationMessageType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": NavigationMessageType + static readonly "kMouseOver": NavigationMessageType + static readonly "kCommandsChanged": NavigationMessageType + static readonly "kAnglesChanged": NavigationMessageType + static readonly "kEvent": NavigationMessageType + } + + class NavigationQueryType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": NavigationQueryType + static readonly "kCommands": NavigationQueryType + static readonly "kAngles": NavigationQueryType + } + + class VideoAFDSpec { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDvbEtsi": VideoAFDSpec + static readonly "kAtscA53": VideoAFDSpec + static readonly "kSmpteSt20161": VideoAFDSpec + } + + class VideoAFDValue { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnavailable": VideoAFDValue + static readonly "k169TopAligned": VideoAFDValue + static readonly "k149TopAligned": VideoAFDValue + static readonly "kGreaterThan169": VideoAFDValue + static readonly "k43Full169Full": VideoAFDValue + static readonly "k43Full43Pillar": VideoAFDValue + static readonly "k169Letter169Full": VideoAFDValue + static readonly "k149Letter149Pillar": VideoAFDValue + static readonly "k43Full149Center": VideoAFDValue + static readonly "k169Letter149Center": VideoAFDValue + static readonly "k169Letter43Center": VideoAFDValue + } + + class VideoAlphaMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCopy": VideoAlphaMode + static readonly "kSet": VideoAlphaMode + static readonly "kMult": VideoAlphaMode + } + + class VideoAncillaryDID { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUndefined": VideoAncillaryDID + static readonly "kDeletion": VideoAncillaryDID + static readonly "kHanc3gAudioDataFirst": VideoAncillaryDID + static readonly "kHanc3gAudioDataLast": VideoAncillaryDID + static readonly "kHancHdtvAudioDataFirst": VideoAncillaryDID + static readonly "kHancHdtvAudioDataLast": VideoAncillaryDID + static readonly "kHancSdtvAudioData1First": VideoAncillaryDID + static readonly "kHancSdtvAudioData1Last": VideoAncillaryDID + static readonly "kCameraPosition": VideoAncillaryDID + static readonly "kHancErrorDetection": VideoAncillaryDID + static readonly "kHancSdtvAudioData2First": VideoAncillaryDID + static readonly "kHancSdtvAudioData2Last": VideoAncillaryDID + } + + class VideoAncillaryDID16 { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kS334Eia708": VideoAncillaryDID16 + static readonly "kS334Eia608": VideoAncillaryDID16 + static readonly "kS20163AfdBar": VideoAncillaryDID16 + } + + class VideoBufferFlags { /*unsupported*/ } + + class VideoCaptionType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": VideoCaptionType + static readonly "kCea608Raw": VideoCaptionType + static readonly "kCea608S3341a": VideoCaptionType + static readonly "kCea708Raw": VideoCaptionType + static readonly "kCea708Cdp": VideoCaptionType + } + + class VideoChromaFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoChromaFlags + static readonly "kInterlaced": VideoChromaFlags + } + + class VideoChromaMethod { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNearest": VideoChromaMethod + static readonly "kLinear": VideoChromaMethod + } + + class VideoChromaMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFull": VideoChromaMode + static readonly "kUpsampleOnly": VideoChromaMode + static readonly "kDownsampleOnly": VideoChromaMode + static readonly "kNone": VideoChromaMode + } + + class VideoChromaSite { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": VideoChromaSite + static readonly "kNone": VideoChromaSite + static readonly "kHCosited": VideoChromaSite + static readonly "kVCosited": VideoChromaSite + static readonly "kAltLine": VideoChromaSite + static readonly "kCosited": VideoChromaSite + static readonly "kJpeg": VideoChromaSite + static readonly "kMpeg2": VideoChromaSite + static readonly "kDv": VideoChromaSite + } + + class VideoCodecFrameFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDecodeOnly": VideoCodecFrameFlags + static readonly "kSyncPoint": VideoCodecFrameFlags + static readonly "kForceKeyframe": VideoCodecFrameFlags + static readonly "kForceKeyframeHeaders": VideoCodecFrameFlags + static readonly "kCorrupted": VideoCodecFrameFlags + } + + class VideoColorMatrix { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": VideoColorMatrix + static readonly "kRgb": VideoColorMatrix + static readonly "kFcc": VideoColorMatrix + static readonly "kBt709": VideoColorMatrix + static readonly "kBt601": VideoColorMatrix + static readonly "kSmpte240m": VideoColorMatrix + static readonly "kBt2020": VideoColorMatrix + } + + class VideoColorPrimaries { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": VideoColorPrimaries + static readonly "kBt709": VideoColorPrimaries + static readonly "kBt470m": VideoColorPrimaries + static readonly "kBt470bg": VideoColorPrimaries + static readonly "kSmpte170m": VideoColorPrimaries + static readonly "kSmpte240m": VideoColorPrimaries + static readonly "kFilm": VideoColorPrimaries + static readonly "kBt2020": VideoColorPrimaries + static readonly "kAdobergb": VideoColorPrimaries + static readonly "kSmptest428": VideoColorPrimaries + static readonly "kSmpterp431": VideoColorPrimaries + static readonly "kSmpteeg432": VideoColorPrimaries + static readonly "kEbu3213": VideoColorPrimaries + } + + class VideoColorRange { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": VideoColorRange + static readonly "k0255": VideoColorRange + static readonly "k16235": VideoColorRange + } + + class VideoDecoderRequestSyncPointFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDiscardInput": VideoDecoderRequestSyncPointFlags + static readonly "kCorruptOutput": VideoDecoderRequestSyncPointFlags + } + + class VideoDitherFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoDitherFlags + static readonly "kInterlaced": VideoDitherFlags + static readonly "kQuantize": VideoDitherFlags + } + + class VideoDitherMethod { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoDitherMethod + static readonly "kVerterr": VideoDitherMethod + static readonly "kFloydSteinberg": VideoDitherMethod + static readonly "kSierraLite": VideoDitherMethod + static readonly "kBayer": VideoDitherMethod + } + + class VideoFieldOrder { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": VideoFieldOrder + static readonly "kTopFieldFirst": VideoFieldOrder + static readonly "kBottomFieldFirst": VideoFieldOrder + } + + class VideoFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoFlags + static readonly "kVariableFps": VideoFlags + static readonly "kPremultipliedAlpha": VideoFlags + } + + class VideoFormat { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": VideoFormat + static readonly "kEncoded": VideoFormat + static readonly "kI420": VideoFormat + static readonly "kYV12": VideoFormat + static readonly "kYUy2": VideoFormat + static readonly "kUyvy": VideoFormat + static readonly "kAyuv": VideoFormat + static readonly "kRgbx": VideoFormat + static readonly "kBgrx": VideoFormat + static readonly "kXRgb": VideoFormat + static readonly "kXBgr": VideoFormat + static readonly "kRgba": VideoFormat + static readonly "kBgra": VideoFormat + static readonly "kArgb": VideoFormat + static readonly "kAbgr": VideoFormat + static readonly "kRgb": VideoFormat + static readonly "kBgr": VideoFormat + static readonly "kY41b": VideoFormat + static readonly "kY42b": VideoFormat + static readonly "kYVyu": VideoFormat + static readonly "kY444": VideoFormat + static readonly "kV210": VideoFormat + static readonly "kV216": VideoFormat + static readonly "kNv12": VideoFormat + static readonly "kNv21": VideoFormat + static readonly "kGray8": VideoFormat + static readonly "kGray16Be": VideoFormat + static readonly "kGray16Le": VideoFormat + static readonly "kV308": VideoFormat + static readonly "kRgb16": VideoFormat + static readonly "kBgr16": VideoFormat + static readonly "kRgb15": VideoFormat + static readonly "kBgr15": VideoFormat + static readonly "kUyvp": VideoFormat + static readonly "kA420": VideoFormat + static readonly "kRgb8p": VideoFormat + static readonly "kYUv9": VideoFormat + static readonly "kYVu9": VideoFormat + static readonly "kIyu1": VideoFormat + static readonly "kArgb64": VideoFormat + static readonly "kAyuv64": VideoFormat + static readonly "kR210": VideoFormat + static readonly "kI42010be": VideoFormat + static readonly "kI42010le": VideoFormat + static readonly "kI42210be": VideoFormat + static readonly "kI42210le": VideoFormat + static readonly "kY44410be": VideoFormat + static readonly "kY44410le": VideoFormat + static readonly "kGbr": VideoFormat + static readonly "kGbr10be": VideoFormat + static readonly "kGbr10le": VideoFormat + static readonly "kNv16": VideoFormat + static readonly "kNv24": VideoFormat + static readonly "kNv1264z32": VideoFormat + static readonly "kA42010be": VideoFormat + static readonly "kA42010le": VideoFormat + static readonly "kA42210be": VideoFormat + static readonly "kA42210le": VideoFormat + static readonly "kA44410be": VideoFormat + static readonly "kA44410le": VideoFormat + static readonly "kNv61": VideoFormat + static readonly "kP01010be": VideoFormat + static readonly "kP01010le": VideoFormat + static readonly "kIyu2": VideoFormat + static readonly "kVyuy": VideoFormat + static readonly "kGbra": VideoFormat + static readonly "kGbra10be": VideoFormat + static readonly "kGbra10le": VideoFormat + static readonly "kGbr12be": VideoFormat + static readonly "kGbr12le": VideoFormat + static readonly "kGbra12be": VideoFormat + static readonly "kGbra12le": VideoFormat + static readonly "kI42012be": VideoFormat + static readonly "kI42012le": VideoFormat + static readonly "kI42212be": VideoFormat + static readonly "kI42212le": VideoFormat + static readonly "kY44412be": VideoFormat + static readonly "kY44412le": VideoFormat + static readonly "kGray10Le32": VideoFormat + static readonly "kNv1210le32": VideoFormat + static readonly "kNv1610le32": VideoFormat + static readonly "kNv1210le40": VideoFormat + static readonly "kY210": VideoFormat + static readonly "kY410": VideoFormat + static readonly "kVuya": VideoFormat + static readonly "kBgr10a2Le": VideoFormat + static readonly "kRgb10a2Le": VideoFormat + static readonly "kY44416be": VideoFormat + static readonly "kY44416le": VideoFormat + static readonly "kP016Be": VideoFormat + static readonly "kP016Le": VideoFormat + static readonly "kP012Be": VideoFormat + static readonly "kP012Le": VideoFormat + static readonly "kY212Be": VideoFormat + static readonly "kY212Le": VideoFormat + static readonly "kY412Be": VideoFormat + static readonly "kY412Le": VideoFormat + static readonly "kNv124l4": VideoFormat + static readonly "kNv1232l32": VideoFormat + static readonly "kRgbp": VideoFormat + static readonly "kBgrp": VideoFormat + static readonly "kAv12": VideoFormat + static readonly "kArgb64Le": VideoFormat + static readonly "kArgb64Be": VideoFormat + static readonly "kRgba64Le": VideoFormat + static readonly "kRgba64Be": VideoFormat + static readonly "kBgra64Le": VideoFormat + static readonly "kBgra64Be": VideoFormat + static readonly "kAbgr64Le": VideoFormat + static readonly "kAbgr64Be": VideoFormat + } + + class VideoFormatFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kYUv": VideoFormatFlags + static readonly "kRgb": VideoFormatFlags + static readonly "kGray": VideoFormatFlags + static readonly "kAlpha": VideoFormatFlags + static readonly "kLe": VideoFormatFlags + static readonly "kPalette": VideoFormatFlags + static readonly "kComplex": VideoFormatFlags + static readonly "kUnpack": VideoFormatFlags + static readonly "kTiled": VideoFormatFlags + } + + class VideoFrameFlags { /*unsupported*/ } + + class VideoFrameMapFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNoRef": VideoFrameMapFlags + static readonly "kLast": VideoFrameMapFlags + } + + class VideoGLTextureOrientation { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNormalYNormal": VideoGLTextureOrientation + static readonly "kNormalYFlip": VideoGLTextureOrientation + static readonly "kFlipYNormal": VideoGLTextureOrientation + static readonly "kFlipYFlip": VideoGLTextureOrientation + } + + class VideoGLTextureType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLuminance": VideoGLTextureType + static readonly "kLuminanceAlpha": VideoGLTextureType + static readonly "kRgb16": VideoGLTextureType + static readonly "kRgb": VideoGLTextureType + static readonly "kRgba": VideoGLTextureType + static readonly "kR": VideoGLTextureType + static readonly "kRg": VideoGLTextureType + } + + class VideoGammaMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoGammaMode + static readonly "kRemap": VideoGammaMode + } + + class VideoInterlaceMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kProgressive": VideoInterlaceMode + static readonly "kInterleaved": VideoInterlaceMode + static readonly "kMixed": VideoInterlaceMode + static readonly "kFields": VideoInterlaceMode + static readonly "kAlternate": VideoInterlaceMode + } + + class VideoMatrixMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFull": VideoMatrixMode + static readonly "kInputOnly": VideoMatrixMode + static readonly "kOutputOnly": VideoMatrixMode + static readonly "kNone": VideoMatrixMode + } + + class VideoMultiviewFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoMultiviewFlags + static readonly "kRightViewFirst": VideoMultiviewFlags + static readonly "kLeftFlipped": VideoMultiviewFlags + static readonly "kLeftFlopped": VideoMultiviewFlags + static readonly "kRightFlipped": VideoMultiviewFlags + static readonly "kRightFlopped": VideoMultiviewFlags + static readonly "kHalfAspect": VideoMultiviewFlags + static readonly "kMixedMono": VideoMultiviewFlags + } + + class VideoMultiviewFramePacking { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoMultiviewFramePacking + static readonly "kMono": VideoMultiviewFramePacking + static readonly "kLeft": VideoMultiviewFramePacking + static readonly "kRight": VideoMultiviewFramePacking + static readonly "kSideBySide": VideoMultiviewFramePacking + static readonly "kSideBySideQuincunx": VideoMultiviewFramePacking + static readonly "kColumnInterleaved": VideoMultiviewFramePacking + static readonly "kRowInterleaved": VideoMultiviewFramePacking + static readonly "kTopBottom": VideoMultiviewFramePacking + static readonly "kCheckerboard": VideoMultiviewFramePacking + } + + class VideoMultiviewMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoMultiviewMode + static readonly "kMono": VideoMultiviewMode + static readonly "kLeft": VideoMultiviewMode + static readonly "kRight": VideoMultiviewMode + static readonly "kSideBySide": VideoMultiviewMode + static readonly "kSideBySideQuincunx": VideoMultiviewMode + static readonly "kColumnInterleaved": VideoMultiviewMode + static readonly "kRowInterleaved": VideoMultiviewMode + static readonly "kTopBottom": VideoMultiviewMode + static readonly "kCheckerboard": VideoMultiviewMode + static readonly "kFrameByFrame": VideoMultiviewMode + static readonly "kMultiviewFrameByFrame": VideoMultiviewMode + static readonly "kSeparated": VideoMultiviewMode + } + + class VideoOrientationMethod { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kIdentity": VideoOrientationMethod + static readonly "k90r": VideoOrientationMethod + static readonly "k180": VideoOrientationMethod + static readonly "k90l": VideoOrientationMethod + static readonly "kHoriz": VideoOrientationMethod + static readonly "kVert": VideoOrientationMethod + static readonly "kUlLr": VideoOrientationMethod + static readonly "kUrLl": VideoOrientationMethod + static readonly "kAuto": VideoOrientationMethod + static readonly "kCustom": VideoOrientationMethod + } + + class VideoOverlayFormatFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoOverlayFormatFlags + static readonly "kPremultipliedAlpha": VideoOverlayFormatFlags + static readonly "kGlobalAlpha": VideoOverlayFormatFlags + } + + class VideoPackFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoPackFlags + static readonly "kTruncateRange": VideoPackFlags + static readonly "kInterlaced": VideoPackFlags + } + + class VideoPrimariesMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoPrimariesMode + static readonly "kMergeOnly": VideoPrimariesMode + static readonly "kFast": VideoPrimariesMode + } + + class VideoResamplerFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoResamplerFlags + static readonly "kHalfTaps": VideoResamplerFlags + } + + class VideoResamplerMethod { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNearest": VideoResamplerMethod + static readonly "kLinear": VideoResamplerMethod + static readonly "kCubic": VideoResamplerMethod + static readonly "kSinc": VideoResamplerMethod + static readonly "kLanczos": VideoResamplerMethod + } + + class VideoScalerFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoScalerFlags + static readonly "kInterlaced": VideoScalerFlags + } + + class VideoTileMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": VideoTileMode + static readonly "kZflipz2x2": VideoTileMode + static readonly "kLinear": VideoTileMode + } + + class VideoTileType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kIndexed": VideoTileType + } + + class VideoTimeCodeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": VideoTimeCodeFlags + static readonly "kDropFrame": VideoTimeCodeFlags + static readonly "kInterlaced": VideoTimeCodeFlags + } + + class VideoTransferFunction { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": VideoTransferFunction + static readonly "kGamma10": VideoTransferFunction + static readonly "kGamma18": VideoTransferFunction + static readonly "kGamma20": VideoTransferFunction + static readonly "kGamma22": VideoTransferFunction + static readonly "kBt709": VideoTransferFunction + static readonly "kSmpte240m": VideoTransferFunction + static readonly "kSrgb": VideoTransferFunction + static readonly "kGamma28": VideoTransferFunction + static readonly "kLog100": VideoTransferFunction + static readonly "kLog316": VideoTransferFunction + static readonly "kBt202012": VideoTransferFunction + static readonly "kAdobergb": VideoTransferFunction + static readonly "kBt202010": VideoTransferFunction + static readonly "kSmpte2084": VideoTransferFunction + static readonly "kAribStdB67": VideoTransferFunction + static readonly "kBt601": VideoTransferFunction + } + + class VideoVBIParserResult { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDone": VideoVBIParserResult + static readonly "kOk": VideoVBIParserResult + static readonly "kError": VideoVBIParserResult + } + + + class ColorBalance { + getBalanceType(): GstVideo.ColorBalanceType; + getValue(channel: GstVideo.ColorBalanceChannel): number; + listChannels(): GstVideo.ColorBalanceChannel[]; + setValue(channel: GstVideo.ColorBalanceChannel, value: number): void; + valueChanged(channel: GstVideo.ColorBalanceChannel, value: number): void; + } + + class Navigation { + static EventGetType(event: Gst.Event): GstVideo.NavigationEventType; + static EventParseCommand(event: Gst.Event, command ?: GstVideo.NavigationCommand): boolean; + static EventParseKeyEvent(event: Gst.Event, key ?: string): boolean; + static EventParseMouseButtonEvent(event: Gst.Event, button ?: number, x ?: number, y ?: number): boolean; + static EventParseMouseMoveEvent(event: Gst.Event, x ?: number, y ?: number): boolean; + static EventParseMouseScrollEvent(event: Gst.Event, x ?: number, y ?: number, deltaX ?: number, deltaY ?: number): boolean; + static MessageGetType(message: Gst.Message): GstVideo.NavigationMessageType; + static MessageNewAnglesChanged(src: Gst.Object, curAngle: number, nAngles: number): Gst.Message; + static MessageNewCommandsChanged(src: Gst.Object): Gst.Message; + static MessageNewEvent(src: Gst.Object, event: Gst.Event): Gst.Message; + static MessageNewMouseOver(src: Gst.Object, active: boolean): Gst.Message; + static MessageParseAnglesChanged(message: Gst.Message, curAngle ?: number, nAngles ?: number): boolean; + static MessageParseEvent(message: Gst.Message, event ?: Gst.Event): boolean; + static MessageParseMouseOver(message: Gst.Message, active ?: boolean): boolean; + static QueryGetType(query: Gst.Query): GstVideo.NavigationQueryType; + static QueryNewAngles(): Gst.Query; + static QueryNewCommands(): Gst.Query; + static QueryParseAngles(query: Gst.Query, curAngle ?: number, nAngles ?: number): boolean; + static QueryParseCommandsLength(query: Gst.Query, nCmds ?: number): boolean; + static QueryParseCommandsNth(query: Gst.Query, nth: number, cmd ?: GstVideo.NavigationCommand): boolean; + static QuerySetAngles(query: Gst.Query, curAngle: number, nAngles: number): void; + static QuerySetCommandsv(query: Gst.Query, nCmds: number, cmds: GstVideo.NavigationCommand[]): void; + sendCommand(command: GstVideo.NavigationCommand): void; + sendEvent(structure: Gst.Structure): void; + sendKeyEvent(event: string, key: string): void; + sendMouseEvent(event: string, button: number, x: number, y: number): void; + sendMouseScrollEvent(x: number, y: number, deltaX: number, deltaY: number): void; + } + + class VideoDirection { + videoDirection : GstVideo.VideoOrientationMethod; + + } + + class VideoOrientation { + static FromTag(taglist: Gst.TagList, method: GstVideo.VideoOrientationMethod): boolean; + getHcenter(center: number): boolean; + getHflip(flip: boolean): boolean; + getVcenter(center: number): boolean; + getVflip(flip: boolean): boolean; + setHcenter(center: number): boolean; + setHflip(flip: boolean): boolean; + setVcenter(center: number): boolean; + setVflip(flip: boolean): boolean; + } + + class VideoOverlay { + static InstallProperties(oclass: GObject.ObjectClass, lastPropId: number): void; + static SetProperty(object: GObject.Object, lastPropId: number, propertyId: number, value: GObject.Value): boolean; + expose(): void; + gotWindowHandle(handle: number | bigint): void; + handleEvents(handleEvents: boolean): void; + prepareWindowHandle(): void; + setRenderRectangle(x: number, y: number, width: number, height: number): boolean; + setWindowHandle(handle: number | bigint): void; + } + + + class ColorBalanceChannelClass { + parent : GObject.ObjectClass; + valueChanged : (channel: GstVideo.ColorBalanceChannel, value: number) => void; + + } + + class ColorBalanceInterface { + iface : GObject.TypeInterface; + listChannels : (balance: GstVideo.ColorBalance) => GstVideo.ColorBalanceChannel[]; + setValue : (balance: GstVideo.ColorBalance, channel: GstVideo.ColorBalanceChannel, value: number) => void; + getValue : (balance: GstVideo.ColorBalance, channel: GstVideo.ColorBalanceChannel) => number; + getBalanceType : (balance: GstVideo.ColorBalance) => GstVideo.ColorBalanceType; + valueChanged : (balance: GstVideo.ColorBalance, channel: GstVideo.ColorBalanceChannel, value: number) => void; + + } + + class NavigationInterface { + iface : GObject.TypeInterface; + sendEvent : (navigation: GstVideo.Navigation, structure: Gst.Structure) => void; + + } + + class VideoAFDMeta { + meta : Gst.Meta; + field : number; + spec : GstVideo.VideoAFDSpec; + afd : GstVideo.VideoAFDValue; + + static GetInfo(): Gst.MetaInfo; + } + + class VideoAffineTransformationMeta { + meta : Gst.Meta; + matrix : number[]; + + applyMatrix(matrix: number[]): void; + static GetInfo(): Gst.MetaInfo; + } + + class VideoAggregatorClass { + parentClass : GstBase.AggregatorClass; + updateCaps : (videoaggregator: GstVideo.VideoAggregator, caps: Gst.Caps) => Gst.Caps; + aggregateFrames : (videoaggregator: GstVideo.VideoAggregator, outbuffer: Gst.Buffer) => Gst.FlowReturn; + createOutputBuffer : (videoaggregator: GstVideo.VideoAggregator, outbuffer: Gst.Buffer) => Gst.FlowReturn; + findBestFormat : (vagg: GstVideo.VideoAggregator, downstreamCaps: Gst.Caps, bestInfo: GstVideo.VideoInfo, atLeastOneAlpha: boolean) => void; + + } + + class VideoAggregatorConvertPadClass { + parentClass : GstVideo.VideoAggregatorPadClass; + createConversionInfo : (pad: GstVideo.VideoAggregatorConvertPad, agg: GstVideo.VideoAggregator, conversionInfo: GstVideo.VideoInfo) => void; + + } + + class VideoAggregatorConvertPadPrivate { + } + + class VideoAggregatorPadClass { + parentClass : GstBase.AggregatorPadClass; + updateConversionInfo : (pad: GstVideo.VideoAggregatorPad) => void; + prepareFrame : (pad: GstVideo.VideoAggregatorPad, videoaggregator: GstVideo.VideoAggregator, buffer: Gst.Buffer, preparedFrame: GstVideo.VideoFrame) => boolean; + cleanFrame : (pad: GstVideo.VideoAggregatorPad, videoaggregator: GstVideo.VideoAggregator, preparedFrame: GstVideo.VideoFrame) => void; + prepareFrameStart : (pad: GstVideo.VideoAggregatorPad, videoaggregator: GstVideo.VideoAggregator, buffer: Gst.Buffer, preparedFrame: GstVideo.VideoFrame) => void; + prepareFrameFinish : (pad: GstVideo.VideoAggregatorPad, videoaggregator: GstVideo.VideoAggregator, preparedFrame: GstVideo.VideoFrame) => void; + + } + + class VideoAggregatorPadPrivate { + } + + class VideoAggregatorParallelConvertPadClass { + parentClass : GstVideo.VideoAggregatorConvertPadClass; + + } + + class VideoAggregatorPrivate { + } + + class VideoAlignment { + paddingTop : number; + paddingBottom : number; + paddingLeft : number; + paddingRight : number; + strideAlign : number[]; + + reset(): void; + } + + class VideoAncillary { + dID : number; + sDIDBlockNumber : number; + dataCount : number; + data : number[]; + + } + + class VideoBarMeta { + meta : Gst.Meta; + field : number; + isLetterbox : boolean; + barData1 : number; + barData2 : number; + + static GetInfo(): Gst.MetaInfo; + } + + class VideoBufferPoolClass { + parentClass : Gst.BufferPoolClass; + + } + + class VideoBufferPoolPrivate { + } + + class VideoCaptionMeta { + meta : Gst.Meta; + captionType : GstVideo.VideoCaptionType; + data : number[]; + size : number | bigint; + + static GetInfo(): Gst.MetaInfo; + } + + class VideoChromaResample { + _(width: number): void; + free(): void; + getInfo(nLines: number, offset: number): void; + } + + class VideoCodecAlphaMeta { + meta : Gst.Meta; + buffer : Gst.Buffer; + + static GetInfo(): Gst.MetaInfo; + } + + class VideoCodecFrame { + refCount : number; + flags : number; + systemFrameNumber : number; + decodeFrameNumber : number; + presentationFrameNumber : number; + dts : number | bigint; + pts : number | bigint; + duration : number | bigint; + distanceFromSync : number; + inputBuffer : Gst.Buffer; + outputBuffer : Gst.Buffer; + deadline : number | bigint; + userData : void; + userDataDestroyNotify : () => void; + + getUserData(): void; + ref(): GstVideo.VideoCodecFrame; + setUserData(notify: () => void): void; + unref(): void; + } + + class VideoCodecState { + refCount : number; + info : GstVideo.VideoInfo; + caps : Gst.Caps; + codecData : Gst.Buffer; + allocationCaps : Gst.Caps; + masteringDisplayInfo : GstVideo.VideoMasteringDisplayInfo; + contentLightLevel : GstVideo.VideoContentLightLevel; + + ref(): GstVideo.VideoCodecState; + unref(): void; + } + + class VideoColorPrimariesInfo { + primaries : GstVideo.VideoColorPrimaries; + wx : number; + wy : number; + rx : number; + ry : number; + gx : number; + gy : number; + bx : number; + by : number; + + } + + class VideoColorimetry { + range : GstVideo.VideoColorRange; + matrix : GstVideo.VideoColorMatrix; + transfer : GstVideo.VideoTransferFunction; + primaries : GstVideo.VideoColorPrimaries; + + fromString(color: string): boolean; + isEqual(other: GstVideo.VideoColorimetry): boolean; + matches(color: string): boolean; + } + + class VideoContentLightLevel { + maxContentLightLevel : number; + maxFrameAverageLightLevel : number; + + addToCaps(caps: Gst.Caps): boolean; + fromCaps(caps: Gst.Caps): boolean; + fromString(level: string): boolean; + init(): void; + isEqual(other: GstVideo.VideoContentLightLevel): boolean; + } + + class VideoConverter { + frame(src: GstVideo.VideoFrame, dest: GstVideo.VideoFrame): void; + frameFinish(): void; + free(): void; + getConfig(): Gst.Structure; + setConfig(config: Gst.Structure): boolean; + } + + class VideoCropMeta { + meta : Gst.Meta; + x : number; + y : number; + width : number; + height : number; + + static GetInfo(): Gst.MetaInfo; + } + + class VideoDecoderClass { + elementClass : Gst.ElementClass; + open : (decoder: GstVideo.VideoDecoder) => boolean; + close : (decoder: GstVideo.VideoDecoder) => boolean; + start : (decoder: GstVideo.VideoDecoder) => boolean; + stop : (decoder: GstVideo.VideoDecoder) => boolean; + parse : (decoder: GstVideo.VideoDecoder, frame: GstVideo.VideoCodecFrame, adapter: GstBase.Adapter, atEos: boolean) => Gst.FlowReturn; + setFormat : (decoder: GstVideo.VideoDecoder, state: GstVideo.VideoCodecState) => boolean; + reset : (decoder: GstVideo.VideoDecoder, hard: boolean) => boolean; + finish : (decoder: GstVideo.VideoDecoder) => Gst.FlowReturn; + handleFrame : (decoder: GstVideo.VideoDecoder, frame: GstVideo.VideoCodecFrame) => Gst.FlowReturn; + sinkEvent : (decoder: GstVideo.VideoDecoder, event: Gst.Event) => boolean; + srcEvent : (decoder: GstVideo.VideoDecoder, event: Gst.Event) => boolean; + negotiate : (decoder: GstVideo.VideoDecoder) => boolean; + decideAllocation : (decoder: GstVideo.VideoDecoder, query: Gst.Query) => boolean; + proposeAllocation : (decoder: GstVideo.VideoDecoder, query: Gst.Query) => boolean; + flush : (decoder: GstVideo.VideoDecoder) => boolean; + sinkQuery : (decoder: GstVideo.VideoDecoder, query: Gst.Query) => boolean; + srcQuery : (decoder: GstVideo.VideoDecoder, query: Gst.Query) => boolean; + getcaps : (decoder: GstVideo.VideoDecoder, filter: Gst.Caps) => Gst.Caps; + drain : (decoder: GstVideo.VideoDecoder) => Gst.FlowReturn; + transformMeta : (decoder: GstVideo.VideoDecoder, frame: GstVideo.VideoCodecFrame, meta: Gst.Meta) => boolean; + handleMissingData : (decoder: GstVideo.VideoDecoder, timestamp: number | bigint, duration: number | bigint) => boolean; + + } + + class VideoDecoderPrivate { + } + + class VideoDirectionInterface { + iface : GObject.TypeInterface; + + } + + class VideoDither { + free(): void; + line(x: number, y: number, width: number): void; + } + + class VideoEncoderClass { + elementClass : Gst.ElementClass; + open : (encoder: GstVideo.VideoEncoder) => boolean; + close : (encoder: GstVideo.VideoEncoder) => boolean; + start : (encoder: GstVideo.VideoEncoder) => boolean; + stop : (encoder: GstVideo.VideoEncoder) => boolean; + setFormat : (encoder: GstVideo.VideoEncoder, state: GstVideo.VideoCodecState) => boolean; + handleFrame : (encoder: GstVideo.VideoEncoder, frame: GstVideo.VideoCodecFrame) => Gst.FlowReturn; + reset : (encoder: GstVideo.VideoEncoder, hard: boolean) => boolean; + finish : (encoder: GstVideo.VideoEncoder) => Gst.FlowReturn; + prePush : (encoder: GstVideo.VideoEncoder, frame: GstVideo.VideoCodecFrame) => Gst.FlowReturn; + getcaps : (enc: GstVideo.VideoEncoder, filter: Gst.Caps) => Gst.Caps; + sinkEvent : (encoder: GstVideo.VideoEncoder, event: Gst.Event) => boolean; + srcEvent : (encoder: GstVideo.VideoEncoder, event: Gst.Event) => boolean; + negotiate : (encoder: GstVideo.VideoEncoder) => boolean; + decideAllocation : (encoder: GstVideo.VideoEncoder, query: Gst.Query) => boolean; + proposeAllocation : (encoder: GstVideo.VideoEncoder, query: Gst.Query) => boolean; + flush : (encoder: GstVideo.VideoEncoder) => boolean; + sinkQuery : (encoder: GstVideo.VideoEncoder, query: Gst.Query) => boolean; + srcQuery : (encoder: GstVideo.VideoEncoder, query: Gst.Query) => boolean; + transformMeta : (encoder: GstVideo.VideoEncoder, frame: GstVideo.VideoCodecFrame, meta: Gst.Meta) => boolean; + + } + + class VideoEncoderPrivate { + } + + class VideoFilterClass { + parentClass : GstBase.BaseTransformClass; + setInfo : (filter: GstVideo.VideoFilter, incaps: Gst.Caps, inInfo: GstVideo.VideoInfo, outcaps: Gst.Caps, outInfo: GstVideo.VideoInfo) => boolean; + transformFrame : (filter: GstVideo.VideoFilter, inframe: GstVideo.VideoFrame, outframe: GstVideo.VideoFrame) => Gst.FlowReturn; + transformFrameIp : (trans: GstVideo.VideoFilter, frame: GstVideo.VideoFrame) => Gst.FlowReturn; + + } + + class VideoFormatInfo { + format : GstVideo.VideoFormat; + name : string; + description : string; + flags : GstVideo.VideoFormatFlags; + bits : number; + nComponents : number; + shift : number[]; + depth : number[]; + pixelStride : number[]; + nPlanes : number; + plane : number[]; + poffset : number[]; + wSub : number[]; + hSub : number[]; + unpackFormat : GstVideo.VideoFormat; + unpackFunc : (info: GstVideo.VideoFormatInfo, flags: GstVideo.VideoPackFlags, stride: number, x: number, y: number, width: number) => void; + packLines : number; + packFunc : (info: GstVideo.VideoFormatInfo, flags: GstVideo.VideoPackFlags, sstride: number, stride: number, chromaSite: GstVideo.VideoChromaSite, y: number, width: number) => void; + tileMode : GstVideo.VideoTileMode; + tileWs : number; + tileHs : number; + + component(plane: number, components: number): void; + } + + class VideoFrame { + info : GstVideo.VideoInfo; + flags : GstVideo.VideoFrameFlags; + buffer : Gst.Buffer; + meta : void; + id : number; + map : Gst.MapInfo[]; + + copy(src: GstVideo.VideoFrame): boolean; + copyPlane(src: GstVideo.VideoFrame, plane: number): boolean; + unmap(): void; + static Map(frame: GstVideo.VideoFrame, info: GstVideo.VideoInfo, buffer: Gst.Buffer, flags: Gst.MapFlags): boolean; + static MapId(frame: GstVideo.VideoFrame, info: GstVideo.VideoInfo, buffer: Gst.Buffer, id: number, flags: Gst.MapFlags): boolean; + } + + class VideoGLTextureUploadMeta { + meta : Gst.Meta; + textureOrientation : GstVideo.VideoGLTextureOrientation; + nTextures : number; + textureType : GstVideo.VideoGLTextureType[]; + buffer : Gst.Buffer; + upload : (meta: GstVideo.VideoGLTextureUploadMeta, textureId: number) => boolean; + userData : void; + userDataCopy : () => void; + userDataFree : () => void; + + static GetInfo(): Gst.MetaInfo; + } + + class VideoInfo { + finfo : GstVideo.VideoFormatInfo; + interlaceMode : GstVideo.VideoInterlaceMode; + flags : GstVideo.VideoFlags; + width : number; + height : number; + size : number | bigint; + views : number; + chromaSite : GstVideo.VideoChromaSite; + colorimetry : GstVideo.VideoColorimetry; + parN : number; + parD : number; + fpsN : number; + fpsD : number; + offset : number | bigint[]; + stride : number[]; + + static New(): GstVideo.VideoInfo; + static NewFromCaps(caps: Gst.Caps): GstVideo.VideoInfo; + align(align: GstVideo.VideoAlignment): boolean; + alignFull(align: GstVideo.VideoAlignment, planeSize ?: number | bigint): boolean; + convert(srcFormat: Gst.Format, srcValue: number | bigint, destFormat: Gst.Format, destValue: number | bigint): boolean; + copy(): GstVideo.VideoInfo; + free(): void; + isEqual(other: GstVideo.VideoInfo): boolean; + setFormat(format: GstVideo.VideoFormat, width: number, height: number): boolean; + setInterlacedFormat(format: GstVideo.VideoFormat, mode: GstVideo.VideoInterlaceMode, width: number, height: number): boolean; + toCaps(): Gst.Caps; + static FromCaps(info: GstVideo.VideoInfo, caps: Gst.Caps): boolean; + static Init(info: GstVideo.VideoInfo): void; + } + + class VideoMasteringDisplayInfo { + displayPrimaries : GstVideo.VideoMasteringDisplayInfoCoordinates[]; + whitePoint : GstVideo.VideoMasteringDisplayInfoCoordinates; + maxDisplayMasteringLuminance : number; + minDisplayMasteringLuminance : number; + + addToCaps(caps: Gst.Caps): boolean; + fromCaps(caps: Gst.Caps): boolean; + init(): void; + isEqual(other: GstVideo.VideoMasteringDisplayInfo): boolean; + static FromString(minfo: GstVideo.VideoMasteringDisplayInfo, mastering: string): boolean; + } + + class VideoMasteringDisplayInfoCoordinates { + x : number; + y : number; + + } + + class VideoMeta { + meta : Gst.Meta; + buffer : Gst.Buffer; + flags : GstVideo.VideoFrameFlags; + format : GstVideo.VideoFormat; + id : number; + width : number; + height : number; + nPlanes : number; + offset : number | bigint[]; + stride : number[]; + map : (meta: GstVideo.VideoMeta, plane: number, info: Gst.MapInfo, stride: number, flags: Gst.MapFlags) => boolean; + unmap : (meta: GstVideo.VideoMeta, plane: number, info: Gst.MapInfo) => boolean; + alignment : GstVideo.VideoAlignment; + + getPlaneHeight(planeHeight: number[]): boolean; + getPlaneSize(planeSize: number | bigint[]): boolean; + setAlignment(alignment: GstVideo.VideoAlignment): boolean; + static GetInfo(): Gst.MetaInfo; + } + + class VideoMetaTransform { + inInfo : GstVideo.VideoInfo; + outInfo : GstVideo.VideoInfo; + + static ScaleGetQuark(): number; + } + + class VideoOrientationInterface { + iface : GObject.TypeInterface; + getHflip : (videoOrientation: GstVideo.VideoOrientation, flip: boolean) => boolean; + getVflip : (videoOrientation: GstVideo.VideoOrientation, flip: boolean) => boolean; + getHcenter : (videoOrientation: GstVideo.VideoOrientation, center: number) => boolean; + getVcenter : (videoOrientation: GstVideo.VideoOrientation, center: number) => boolean; + setHflip : (videoOrientation: GstVideo.VideoOrientation, flip: boolean) => boolean; + setVflip : (videoOrientation: GstVideo.VideoOrientation, flip: boolean) => boolean; + setHcenter : (videoOrientation: GstVideo.VideoOrientation, center: number) => boolean; + setVcenter : (videoOrientation: GstVideo.VideoOrientation, center: number) => boolean; + + } + + class VideoOverlayComposition { + static New(rectangle: GstVideo.VideoOverlayRectangle | undefined | null): GstVideo.VideoOverlayComposition; + addRectangle(rectangle: GstVideo.VideoOverlayRectangle): void; + blend(videoBuf: GstVideo.VideoFrame): boolean; + copy(): GstVideo.VideoOverlayComposition; + getRectangle(n: number): GstVideo.VideoOverlayRectangle; + getSeqnum(): number; + makeWritable(): GstVideo.VideoOverlayComposition; + nRectangles(): number; + } + + class VideoOverlayCompositionMeta { + meta : Gst.Meta; + overlay : GstVideo.VideoOverlayComposition; + + static GetInfo(): Gst.MetaInfo; + } + + class VideoOverlayInterface { + iface : GObject.TypeInterface; + expose : (overlay: GstVideo.VideoOverlay) => void; + handleEvents : (overlay: GstVideo.VideoOverlay, handleEvents: boolean) => void; + setRenderRectangle : (overlay: GstVideo.VideoOverlay, x: number, y: number, width: number, height: number) => void; + setWindowHandle : (overlay: GstVideo.VideoOverlay, handle: number | bigint) => void; + + } + + class VideoOverlayRectangle { + static NewRaw(pixels: Gst.Buffer, renderX: number, renderY: number, renderWidth: number, renderHeight: number, flags: GstVideo.VideoOverlayFormatFlags): GstVideo.VideoOverlayRectangle; + copy(): GstVideo.VideoOverlayRectangle; + getFlags(): GstVideo.VideoOverlayFormatFlags; + getGlobalAlpha(): number; + getPixelsArgb(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer; + getPixelsAyuv(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer; + getPixelsRaw(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer; + getPixelsUnscaledArgb(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer; + getPixelsUnscaledAyuv(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer; + getPixelsUnscaledRaw(flags: GstVideo.VideoOverlayFormatFlags): Gst.Buffer; + getRenderRectangle(renderX ?: number, renderY ?: number, renderWidth ?: number, renderHeight ?: number): boolean; + getSeqnum(): number; + setGlobalAlpha(globalAlpha: number): void; + setRenderRectangle(renderX: number, renderY: number, renderWidth: number, renderHeight: number): void; + } + + class VideoRectangle { + x : number; + y : number; + w : number; + h : number; + + } + + class VideoRegionOfInterestMeta { + meta : Gst.Meta; + roiType : number; + id : number; + parentId : number; + x : number; + y : number; + w : number; + h : number; + + addParam(s: Gst.Structure): void; + getParam(name: string): Gst.Structure; + static GetInfo(): Gst.MetaInfo; + } + + class VideoResampler { + inSize : number; + outSize : number; + maxTaps : number; + nPhases : number; + offset : number; + phase : number; + nTaps : number; + taps : number; + + clear(): void; + init(method: GstVideo.VideoResamplerMethod, flags: GstVideo.VideoResamplerFlags, nPhases: number, nTaps: number, shift: number, inSize: number, outSize: number, options: Gst.Structure): boolean; + } + + class VideoScaler { /*unsupported*/ } + + class VideoSinkClass { + parentClass : GstBase.BaseSinkClass; + showFrame : (videoSink: GstVideo.VideoSink, buf: Gst.Buffer) => Gst.FlowReturn; + setInfo : (videoSink: GstVideo.VideoSink, caps: Gst.Caps, info: GstVideo.VideoInfo) => boolean; + + } + + class VideoSinkPrivate { + } + + class VideoTimeCode { + config : GstVideo.VideoTimeCodeConfig; + hours : number; + minutes : number; + seconds : number; + frames : number; + fieldCount : number; + + static New(fpsN: number, fpsD: number, latestDailyJam: AuGlibEx.DateTime, flags: GstVideo.VideoTimeCodeFlags, hours: number, minutes: number, seconds: number, frames: number, fieldCount: number): GstVideo.VideoTimeCode; + static NewEmpty(): GstVideo.VideoTimeCode; + static NewFromDateTime(fpsN: number, fpsD: number, dt: AuGlibEx.DateTime, flags: GstVideo.VideoTimeCodeFlags, fieldCount: number): GstVideo.VideoTimeCode; + static NewFromDateTimeFull(fpsN: number, fpsD: number, dt: AuGlibEx.DateTime, flags: GstVideo.VideoTimeCodeFlags, fieldCount: number): GstVideo.VideoTimeCode; + static NewFromString(tcStr: string): GstVideo.VideoTimeCode; + addFrames(frames: number | bigint): void; + addInterval(tcInter: GstVideo.VideoTimeCodeInterval): GstVideo.VideoTimeCode; + clear(): void; + compare(tc2: GstVideo.VideoTimeCode): number; + copy(): GstVideo.VideoTimeCode; + framesSinceDailyJam(): number | bigint; + free(): void; + incrementFrame(): void; + init(fpsN: number, fpsD: number, latestDailyJam: AuGlibEx.DateTime | undefined | null, flags: GstVideo.VideoTimeCodeFlags, hours: number, minutes: number, seconds: number, frames: number, fieldCount: number): void; + initFromDateTime(fpsN: number, fpsD: number, dt: AuGlibEx.DateTime, flags: GstVideo.VideoTimeCodeFlags, fieldCount: number): void; + initFromDateTimeFull(fpsN: number, fpsD: number, dt: AuGlibEx.DateTime, flags: GstVideo.VideoTimeCodeFlags, fieldCount: number): boolean; + isValid(): boolean; + nsecSinceDailyJam(): number | bigint; + toDateTime(): AuGlibEx.DateTime; + } + + class VideoTimeCodeConfig { + fpsN : number; + fpsD : number; + flags : GstVideo.VideoTimeCodeFlags; + latestDailyJam : AuGlibEx.DateTime; + + } + + class VideoTimeCodeInterval { + hours : number; + minutes : number; + seconds : number; + frames : number; + + static New(hours: number, minutes: number, seconds: number, frames: number): GstVideo.VideoTimeCodeInterval; + static NewFromString(tcInterStr: string): GstVideo.VideoTimeCodeInterval; + clear(): void; + copy(): GstVideo.VideoTimeCodeInterval; + free(): void; + init(hours: number, minutes: number, seconds: number, frames: number): void; + } + + class VideoTimeCodeMeta { + meta : Gst.Meta; + tc : GstVideo.VideoTimeCode; + + static GetInfo(): Gst.MetaInfo; + } + + class VideoVBIEncoder { + static New(format: GstVideo.VideoFormat, pixelWidth: number): GstVideo.VideoVBIEncoder; + addAncillary(composite: boolean, dID: number, sDIDBlockNumber: number, data: number[], dataCount: number): boolean; + copy(): GstVideo.VideoVBIEncoder; + free(): void; + writeLine(data: number): void; + } + + class VideoVBIParser { + static New(format: GstVideo.VideoFormat, pixelWidth: number): GstVideo.VideoVBIParser; + addLine(data: number[]): void; + copy(): GstVideo.VideoVBIParser; + free(): void; + getAncillary(anc: GstVideo.VideoAncillary): GstVideo.VideoVBIParserResult; + } + + + class ColorBalanceChannel extends GObject.Object { + constructor(initializerList ?: ColorBalanceChannelCtor); + + parent : GObject.Object; + label : string; + minValue : number; + maxValue : number; + + //TypeScript is complete garbage: + } + + class ColorBalanceChannelCtor { + } + + class ColorBalanceChannelEventListener extends AuGlibEx.IEventListener { + valueChanged(value: number): void; + } + + class VideoAggregator extends GstBase.Aggregator { + constructor(initializerList ?: VideoAggregatorCtor); + + aggregator : GstBase.Aggregator; + info : GstVideo.VideoInfo; + priv : GstVideo.VideoAggregatorPrivate; + + getExecutionTaskPool(): Gst.TaskPool; + //TypeScript is complete garbage: + } + + class VideoAggregatorCtor { + name ?: string; + parent ?: Gst.Object; + latency ?: number; + minUpstreamLatency ?: number; + startTimeSelection ?: GstBase.AggregatorStartTimeSelection; + startTime ?: number; + emitSignals ?: boolean; + } + + class VideoAggregatorConvertPad extends GstVideo.VideoAggregatorPad { + constructor(initializerList ?: VideoAggregatorConvertPadCtor); + + parent : GstVideo.VideoAggregatorPad; + priv : GstVideo.VideoAggregatorConvertPadPrivate; + + converterConfig : Gst.Structure; + + updateConversionInfo(): void; + //TypeScript is complete garbage: + } + + class VideoAggregatorConvertPadCtor { + name ?: string; + parent ?: Gst.Object; + direction ?: Gst.PadDirection; + template ?: Gst.PadTemplate; + offset ?: number | bigint; + emitSignals ?: boolean; + zorder ?: number; + repeatAfterEos ?: boolean; + maxLastBufferRepeat ?: number; + } + + class VideoAggregatorPad extends GstBase.AggregatorPad { + constructor(initializerList ?: VideoAggregatorPadCtor); + + parent : GstBase.AggregatorPad; + info : GstVideo.VideoInfo; + priv : GstVideo.VideoAggregatorPadPrivate; + + maxLastBufferRepeat : number | bigint; + repeatAfterEos : boolean; + zorder : number; + + getCurrentBuffer(): Gst.Buffer; + getPreparedFrame(): GstVideo.VideoFrame; + hasCurrentBuffer(): boolean; + setNeedsAlpha(needsAlpha: boolean): void; + //TypeScript is complete garbage: + } + + class VideoAggregatorPadCtor { + name ?: string; + parent ?: Gst.Object; + direction ?: Gst.PadDirection; + template ?: Gst.PadTemplate; + offset ?: number | bigint; + emitSignals ?: boolean; + zorder ?: number; + repeatAfterEos ?: boolean; + maxLastBufferRepeat ?: number; + } + + class VideoAggregatorParallelConvertPad extends GstVideo.VideoAggregatorConvertPad { + constructor(initializerList ?: VideoAggregatorParallelConvertPadCtor); + + parentInstance : GstVideo.VideoAggregatorConvertPad; + + //TypeScript is complete garbage: + } + + class VideoAggregatorParallelConvertPadCtor { + name ?: string; + parent ?: Gst.Object; + direction ?: Gst.PadDirection; + template ?: Gst.PadTemplate; + offset ?: number | bigint; + emitSignals ?: boolean; + zorder ?: number; + repeatAfterEos ?: boolean; + maxLastBufferRepeat ?: number; + } + + class VideoBufferPool extends Gst.BufferPool { + constructor(initializerList ?: VideoBufferPoolCtor); + + bufferpool : Gst.BufferPool; + priv : GstVideo.VideoBufferPoolPrivate; + + //TypeScript is complete garbage: + } + + class VideoBufferPoolCtor { + name ?: string; + parent ?: Gst.Object; + } + + class VideoDecoder extends Gst.Element { + constructor(initializerList ?: VideoDecoderCtor); + + element : Gst.Element; + sinkpad : Gst.Pad; + srcpad : Gst.Pad; + streamLock : AuGlibEx.RecMutex; + inputSegment : Gst.Segment; + outputSegment : Gst.Segment; + priv : GstVideo.VideoDecoderPrivate; + + automaticRequestSyncPointFlags : GstVideo.VideoDecoderRequestSyncPointFlags; + automaticRequestSyncPoints : boolean; + discardCorruptedFrames : boolean; + maxErrors : number; + minForceKeyUnitInterval : number | bigint; + qos : boolean; + + addToFrame(nBytes: number): void; + allocateOutputBuffer(): Gst.Buffer; + allocateOutputFrame(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn; + allocateOutputFrameWithParams(frame: GstVideo.VideoCodecFrame, params: Gst.BufferPoolAcquireParams): Gst.FlowReturn; + dropFrame(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn; + dropSubframe(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn; + finishFrame(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn; + finishSubframe(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn; + getAllocator(allocator ?: Gst.Allocator, params ?: Gst.AllocationParams): void; + getBufferPool(): Gst.BufferPool; + getEstimateRate(): number; + getFrame(frameNumber: number): GstVideo.VideoCodecFrame; + getFrames(): GstVideo.VideoCodecFrame[]; + getInputSubframeIndex(frame: GstVideo.VideoCodecFrame): number; + getLatency(minLatency ?: number | bigint, maxLatency ?: number | bigint): void; + getMaxDecodeTime(frame: GstVideo.VideoCodecFrame): number | bigint; + getMaxErrors(): number; + getNeedsFormat(): boolean; + getNeedsSyncPoint(): boolean; + getOldestFrame(): GstVideo.VideoCodecFrame; + getOutputState(): GstVideo.VideoCodecState; + getPacketized(): boolean; + getPendingFrameSize(): number | bigint; + getProcessedSubframeIndex(frame: GstVideo.VideoCodecFrame): number; + getQosProportion(): number; + getSubframeMode(): boolean; + haveFrame(): Gst.FlowReturn; + haveLastSubframe(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn; + mergeTags(tags: Gst.TagList | undefined | null, mode: Gst.TagMergeMode): void; + negotiate(): boolean; + proxyGetcaps(caps: Gst.Caps | undefined | null, filter: Gst.Caps | undefined | null): Gst.Caps; + releaseFrame(frame: GstVideo.VideoCodecFrame): void; + requestSyncPoint(frame: GstVideo.VideoCodecFrame, flags: GstVideo.VideoDecoderRequestSyncPointFlags): void; + setEstimateRate(enabled: boolean): void; + setInterlacedOutputState(fmt: GstVideo.VideoFormat, interlaceMode: GstVideo.VideoInterlaceMode, width: number, height: number, reference: GstVideo.VideoCodecState | undefined | null): GstVideo.VideoCodecState; + setLatency(minLatency: number | bigint, maxLatency: number | bigint): void; + setMaxErrors(num: number): void; + setNeedsFormat(enabled: boolean): void; + setNeedsSyncPoint(enabled: boolean): void; + setOutputState(fmt: GstVideo.VideoFormat, width: number, height: number, reference: GstVideo.VideoCodecState | undefined | null): GstVideo.VideoCodecState; + setPacketized(packetized: boolean): void; + setSubframeMode(subframeMode: boolean): void; + setUseDefaultPadAcceptcaps(use: boolean): void; + //TypeScript is complete garbage: + } + + class VideoDecoderCtor { + name ?: string; + parent ?: Gst.Object; + qos ?: boolean; + maxErrors ?: number; + minForceKeyUnitInterval ?: number; + discardCorruptedFrames ?: boolean; + automaticRequestSyncPoints ?: boolean; + automaticRequestSyncPointFlags ?: GstVideo.VideoDecoderRequestSyncPointFlags; + } + + class VideoEncoder extends Gst.Element implements Gst.Preset { + constructor(initializerList ?: VideoEncoderCtor); + + element : Gst.Element; + sinkpad : Gst.Pad; + srcpad : Gst.Pad; + streamLock : AuGlibEx.RecMutex; + inputSegment : Gst.Segment; + outputSegment : Gst.Segment; + priv : GstVideo.VideoEncoderPrivate; + + minForceKeyUnitInterval : number | bigint; + qos : boolean; + + allocateOutputBuffer(size: number | bigint): Gst.Buffer; + allocateOutputFrame(frame: GstVideo.VideoCodecFrame, size: number | bigint): Gst.FlowReturn; + finishFrame(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn; + finishSubframe(frame: GstVideo.VideoCodecFrame): Gst.FlowReturn; + getAllocator(allocator ?: Gst.Allocator, params ?: Gst.AllocationParams): void; + getFrame(frameNumber: number): GstVideo.VideoCodecFrame; + getFrames(): GstVideo.VideoCodecFrame[]; + getLatency(minLatency ?: number | bigint, maxLatency ?: number | bigint): void; + getMaxEncodeTime(frame: GstVideo.VideoCodecFrame): number | bigint; + getMinForceKeyUnitInterval(): number | bigint; + getOldestFrame(): GstVideo.VideoCodecFrame; + getOutputState(): GstVideo.VideoCodecState; + isQosEnabled(): boolean; + mergeTags(tags: Gst.TagList | undefined | null, mode: Gst.TagMergeMode): void; + negotiate(): boolean; + proxyGetcaps(caps: Gst.Caps | undefined | null, filter: Gst.Caps | undefined | null): Gst.Caps; + setHeaders(headers: Gst.Buffer[]): void; + setLatency(minLatency: number | bigint, maxLatency: number | bigint): void; + setMinForceKeyUnitInterval(interval: number | bigint): void; + setMinPts(minPts: number | bigint): void; + setOutputState(caps: Gst.Caps, reference: GstVideo.VideoCodecState | undefined | null): GstVideo.VideoCodecState; + setQosEnabled(enabled: boolean): void; + //TypeScript is complete garbage: + static GetAppDir(): string; + static SetAppDir(appDir: string): boolean; + deletePreset(name: string): boolean; + getMeta(name: string, tag: string, value: string): boolean; + getPresetNames(): string[]; + getPropertyNames(): string[]; + isEditable(): boolean; + loadPreset(name: string): boolean; + renamePreset(oldName: string, newName: string): boolean; + savePreset(name: string): boolean; + setMeta(name: string, tag: string, value: string | undefined | null): boolean; + } + + class VideoEncoderCtor { + name ?: string; + parent ?: Gst.Object; + qos ?: boolean; + minForceKeyUnitInterval ?: number; + } + + class VideoFilter extends GstBase.BaseTransform { + constructor(initializerList ?: VideoFilterCtor); + + element : GstBase.BaseTransform; + negotiated : boolean; + inInfo : GstVideo.VideoInfo; + outInfo : GstVideo.VideoInfo; + + //TypeScript is complete garbage: + } + + class VideoFilterCtor { + name ?: string; + parent ?: Gst.Object; + qos ?: boolean; + } + + class VideoMultiviewFlagsSet extends Gst.FlagSet { + constructor(initializerList ?: VideoMultiviewFlagsSetCtor); + + //TypeScript is complete garbage: + } + + class VideoMultiviewFlagsSetCtor { + } + + class VideoSink extends GstBase.BaseSink { + constructor(initializerList ?: VideoSinkCtor); + + element : GstBase.BaseSink; + width : number; + height : number; + priv : GstVideo.VideoSinkPrivate; + + showPrerollFrame : boolean; + + static CenterRect(src: GstVideo.VideoRectangle, dst: GstVideo.VideoRectangle, result: GstVideo.VideoRectangle, scaling: boolean): void; + //TypeScript is complete garbage: + } + + class VideoSinkCtor { + name ?: string; + parent ?: Gst.Object; + sync ?: boolean; + maxLateness ?: number | bigint; + qos ?: boolean; + async ?: boolean; + tsOffset ?: number | bigint; + enableLastSample ?: boolean; + blocksize ?: number; + renderDelay ?: number; + throttleTime ?: number; + maxBitrate ?: number; + processingDeadline ?: number; + showPrerollFrame ?: boolean; + } +} \ No newline at end of file diff --git a/Gtk.d.ts b/Gtk.d.ts new file mode 100644 index 0000000..a623119 --- /dev/null +++ b/Gtk.d.ts @@ -0,0 +1,18221 @@ +declare namespace AuGTK { + + class AccessibleAutocomplete { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": AccessibleAutocomplete + static readonly "kInline": AccessibleAutocomplete + static readonly "kList": AccessibleAutocomplete + static readonly "kBoth": AccessibleAutocomplete + } + + class AccessibleInvalidState { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFalse": AccessibleInvalidState + static readonly "kTrue": AccessibleInvalidState + static readonly "kGrammar": AccessibleInvalidState + static readonly "kSpelling": AccessibleInvalidState + } + + class AccessiblePlatformState { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFocusable": AccessiblePlatformState + static readonly "kFocused": AccessiblePlatformState + static readonly "kActive": AccessiblePlatformState + } + + class AccessibleProperty { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAutocomplete": AccessibleProperty + static readonly "kDescription": AccessibleProperty + static readonly "kHasPopup": AccessibleProperty + static readonly "kKeyShortcuts": AccessibleProperty + static readonly "kLabel": AccessibleProperty + static readonly "kLevel": AccessibleProperty + static readonly "kModal": AccessibleProperty + static readonly "kMultiLine": AccessibleProperty + static readonly "kMultiSelectable": AccessibleProperty + static readonly "kOrientation": AccessibleProperty + static readonly "kPlaceholder": AccessibleProperty + static readonly "kReadOnly": AccessibleProperty + static readonly "kRequired": AccessibleProperty + static readonly "kRoleDescription": AccessibleProperty + static readonly "kSort": AccessibleProperty + static readonly "kValueMax": AccessibleProperty + static readonly "kValueMin": AccessibleProperty + static readonly "kValueNow": AccessibleProperty + static readonly "kValueText": AccessibleProperty + } + + class AccessibleRelation { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kActiveDescendant": AccessibleRelation + static readonly "kColCount": AccessibleRelation + static readonly "kColIndex": AccessibleRelation + static readonly "kColIndexText": AccessibleRelation + static readonly "kColSpan": AccessibleRelation + static readonly "kControls": AccessibleRelation + static readonly "kDescribedBy": AccessibleRelation + static readonly "kDetails": AccessibleRelation + static readonly "kErrorMessage": AccessibleRelation + static readonly "kFlowTo": AccessibleRelation + static readonly "kLabelledBy": AccessibleRelation + static readonly "kOwns": AccessibleRelation + static readonly "kPosInSet": AccessibleRelation + static readonly "kRowCount": AccessibleRelation + static readonly "kRowIndex": AccessibleRelation + static readonly "kRowIndexText": AccessibleRelation + static readonly "kRowSpan": AccessibleRelation + static readonly "kSetSize": AccessibleRelation + } + + class AccessibleRole { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAlert": AccessibleRole + static readonly "kAlertDialog": AccessibleRole + static readonly "kBanner": AccessibleRole + static readonly "kButton": AccessibleRole + static readonly "kCaption": AccessibleRole + static readonly "kCell": AccessibleRole + static readonly "kCheckbox": AccessibleRole + static readonly "kColumnHeader": AccessibleRole + static readonly "kComboBox": AccessibleRole + static readonly "kCommand": AccessibleRole + static readonly "kComposite": AccessibleRole + static readonly "kDialog": AccessibleRole + static readonly "kDocument": AccessibleRole + static readonly "kFeed": AccessibleRole + static readonly "kForm": AccessibleRole + static readonly "kGeneric": AccessibleRole + static readonly "kGrid": AccessibleRole + static readonly "kGridCell": AccessibleRole + static readonly "kGroup": AccessibleRole + static readonly "kHeading": AccessibleRole + static readonly "kImg": AccessibleRole + static readonly "kInput": AccessibleRole + static readonly "kLabel": AccessibleRole + static readonly "kLandmark": AccessibleRole + static readonly "kLegend": AccessibleRole + static readonly "kLink": AccessibleRole + static readonly "kList": AccessibleRole + static readonly "kListBox": AccessibleRole + static readonly "kListItem": AccessibleRole + static readonly "kLog": AccessibleRole + static readonly "kMain": AccessibleRole + static readonly "kMarquee": AccessibleRole + static readonly "kMath": AccessibleRole + static readonly "kMeter": AccessibleRole + static readonly "kMenu": AccessibleRole + static readonly "kMenuBar": AccessibleRole + static readonly "kMenuItem": AccessibleRole + static readonly "kMenuItemCheckbox": AccessibleRole + static readonly "kMenuItemRadio": AccessibleRole + static readonly "kNavigation": AccessibleRole + static readonly "kNone": AccessibleRole + static readonly "kNote": AccessibleRole + static readonly "kOption": AccessibleRole + static readonly "kPresentation": AccessibleRole + static readonly "kProgressBar": AccessibleRole + static readonly "kRadio": AccessibleRole + static readonly "kRadioGroup": AccessibleRole + static readonly "kRange": AccessibleRole + static readonly "kRegion": AccessibleRole + static readonly "kRow": AccessibleRole + static readonly "kRowGroup": AccessibleRole + static readonly "kRowHeader": AccessibleRole + static readonly "kScrollbar": AccessibleRole + static readonly "kSearch": AccessibleRole + static readonly "kSearchBox": AccessibleRole + static readonly "kSection": AccessibleRole + static readonly "kSectionHead": AccessibleRole + static readonly "kSelect": AccessibleRole + static readonly "kSeparator": AccessibleRole + static readonly "kSlider": AccessibleRole + static readonly "kSpinButton": AccessibleRole + static readonly "kStatus": AccessibleRole + static readonly "kStructure": AccessibleRole + static readonly "kSwitch": AccessibleRole + static readonly "kTab": AccessibleRole + static readonly "kTable": AccessibleRole + static readonly "kTabList": AccessibleRole + static readonly "kTabPanel": AccessibleRole + static readonly "kTextBox": AccessibleRole + static readonly "kTime": AccessibleRole + static readonly "kTimer": AccessibleRole + static readonly "kToolbar": AccessibleRole + static readonly "kTooltip": AccessibleRole + static readonly "kTree": AccessibleRole + static readonly "kTreeGrid": AccessibleRole + static readonly "kTreeItem": AccessibleRole + static readonly "kWidget": AccessibleRole + static readonly "kWindow": AccessibleRole + } + + class AccessibleSort { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": AccessibleSort + static readonly "kAscending": AccessibleSort + static readonly "kDescending": AccessibleSort + static readonly "kOther": AccessibleSort + } + + class AccessibleState { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBusy": AccessibleState + static readonly "kChecked": AccessibleState + static readonly "kDisabled": AccessibleState + static readonly "kExpanded": AccessibleState + static readonly "kHidden": AccessibleState + static readonly "kInvalid": AccessibleState + static readonly "kPressed": AccessibleState + static readonly "kSelected": AccessibleState + } + + class AccessibleTristate { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFalse": AccessibleTristate + static readonly "kTrue": AccessibleTristate + static readonly "kMixed": AccessibleTristate + } + + class Align { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFill": Align + static readonly "kStart": Align + static readonly "kEnd": Align + static readonly "kCenter": Align + static readonly "kBaseline": Align + } + + class ApplicationInhibitFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLogout": ApplicationInhibitFlags + static readonly "kSwitch": ApplicationInhibitFlags + static readonly "kSuspend": ApplicationInhibitFlags + static readonly "kIdle": ApplicationInhibitFlags + } + + class ArrowType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUp": ArrowType + static readonly "kDown": ArrowType + static readonly "kLeft": ArrowType + static readonly "kRight": ArrowType + static readonly "kNone": ArrowType + } + + class AssistantPageType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kContent": AssistantPageType + static readonly "kIntro": AssistantPageType + static readonly "kConfirm": AssistantPageType + static readonly "kSummary": AssistantPageType + static readonly "kProgress": AssistantPageType + static readonly "kCustom": AssistantPageType + } + + class BaselinePosition { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kTop": BaselinePosition + static readonly "kCenter": BaselinePosition + static readonly "kBottom": BaselinePosition + } + + class BorderStyle { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": BorderStyle + static readonly "kHidden": BorderStyle + static readonly "kSolid": BorderStyle + static readonly "kInset": BorderStyle + static readonly "kOutset": BorderStyle + static readonly "kDotted": BorderStyle + static readonly "kDashed": BorderStyle + static readonly "kDouble": BorderStyle + static readonly "kGroove": BorderStyle + static readonly "kRidge": BorderStyle + } + + class BuilderClosureFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSwapped": BuilderClosureFlags + } + + class BuilderError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalidTypeFunction": BuilderError + static readonly "kUnhandledTag": BuilderError + static readonly "kMissingAttribute": BuilderError + static readonly "kInvalidAttribute": BuilderError + static readonly "kInvalidTag": BuilderError + static readonly "kMissingPropertyValue": BuilderError + static readonly "kInvalidValue": BuilderError + static readonly "kVersionMismatch": BuilderError + static readonly "kDuplicateId": BuilderError + static readonly "kObjectTypeRefused": BuilderError + static readonly "kTemplateMismatch": BuilderError + static readonly "kInvalidProperty": BuilderError + static readonly "kInvalidSignal": BuilderError + static readonly "kInvalidId": BuilderError + static readonly "kInvalidFunction": BuilderError + } + + class ButtonsType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": ButtonsType + static readonly "kOk": ButtonsType + static readonly "kClose": ButtonsType + static readonly "kCancel": ButtonsType + static readonly "kYEsNo": ButtonsType + static readonly "kOkCancel": ButtonsType + } + + class CellRendererAccelMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kGtk": CellRendererAccelMode + static readonly "kOther": CellRendererAccelMode + } + + class CellRendererMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInert": CellRendererMode + static readonly "kActivatable": CellRendererMode + static readonly "kEditable": CellRendererMode + } + + class CellRendererState { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSelected": CellRendererState + static readonly "kPrelit": CellRendererState + static readonly "kInsensitive": CellRendererState + static readonly "kSorted": CellRendererState + static readonly "kFocused": CellRendererState + static readonly "kExpandable": CellRendererState + static readonly "kExpanded": CellRendererState + } + + class Collation { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": Collation + static readonly "kUnicode": Collation + static readonly "kFilename": Collation + } + + class ConstraintAttribute { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": ConstraintAttribute + static readonly "kLeft": ConstraintAttribute + static readonly "kRight": ConstraintAttribute + static readonly "kTop": ConstraintAttribute + static readonly "kBottom": ConstraintAttribute + static readonly "kStart": ConstraintAttribute + static readonly "kEnd": ConstraintAttribute + static readonly "kWidth": ConstraintAttribute + static readonly "kHeight": ConstraintAttribute + static readonly "kCenterX": ConstraintAttribute + static readonly "kCenterY": ConstraintAttribute + static readonly "kBaseline": ConstraintAttribute + } + + class ConstraintRelation { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLe": ConstraintRelation + static readonly "kEq": ConstraintRelation + static readonly "kGe": ConstraintRelation + } + + class ConstraintStrength { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kRequired": ConstraintStrength + static readonly "kStrong": ConstraintStrength + static readonly "kMedium": ConstraintStrength + static readonly "kWeak": ConstraintStrength + } + + class ConstraintVflParserError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSymbol": ConstraintVflParserError + static readonly "kAttribute": ConstraintVflParserError + static readonly "kView": ConstraintVflParserError + static readonly "kMetric": ConstraintVflParserError + static readonly "kPriority": ConstraintVflParserError + static readonly "kRelation": ConstraintVflParserError + } + + class ContentFit { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFill": ContentFit + static readonly "kContain": ContentFit + static readonly "kCover": ContentFit + static readonly "kScaleDown": ContentFit + } + + class CornerType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kTopLeft": CornerType + static readonly "kBottomLeft": CornerType + static readonly "kTopRight": CornerType + static readonly "kBottomRight": CornerType + } + + class CssParserError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": CssParserError + static readonly "kSyntax": CssParserError + static readonly "kImport": CssParserError + static readonly "kName": CssParserError + static readonly "kUnknownValue": CssParserError + } + + class CssParserWarning { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDeprecated": CssParserWarning + static readonly "kSyntax": CssParserWarning + static readonly "kUnimplemented": CssParserWarning + } + + class DebugFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kText": DebugFlags + static readonly "kTree": DebugFlags + static readonly "kKeybindings": DebugFlags + static readonly "kModules": DebugFlags + static readonly "kGeometry": DebugFlags + static readonly "kIcontheme": DebugFlags + static readonly "kPrinting": DebugFlags + static readonly "kBuilder": DebugFlags + static readonly "kSizeRequest": DebugFlags + static readonly "kNoCssCache": DebugFlags + static readonly "kInteractive": DebugFlags + static readonly "kTouchscreen": DebugFlags + static readonly "kActions": DebugFlags + static readonly "kLayout": DebugFlags + static readonly "kSnapshot": DebugFlags + static readonly "kConstraints": DebugFlags + static readonly "kBuilderObjects": DebugFlags + static readonly "kA11y": DebugFlags + static readonly "kIconfallback": DebugFlags + static readonly "kInvertTextDir": DebugFlags + } + + class DeleteType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kChars": DeleteType + static readonly "kWordEnds": DeleteType + static readonly "kWords": DeleteType + static readonly "kDisplayLines": DeleteType + static readonly "kDisplayLineEnds": DeleteType + static readonly "kParagraphEnds": DeleteType + static readonly "kParagraphs": DeleteType + static readonly "kWhitespace": DeleteType + } + + class DialogError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFailed": DialogError + static readonly "kCancelled": DialogError + static readonly "kDismissed": DialogError + } + + class DialogFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kModal": DialogFlags + static readonly "kDestroyWithParent": DialogFlags + static readonly "kUseHeaderBar": DialogFlags + } + + class DirectionType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kTabForward": DirectionType + static readonly "kTabBackward": DirectionType + static readonly "kUp": DirectionType + static readonly "kDown": DirectionType + static readonly "kLeft": DirectionType + static readonly "kRight": DirectionType + } + + class EditableProperties { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kPropText": EditableProperties + static readonly "kPropCursorPosition": EditableProperties + static readonly "kPropSelectionBound": EditableProperties + static readonly "kPropEditable": EditableProperties + static readonly "kPropWidthChars": EditableProperties + static readonly "kPropMaxWidthChars": EditableProperties + static readonly "kPropXAlign": EditableProperties + static readonly "kPropEnableUndo": EditableProperties + static readonly "kNumProperties": EditableProperties + } + + class EntryIconPosition { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kPrimary": EntryIconPosition + static readonly "kSecondary": EntryIconPosition + } + + class EventControllerScrollFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": EventControllerScrollFlags + static readonly "kVertical": EventControllerScrollFlags + static readonly "kHorizontal": EventControllerScrollFlags + static readonly "kDiscrete": EventControllerScrollFlags + static readonly "kKinetic": EventControllerScrollFlags + static readonly "kBothAxes": EventControllerScrollFlags + } + + class EventSequenceState { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": EventSequenceState + static readonly "kClaimed": EventSequenceState + static readonly "kDenied": EventSequenceState + } + + class FileChooserAction { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kOpen": FileChooserAction + static readonly "kSave": FileChooserAction + static readonly "kSelectFolder": FileChooserAction + } + + class FileChooserError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNonexistent": FileChooserError + static readonly "kBadFilename": FileChooserError + static readonly "kAlreadyExists": FileChooserError + static readonly "kIncompleteHostname": FileChooserError + } + + class FilterChange { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDifferent": FilterChange + static readonly "kLessStrict": FilterChange + static readonly "kMoreStrict": FilterChange + } + + class FilterMatch { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSome": FilterMatch + static readonly "kNone": FilterMatch + static readonly "kAll": FilterMatch + } + + class FontChooserLevel { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFamily": FontChooserLevel + static readonly "kStyle": FontChooserLevel + static readonly "kSize": FontChooserLevel + static readonly "kVariations": FontChooserLevel + static readonly "kFeatures": FontChooserLevel + } + + class FontLevel { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFamily": FontLevel + static readonly "kFace": FontLevel + static readonly "kFont": FontLevel + static readonly "kFeatures": FontLevel + } + + class IconLookupFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kForceRegular": IconLookupFlags + static readonly "kForceSymbolic": IconLookupFlags + static readonly "kPreload": IconLookupFlags + } + + class IconSize { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInherit": IconSize + static readonly "kNormal": IconSize + static readonly "kLarge": IconSize + } + + class IconThemeError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNotFound": IconThemeError + static readonly "kFailed": IconThemeError + } + + class IconViewDropPosition { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNoDrop": IconViewDropPosition + static readonly "kDropInto": IconViewDropPosition + static readonly "kDropLeft": IconViewDropPosition + static readonly "kDropRight": IconViewDropPosition + static readonly "kDropAbove": IconViewDropPosition + static readonly "kDropBelow": IconViewDropPosition + } + + class ImageType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kEmpty": ImageType + static readonly "kIconName": ImageType + static readonly "kGicon": ImageType + static readonly "kPaintable": ImageType + } + + class InputHints { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": InputHints + static readonly "kSpellcheck": InputHints + static readonly "kNoSpellcheck": InputHints + static readonly "kWordCompletion": InputHints + static readonly "kLowercase": InputHints + static readonly "kUppercaseChars": InputHints + static readonly "kUppercaseWords": InputHints + static readonly "kUppercaseSentences": InputHints + static readonly "kInhibitOsk": InputHints + static readonly "kVerticalWriting": InputHints + static readonly "kEmoji": InputHints + static readonly "kNoEmoji": InputHints + static readonly "kPrivate": InputHints + } + + class InputPurpose { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFreeForm": InputPurpose + static readonly "kAlpha": InputPurpose + static readonly "kDigits": InputPurpose + static readonly "kNumber": InputPurpose + static readonly "kPhone": InputPurpose + static readonly "kUrl": InputPurpose + static readonly "kEmail": InputPurpose + static readonly "kName": InputPurpose + static readonly "kPassword": InputPurpose + static readonly "kPin": InputPurpose + static readonly "kTerminal": InputPurpose + } + + class InscriptionOverflow { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kClip": InscriptionOverflow + static readonly "kEllipsizeStart": InscriptionOverflow + static readonly "kEllipsizeMiddle": InscriptionOverflow + static readonly "kEllipsizeEnd": InscriptionOverflow + } + + class Justification { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLeft": Justification + static readonly "kRight": Justification + static readonly "kCenter": Justification + static readonly "kFill": Justification + } + + class LevelBarMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kContinuous": LevelBarMode + static readonly "kDiscrete": LevelBarMode + } + + class License { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnknown": License + static readonly "kCustom": License + static readonly "kGpl20": License + static readonly "kGpl30": License + static readonly "kLgpl21": License + static readonly "kLgpl30": License + static readonly "kBsd": License + static readonly "kMitX11": License + static readonly "kArtistic": License + static readonly "kGpl20Only": License + static readonly "kGpl30Only": License + static readonly "kLgpl21Only": License + static readonly "kLgpl30Only": License + static readonly "kAgpl30": License + static readonly "kAgpl30Only": License + static readonly "kBsd3": License + static readonly "kApache20": License + static readonly "kMpl20": License + } + + class MessageType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInfo": MessageType + static readonly "kWarning": MessageType + static readonly "kQuestion": MessageType + static readonly "kError": MessageType + static readonly "kOther": MessageType + } + + class MovementStep { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLogicalPositions": MovementStep + static readonly "kVisualPositions": MovementStep + static readonly "kWords": MovementStep + static readonly "kDisplayLines": MovementStep + static readonly "kDisplayLineEnds": MovementStep + static readonly "kParagraphs": MovementStep + static readonly "kParagraphEnds": MovementStep + static readonly "kPages": MovementStep + static readonly "kBufferEnds": MovementStep + static readonly "kHorizontalPages": MovementStep + } + + class NaturalWrapMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInherit": NaturalWrapMode + static readonly "kNone": NaturalWrapMode + static readonly "kWord": NaturalWrapMode + } + + class NotebookTab { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFirst": NotebookTab + static readonly "kLast": NotebookTab + } + + class NumberUpLayout { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLrtb": NumberUpLayout + static readonly "kLrbt": NumberUpLayout + static readonly "kRltb": NumberUpLayout + static readonly "kRlbt": NumberUpLayout + static readonly "kTblr": NumberUpLayout + static readonly "kTbrl": NumberUpLayout + static readonly "kBtlr": NumberUpLayout + static readonly "kBtrl": NumberUpLayout + } + + class Ordering { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSmaller": Ordering + static readonly "kEqual": Ordering + static readonly "kLarger": Ordering + } + + class Orientation { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kHorizontal": Orientation + static readonly "kVertical": Orientation + } + + class Overflow { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kVisible": Overflow + static readonly "kHidden": Overflow + } + + class PackType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStart": PackType + static readonly "kEnd": PackType + } + + class PadActionType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kButton": PadActionType + static readonly "kRing": PadActionType + static readonly "kStrip": PadActionType + } + + class PageOrientation { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kPortrait": PageOrientation + static readonly "kLandscape": PageOrientation + static readonly "kReversePortrait": PageOrientation + static readonly "kReverseLandscape": PageOrientation + } + + class PageSet { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAll": PageSet + static readonly "kEven": PageSet + static readonly "kOdd": PageSet + } + + class PanDirection { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLeft": PanDirection + static readonly "kRight": PanDirection + static readonly "kUp": PanDirection + static readonly "kDown": PanDirection + } + + class PickFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": PickFlags + static readonly "kInsensitive": PickFlags + static readonly "kNonTargetable": PickFlags + } + + class PolicyType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAlways": PolicyType + static readonly "kAutomatic": PolicyType + static readonly "kNever": PolicyType + static readonly "kExternal": PolicyType + } + + class PopoverMenuFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNested": PopoverMenuFlags + } + + class PositionType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLeft": PositionType + static readonly "kRight": PositionType + static readonly "kTop": PositionType + static readonly "kBottom": PositionType + } + + class PrintDuplex { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSimplex": PrintDuplex + static readonly "kHorizontal": PrintDuplex + static readonly "kVertical": PrintDuplex + } + + class PrintError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kGeneral": PrintError + static readonly "kInternalError": PrintError + static readonly "kNomem": PrintError + static readonly "kInvalidFile": PrintError + } + + class PrintOperationAction { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kPrintDialog": PrintOperationAction + static readonly "kPrint": PrintOperationAction + static readonly "kPreview": PrintOperationAction + static readonly "kExport": PrintOperationAction + } + + class PrintOperationResult { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kError": PrintOperationResult + static readonly "kApply": PrintOperationResult + static readonly "kCancel": PrintOperationResult + static readonly "kInProgress": PrintOperationResult + } + + class PrintPages { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAll": PrintPages + static readonly "kCurrent": PrintPages + static readonly "kRanges": PrintPages + static readonly "kSelection": PrintPages + } + + class PrintQuality { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLow": PrintQuality + static readonly "kNormal": PrintQuality + static readonly "kHigh": PrintQuality + static readonly "kDraft": PrintQuality + } + + class PrintStatus { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInitial": PrintStatus + static readonly "kPreparing": PrintStatus + static readonly "kGeneratingData": PrintStatus + static readonly "kSendingData": PrintStatus + static readonly "kPending": PrintStatus + static readonly "kPendingIssue": PrintStatus + static readonly "kPrinting": PrintStatus + static readonly "kFinished": PrintStatus + static readonly "kFinishedAborted": PrintStatus + } + + class PropagationLimit { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": PropagationLimit + static readonly "kSameNative": PropagationLimit + } + + class PropagationPhase { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": PropagationPhase + static readonly "kCapture": PropagationPhase + static readonly "kBubble": PropagationPhase + static readonly "kTarget": PropagationPhase + } + + class RecentManagerError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNotFound": RecentManagerError + static readonly "kInvalidUri": RecentManagerError + static readonly "kInvalidEncoding": RecentManagerError + static readonly "kNotRegistered": RecentManagerError + static readonly "kRead": RecentManagerError + static readonly "kWrite": RecentManagerError + static readonly "kUnknown": RecentManagerError + } + + class ResponseType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": ResponseType + static readonly "kReject": ResponseType + static readonly "kAccept": ResponseType + static readonly "kDeleteEvent": ResponseType + static readonly "kOk": ResponseType + static readonly "kCancel": ResponseType + static readonly "kClose": ResponseType + static readonly "kYEs": ResponseType + static readonly "kNo": ResponseType + static readonly "kApply": ResponseType + static readonly "kHelp": ResponseType + } + + class RevealerTransitionType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": RevealerTransitionType + static readonly "kCrossfade": RevealerTransitionType + static readonly "kSlideRight": RevealerTransitionType + static readonly "kSlideLeft": RevealerTransitionType + static readonly "kSlideUp": RevealerTransitionType + static readonly "kSlideDown": RevealerTransitionType + static readonly "kSwingRight": RevealerTransitionType + static readonly "kSwingLeft": RevealerTransitionType + static readonly "kSwingUp": RevealerTransitionType + static readonly "kSwingDown": RevealerTransitionType + } + + class ScrollStep { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSteps": ScrollStep + static readonly "kPages": ScrollStep + static readonly "kEnds": ScrollStep + static readonly "kHorizontalSteps": ScrollStep + static readonly "kHorizontalPages": ScrollStep + static readonly "kHorizontalEnds": ScrollStep + } + + class ScrollType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": ScrollType + static readonly "kJump": ScrollType + static readonly "kStepBackward": ScrollType + static readonly "kStepForward": ScrollType + static readonly "kPageBackward": ScrollType + static readonly "kPageForward": ScrollType + static readonly "kStepUp": ScrollType + static readonly "kStepDown": ScrollType + static readonly "kPageUp": ScrollType + static readonly "kPageDown": ScrollType + static readonly "kStepLeft": ScrollType + static readonly "kStepRight": ScrollType + static readonly "kPageLeft": ScrollType + static readonly "kPageRight": ScrollType + static readonly "kStart": ScrollType + static readonly "kEnd": ScrollType + } + + class ScrollablePolicy { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMinimum": ScrollablePolicy + static readonly "kNatural": ScrollablePolicy + } + + class SelectionMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SelectionMode + static readonly "kSingle": SelectionMode + static readonly "kBrowse": SelectionMode + static readonly "kMultiple": SelectionMode + } + + class SensitivityType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAuto": SensitivityType + static readonly "kOn": SensitivityType + static readonly "kOff": SensitivityType + } + + class ShortcutActionFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kExclusive": ShortcutActionFlags + } + + class ShortcutScope { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLocal": ShortcutScope + static readonly "kManaged": ShortcutScope + static readonly "kGlobal": ShortcutScope + } + + class ShortcutType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAccelerator": ShortcutType + static readonly "kGesturePinch": ShortcutType + static readonly "kGestureStretch": ShortcutType + static readonly "kGestureRotateClockwise": ShortcutType + static readonly "kGestureRotateCounterclockwise": ShortcutType + static readonly "kGestureTwoFingerSwipeLeft": ShortcutType + static readonly "kGestureTwoFingerSwipeRight": ShortcutType + static readonly "kGesture": ShortcutType + static readonly "kGestureSwipeLeft": ShortcutType + static readonly "kGestureSwipeRight": ShortcutType + } + + class SizeGroupMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SizeGroupMode + static readonly "kHorizontal": SizeGroupMode + static readonly "kVertical": SizeGroupMode + static readonly "kBoth": SizeGroupMode + } + + class SizeRequestMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kHeightForWidth": SizeRequestMode + static readonly "kWidthForHeight": SizeRequestMode + static readonly "kConstantSize": SizeRequestMode + } + + class SortType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAscending": SortType + static readonly "kDescending": SortType + } + + class SorterChange { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDifferent": SorterChange + static readonly "kInverted": SorterChange + static readonly "kLessStrict": SorterChange + static readonly "kMoreStrict": SorterChange + } + + class SorterOrder { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kPartial": SorterOrder + static readonly "kNone": SorterOrder + static readonly "kTotal": SorterOrder + } + + class SpinButtonUpdatePolicy { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kAlways": SpinButtonUpdatePolicy + static readonly "kIfValid": SpinButtonUpdatePolicy + } + + class SpinType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kStepForward": SpinType + static readonly "kStepBackward": SpinType + static readonly "kPageForward": SpinType + static readonly "kPageBackward": SpinType + static readonly "kHome": SpinType + static readonly "kEnd": SpinType + static readonly "kUserDefined": SpinType + } + + class StackTransitionType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": StackTransitionType + static readonly "kCrossfade": StackTransitionType + static readonly "kSlideRight": StackTransitionType + static readonly "kSlideLeft": StackTransitionType + static readonly "kSlideUp": StackTransitionType + static readonly "kSlideDown": StackTransitionType + static readonly "kSlideLeftRight": StackTransitionType + static readonly "kSlideUpDown": StackTransitionType + static readonly "kOverUp": StackTransitionType + static readonly "kOverDown": StackTransitionType + static readonly "kOverLeft": StackTransitionType + static readonly "kOverRight": StackTransitionType + static readonly "kUnderUp": StackTransitionType + static readonly "kUnderDown": StackTransitionType + static readonly "kUnderLeft": StackTransitionType + static readonly "kUnderRight": StackTransitionType + static readonly "kOverUpDown": StackTransitionType + static readonly "kOverDownUp": StackTransitionType + static readonly "kOverLeftRight": StackTransitionType + static readonly "kOverRightLeft": StackTransitionType + static readonly "kRotateLeft": StackTransitionType + static readonly "kRotateRight": StackTransitionType + static readonly "kRotateLeftRight": StackTransitionType + } + + class StateFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNormal": StateFlags + static readonly "kActive": StateFlags + static readonly "kPrelight": StateFlags + static readonly "kSelected": StateFlags + static readonly "kInsensitive": StateFlags + static readonly "kInconsistent": StateFlags + static readonly "kFocused": StateFlags + static readonly "kBackdrop": StateFlags + static readonly "kDirLtr": StateFlags + static readonly "kDirRtl": StateFlags + static readonly "kLink": StateFlags + static readonly "kVisited": StateFlags + static readonly "kChecked": StateFlags + static readonly "kDropActive": StateFlags + static readonly "kFocusVisible": StateFlags + static readonly "kFocusWithin": StateFlags + } + + class StringFilterMatchMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kExact": StringFilterMatchMode + static readonly "kSubstring": StringFilterMatchMode + static readonly "kPrefix": StringFilterMatchMode + } + + class StyleContextPrintFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": StyleContextPrintFlags + static readonly "kRecurse": StyleContextPrintFlags + static readonly "kShowStyle": StyleContextPrintFlags + static readonly "kShowChange": StyleContextPrintFlags + } + + class SymbolicColor { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kForeground": SymbolicColor + static readonly "kError": SymbolicColor + static readonly "kWarning": SymbolicColor + static readonly "kSuccess": SymbolicColor + } + + class SystemSetting { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDpi": SystemSetting + static readonly "kFontName": SystemSetting + static readonly "kFontConfig": SystemSetting + static readonly "kDisplay": SystemSetting + static readonly "kIconTheme": SystemSetting + } + + class TextDirection { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TextDirection + static readonly "kLtr": TextDirection + static readonly "kRtl": TextDirection + } + + class TextExtendSelection { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kWord": TextExtendSelection + static readonly "kLine": TextExtendSelection + } + + class TextSearchFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kVisibleOnly": TextSearchFlags + static readonly "kTextOnly": TextSearchFlags + static readonly "kCaseInsensitive": TextSearchFlags + } + + class TextViewLayer { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBelowText": TextViewLayer + static readonly "kAboveText": TextViewLayer + } + + class TextWindowType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kWidget": TextWindowType + static readonly "kText": TextWindowType + static readonly "kLeft": TextWindowType + static readonly "kRight": TextWindowType + static readonly "kTop": TextWindowType + static readonly "kBottom": TextWindowType + } + + class TreeModelFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kItersPersist": TreeModelFlags + static readonly "kListOnly": TreeModelFlags + } + + class TreeViewColumnSizing { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kGrowOnly": TreeViewColumnSizing + static readonly "kAutosize": TreeViewColumnSizing + static readonly "kFixed": TreeViewColumnSizing + } + + class TreeViewDropPosition { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBefore": TreeViewDropPosition + static readonly "kAfter": TreeViewDropPosition + static readonly "kIntoOrBefore": TreeViewDropPosition + static readonly "kIntoOrAfter": TreeViewDropPosition + } + + class TreeViewGridLines { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TreeViewGridLines + static readonly "kHorizontal": TreeViewGridLines + static readonly "kVertical": TreeViewGridLines + static readonly "kBoth": TreeViewGridLines + } + + class Unit { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": Unit + static readonly "kPoints": Unit + static readonly "kInch": Unit + static readonly "kMm": Unit + } + + class WrapMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": WrapMode + static readonly "kChar": WrapMode + static readonly "kWord": WrapMode + static readonly "kWordChar": WrapMode + } + + + class Accessible { + accessibleRole : AuGTK.AccessibleRole; + + getAccessibleParent(): AuGTK.Accessible; + getAccessibleRole(): AuGTK.AccessibleRole; + getAtContext(): AuGTK.ATContext; + getBounds(x: number, y: number, width: number, height: number): boolean; + getFirstAccessibleChild(): AuGTK.Accessible; + getNextAccessibleSibling(): AuGTK.Accessible; + getPlatformState(state: AuGTK.AccessiblePlatformState): boolean; + resetProperty(property: AuGTK.AccessibleProperty): void; + resetRelation(relation: AuGTK.AccessibleRelation): void; + resetState(state: AuGTK.AccessibleState): void; + updateProperty(nProperties: number, properties: AuGTK.AccessibleProperty[], values: GObject.Value[]): void; + updateRelation(nRelations: number, relations: AuGTK.AccessibleRelation[], values: GObject.Value[]): void; + updateState(nStates: number, states: AuGTK.AccessibleState[], values: GObject.Value[]): void; + } + + class AccessibleRange { + } + + class Actionable { + actionName : string; + actionTarget : AuGlibEx.Variant; + + getActionName(): string; + getActionTargetValue(): AuGlibEx.Variant; + setActionName(actionName: string | undefined | null): void; + setActionTargetValue(targetValue: AuGlibEx.Variant | undefined | null): void; + setDetailedActionName(detailedActionName: string): void; + } + + class AppChooser { + contentType : string; + + getAppInfo(): AuGIO.AppInfo; + getContentType(): string; + refresh(): void; + } + + class Buildable { + getBuildableId(): string; + } + + class BuilderScope { + } + + class CellEditable { + editingCanceled : boolean; + + editingDone(): void; + removeWidget(): void; + startEditing(event: AuGDK.Event | undefined | null): void; + } + + class CellLayout { + addAttribute(cell: AuGTK.CellRenderer, attribute: string, column: number): void; + clear(): void; + clearAttributes(cell: AuGTK.CellRenderer): void; + getArea(): AuGTK.CellArea; + getCells(): AuGTK.CellRenderer[]; + packEnd(cell: AuGTK.CellRenderer, expand: boolean): void; + packStart(cell: AuGTK.CellRenderer, expand: boolean): void; + reorder(cell: AuGTK.CellRenderer, position: number): void; + setCellDataFunc(cell: AuGTK.CellRenderer, func: (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void | undefined | null, destroy: () => void): void; + } + + class ColorChooser { + rgba : AuGDK.RGBA; + useAlpha : boolean; + + addPalette(orientation: AuGTK.Orientation, colorsPerLine: number, nColors: number, colors: AuGDK.RGBA[] | undefined | null): void; + getRgba(color: AuGDK.RGBA): void; + getUseAlpha(): boolean; + setRgba(color: AuGDK.RGBA): void; + setUseAlpha(useAlpha: boolean): void; + } + + class ConstraintTarget { + } + + class Editable { + cursorPosition : number; + editable : boolean; + enableUndo : boolean; + maxWidthChars : number; + selectionBound : number; + text : string; + widthChars : number; + XAlign : number; + + static DelegateGetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static DelegateSetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static InstallProperties(objectClass: GObject.ObjectClass, firstProp: number): number; + delegateGetAccessiblePlatformState(state: AuGTK.AccessiblePlatformState): boolean; + deleteSelection(): void; + deleteText(startPos: number, endPos: number): void; + finishDelegate(): void; + getAlignment(): number; + getChars(startPos: number, endPos: number): string; + getDelegate(): AuGTK.Editable; + getEditable(): boolean; + getEnableUndo(): boolean; + getMaxWidthChars(): number; + getPosition(): number; + getSelectionBounds(startPos ?: number, endPos ?: number): boolean; + getText(): string; + getWidthChars(): number; + initDelegate(): void; + insertText(text: string, length: number, position: number): void; + selectRegion(startPos: number, endPos: number): void; + setAlignment(XAlign: number): void; + setEditable(isEditable: boolean): void; + setEnableUndo(enableUndo: boolean): void; + setMaxWidthChars(nChars: number): void; + setPosition(position: number): void; + setText(text: string): void; + setWidthChars(nChars: number): void; + } + + class FileChooser { + action : AuGTK.FileChooserAction; + createFolders : boolean; + filter : AuGTK.FileFilter; + filters : AuGIO.ListModel; + selectMultiple : boolean; + shortcutFolders : AuGIO.ListModel; + + addChoice(id: string, label: string, options: string[] | undefined | null, optionLabels: string[] | undefined | null): void; + addFilter(filter: AuGTK.FileFilter): void; + addShortcutFolder(folder: AuGIO.File): boolean; + getAction(): AuGTK.FileChooserAction; + getChoice(id: string): string; + getCreateFolders(): boolean; + getCurrentFolder(): AuGIO.File; + getCurrentName(): string; + getFile(): AuGIO.File; + getFiles(): AuGIO.ListModel; + getFilter(): AuGTK.FileFilter; + getFilters(): AuGIO.ListModel; + getSelectMultiple(): boolean; + getShortcutFolders(): AuGIO.ListModel; + removeChoice(id: string): void; + removeFilter(filter: AuGTK.FileFilter): void; + removeShortcutFolder(folder: AuGIO.File): boolean; + setAction(action: AuGTK.FileChooserAction): void; + setChoice(id: string, option: string): void; + setCreateFolders(createFolders: boolean): void; + setCurrentFolder(file: AuGIO.File | undefined | null): boolean; + setCurrentName(name: string): void; + setFile(file: AuGIO.File): boolean; + setFilter(filter: AuGTK.FileFilter): void; + setSelectMultiple(selectMultiple: boolean): void; + } + + class FontChooser { + font : string; + fontDesc : AuPango.FontDescription; + fontFeatures : string; + language : string; + level : AuGTK.FontChooserLevel; + previewText : string; + showPreviewEntry : boolean; + + getFont(): string; + getFontDesc(): AuPango.FontDescription; + getFontFace(): AuPango.FontFace; + getFontFamily(): AuPango.FontFamily; + getFontFeatures(): string; + getFontMap(): AuPango.FontMap; + getFontSize(): number; + getLanguage(): string; + getLevel(): AuGTK.FontChooserLevel; + getPreviewText(): string; + getShowPreviewEntry(): boolean; + setFilterFunc(filter: (family: AuPango.FontFamily, face: AuPango.FontFace) => boolean | undefined | null, destroy: () => void): void; + setFont(fontname: string): void; + setFontDesc(fontDesc: AuPango.FontDescription): void; + setFontMap(fontmap: AuPango.FontMap | undefined | null): void; + setLanguage(language: string): void; + setLevel(level: AuGTK.FontChooserLevel): void; + setPreviewText(text: string): void; + setShowPreviewEntry(showPreviewEntry: boolean): void; + } + + class Native { + static GetForSurface(surface: AuGDK.Surface): AuGTK.Native; + getRenderer(): Gsk.Renderer; + getSurface(): AuGDK.Surface; + getSurfaceTransform(x: number, y: number): void; + realize(): void; + unrealize(): void; + } + + class Orientable { + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class PrintOperationPreview { + endPreview(): void; + isSelected(pageNr: number): boolean; + renderPage(pageNr: number): void; + } + + class Root { + getDisplay(): AuGDK.Display; + getFocus(): AuGTK.Widget; + setFocus(focus: AuGTK.Widget | undefined | null): void; + } + + class Scrollable { + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + getBorder(border: AuGTK.Border): boolean; + getHadjustment(): AuGTK.Adjustment; + getHscrollPolicy(): AuGTK.ScrollablePolicy; + getVadjustment(): AuGTK.Adjustment; + getVscrollPolicy(): AuGTK.ScrollablePolicy; + setHadjustment(hadjustment: AuGTK.Adjustment | undefined | null): void; + setHscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + setVadjustment(vadjustment: AuGTK.Adjustment | undefined | null): void; + setVscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + } + + class SelectionModel { + getSelection(): AuGTK.Bitset; + getSelectionInRange(position: number, nItems: number): AuGTK.Bitset; + isSelected(position: number): boolean; + selectAll(): boolean; + selectItem(position: number, unselectRest: boolean): boolean; + selectRange(position: number, nItems: number, unselectRest: boolean): boolean; + selectionChanged(position: number, nItems: number): void; + setSelection(selected: AuGTK.Bitset, mask: AuGTK.Bitset): boolean; + unselectAll(): boolean; + unselectItem(position: number): boolean; + unselectRange(position: number, nItems: number): boolean; + } + + class ShortcutManager { + } + + class StyleProvider { + } + + class SymbolicPaintable { + snapshotSymbolic(snapshot: AuGDK.Snapshot, width: number, height: number, colors: AuGDK.RGBA[], nColors: number | bigint): void; + } + + class TreeDragDest { + dragDataReceived(dest: AuGTK.TreePath, value: GObject.Value): boolean; + rowDropPossible(destPath: AuGTK.TreePath, value: GObject.Value): boolean; + } + + class TreeDragSource { + dragDataDelete(path: AuGTK.TreePath): boolean; + dragDataGet(path: AuGTK.TreePath): AuGDK.ContentProvider; + rowDraggable(path: AuGTK.TreePath): boolean; + } + + class TreeModel { + filterNew(root: AuGTK.TreePath | undefined | null): AuGTK.TreeModel; + foreach(func: (model: AuGTK.TreeModel, path: AuGTK.TreePath, iter: AuGTK.TreeIter) => boolean): void; + getColumnType(index: number): number; + getFlags(): AuGTK.TreeModelFlags; + getIter(iter: AuGTK.TreeIter, path: AuGTK.TreePath): boolean; + getIterFirst(iter: AuGTK.TreeIter): boolean; + getIterFromString(iter: AuGTK.TreeIter, pathString: string): boolean; + getNColumns(): number; + getPath(iter: AuGTK.TreeIter): AuGTK.TreePath; + getStringFromIter(iter: AuGTK.TreeIter): string; + getValue(iter: AuGTK.TreeIter, column: number, value: GObject.Value): void; + iterChildren(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null): boolean; + iterHasChild(iter: AuGTK.TreeIter): boolean; + iterNChildren(iter: AuGTK.TreeIter | undefined | null): number; + iterNext(iter: AuGTK.TreeIter): boolean; + iterNthChild(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null, n: number): boolean; + iterParent(iter: AuGTK.TreeIter, child: AuGTK.TreeIter): boolean; + iterPrevious(iter: AuGTK.TreeIter): boolean; + refNode(iter: AuGTK.TreeIter): void; + rowChanged(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowDeleted(path: AuGTK.TreePath): void; + rowHasChildToggled(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowInserted(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowsReordered(path: AuGTK.TreePath, iter: AuGTK.TreeIter | undefined | null, newOrder: number[], length: number): void; + unrefNode(iter: AuGTK.TreeIter): void; + } + + class TreeSortable { + getSortColumnId(sortColumnId: number, order: AuGTK.SortType): boolean; + hasDefaultSortFunc(): boolean; + setDefaultSortFunc(sortFunc: (model: AuGTK.TreeModel, a: AuGTK.TreeIter, b: AuGTK.TreeIter) => number, destroy: () => void | undefined | null): void; + setSortColumnId(sortColumnId: number, order: AuGTK.SortType): void; + setSortFunc(sortColumnId: number, sortFunc: (model: AuGTK.TreeModel, a: AuGTK.TreeIter, b: AuGTK.TreeIter) => number, destroy: () => void | undefined | null): void; + sortColumnChanged(): void; + } + + + class ATContextClass { + } + + class AccessibleInterface { + gIface : GObject.TypeInterface; + getAtContext : (self: AuGTK.Accessible) => AuGTK.ATContext; + getPlatformState : (self: AuGTK.Accessible, state: AuGTK.AccessiblePlatformState) => boolean; + getAccessibleParent : (self: AuGTK.Accessible) => AuGTK.Accessible; + getFirstAccessibleChild : (self: AuGTK.Accessible) => AuGTK.Accessible; + getNextAccessibleSibling : (self: AuGTK.Accessible) => AuGTK.Accessible; + getBounds : (self: AuGTK.Accessible, x: number, y: number, width: number, height: number) => boolean; + + } + + class AccessibleRangeInterface { + gIface : GObject.TypeInterface; + setCurrentValue : (self: AuGTK.AccessibleRange, value: number) => boolean; + + } + + class ActionableInterface { + gIface : GObject.TypeInterface; + getActionName : (actionable: AuGTK.Actionable) => string; + setActionName : (actionable: AuGTK.Actionable, actionName: string | undefined | null) => void; + getActionTargetValue : (actionable: AuGTK.Actionable) => AuGlibEx.Variant; + setActionTargetValue : (actionable: AuGTK.Actionable, targetValue: AuGlibEx.Variant | undefined | null) => void; + + } + + class ActivateActionClass { + } + + class AdjustmentClass { + parentClass : GObject.InitiallyUnownedClass; + changed : (adjustment: AuGTK.Adjustment) => void; + valueChanged : (adjustment: AuGTK.Adjustment) => void; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + + } + + class AlertDialogClass { + parentClass : GObject.ObjectClass; + + } + + class AlternativeTriggerClass { + } + + class AnyFilterClass { + } + + class ApplicationClass { + parentClass : AuGIO.ApplicationClass; + windowAdded : (application: AuGTK.Application, window: AuGTK.Window) => void; + windowRemoved : (application: AuGTK.Application, window: AuGTK.Window) => void; + + } + + class ApplicationWindowClass { + parentClass : AuGTK.WindowClass; + + } + + class BinLayoutClass { + parentClass : AuGTK.LayoutManagerClass; + + } + + class Bitset { + static NewEmpty(): AuGTK.Bitset; + static NewRange(start: number, nItems: number): AuGTK.Bitset; + add(value: number): boolean; + addRange(start: number, nItems: number): void; + addRangeClosed(first: number, last: number): void; + addRectangle(start: number, width: number, height: number, stride: number): void; + contains(value: number): boolean; + copy(): AuGTK.Bitset; + difference(other: AuGTK.Bitset): void; + equals(other: AuGTK.Bitset): boolean; + getMaximum(): number; + getMinimum(): number; + getNth(nth: number): number; + getSize(): number | bigint; + getSizeInRange(first: number, last: number): number | bigint; + intersect(other: AuGTK.Bitset): void; + isEmpty(): boolean; + ref(): AuGTK.Bitset; + remove(value: number): boolean; + removeAll(): void; + removeRange(start: number, nItems: number): void; + removeRangeClosed(first: number, last: number): void; + removeRectangle(start: number, width: number, height: number, stride: number): void; + shiftLeft(amount: number): void; + shiftRight(amount: number): void; + splice(position: number, removed: number, added: number): void; + subtract(other: AuGTK.Bitset): void; + union(other: AuGTK.Bitset): void; + unref(): void; + } + + class BitsetIter { + + getValue(): number; + isValid(): boolean; + next(value ?: number): boolean; + previous(value ?: number): boolean; + static InitAt(iter: AuGTK.BitsetIter, set: AuGTK.Bitset, target: number, value ?: number): boolean; + static InitFirst(iter: AuGTK.BitsetIter, set: AuGTK.Bitset, value ?: number): boolean; + static InitLast(iter: AuGTK.BitsetIter, set: AuGTK.Bitset, value ?: number): boolean; + } + + class BookmarkListClass { + parentClass : GObject.ObjectClass; + + } + + class BoolFilterClass { + parentClass : AuGTK.FilterClass; + + } + + class Border { + left : number; + right : number; + top : number; + bottom : number; + + static New(): AuGTK.Border; + copy(): AuGTK.Border; + free(): void; + } + + class BoxClass { + parentClass : AuGTK.WidgetClass; + + } + + class BoxLayoutClass { + parentClass : AuGTK.LayoutManagerClass; + + } + + class BuildableIface { + gIface : GObject.TypeInterface; + setId : (buildable: AuGTK.Buildable, id: string) => void; + getId : (buildable: AuGTK.Buildable) => string; + addChild : (buildable: AuGTK.Buildable, builder: AuGTK.Builder, child: GObject.Object, type: string | undefined | null) => void; + setBuildableProperty : (buildable: AuGTK.Buildable, builder: AuGTK.Builder, name: string, value: GObject.Value) => void; + constructChild : void; + customTagStart : (buildable: AuGTK.Buildable, builder: AuGTK.Builder, child: GObject.Object | undefined | null, tagname: string, parser: AuGTK.BuildableParser) => boolean; + customTagEnd : (buildable: AuGTK.Buildable, builder: AuGTK.Builder, child: GObject.Object | undefined | null, tagname: string) => void; + customFinished : (buildable: AuGTK.Buildable, builder: AuGTK.Builder, child: GObject.Object | undefined | null, tagname: string) => void; + parserFinished : (buildable: AuGTK.Buildable, builder: AuGTK.Builder) => void; + getInternalChild : (buildable: AuGTK.Buildable, builder: AuGTK.Builder, childname: string) => GObject.Object; + + } + + class BuildableParseContext { + getElement(): string; + getElementStack(): string[]; + getPosition(lineNumber ?: number, charNumber ?: number): void; + pop(): void; + push(parser: AuGTK.BuildableParser): void; + } + + class BuildableParser { + startElement : (context: AuGTK.BuildableParseContext, elementName: string, attributeNames: string, attributeValues: string) => void; + endElement : (context: AuGTK.BuildableParseContext, elementName: string) => void; + text : (context: AuGTK.BuildableParseContext, text: string, textLen: number | bigint) => void; + error : (context: AuGTK.BuildableParseContext, error: AuGlibEx.Error) => void; + + } + + class BuilderCScopeClass { + parentClass : GObject.ObjectClass; + + } + + class BuilderClass { + } + + class BuilderListItemFactoryClass { + } + + class BuilderScopeInterface { + gIface : GObject.TypeInterface; + getTypeFromName : (self: AuGTK.BuilderScope, builder: AuGTK.Builder, typeName: string) => number; + getTypeFromFunction : (self: AuGTK.BuilderScope, builder: AuGTK.Builder, functionName: string) => number; + createClosure : (self: AuGTK.BuilderScope, builder: AuGTK.Builder, functionName: string, flags: AuGTK.BuilderClosureFlags, object: GObject.Object) => GObject.Closure; + + } + + class ButtonClass { + parentClass : AuGTK.WidgetClass; + clicked : (button: AuGTK.Button) => void; + activate : (button: AuGTK.Button) => void; + + } + + class ButtonPrivate { + } + + class CallbackActionClass { + } + + class CellAreaClass { + parentClass : GObject.InitiallyUnownedClass; + add : (area: AuGTK.CellArea, renderer: AuGTK.CellRenderer) => void; + remove : (area: AuGTK.CellArea, renderer: AuGTK.CellRenderer) => void; + foreach : (area: AuGTK.CellArea, callback: (renderer: AuGTK.CellRenderer) => boolean) => void; + foreachAlloc : (area: AuGTK.CellArea, context: AuGTK.CellAreaContext, widget: AuGTK.Widget, cellArea: AuGDK.Rectangle, backgroundArea: AuGDK.Rectangle, callback: (renderer: AuGTK.CellRenderer, cellArea: AuGDK.Rectangle, cellBackground: AuGDK.Rectangle) => boolean) => void; + event : (area: AuGTK.CellArea, context: AuGTK.CellAreaContext, widget: AuGTK.Widget, event: AuGDK.Event, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState) => number; + snapshot : (area: AuGTK.CellArea, context: AuGTK.CellAreaContext, widget: AuGTK.Widget, snapshot: AuGTK.Snapshot, backgroundArea: AuGDK.Rectangle, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState, paintFocus: boolean) => void; + applyAttributes : (area: AuGTK.CellArea, treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter, isExpander: boolean, isExpanded: boolean) => void; + createContext : (area: AuGTK.CellArea) => AuGTK.CellAreaContext; + copyContext : (area: AuGTK.CellArea, context: AuGTK.CellAreaContext) => AuGTK.CellAreaContext; + getRequestMode : (area: AuGTK.CellArea) => AuGTK.SizeRequestMode; + getPreferredWidth : (area: AuGTK.CellArea, context: AuGTK.CellAreaContext, widget: AuGTK.Widget, minimumWidth ?: number, naturalWidth ?: number) => void; + getPreferredHeightForWidth : (area: AuGTK.CellArea, context: AuGTK.CellAreaContext, widget: AuGTK.Widget, width: number, minimumHeight ?: number, naturalHeight ?: number) => void; + getPreferredHeight : (area: AuGTK.CellArea, context: AuGTK.CellAreaContext, widget: AuGTK.Widget, minimumHeight ?: number, naturalHeight ?: number) => void; + getPreferredWidthForHeight : (area: AuGTK.CellArea, context: AuGTK.CellAreaContext, widget: AuGTK.Widget, height: number, minimumWidth ?: number, naturalWidth ?: number) => void; + setCellProperty : (area: AuGTK.CellArea, renderer: AuGTK.CellRenderer, propertyId: number, value: GObject.Value, pspec: GObject.ParamSpec) => void; + getCellProperty : (area: AuGTK.CellArea, renderer: AuGTK.CellRenderer, propertyId: number, value: GObject.Value, pspec: GObject.ParamSpec) => void; + focus : (area: AuGTK.CellArea, direction: AuGTK.DirectionType) => boolean; + isActivatable : (area: AuGTK.CellArea) => boolean; + activate : (area: AuGTK.CellArea, context: AuGTK.CellAreaContext, widget: AuGTK.Widget, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState, editOnly: boolean) => boolean; + + findCellProperty(propertyName: string): GObject.ParamSpec; + installCellProperty(propertyId: number, pspec: GObject.ParamSpec): void; + listCellProperties(nProperties: number): GObject.ParamSpec[]; + } + + class CellAreaContextClass { + parentClass : GObject.ObjectClass; + allocate : (context: AuGTK.CellAreaContext, width: number, height: number) => void; + reset : (context: AuGTK.CellAreaContext) => void; + getPreferredHeightForWidth : (context: AuGTK.CellAreaContext, width: number, minimumHeight ?: number, naturalHeight ?: number) => void; + getPreferredWidthForHeight : (context: AuGTK.CellAreaContext, height: number, minimumWidth ?: number, naturalWidth ?: number) => void; + + } + + class CellAreaContextPrivate { + } + + class CellEditableIface { + gIface : GObject.TypeInterface; + editingDone : (cellEditable: AuGTK.CellEditable) => void; + removeWidget : (cellEditable: AuGTK.CellEditable) => void; + startEditing : (cellEditable: AuGTK.CellEditable, event: AuGDK.Event | undefined | null) => void; + + } + + class CellLayoutIface { + gIface : GObject.TypeInterface; + packStart : (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, expand: boolean) => void; + packEnd : (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, expand: boolean) => void; + clear : (cellLayout: AuGTK.CellLayout) => void; + addAttribute : (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, attribute: string, column: number) => void; + setCellDataFunc : (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, func: (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void | undefined | null, destroy: () => void) => void; + clearAttributes : (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer) => void; + reorder : (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, position: number) => void; + getCells : (cellLayout: AuGTK.CellLayout) => AuGTK.CellRenderer[]; + getArea : (cellLayout: AuGTK.CellLayout) => AuGTK.CellArea; + + } + + class CellRendererClass { + parentClass : GObject.InitiallyUnownedClass; + getRequestMode : (cell: AuGTK.CellRenderer) => AuGTK.SizeRequestMode; + getPreferredWidth : (cell: AuGTK.CellRenderer, widget: AuGTK.Widget, minimumSize ?: number, naturalSize ?: number) => void; + getPreferredHeightForWidth : (cell: AuGTK.CellRenderer, widget: AuGTK.Widget, width: number, minimumHeight ?: number, naturalHeight ?: number) => void; + getPreferredHeight : (cell: AuGTK.CellRenderer, widget: AuGTK.Widget, minimumSize ?: number, naturalSize ?: number) => void; + getPreferredWidthForHeight : (cell: AuGTK.CellRenderer, widget: AuGTK.Widget, height: number, minimumWidth ?: number, naturalWidth ?: number) => void; + getAlignedArea : (cell: AuGTK.CellRenderer, widget: AuGTK.Widget, flags: AuGTK.CellRendererState, cellArea: AuGDK.Rectangle, alignedArea: AuGDK.Rectangle) => void; + snapshot : (cell: AuGTK.CellRenderer, snapshot: AuGTK.Snapshot, widget: AuGTK.Widget, backgroundArea: AuGDK.Rectangle, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState) => void; + activate : (cell: AuGTK.CellRenderer, event: AuGDK.Event, widget: AuGTK.Widget, path: string, backgroundArea: AuGDK.Rectangle, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState) => boolean; + startEditing : (cell: AuGTK.CellRenderer, event: AuGDK.Event | undefined | null, widget: AuGTK.Widget, path: string, backgroundArea: AuGDK.Rectangle, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState) => AuGTK.CellEditable; + editingCanceled : (cell: AuGTK.CellRenderer) => void; + editingStarted : (cell: AuGTK.CellRenderer, editable: AuGTK.CellEditable, path: string) => void; + + } + + class CellRendererClassPrivate { + } + + class CellRendererPrivate { + } + + class CellRendererTextClass { + parentClass : AuGTK.CellRendererClass; + edited : (cellRendererText: AuGTK.CellRendererText, path: string, newText: string) => void; + + } + + class CenterBoxClass { + } + + class CenterLayoutClass { + parentClass : AuGTK.LayoutManagerClass; + + } + + class CheckButtonClass { + parentClass : AuGTK.WidgetClass; + toggled : (checkButton: AuGTK.CheckButton) => void; + activate : (checkButton: AuGTK.CheckButton) => void; + + } + + class ColorChooserInterface { + baseInterface : GObject.TypeInterface; + getRgba : (chooser: AuGTK.ColorChooser, color: AuGDK.RGBA) => void; + setRgba : (chooser: AuGTK.ColorChooser, color: AuGDK.RGBA) => void; + addPalette : (chooser: AuGTK.ColorChooser, orientation: AuGTK.Orientation, colorsPerLine: number, nColors: number, colors: AuGDK.RGBA[] | undefined | null) => void; + colorActivated : (chooser: AuGTK.ColorChooser, color: AuGDK.RGBA) => void; + + } + + class ColorDialogButtonClass { + parentClass : AuGTK.WidgetClass; + + } + + class ColorDialogClass { + parentClass : GObject.ObjectClass; + + } + + class ColumnViewClass { + } + + class ColumnViewColumnClass { + } + + class ColumnViewSorterClass { + parentClass : AuGTK.SorterClass; + + } + + class ComboBoxClass { + parentClass : AuGTK.WidgetClass; + changed : (comboBox: AuGTK.ComboBox) => void; + formatEntryText : (comboBox: AuGTK.ComboBox, path: string) => string; + activate : (comboBox: AuGTK.ComboBox) => void; + + } + + class ConstraintClass { + parentClass : GObject.ObjectClass; + + } + + class ConstraintGuideClass { + parentClass : GObject.ObjectClass; + + } + + class ConstraintLayoutChildClass { + parentClass : AuGTK.LayoutChildClass; + + } + + class ConstraintLayoutClass { + parentClass : AuGTK.LayoutManagerClass; + + } + + class ConstraintTargetInterface { + } + + class CssLocation { + bytes : number | bigint; + chars : number | bigint; + lines : number | bigint; + lineBytes : number | bigint; + lineChars : number | bigint; + + } + + class CssProviderClass { + } + + class CssProviderPrivate { + } + + class CssSection { + static New(file: AuGIO.File | undefined | null, start: AuGTK.CssLocation, end: AuGTK.CssLocation): AuGTK.CssSection; + getEndLocation(): AuGTK.CssLocation; + getFile(): AuGIO.File; + getParent(): AuGTK.CssSection; + getStartLocation(): AuGTK.CssLocation; + print(string: AuGlibEx.String): void; + ref(): AuGTK.CssSection; + unref(): void; + } + + class CssStyleChange { + } + + class CustomFilterClass { + parentClass : AuGTK.FilterClass; + + } + + class CustomLayoutClass { + parentClass : AuGTK.LayoutManagerClass; + + } + + class CustomSorterClass { + parentClass : AuGTK.SorterClass; + + } + + class DialogClass { + parentClass : AuGTK.WindowClass; + response : (dialog: AuGTK.Dialog, responseId: number) => void; + close : (dialog: AuGTK.Dialog) => void; + + } + + class DirectoryListClass { + parentClass : GObject.ObjectClass; + + } + + class DragIconClass { + parentClass : AuGTK.WidgetClass; + + } + + class DragSourceClass { + } + + class DrawingAreaClass { + parentClass : AuGTK.WidgetClass; + resize : (area: AuGTK.DrawingArea, width: number, height: number) => void; + + } + + class DropControllerMotionClass { + } + + class DropDownClass { + parentClass : AuGTK.WidgetClass; + + } + + class DropTargetAsyncClass { + } + + class DropTargetClass { + } + + class EditableInterface { + baseIface : GObject.TypeInterface; + insertText : (editable: AuGTK.Editable, text: string, length: number, position: number) => void; + deleteText : (editable: AuGTK.Editable, startPos: number, endPos: number) => void; + changed : (editable: AuGTK.Editable) => void; + getText : (editable: AuGTK.Editable) => string; + doInsertText : (editable: AuGTK.Editable, text: string, length: number, position: number) => void; + doDeleteText : (editable: AuGTK.Editable, startPos: number, endPos: number) => void; + getSelectionBounds : (editable: AuGTK.Editable, startPos ?: number, endPos ?: number) => boolean; + setSelectionBounds : (editable: AuGTK.Editable, startPos: number, endPos: number) => void; + getDelegate : (editable: AuGTK.Editable) => AuGTK.Editable; + + } + + class EditableLabelClass { + parentClass : AuGTK.WidgetClass; + + } + + class EmojiChooserClass { + } + + class EntryBufferClass { + parentClass : GObject.ObjectClass; + insertedText : (buffer: AuGTK.EntryBuffer, position: number, chars: string, nChars: number) => void; + deletedText : (buffer: AuGTK.EntryBuffer, position: number, nChars: number) => void; + getText : (buffer: AuGTK.EntryBuffer, nBytes: number | bigint) => string; + getLength : (buffer: AuGTK.EntryBuffer) => number; + insertText : (buffer: AuGTK.EntryBuffer, position: number, chars: string, nChars: number) => number; + deleteText : (buffer: AuGTK.EntryBuffer, position: number, nChars: number) => number; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + gtkReserved5 : void; + gtkReserved6 : void; + gtkReserved7 : void; + gtkReserved8 : void; + + } + + class EntryClass { + parentClass : AuGTK.WidgetClass; + activate : (entry: AuGTK.Entry) => void; + + } + + class EventControllerClass { + } + + class EventControllerFocusClass { + } + + class EventControllerKeyClass { + } + + class EventControllerLegacyClass { + } + + class EventControllerMotionClass { + } + + class EventControllerScrollClass { + } + + class EveryFilterClass { + } + + class ExpressionWatch { + evaluate(value: GObject.Value): boolean; + ref(): AuGTK.ExpressionWatch; + unref(): void; + unwatch(): void; + } + + class FileChooserNativeClass { + parentClass : AuGTK.NativeDialogClass; + + } + + class FileDialogClass { + parentClass : GObject.ObjectClass; + + } + + class FileLauncherClass { + parentClass : GObject.ObjectClass; + + } + + class FilterClass { + parentClass : GObject.ObjectClass; + match : (self: AuGTK.Filter, item: GObject.Object | undefined | null) => boolean; + getStrictness : (self: AuGTK.Filter) => AuGTK.FilterMatch; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + gtkReserved5 : void; + gtkReserved6 : void; + gtkReserved7 : void; + gtkReserved8 : void; + + } + + class FilterListModelClass { + parentClass : GObject.ObjectClass; + + } + + class FixedClass { + parentClass : AuGTK.WidgetClass; + + } + + class FixedLayoutChildClass { + parentClass : AuGTK.LayoutChildClass; + + } + + class FixedLayoutClass { + parentClass : AuGTK.LayoutManagerClass; + + } + + class FlattenListModelClass { + parentClass : GObject.ObjectClass; + + } + + class FlowBoxChildClass { + parentClass : AuGTK.WidgetClass; + activate : (child: AuGTK.FlowBoxChild) => void; + + } + + class FontChooserIface { + baseIface : GObject.TypeInterface; + getFontFamily : (fontchooser: AuGTK.FontChooser) => AuPango.FontFamily; + getFontFace : (fontchooser: AuGTK.FontChooser) => AuPango.FontFace; + getFontSize : (fontchooser: AuGTK.FontChooser) => number; + setFilterFunc : (fontchooser: AuGTK.FontChooser, filter: (family: AuPango.FontFamily, face: AuPango.FontFace) => boolean | undefined | null, destroy: () => void) => void; + fontActivated : (chooser: AuGTK.FontChooser, fontname: string) => void; + setFontMap : (fontchooser: AuGTK.FontChooser, fontmap: AuPango.FontMap | undefined | null) => void; + getFontMap : (fontchooser: AuGTK.FontChooser) => AuPango.FontMap; + + } + + class FontDialogButtonClass { + parentClass : AuGTK.WidgetClass; + + } + + class FontDialogClass { + parentClass : GObject.ObjectClass; + + } + + class FrameClass { + parentClass : AuGTK.WidgetClass; + computeChildAllocation : (frame: AuGTK.Frame, allocation: AuGDK.Rectangle) => void; + + } + + class GLAreaClass { + parentClass : AuGTK.WidgetClass; + render : (area: AuGTK.GLArea, context: AuGDK.GLContext) => boolean; + resize : (area: AuGTK.GLArea, width: number, height: number) => void; + createContext : void; + + } + + class GestureClass { + } + + class GestureClickClass { + } + + class GestureDragClass { + } + + class GestureLongPressClass { + } + + class GesturePanClass { + } + + class GestureRotateClass { + } + + class GestureSingleClass { + } + + class GestureStylusClass { + } + + class GestureSwipeClass { + } + + class GestureZoomClass { + } + + class GridClass { + parentClass : AuGTK.WidgetClass; + + } + + class GridLayoutChildClass { + parentClass : AuGTK.LayoutChildClass; + + } + + class GridLayoutClass { + parentClass : AuGTK.LayoutManagerClass; + + } + + class GridViewClass { + } + + class IMContextClass { + parentClass : GObject.ObjectClass; + preeditStart : (context: AuGTK.IMContext) => void; + preeditEnd : (context: AuGTK.IMContext) => void; + preeditChanged : (context: AuGTK.IMContext) => void; + commit : (context: AuGTK.IMContext, str: string) => void; + retrieveSurrounding : (context: AuGTK.IMContext) => boolean; + deleteSurrounding : (context: AuGTK.IMContext, offset: number, nChars: number) => boolean; + setClientWidget : (context: AuGTK.IMContext, widget: AuGTK.Widget | undefined | null) => void; + getPreeditString : (context: AuGTK.IMContext, str: string, attrs: AuPango.AttrList, cursorPos: number) => void; + filterKeypress : (context: AuGTK.IMContext, event: AuGDK.Event) => boolean; + focusIn : (context: AuGTK.IMContext) => void; + focusOut : (context: AuGTK.IMContext) => void; + reset : (context: AuGTK.IMContext) => void; + setCursorLocation : (context: AuGTK.IMContext, area: AuGDK.Rectangle) => void; + setUsePreedit : (context: AuGTK.IMContext, usePreedit: boolean) => void; + setSurrounding : (context: AuGTK.IMContext, text: string, len: number, cursorIndex: number) => void; + getSurrounding : (context: AuGTK.IMContext, text: string, cursorIndex: number) => boolean; + setSurroundingWithSelection : (context: AuGTK.IMContext, text: string, len: number, cursorIndex: number, anchorIndex: number) => void; + getSurroundingWithSelection : (context: AuGTK.IMContext, text: string, cursorIndex: number, anchorIndex: number) => boolean; + activateOsk : (context: AuGTK.IMContext) => void; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + + } + + class IMContextSimpleClass { + parentClass : AuGTK.IMContextClass; + + } + + class IMContextSimplePrivate { + } + + class IMMulticontextClass { + parentClass : AuGTK.IMContextClass; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + + } + + class IMMulticontextPrivate { + } + + class InscriptionClass { + parentClass : AuGTK.WidgetClass; + + } + + class KeyvalTriggerClass { + } + + class LayoutChildClass { + parentClass : GObject.ObjectClass; + + } + + class LayoutManagerClass { + parentClass : GObject.ObjectClass; + getRequestMode : (manager: AuGTK.LayoutManager, widget: AuGTK.Widget) => AuGTK.SizeRequestMode; + measure : (manager: AuGTK.LayoutManager, widget: AuGTK.Widget, orientation: AuGTK.Orientation, forSize: number, minimum ?: number, natural ?: number, minimumBaseline ?: number, naturalBaseline ?: number) => void; + allocate : (manager: AuGTK.LayoutManager, widget: AuGTK.Widget, width: number, height: number, baseline: number) => void; + layoutChildType : number; + createLayoutChild : (manager: AuGTK.LayoutManager, widget: AuGTK.Widget, forChild: AuGTK.Widget) => AuGTK.LayoutChild; + root : (manager: AuGTK.LayoutManager) => void; + unroot : (manager: AuGTK.LayoutManager) => void; + + } + + class ListBaseClass { + } + + class ListBoxRowClass { + parentClass : AuGTK.WidgetClass; + activate : (row: AuGTK.ListBoxRow) => void; + + } + + class ListItemClass { + } + + class ListItemFactoryClass { + } + + class ListStoreClass { + parentClass : GObject.ObjectClass; + + } + + class ListStorePrivate { + } + + class ListViewClass { + } + + class MapListModelClass { + parentClass : GObject.ObjectClass; + + } + + class MediaControlsClass { + parentClass : AuGTK.WidgetClass; + + } + + class MediaFileClass { + parentClass : AuGTK.MediaStreamClass; + open : (self: AuGTK.MediaFile) => void; + close : (self: AuGTK.MediaFile) => void; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + + } + + class MediaStreamClass { + parentClass : GObject.ObjectClass; + play : (self: AuGTK.MediaStream) => boolean; + pause : (self: AuGTK.MediaStream) => void; + seek : (self: AuGTK.MediaStream, timestamp: number | bigint) => void; + updateAudio : (self: AuGTK.MediaStream, muted: boolean, volume: number) => void; + realize : (self: AuGTK.MediaStream, surface: AuGDK.Surface) => void; + unrealize : (self: AuGTK.MediaStream, surface: AuGDK.Surface) => void; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + gtkReserved5 : void; + gtkReserved6 : void; + gtkReserved7 : void; + gtkReserved8 : void; + + } + + class MessageDialogClass { + } + + class MnemonicActionClass { + } + + class MnemonicTriggerClass { + } + + class MountOperationClass { + parentClass : AuGIO.MountOperationClass; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + + } + + class MountOperationPrivate { + } + + class MultiFilterClass { + } + + class MultiSelectionClass { + parentClass : GObject.ObjectClass; + + } + + class MultiSorterClass { + parentClass : AuGTK.SorterClass; + + } + + class NamedActionClass { + } + + class NativeDialogClass { + parentClass : GObject.ObjectClass; + response : (self: AuGTK.NativeDialog, responseId: number) => void; + show : (self: AuGTK.NativeDialog) => void; + hide : (self: AuGTK.NativeDialog) => void; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + + } + + class NativeInterface { + } + + class NeverTriggerClass { + } + + class NoSelectionClass { + parentClass : GObject.ObjectClass; + + } + + class NothingActionClass { + } + + class NumericSorterClass { + parentClass : AuGTK.SorterClass; + + } + + class OrientableIface { + baseIface : GObject.TypeInterface; + + } + + class OverlayLayoutChildClass { + parentClass : AuGTK.LayoutChildClass; + + } + + class OverlayLayoutClass { + parentClass : AuGTK.LayoutManagerClass; + + } + + class PadActionEntry { + type : AuGTK.PadActionType; + index : number; + mode : number; + label : string; + actionName : string; + + } + + class PadControllerClass { + } + + class PageRange { + start : number; + end : number; + + } + + class PaperSize { + static New(name: string | undefined | null): AuGTK.PaperSize; + static NewCustom(name: string, displayName: string, width: number, height: number, unit: AuGTK.Unit): AuGTK.PaperSize; + static NewFromGvariant(variant: AuGlibEx.Variant): AuGTK.PaperSize; + static NewFromIpp(ippName: string, width: number, height: number): AuGTK.PaperSize; + static NewFromKeyFile(keyFile: AuGlibEx.KeyFile, groupName: string | undefined | null): AuGTK.PaperSize; + static NewFromPpd(ppdName: string, ppdDisplayName: string, width: number, height: number): AuGTK.PaperSize; + copy(): AuGTK.PaperSize; + free(): void; + getDefaultBottomMargin(unit: AuGTK.Unit): number; + getDefaultLeftMargin(unit: AuGTK.Unit): number; + getDefaultRightMargin(unit: AuGTK.Unit): number; + getDefaultTopMargin(unit: AuGTK.Unit): number; + getDisplayName(): string; + getHeight(unit: AuGTK.Unit): number; + getName(): string; + getPpdName(): string; + getWidth(unit: AuGTK.Unit): number; + isCustom(): boolean; + isEqual(size2: AuGTK.PaperSize): boolean; + isIpp(): boolean; + setSize(width: number, height: number, unit: AuGTK.Unit): void; + toGvariant(): AuGlibEx.Variant; + toKeyFile(keyFile: AuGlibEx.KeyFile, groupName: string): void; + static GetDefault(): string; + static GetPaperSizes(includeCustom: boolean): AuGTK.PaperSize[]; + } + + class PasswordEntryBufferClass { + parentClass : AuGTK.EntryBufferClass; + + } + + class PasswordEntryClass { + } + + class PictureClass { + parentClass : AuGTK.WidgetClass; + + } + + class PopoverClass { + parentClass : AuGTK.WidgetClass; + closed : (popover: AuGTK.Popover) => void; + activateDefault : (popover: AuGTK.Popover) => void; + + } + + class PrintOperationClass { + parentClass : GObject.ObjectClass; + done : (operation: AuGTK.PrintOperation, result: AuGTK.PrintOperationResult) => void; + beginPrint : (operation: AuGTK.PrintOperation, context: AuGTK.PrintContext) => void; + paginate : (operation: AuGTK.PrintOperation, context: AuGTK.PrintContext) => boolean; + requestPageSetup : (operation: AuGTK.PrintOperation, context: AuGTK.PrintContext, pageNr: number, setup: AuGTK.PageSetup) => void; + drawPage : (operation: AuGTK.PrintOperation, context: AuGTK.PrintContext, pageNr: number) => void; + endPrint : (operation: AuGTK.PrintOperation, context: AuGTK.PrintContext) => void; + statusChanged : (operation: AuGTK.PrintOperation) => void; + createCustomWidget : void; + customWidgetApply : (operation: AuGTK.PrintOperation, widget: AuGTK.Widget) => void; + preview : (operation: AuGTK.PrintOperation, preview: AuGTK.PrintOperationPreview, context: AuGTK.PrintContext, parent: AuGTK.Window) => boolean; + updateCustomWidget : (operation: AuGTK.PrintOperation, widget: AuGTK.Widget, setup: AuGTK.PageSetup, settings: AuGTK.PrintSettings) => void; + + } + + class PrintOperationPreviewIface { + gIface : GObject.TypeInterface; + ready : (preview: AuGTK.PrintOperationPreview, context: AuGTK.PrintContext) => void; + gotPageSize : (preview: AuGTK.PrintOperationPreview, context: AuGTK.PrintContext, pageSetup: AuGTK.PageSetup) => void; + renderPage : (preview: AuGTK.PrintOperationPreview, pageNr: number) => void; + isSelected : (preview: AuGTK.PrintOperationPreview, pageNr: number) => boolean; + endPreview : (preview: AuGTK.PrintOperationPreview) => void; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + gtkReserved5 : void; + gtkReserved6 : void; + gtkReserved7 : void; + gtkReserved8 : void; + + } + + class PrintOperationPrivate { + } + + class RangeClass { + parentClass : AuGTK.WidgetClass; + valueChanged : (range: AuGTK.Range) => void; + adjustBounds : (range: AuGTK.Range, newValue: number) => void; + moveSlider : (range: AuGTK.Range, scroll: AuGTK.ScrollType) => void; + getRangeBorder : (range: AuGTK.Range, border: AuGTK.Border) => void; + changeValue : (range: AuGTK.Range, scroll: AuGTK.ScrollType, newValue: number) => boolean; + + } + + class RecentData { + displayName : string; + description : string; + mimeType : string; + appName : string; + appExec : string; + groups : string[]; + isPrivate : boolean; + + } + + class RecentInfo { + createAppInfo(appName: string | undefined | null): AuGIO.AppInfo; + exists(): boolean; + getAdded(): AuGlibEx.DateTime; + getAge(): number; + getApplicationInfo(appName: string, appExec: string, count: number, stamp: AuGlibEx.DateTime): boolean; + getApplications(length ?: number | bigint): string[]; + getDescription(): string; + getDisplayName(): string; + getGicon(): AuGIO.Icon; + getGroups(length ?: number | bigint): string[]; + getMimeType(): string; + getModified(): AuGlibEx.DateTime; + getPrivateHint(): boolean; + getShortName(): string; + getUri(): string; + getUriDisplay(): string; + getVisited(): AuGlibEx.DateTime; + hasApplication(appName: string): boolean; + hasGroup(groupName: string): boolean; + isLocal(): boolean; + lastApplication(): string; + match(infoB: AuGTK.RecentInfo): boolean; + ref(): AuGTK.RecentInfo; + unref(): void; + } + + class RecentManagerClass { + parentClass : GObject.ObjectClass; + changed : (manager: AuGTK.RecentManager) => void; + gtkRecent1 : void; + gtkRecent2 : void; + gtkRecent3 : void; + gtkRecent4 : void; + + } + + class RecentManagerPrivate { + } + + class RequestedSize { + data : void; + minimumSize : number; + naturalSize : number; + + } + + class Requisition { + width : number; + height : number; + + static New(): AuGTK.Requisition; + copy(): AuGTK.Requisition; + free(): void; + } + + class RootInterface { + } + + class ScaleButtonClass { + parentClass : AuGTK.WidgetClass; + valueChanged : (button: AuGTK.ScaleButton, value: number) => void; + + } + + class ScaleClass { + parentClass : AuGTK.RangeClass; + getLayoutOffsets : (scale: AuGTK.Scale, x ?: number, y ?: number) => void; + + } + + class ScrollableInterface { + baseIface : GObject.TypeInterface; + getBorder : (scrollable: AuGTK.Scrollable, border: AuGTK.Border) => boolean; + + } + + class SelectionFilterModelClass { + parentClass : GObject.ObjectClass; + + } + + class SelectionModelInterface { + gIface : GObject.TypeInterface; + isSelected : (model: AuGTK.SelectionModel, position: number) => boolean; + getSelectionInRange : (model: AuGTK.SelectionModel, position: number, nItems: number) => AuGTK.Bitset; + selectItem : (model: AuGTK.SelectionModel, position: number, unselectRest: boolean) => boolean; + unselectItem : (model: AuGTK.SelectionModel, position: number) => boolean; + selectRange : (model: AuGTK.SelectionModel, position: number, nItems: number, unselectRest: boolean) => boolean; + unselectRange : (model: AuGTK.SelectionModel, position: number, nItems: number) => boolean; + selectAll : (model: AuGTK.SelectionModel) => boolean; + unselectAll : (model: AuGTK.SelectionModel) => boolean; + setSelection : (model: AuGTK.SelectionModel, selected: AuGTK.Bitset, mask: AuGTK.Bitset) => boolean; + + } + + class ShortcutActionClass { + } + + class ShortcutClass { + parentClass : GObject.ObjectClass; + + } + + class ShortcutControllerClass { + } + + class ShortcutLabelClass { + } + + class ShortcutManagerInterface { + gIface : GObject.TypeInterface; + addController : (self: AuGTK.ShortcutManager, controller: AuGTK.ShortcutController) => void; + removeController : (self: AuGTK.ShortcutManager, controller: AuGTK.ShortcutController) => void; + + } + + class ShortcutTriggerClass { + } + + class ShortcutsGroupClass { + } + + class ShortcutsSectionClass { + } + + class ShortcutsShortcutClass { + } + + class SignalActionClass { + } + + class SignalListItemFactoryClass { + } + + class SingleSelectionClass { + parentClass : GObject.ObjectClass; + + } + + class SliceListModelClass { + parentClass : GObject.ObjectClass; + + } + + class SnapshotClass { + } + + class SortListModelClass { + parentClass : GObject.ObjectClass; + + } + + class SorterClass { + parentClass : GObject.ObjectClass; + compare : (self: AuGTK.Sorter, item1: GObject.Object | undefined | null, item2: GObject.Object | undefined | null) => AuGTK.Ordering; + getOrder : (self: AuGTK.Sorter) => AuGTK.SorterOrder; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + gtkReserved5 : void; + gtkReserved6 : void; + gtkReserved7 : void; + gtkReserved8 : void; + + } + + class StringFilterClass { + parentClass : AuGTK.FilterClass; + + } + + class StringListClass { + parentClass : GObject.ObjectClass; + + } + + class StringObjectClass { + parentClass : GObject.ObjectClass; + + } + + class StringSorterClass { + parentClass : AuGTK.SorterClass; + + } + + class StyleContextClass { + parentClass : GObject.ObjectClass; + changed : (context: AuGTK.StyleContext) => void; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + + } + + class SymbolicPaintableInterface { + gIface : GObject.TypeInterface; + snapshotSymbolic : (paintable: AuGTK.SymbolicPaintable, snapshot: AuGDK.Snapshot, width: number, height: number, colors: AuGDK.RGBA[], nColors: number | bigint) => void; + + } + + class TextBufferClass { + parentClass : GObject.ObjectClass; + insertText : (buffer: AuGTK.TextBuffer, pos: AuGTK.TextIter, newText: string, newTextLength: number) => void; + insertPaintable : (buffer: AuGTK.TextBuffer, iter: AuGTK.TextIter, paintable: AuGDK.Paintable) => void; + insertChildAnchor : (buffer: AuGTK.TextBuffer, iter: AuGTK.TextIter, anchor: AuGTK.TextChildAnchor) => void; + deleteRange : (buffer: AuGTK.TextBuffer, start: AuGTK.TextIter, end: AuGTK.TextIter) => void; + changed : (buffer: AuGTK.TextBuffer) => void; + modifiedChanged : (buffer: AuGTK.TextBuffer) => void; + markSet : (buffer: AuGTK.TextBuffer, location: AuGTK.TextIter, mark: AuGTK.TextMark) => void; + markDeleted : (buffer: AuGTK.TextBuffer, mark: AuGTK.TextMark) => void; + applyTag : (buffer: AuGTK.TextBuffer, tag: AuGTK.TextTag, start: AuGTK.TextIter, end: AuGTK.TextIter) => void; + removeTag : (buffer: AuGTK.TextBuffer, tag: AuGTK.TextTag, start: AuGTK.TextIter, end: AuGTK.TextIter) => void; + beginUserAction : (buffer: AuGTK.TextBuffer) => void; + endUserAction : (buffer: AuGTK.TextBuffer) => void; + pasteDone : (buffer: AuGTK.TextBuffer, clipboard: AuGDK.Clipboard) => void; + undo : (buffer: AuGTK.TextBuffer) => void; + redo : (buffer: AuGTK.TextBuffer) => void; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + + } + + class TextBufferPrivate { + } + + class TextChildAnchorClass { + parentClass : GObject.ObjectClass; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + + } + + class TextIter { + dummy1 : void; + dummy2 : void; + dummy3 : number; + dummy4 : number; + dummy5 : number; + dummy6 : number; + dummy7 : number; + dummy8 : number; + dummy9 : void; + dummy10 : void; + dummy11 : number; + dummy12 : number; + dummy13 : number; + dummy14 : void; + + assign(other: AuGTK.TextIter): void; + backwardChar(): boolean; + backwardChars(count: number): boolean; + backwardCursorPosition(): boolean; + backwardCursorPositions(count: number): boolean; + backwardFindChar(pred: (ch: string) => boolean, limit: AuGTK.TextIter | undefined | null): boolean; + backwardLine(): boolean; + backwardLines(count: number): boolean; + backwardSearch(str: string, flags: AuGTK.TextSearchFlags, matchStart ?: AuGTK.TextIter, matchEnd ?: AuGTK.TextIter, limit ?: AuGTK.TextIter | undefined | null): boolean; + backwardSentenceStart(): boolean; + backwardSentenceStarts(count: number): boolean; + backwardToTagToggle(tag: AuGTK.TextTag | undefined | null): boolean; + backwardVisibleCursorPosition(): boolean; + backwardVisibleCursorPositions(count: number): boolean; + backwardVisibleLine(): boolean; + backwardVisibleLines(count: number): boolean; + backwardVisibleWordStart(): boolean; + backwardVisibleWordStarts(count: number): boolean; + backwardWordStart(): boolean; + backwardWordStarts(count: number): boolean; + canInsert(defaultEditability: boolean): boolean; + compare(rhs: AuGTK.TextIter): number; + copy(): AuGTK.TextIter; + editable(defaultSetting: boolean): boolean; + endsLine(): boolean; + endsSentence(): boolean; + endsTag(tag: AuGTK.TextTag | undefined | null): boolean; + endsWord(): boolean; + equal(rhs: AuGTK.TextIter): boolean; + forwardChar(): boolean; + forwardChars(count: number): boolean; + forwardCursorPosition(): boolean; + forwardCursorPositions(count: number): boolean; + forwardFindChar(pred: (ch: string) => boolean, limit: AuGTK.TextIter | undefined | null): boolean; + forwardLine(): boolean; + forwardLines(count: number): boolean; + forwardSearch(str: string, flags: AuGTK.TextSearchFlags, matchStart ?: AuGTK.TextIter, matchEnd ?: AuGTK.TextIter, limit ?: AuGTK.TextIter | undefined | null): boolean; + forwardSentenceEnd(): boolean; + forwardSentenceEnds(count: number): boolean; + forwardToEnd(): void; + forwardToLineEnd(): boolean; + forwardToTagToggle(tag: AuGTK.TextTag | undefined | null): boolean; + forwardVisibleCursorPosition(): boolean; + forwardVisibleCursorPositions(count: number): boolean; + forwardVisibleLine(): boolean; + forwardVisibleLines(count: number): boolean; + forwardVisibleWordEnd(): boolean; + forwardVisibleWordEnds(count: number): boolean; + forwardWordEnd(): boolean; + forwardWordEnds(count: number): boolean; + free(): void; + getBuffer(): AuGTK.TextBuffer; + getBytesInLine(): number; + getChar(): string; + getCharsInLine(): number; + getChildAnchor(): AuGTK.TextChildAnchor; + getLanguage(): AuPango.Language; + getLine(): number; + getLineIndex(): number; + getLineOffset(): number; + getMarks(): AuGTK.TextMark[]; + getOffset(): number; + getPaintable(): AuGDK.Paintable; + getSlice(end: AuGTK.TextIter): string; + getTags(): AuGTK.TextTag[]; + getText(end: AuGTK.TextIter): string; + getToggledTags(toggledOn: boolean): AuGTK.TextTag[]; + getVisibleLineIndex(): number; + getVisibleLineOffset(): number; + getVisibleSlice(end: AuGTK.TextIter): string; + getVisibleText(end: AuGTK.TextIter): string; + hasTag(tag: AuGTK.TextTag): boolean; + inRange(start: AuGTK.TextIter, end: AuGTK.TextIter): boolean; + insideSentence(): boolean; + insideWord(): boolean; + isCursorPosition(): boolean; + isEnd(): boolean; + isStart(): boolean; + order(second: AuGTK.TextIter): void; + setLine(lineNumber: number): void; + setLineIndex(byteOnLine: number): void; + setLineOffset(charOnLine: number): void; + setOffset(charOffset: number): void; + setVisibleLineIndex(byteOnLine: number): void; + setVisibleLineOffset(charOnLine: number): void; + startsLine(): boolean; + startsSentence(): boolean; + startsTag(tag: AuGTK.TextTag | undefined | null): boolean; + startsWord(): boolean; + togglesTag(tag: AuGTK.TextTag | undefined | null): boolean; + } + + class TextMarkClass { + parentClass : GObject.ObjectClass; + + } + + class TextTagClass { + parentClass : GObject.ObjectClass; + + } + + class TextTagPrivate { + } + + class TextViewClass { + parentClass : AuGTK.WidgetClass; + moveCursor : (textView: AuGTK.TextView, step: AuGTK.MovementStep, count: number, extendSelection: boolean) => void; + setAnchor : (textView: AuGTK.TextView) => void; + insertAtCursor : (textView: AuGTK.TextView, str: string) => void; + deleteFromCursor : (textView: AuGTK.TextView, type: AuGTK.DeleteType, count: number) => void; + backspace : (textView: AuGTK.TextView) => void; + cutClipboard : (textView: AuGTK.TextView) => void; + copyClipboard : (textView: AuGTK.TextView) => void; + pasteClipboard : (textView: AuGTK.TextView) => void; + toggleOverwrite : (textView: AuGTK.TextView) => void; + createBuffer : void; + snapshotLayer : (textView: AuGTK.TextView, layer: AuGTK.TextViewLayer, snapshot: AuGTK.Snapshot) => void; + extendSelection : (textView: AuGTK.TextView, granularity: AuGTK.TextExtendSelection, location: AuGTK.TextIter, start: AuGTK.TextIter, end: AuGTK.TextIter) => boolean; + insertEmoji : (textView: AuGTK.TextView) => void; + + } + + class TextViewPrivate { + } + + class ToggleButtonClass { + parentClass : AuGTK.ButtonClass; + toggled : (toggleButton: AuGTK.ToggleButton) => void; + + } + + class TreeDragDestIface { + gIface : GObject.TypeInterface; + dragDataReceived : (dragDest: AuGTK.TreeDragDest, dest: AuGTK.TreePath, value: GObject.Value) => boolean; + rowDropPossible : (dragDest: AuGTK.TreeDragDest, destPath: AuGTK.TreePath, value: GObject.Value) => boolean; + + } + + class TreeDragSourceIface { + gIface : GObject.TypeInterface; + rowDraggable : (dragSource: AuGTK.TreeDragSource, path: AuGTK.TreePath) => boolean; + dragDataGet : (dragSource: AuGTK.TreeDragSource, path: AuGTK.TreePath) => AuGDK.ContentProvider; + dragDataDelete : (dragSource: AuGTK.TreeDragSource, path: AuGTK.TreePath) => boolean; + + } + + class TreeExpanderClass { + parentClass : AuGTK.WidgetClass; + + } + + class TreeIter { + stamp : number; + userData : void; + userData2 : void; + userData3 : void; + + copy(): AuGTK.TreeIter; + free(): void; + } + + class TreeListModelClass { + parentClass : GObject.ObjectClass; + + } + + class TreeListRowClass { + parentClass : GObject.ObjectClass; + + } + + class TreeListRowSorterClass { + parentClass : AuGTK.SorterClass; + + } + + class TreeModelFilterClass { + parentClass : GObject.ObjectClass; + visible : (self: AuGTK.TreeModelFilter, childModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => boolean; + modify : (self: AuGTK.TreeModelFilter, childModel: AuGTK.TreeModel, iter: AuGTK.TreeIter, value: GObject.Value, column: number) => void; + + } + + class TreeModelFilterPrivate { + } + + class TreeModelIface { + gIface : GObject.TypeInterface; + rowChanged : (treeModel: AuGTK.TreeModel, path: AuGTK.TreePath, iter: AuGTK.TreeIter) => void; + rowInserted : (treeModel: AuGTK.TreeModel, path: AuGTK.TreePath, iter: AuGTK.TreeIter) => void; + rowHasChildToggled : (treeModel: AuGTK.TreeModel, path: AuGTK.TreePath, iter: AuGTK.TreeIter) => void; + rowDeleted : (treeModel: AuGTK.TreeModel, path: AuGTK.TreePath) => void; + rowsReordered : (treeModel: AuGTK.TreeModel, path: AuGTK.TreePath, iter: AuGTK.TreeIter, newOrder: number) => void; + getFlags : (treeModel: AuGTK.TreeModel) => AuGTK.TreeModelFlags; + getNColumns : (treeModel: AuGTK.TreeModel) => number; + getColumnType : (treeModel: AuGTK.TreeModel, index: number) => number; + getIter : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter, path: AuGTK.TreePath) => boolean; + getPath : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => AuGTK.TreePath; + getValue : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter, column: number, value: GObject.Value) => void; + iterNext : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => boolean; + iterPrevious : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => boolean; + iterChildren : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null) => boolean; + iterHasChild : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => boolean; + iterNChildren : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter | undefined | null) => number; + iterNthChild : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null, n: number) => boolean; + iterParent : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter, child: AuGTK.TreeIter) => boolean; + refNode : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void; + unrefNode : (treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void; + + } + + class TreeModelSortClass { + parentClass : GObject.ObjectClass; + + } + + class TreeModelSortPrivate { + } + + class TreePath { + static New(): AuGTK.TreePath; + static NewFirst(): AuGTK.TreePath; + static NewFromIndices(indices: number[], length: number | bigint): AuGTK.TreePath; + static NewFromString(path: string): AuGTK.TreePath; + appendIndex(index: number): void; + compare(b: AuGTK.TreePath): number; + copy(): AuGTK.TreePath; + down(): void; + free(): void; + getDepth(): number; + getIndices(depth ?: number): number[]; + isAncestor(descendant: AuGTK.TreePath): boolean; + isDescendant(ancestor: AuGTK.TreePath): boolean; + next(): void; + prependIndex(index: number): void; + prev(): boolean; + up(): boolean; + } + + class TreeRowReference { + static New(model: AuGTK.TreeModel, path: AuGTK.TreePath): AuGTK.TreeRowReference; + static NewProxy(proxy: GObject.Object, model: AuGTK.TreeModel, path: AuGTK.TreePath): AuGTK.TreeRowReference; + copy(): AuGTK.TreeRowReference; + free(): void; + getModel(): AuGTK.TreeModel; + getPath(): AuGTK.TreePath; + valid(): boolean; + static Deleted(proxy: GObject.Object, path: AuGTK.TreePath): void; + static Inserted(proxy: GObject.Object, path: AuGTK.TreePath): void; + } + + class TreeSortableIface { + gIface : GObject.TypeInterface; + sortColumnChanged : (sortable: AuGTK.TreeSortable) => void; + getSortColumnId : (sortable: AuGTK.TreeSortable, sortColumnId: number, order: AuGTK.SortType) => boolean; + setSortColumnId : (sortable: AuGTK.TreeSortable, sortColumnId: number, order: AuGTK.SortType) => void; + setSortFunc : (sortable: AuGTK.TreeSortable, sortColumnId: number, sortFunc: (model: AuGTK.TreeModel, a: AuGTK.TreeIter, b: AuGTK.TreeIter) => number, destroy: () => void | undefined | null) => void; + setDefaultSortFunc : (sortable: AuGTK.TreeSortable, sortFunc: (model: AuGTK.TreeModel, a: AuGTK.TreeIter, b: AuGTK.TreeIter) => number, destroy: () => void | undefined | null) => void; + hasDefaultSortFunc : (sortable: AuGTK.TreeSortable) => boolean; + + } + + class TreeStoreClass { + parentClass : GObject.ObjectClass; + + } + + class TreeStorePrivate { + } + + class TreeViewClass { + parentClass : AuGTK.WidgetClass; + rowActivated : (treeView: AuGTK.TreeView, path: AuGTK.TreePath, column: AuGTK.TreeViewColumn | undefined | null) => void; + testExpandRow : (treeView: AuGTK.TreeView, iter: AuGTK.TreeIter, path: AuGTK.TreePath) => boolean; + testCollapseRow : (treeView: AuGTK.TreeView, iter: AuGTK.TreeIter, path: AuGTK.TreePath) => boolean; + rowExpanded : (treeView: AuGTK.TreeView, iter: AuGTK.TreeIter, path: AuGTK.TreePath) => void; + rowCollapsed : (treeView: AuGTK.TreeView, iter: AuGTK.TreeIter, path: AuGTK.TreePath) => void; + columnsChanged : (treeView: AuGTK.TreeView) => void; + cursorChanged : (treeView: AuGTK.TreeView) => void; + moveCursor : (treeView: AuGTK.TreeView, step: AuGTK.MovementStep, count: number, extend: boolean, modify: boolean) => boolean; + selectAll : (treeView: AuGTK.TreeView) => boolean; + unselectAll : (treeView: AuGTK.TreeView) => boolean; + selectCursorRow : (treeView: AuGTK.TreeView, startEditing: boolean) => boolean; + toggleCursorRow : (treeView: AuGTK.TreeView) => boolean; + expandCollapseCursorRow : (treeView: AuGTK.TreeView, logical: boolean, expand: boolean, openAll: boolean) => boolean; + selectCursorParent : (treeView: AuGTK.TreeView) => boolean; + startInteractiveSearch : (treeView: AuGTK.TreeView) => boolean; + + } + + class UriLauncherClass { + parentClass : GObject.ObjectClass; + + } + + class VideoClass { + parentClass : AuGTK.WidgetClass; + + } + + class WidgetClass { + parentClass : GObject.InitiallyUnownedClass; + show : (widget: AuGTK.Widget) => void; + hide : (widget: AuGTK.Widget) => void; + map : (widget: AuGTK.Widget) => void; + unmap : (widget: AuGTK.Widget) => void; + realize : (widget: AuGTK.Widget) => void; + unrealize : (widget: AuGTK.Widget) => void; + root : (widget: AuGTK.Widget) => void; + unroot : (widget: AuGTK.Widget) => void; + sizeAllocate : (widget: AuGTK.Widget, width: number, height: number, baseline: number) => void; + stateFlagsChanged : (widget: AuGTK.Widget, previousStateFlags: AuGTK.StateFlags) => void; + directionChanged : (widget: AuGTK.Widget, previousDirection: AuGTK.TextDirection) => void; + getRequestMode : (widget: AuGTK.Widget) => AuGTK.SizeRequestMode; + measure : (widget: AuGTK.Widget, orientation: AuGTK.Orientation, forSize: number, minimum ?: number, natural ?: number, minimumBaseline ?: number, naturalBaseline ?: number) => void; + mnemonicActivate : (widget: AuGTK.Widget, groupCycling: boolean) => boolean; + grabFocus : (widget: AuGTK.Widget) => boolean; + focus : (widget: AuGTK.Widget, direction: AuGTK.DirectionType) => boolean; + setFocusChild : (widget: AuGTK.Widget, child: AuGTK.Widget | undefined | null) => void; + moveFocus : (widget: AuGTK.Widget, direction: AuGTK.DirectionType) => void; + keynavFailed : (widget: AuGTK.Widget, direction: AuGTK.DirectionType) => boolean; + queryTooltip : (widget: AuGTK.Widget, x: number, y: number, keyboardTooltip: boolean, tooltip: AuGTK.Tooltip) => boolean; + computeExpand : (widget: AuGTK.Widget, hexpandP: boolean, vexpandP: boolean) => void; + cssChanged : (widget: AuGTK.Widget, change: AuGTK.CssStyleChange) => void; + systemSettingChanged : (widget: AuGTK.Widget, settings: AuGTK.SystemSetting) => void; + snapshot : (widget: AuGTK.Widget, snapshot: AuGTK.Snapshot) => void; + contains : (widget: AuGTK.Widget, x: number, y: number) => boolean; + priv : AuGTK.WidgetClassPrivate; + + addShortcut(shortcut: AuGTK.Shortcut): void; + bindTemplateCallbackFull(callbackName: string, callbackSymbol: () => void): void; + bindTemplateChildFull(name: string, internalChild: boolean, structOffset: number | bigint): void; + getAccessibleRole(): AuGTK.AccessibleRole; + getActivateSignal(): number; + getCssName(): string; + getLayoutManagerType(): number; + installAction(actionName: string, parameterType: string | undefined | null, activate: (widget: AuGTK.Widget, actionName: string, parameter: AuGlibEx.Variant | undefined | null) => void): void; + installPropertyAction(actionName: string, propertyName: string): void; + queryAction(index: number, owner: number, actionName: string, parameterType: AuGlibEx.VariantType | undefined | null, propertyName: string | undefined | null): boolean; + setAccessibleRole(accessibleRole: AuGTK.AccessibleRole): void; + setActivateSignal(signalId: number): void; + setActivateSignalFromName(signalName: string): void; + setCssName(name: string): void; + setLayoutManagerType(type: number): void; + setTemplate(templateBytes: AuGlibEx.Bytes): void; + setTemplateFromResource(resourceName: string): void; + setTemplateScope(scope: AuGTK.BuilderScope): void; + } + + class WidgetClassPrivate { + } + + class WidgetPaintableClass { + parentClass : GObject.ObjectClass; + + } + + class WidgetPrivate { + } + + class WindowClass { + parentClass : AuGTK.WidgetClass; + activateFocus : (window: AuGTK.Window) => void; + activateDefault : (window: AuGTK.Window) => void; + keysChanged : (window: AuGTK.Window) => void; + enableDebugging : (window: AuGTK.Window, toggle: boolean) => boolean; + closeRequest : (window: AuGTK.Window) => boolean; + + } + + class WindowControlsClass { + parentClass : AuGTK.WidgetClass; + + } + + class WindowGroupClass { + parentClass : GObject.ObjectClass; + gtkReserved1 : void; + gtkReserved2 : void; + gtkReserved3 : void; + gtkReserved4 : void; + + } + + class WindowGroupPrivate { + } + + class WindowHandleClass { + parentClass : AuGTK.WidgetClass; + + } + + + class ATContext extends GObject.Object { + constructor(initializerList ?: ATContextCtor); + + accessible : AuGTK.Accessible; + accessibleRole : AuGTK.AccessibleRole; + display : AuGDK.Display; + + static Create(accessibleRole: AuGTK.AccessibleRole, accessible: AuGTK.Accessible, display: AuGDK.Display): AuGTK.ATContext; + getAccessible(): AuGTK.Accessible; + getAccessibleRole(): AuGTK.AccessibleRole; + //TypeScript is complete garbage: + } + + class ATContextCtor { + accessibleRole ?: AuGTK.AccessibleRole; + accessible ?: AuGTK.Accessible; + display ?: AuGDK.Display; + } + + class ATContextEventListener extends AuGlibEx.IEventListener { + stateChange(): void; + } + + class AboutDialog extends AuGTK.Window implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: AboutDialogCtor); + + artists : string[]; + authors : string[]; + comments : string; + copyright : string; + documenters : string[]; + license : string; + licenseType : AuGTK.License; + logo : AuGDK.Paintable; + logoIconName : string; + programName : string; + systemInformation : string; + translatorCredits : string; + version : string; + website : string; + websiteLabel : string; + wrapLicense : boolean; + + addCreditSection(sectionName: string, people: string[]): void; + getArtists(): string[]; + getAuthors(): string[]; + getComments(): string; + getCopyright(): string; + getDocumenters(): string[]; + getLicense(): string; + getLicenseType(): AuGTK.License; + getLogo(): AuGDK.Paintable; + getLogoIconName(): string; + getProgramName(): string; + getSystemInformation(): string; + getTranslatorCredits(): string; + getVersion(): string; + getWebsite(): string; + getWebsiteLabel(): string; + getWrapLicense(): boolean; + setArtists(artists: string[]): void; + setAuthors(authors: string[]): void; + setComments(comments: string | undefined | null): void; + setCopyright(copyright: string | undefined | null): void; + setDocumenters(documenters: string[]): void; + setLicense(license: string | undefined | null): void; + setLicenseType(licenseType: AuGTK.License): void; + setLogo(logo: AuGDK.Paintable | undefined | null): void; + setLogoIconName(iconName: string | undefined | null): void; + setProgramName(name: string | undefined | null): void; + setSystemInformation(systemInformation: string | undefined | null): void; + setTranslatorCredits(translatorCredits: string | undefined | null): void; + setVersion(version: string | undefined | null): void; + setWebsite(website: string | undefined | null): void; + setWebsiteLabel(websiteLabel: string): void; + setWrapLicense(wrapLicense: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class AboutDialogCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + programName ?: string; + version ?: string; + copyright ?: string; + comments ?: string; + website ?: string; + websiteLabel ?: string; + license ?: string; + systemInformation ?: string; + authors ?: any; + documenters ?: any; + translatorCredits ?: string; + artists ?: any; + logo ?: AuGDK.Paintable; + logoIconName ?: string; + wrapLicense ?: boolean; + licenseType ?: AuGTK.License; + } + + class AboutDialogEventListener extends AuGlibEx.IEventListener { + activateLink(uri: string): boolean; + } + + class ActionBar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ActionBarCtor); + + revealed : boolean; + + static New(): AuGTK.Widget; + getCenterWidget(): AuGTK.Widget; + getRevealed(): boolean; + packEnd(child: AuGTK.Widget): void; + packStart(child: AuGTK.Widget): void; + remove(child: AuGTK.Widget): void; + setCenterWidget(centerWidget: AuGTK.Widget | undefined | null): void; + setRevealed(revealed: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class ActionBarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + revealed ?: boolean; + } + + class ActivateAction extends AuGTK.ShortcutAction { + constructor(initializerList ?: ActivateActionCtor); + + static Get(): AuGTK.ActivateAction; + //TypeScript is complete garbage: + } + + class ActivateActionCtor { + } + + class Adjustment extends GObject.InitiallyUnowned { + constructor(initializerList ?: AdjustmentCtor); + + parentInstance : GObject.InitiallyUnowned; + + lower : number; + pageIncrement : number; + pageSize : number; + stepIncrement : number; + upper : number; + value : number; + + static New(value: number, lower: number, upper: number, stepIncrement: number, pageIncrement: number, pageSize: number): AuGTK.Adjustment; + clampPage(lower: number, upper: number): void; + configure(value: number, lower: number, upper: number, stepIncrement: number, pageIncrement: number, pageSize: number): void; + getLower(): number; + getMinimumIncrement(): number; + getPageIncrement(): number; + getPageSize(): number; + getStepIncrement(): number; + getUpper(): number; + getValue(): number; + setLower(lower: number): void; + setPageIncrement(pageIncrement: number): void; + setPageSize(pageSize: number): void; + setStepIncrement(stepIncrement: number): void; + setUpper(upper: number): void; + setValue(value: number): void; + //TypeScript is complete garbage: + } + + class AdjustmentCtor { + value ?: number; + lower ?: number; + upper ?: number; + stepIncrement ?: number; + pageIncrement ?: number; + pageSize ?: number; + } + + class AdjustmentEventListener extends AuGlibEx.IEventListener { + changed(): void; + valueChanged(): void; + } + + class AlertDialog extends GObject.Object { + constructor(initializerList ?: AlertDialogCtor); + + buttons : string[]; + cancelButton : number; + defaultButton : number; + detail : string; + message : string; + modal : boolean; + + choose(parent: AuGTK.Window | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + chooseFinish(result: AuGIO.AsyncResult): number; + getButtons(): string[]; + getCancelButton(): number; + getDefaultButton(): number; + getDetail(): string; + getMessage(): string; + getModal(): boolean; + setButtons(labels: string[]): void; + setCancelButton(button: number): void; + setDefaultButton(button: number): void; + setDetail(detail: string): void; + setMessage(message: string): void; + setModal(modal: boolean): void; + show(parent: AuGTK.Window | undefined | null): void; + //TypeScript is complete garbage: + } + + class AlertDialogCtor { + modal ?: boolean; + message ?: string; + detail ?: string; + buttons ?: any; + cancelButton ?: number; + defaultButton ?: number; + } + + class AlternativeTrigger extends AuGTK.ShortcutTrigger { + constructor(initializerList ?: AlternativeTriggerCtor); + + first : AuGTK.ShortcutTrigger; + second : AuGTK.ShortcutTrigger; + + static New(first: AuGTK.ShortcutTrigger, second: AuGTK.ShortcutTrigger): AuGTK.ShortcutTrigger; + getFirst(): AuGTK.ShortcutTrigger; + getSecond(): AuGTK.ShortcutTrigger; + //TypeScript is complete garbage: + } + + class AlternativeTriggerCtor { + first ?: AuGTK.ShortcutTrigger; + second ?: AuGTK.ShortcutTrigger; + } + + class AnyFilter extends AuGTK.MultiFilter implements AuGIO.ListModel, AuGTK.Buildable { + constructor(initializerList ?: AnyFilterCtor); + + static New(): AuGTK.AnyFilter; + //TypeScript is complete garbage: + } + + class AnyFilterCtor { + itemType ?: any; + nItems ?: number; + } + + class AppChooserButton extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.AppChooser, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: AppChooserButtonCtor); + + heading : string; + modal : boolean; + showDefaultItem : boolean; + showDialogItem : boolean; + + static New(contentType: string): AuGTK.Widget; + appendCustomItem(name: string, label: string, icon: AuGIO.Icon): void; + appendSeparator(): void; + getHeading(): string; + getModal(): boolean; + getShowDefaultItem(): boolean; + getShowDialogItem(): boolean; + setActiveCustomItem(name: string): void; + setHeading(heading: string): void; + setModal(modal: boolean): void; + setShowDefaultItem(setting: boolean): void; + setShowDialogItem(setting: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + contentType : string; + + getAppInfo(): AuGIO.AppInfo; + getContentType(): string; + refresh(): void; + } + + class AppChooserButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + contentType ?: string; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + showDialogItem ?: boolean; + showDefaultItem ?: boolean; + heading ?: string; + modal ?: boolean; + } + + class AppChooserButtonEventListener extends AuGlibEx.IEventListener { + activate(): void; + changed(): void; + customItemActivated(itemName: string): void; + } + + class AppChooserDialog extends AuGTK.Dialog implements AuGTK.Accessible, AuGTK.AppChooser, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: AppChooserDialogCtor); + + gfile : AuGIO.File; + heading : string; + + static NewForContentType(parent: AuGTK.Window | undefined | null, flags: AuGTK.DialogFlags, contentType: string): AuGTK.Widget; + getHeading(): string; + getWidget(): AuGTK.Widget; + setHeading(heading: string): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + contentType : string; + + getAppInfo(): AuGIO.AppInfo; + getContentType(): string; + refresh(): void; + } + + class AppChooserDialogCtor { + accessibleRole ?: AuGTK.AccessibleRole; + contentType ?: string; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + useHeaderBar ?: number; + gfile ?: AuGIO.File; + heading ?: string; + } + + class AppChooserWidget extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.AppChooser, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: AppChooserWidgetCtor); + + defaultText : string; + showAll : boolean; + showDefault : boolean; + showFallback : boolean; + showOther : boolean; + showRecommended : boolean; + + static New(contentType: string): AuGTK.Widget; + getDefaultText(): string; + getShowAll(): boolean; + getShowDefault(): boolean; + getShowFallback(): boolean; + getShowOther(): boolean; + getShowRecommended(): boolean; + setDefaultText(text: string): void; + setShowAll(setting: boolean): void; + setShowDefault(setting: boolean): void; + setShowFallback(setting: boolean): void; + setShowOther(setting: boolean): void; + setShowRecommended(setting: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + contentType : string; + + getAppInfo(): AuGIO.AppInfo; + getContentType(): string; + refresh(): void; + } + + class AppChooserWidgetCtor { + accessibleRole ?: AuGTK.AccessibleRole; + contentType ?: string; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + showDefault ?: boolean; + showRecommended ?: boolean; + showFallback ?: boolean; + showOther ?: boolean; + showAll ?: boolean; + defaultText ?: string; + } + + class AppChooserWidgetEventListener extends AuGlibEx.IEventListener { + applicationActivated(application: AuGIO.AppInfo): void; + applicationSelected(application: AuGIO.AppInfo): void; + } + + class Application extends AuGIO.Application implements AuGIO.ActionGroup, AuGIO.ActionMap { + constructor(initializerList ?: ApplicationCtor); + + parentInstance : AuGIO.Application; + + activeWindow : AuGTK.Window; + menubar : AuGIO.MenuModel; + registerSession : boolean; + screensaverActive : boolean; + + addWindow(window: AuGTK.Window): void; + getAccelsForAction(detailedActionName: string): string[]; + getActionsForAccel(accel: string): string[]; + getActiveWindow(): AuGTK.Window; + getMenuById(id: string): AuGIO.Menu; + getMenubar(): AuGIO.MenuModel; + getWindowById(id: number): AuGTK.Window; + getWindows(): AuGTK.Window[]; + inhibit(window: AuGTK.Window | undefined | null, flags: AuGTK.ApplicationInhibitFlags, reason: string | undefined | null): number; + listActionDescriptions(): string[]; + removeWindow(window: AuGTK.Window): void; + setAccelsForAction(detailedActionName: string, accels: string[]): void; + setMenubar(menubar: AuGIO.MenuModel | undefined | null): void; + uninhibit(cookie: number): void; + start(): void; + stop(): void; + //TypeScript is complete garbage: + } + + class ApplicationCtor { + applicationId ?: string; + flags ?: AuGIO.ApplicationFlags; + resourceBasePath ?: string; + isRegistered ?: boolean; + isRemote ?: boolean; + inactivityTimeout ?: number; + actionGroup ?: AuGIO.ActionGroup; + isBusy ?: boolean; + registerSession ?: boolean; + screensaverActive ?: boolean; + menubar ?: AuGIO.MenuModel; + activeWindow ?: AuGTK.Window; + } + + class ApplicationEventListener extends AuGlibEx.IEventListener { + queryEnd(): void; + windowAdded(window: AuGTK.Window): void; + windowRemoved(window: AuGTK.Window): void; + } + + class ApplicationWindow extends AuGTK.Window implements AuGIO.ActionGroup, AuGIO.ActionMap, AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: ApplicationWindowCtor); + + parentInstance : AuGTK.Window; + + showMenubar : boolean; + + getHelpOverlay(): AuGTK.ShortcutsWindow; + getId(): number; + getShowMenubar(): boolean; + setHelpOverlay(helpOverlay: AuGTK.ShortcutsWindow | undefined | null): void; + setShowMenubar(showMenubar: boolean): void; + //TypeScript is complete garbage: + actionAdded(actionName: string): void; + actionEnabledChanged(actionName: string, enabled: boolean): void; + actionRemoved(actionName: string): void; + actionStateChanged(actionName: string, state: AuGlibEx.Variant): void; + changeActionState(actionName: string, value: AuGlibEx.Variant): void; + getActionEnabled(actionName: string): boolean; + getActionParameterType(actionName: string): AuGlibEx.VariantType; + getActionState(actionName: string): AuGlibEx.Variant; + getActionStateHint(actionName: string): AuGlibEx.Variant; + getActionStateType(actionName: string): AuGlibEx.VariantType; + hasAction(actionName: string): boolean; + listActions(): string[]; + queryAction(actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant): boolean; + addAction(action: AuGIO.Action): void; + addActionEntries(entries: AuGIO.ActionEntry[], nEntries: number): void; + lookupAction(actionName: string): AuGIO.Action; + removeAction(actionName: string): void; + accessibleRole : AuGTK.AccessibleRole; + + } + + class ApplicationWindowCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + showMenubar ?: boolean; + } + + class AspectFrame extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: AspectFrameCtor); + + child : AuGTK.Widget; + obeyChild : boolean; + ratio : number; + XAlign : number; + YAlign : number; + + static New(XAlign: number, YAlign: number, ratio: number, obeyChild: boolean): AuGTK.Widget; + getChild(): AuGTK.Widget; + getObeyChild(): boolean; + getRatio(): number; + getXAlign(): number; + getYAlign(): number; + setChild(child: AuGTK.Widget | undefined | null): void; + setObeyChild(obeyChild: boolean): void; + setRatio(ratio: number): void; + setXAlign(XAlign: number): void; + setYAlign(YAlign: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class AspectFrameCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + XAlign ?: number; + YAlign ?: number; + ratio ?: number; + obeyChild ?: boolean; + child ?: AuGTK.Widget; + } + + class Assistant extends AuGTK.Window implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: AssistantCtor); + + pages : AuGIO.ListModel; + useHeaderBar : number; + + addActionWidget(child: AuGTK.Widget): void; + appendPage(page: AuGTK.Widget): number; + commit(): void; + getCurrentPage(): number; + getNPages(): number; + getNthPage(pageNum: number): AuGTK.Widget; + getPage(child: AuGTK.Widget): AuGTK.AssistantPage; + getPageComplete(page: AuGTK.Widget): boolean; + getPageTitle(page: AuGTK.Widget): string; + getPageType(page: AuGTK.Widget): AuGTK.AssistantPageType; + getPages(): AuGIO.ListModel; + insertPage(page: AuGTK.Widget, position: number): number; + nextPage(): void; + prependPage(page: AuGTK.Widget): number; + previousPage(): void; + removeActionWidget(child: AuGTK.Widget): void; + removePage(pageNum: number): void; + setCurrentPage(pageNum: number): void; + setForwardPageFunc(pageFunc: (currentPage: number) => number | undefined | null, destroy: () => void): void; + setPageComplete(page: AuGTK.Widget, complete: boolean): void; + setPageTitle(page: AuGTK.Widget, title: string): void; + setPageType(page: AuGTK.Widget, type: AuGTK.AssistantPageType): void; + updateButtonsState(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class AssistantCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + useHeaderBar ?: number; + pages ?: AuGIO.ListModel; + } + + class AssistantEventListener extends AuGlibEx.IEventListener { + apply(): void; + cancel(): void; + close(): void; + escape(): void; + prepare(page: AuGTK.Widget): void; + } + + class AssistantPage extends GObject.Object { + constructor(initializerList ?: AssistantPageCtor); + + child : AuGTK.Widget; + complete : boolean; + pageType : AuGTK.AssistantPageType; + title : string; + + getChild(): AuGTK.Widget; + //TypeScript is complete garbage: + } + + class AssistantPageCtor { + child ?: AuGTK.Widget; + pageType ?: AuGTK.AssistantPageType; + title ?: string; + complete ?: boolean; + } + + class BinLayout extends AuGTK.LayoutManager { + constructor(initializerList ?: BinLayoutCtor); + + static New(): AuGTK.LayoutManager; + //TypeScript is complete garbage: + } + + class BinLayoutCtor { + } + + class BookmarkList extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: BookmarkListCtor); + + attributes : string; + filename : string; + ioPriority : number; + itemType : number; + loading : boolean; + nItems : number; + + static New(filename: string | undefined | null, attributes: string | undefined | null): AuGTK.BookmarkList; + getAttributes(): string; + getFilename(): string; + getIoPriority(): number; + isLoading(): boolean; + setAttributes(attributes: string | undefined | null): void; + setIoPriority(ioPriority: number): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class BookmarkListCtor { + filename ?: string; + attributes ?: string; + ioPriority ?: number; + itemType ?: any; + loading ?: boolean; + nItems ?: number; + } + + class BoolFilter extends AuGTK.Filter { + constructor(initializerList ?: BoolFilterCtor); + + expression : AuGTK.Expression; + invert : boolean; + + static New(expression: AuGTK.Expression | undefined | null): AuGTK.BoolFilter; + getExpression(): AuGTK.Expression; + getInvert(): boolean; + setExpression(expression: AuGTK.Expression | undefined | null): void; + setInvert(invert: boolean): void; + //TypeScript is complete garbage: + } + + class BoolFilterCtor { + expression ?: AuGTK.Expression; + invert ?: boolean; + } + + class Box extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: BoxCtor); + + parentInstance : AuGTK.Widget; + + baselinePosition : AuGTK.BaselinePosition; + homogeneous : boolean; + spacing : number; + + static New(orientation: AuGTK.Orientation, spacing: number): AuGTK.Widget; + append(child: AuGTK.Widget): void; + getBaselinePosition(): AuGTK.BaselinePosition; + getHomogeneous(): boolean; + getSpacing(): number; + insertChildAfter(child: AuGTK.Widget, sibling: AuGTK.Widget | undefined | null): void; + prepend(child: AuGTK.Widget): void; + remove(child: AuGTK.Widget): void; + reorderChildAfter(child: AuGTK.Widget, sibling: AuGTK.Widget | undefined | null): void; + setBaselinePosition(position: AuGTK.BaselinePosition): void; + setHomogeneous(homogeneous: boolean): void; + setSpacing(spacing: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class BoxCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + spacing ?: number; + homogeneous ?: boolean; + baselinePosition ?: AuGTK.BaselinePosition; + } + + class BoxLayout extends AuGTK.LayoutManager implements AuGTK.Orientable { + constructor(initializerList ?: BoxLayoutCtor); + + baselinePosition : AuGTK.BaselinePosition; + homogeneous : boolean; + spacing : number; + + static New(orientation: AuGTK.Orientation): AuGTK.LayoutManager; + getBaselinePosition(): AuGTK.BaselinePosition; + getHomogeneous(): boolean; + getSpacing(): number; + setBaselinePosition(position: AuGTK.BaselinePosition): void; + setHomogeneous(homogeneous: boolean): void; + setSpacing(spacing: number): void; + //TypeScript is complete garbage: + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class BoxLayoutCtor { + orientation ?: AuGTK.Orientation; + homogeneous ?: boolean; + spacing ?: number; + baselinePosition ?: AuGTK.BaselinePosition; + } + + class Builder extends GObject.Object { + constructor(initializerList ?: BuilderCtor); + + currentObject : GObject.Object; + scope : AuGTK.BuilderScope; + translationDomain : string; + + static New(): AuGTK.Builder; + static NewFromFile(filename: string): AuGTK.Builder; + static NewFromResource(resourcePath: string): AuGTK.Builder; + static NewFromString(string: string, length: number | bigint): AuGTK.Builder; + addFromFile(filename: string): boolean; + addFromResource(resourcePath: string): boolean; + addFromString(buffer: string, length: number | bigint): boolean; + addObjectsFromFile(filename: string, objectIds: string[]): boolean; + addObjectsFromResource(resourcePath: string, objectIds: string[]): boolean; + addObjectsFromString(buffer: string, length: number | bigint, objectIds: string[]): boolean; + createClosure(functionName: string, flags: AuGTK.BuilderClosureFlags, object: GObject.Object | undefined | null): GObject.Closure; + exposeObject(name: string, object: GObject.Object): void; + extendWithTemplate(object: GObject.Object, templateType: number, buffer: string, length: number | bigint): boolean; + getCurrentObject(): GObject.Object; + getObject(name: string): GObject.Object; + getObjects(): GObject.Object[]; + getScope(): AuGTK.BuilderScope; + getTranslationDomain(): string; + getTypeFromName(typeName: string): number; + setCurrentObject(currentObject: GObject.Object | undefined | null): void; + setScope(scope: AuGTK.BuilderScope | undefined | null): void; + setTranslationDomain(domain: string | undefined | null): void; + valueFromString(pspec: GObject.ParamSpec, string: string, value: GObject.Value): boolean; + valueFromStringType(type: number, string: string, value: GObject.Value): boolean; + //TypeScript is complete garbage: + } + + class BuilderCtor { + currentObject ?: GObject.Object; + scope ?: AuGTK.BuilderScope; + translationDomain ?: string; + } + + class BuilderCScope extends GObject.Object implements AuGTK.BuilderScope { + constructor(initializerList ?: BuilderCScopeCtor); + + parentInstance : GObject.Object; + + static New(): AuGTK.BuilderCScope; + addCallbackSymbol(callbackName: string, callbackSymbol: () => void): void; + //TypeScript is complete garbage: + } + + class BuilderCScopeCtor { + } + + class BuilderListItemFactory extends AuGTK.ListItemFactory { + constructor(initializerList ?: BuilderListItemFactoryCtor); + + bytes : AuGlibEx.Bytes; + resource : string; + scope : AuGTK.BuilderScope; + + static NewFromBytes(scope: AuGTK.BuilderScope | undefined | null, bytes: AuGlibEx.Bytes): AuGTK.ListItemFactory; + static NewFromResource(scope: AuGTK.BuilderScope | undefined | null, resourcePath: string): AuGTK.ListItemFactory; + getBytes(): AuGlibEx.Bytes; + getResource(): string; + getScope(): AuGTK.BuilderScope; + //TypeScript is complete garbage: + } + + class BuilderListItemFactoryCtor { + bytes ?: AuGlibEx.Bytes; + resource ?: string; + scope ?: AuGTK.BuilderScope; + } + + class Button extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Actionable, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ButtonCtor); + + parentInstance : AuGTK.Widget; + + child : AuGTK.Widget; + hasFrame : boolean; + iconName : string; + label : string; + useUnderline : boolean; + + static New(): AuGTK.Widget; + static NewFromIconName(iconName: string | undefined | null): AuGTK.Widget; + static NewWithLabel(label: string): AuGTK.Widget; + static NewWithMnemonic(label: string): AuGTK.Widget; + getChild(): AuGTK.Widget; + getHasFrame(): boolean; + getIconName(): string; + getLabel(): string; + getUseUnderline(): boolean; + setChild(child: AuGTK.Widget | undefined | null): void; + setHasFrame(hasFrame: boolean): void; + setIconName(iconName: string): void; + setLabel(label: string): void; + setUseUnderline(useUnderline: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + actionName : string; + actionTarget : AuGlibEx.Variant; + + getActionName(): string; + getActionTargetValue(): AuGlibEx.Variant; + setActionName(actionName: string | undefined | null): void; + setActionTargetValue(targetValue: AuGlibEx.Variant | undefined | null): void; + setDetailedActionName(detailedActionName: string): void; + } + + class ButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + actionName ?: string; + actionTarget ?: any; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + label ?: string; + hasFrame ?: boolean; + useUnderline ?: boolean; + iconName ?: string; + child ?: AuGTK.Widget; + } + + class ButtonEventListener extends AuGlibEx.IEventListener { + activate(): void; + clicked(): void; + } + + class CClosureExpression extends AuGTK.Expression { + constructor(initializerList ?: CClosureExpressionCtor); + + static New(valueType: number, marshal: (closure: GObject.Closure, returnValue: GObject.Value | undefined | null, nParamValues: number, paramValues: GObject.Value[]) => void | undefined | null, nParams: number, params: AuGTK.Expression[], callbackFunc: () => void, userDestroy: (closure: GObject.Closure) => void | undefined | null): AuGTK.CClosureExpression; + //TypeScript is complete garbage: + } + + class CClosureExpressionCtor { + } + + class Calendar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: CalendarCtor); + + day : number; + month : number; + showDayNames : boolean; + showHeading : boolean; + showWeekNumbers : boolean; + YEar : number; + + static New(): AuGTK.Widget; + clearMarks(): void; + getDate(): AuGlibEx.DateTime; + getDayIsMarked(day: number): boolean; + getShowDayNames(): boolean; + getShowHeading(): boolean; + getShowWeekNumbers(): boolean; + markDay(day: number): void; + selectDay(date: AuGlibEx.DateTime): void; + setShowDayNames(value: boolean): void; + setShowHeading(value: boolean): void; + setShowWeekNumbers(value: boolean): void; + unmarkDay(day: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class CalendarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + YEar ?: number; + month ?: number; + day ?: number; + showHeading ?: boolean; + showDayNames ?: boolean; + showWeekNumbers ?: boolean; + } + + class CalendarEventListener extends AuGlibEx.IEventListener { + daySelected(): void; + nextMonth(): void; + nextYEar(): void; + prevMonth(): void; + prevYEar(): void; + } + + class CallbackAction extends AuGTK.ShortcutAction { + constructor(initializerList ?: CallbackActionCtor); + + static New(callback: (widget: AuGTK.Widget, args: AuGlibEx.Variant | undefined | null) => boolean | undefined | null, destroy: () => void): AuGTK.CallbackAction; + //TypeScript is complete garbage: + } + + class CallbackActionCtor { + } + + class CellArea extends GObject.InitiallyUnowned implements AuGTK.Buildable, AuGTK.CellLayout { + constructor(initializerList ?: CellAreaCtor); + + parentInstance : GObject.InitiallyUnowned; + + editWidget : AuGTK.CellEditable; + editedCell : AuGTK.CellRenderer; + focusCell : AuGTK.CellRenderer; + + activate(context: AuGTK.CellAreaContext, widget: AuGTK.Widget, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState, editOnly: boolean): boolean; + activateCell(widget: AuGTK.Widget, renderer: AuGTK.CellRenderer, event: AuGDK.Event, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState): boolean; + add(renderer: AuGTK.CellRenderer): void; + addFocusSibling(renderer: AuGTK.CellRenderer, sibling: AuGTK.CellRenderer): void; + applyAttributes(treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter, isExpander: boolean, isExpanded: boolean): void; + attributeConnect(renderer: AuGTK.CellRenderer, attribute: string, column: number): void; + attributeDisconnect(renderer: AuGTK.CellRenderer, attribute: string): void; + attributeGetColumn(renderer: AuGTK.CellRenderer, attribute: string): number; + cellGetProperty(renderer: AuGTK.CellRenderer, propertyName: string, value: GObject.Value): void; + cellSetProperty(renderer: AuGTK.CellRenderer, propertyName: string, value: GObject.Value): void; + copyContext(context: AuGTK.CellAreaContext): AuGTK.CellAreaContext; + createContext(): AuGTK.CellAreaContext; + event(context: AuGTK.CellAreaContext, widget: AuGTK.Widget, event: AuGDK.Event, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState): number; + focus(direction: AuGTK.DirectionType): boolean; + foreach(callback: (renderer: AuGTK.CellRenderer) => boolean): void; + foreachAlloc(context: AuGTK.CellAreaContext, widget: AuGTK.Widget, cellArea: AuGDK.Rectangle, backgroundArea: AuGDK.Rectangle, callback: (renderer: AuGTK.CellRenderer, cellArea: AuGDK.Rectangle, cellBackground: AuGDK.Rectangle) => boolean): void; + getCellAllocation(context: AuGTK.CellAreaContext, widget: AuGTK.Widget, renderer: AuGTK.CellRenderer, cellArea: AuGDK.Rectangle, allocation: AuGDK.Rectangle): void; + getCellAtPosition(context: AuGTK.CellAreaContext, widget: AuGTK.Widget, cellArea: AuGDK.Rectangle, x: number, y: number, allocArea ?: AuGDK.Rectangle): AuGTK.CellRenderer; + getCurrentPathString(): string; + getEditWidget(): AuGTK.CellEditable; + getEditedCell(): AuGTK.CellRenderer; + getFocusCell(): AuGTK.CellRenderer; + getFocusFromSibling(renderer: AuGTK.CellRenderer): AuGTK.CellRenderer; + getFocusSiblings(renderer: AuGTK.CellRenderer): AuGTK.CellRenderer[]; + getPreferredHeight(context: AuGTK.CellAreaContext, widget: AuGTK.Widget, minimumHeight ?: number, naturalHeight ?: number): void; + getPreferredHeightForWidth(context: AuGTK.CellAreaContext, widget: AuGTK.Widget, width: number, minimumHeight ?: number, naturalHeight ?: number): void; + getPreferredWidth(context: AuGTK.CellAreaContext, widget: AuGTK.Widget, minimumWidth ?: number, naturalWidth ?: number): void; + getPreferredWidthForHeight(context: AuGTK.CellAreaContext, widget: AuGTK.Widget, height: number, minimumWidth ?: number, naturalWidth ?: number): void; + getRequestMode(): AuGTK.SizeRequestMode; + hasRenderer(renderer: AuGTK.CellRenderer): boolean; + innerCellArea(widget: AuGTK.Widget, cellArea: AuGDK.Rectangle, innerArea: AuGDK.Rectangle): void; + isActivatable(): boolean; + isFocusSibling(renderer: AuGTK.CellRenderer, sibling: AuGTK.CellRenderer): boolean; + remove(renderer: AuGTK.CellRenderer): void; + removeFocusSibling(renderer: AuGTK.CellRenderer, sibling: AuGTK.CellRenderer): void; + requestRenderer(renderer: AuGTK.CellRenderer, orientation: AuGTK.Orientation, widget: AuGTK.Widget, forSize: number, minimumSize ?: number, naturalSize ?: number): void; + setFocusCell(renderer: AuGTK.CellRenderer | undefined | null): void; + snapshot(context: AuGTK.CellAreaContext, widget: AuGTK.Widget, snapshot: AuGTK.Snapshot, backgroundArea: AuGDK.Rectangle, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState, paintFocus: boolean): void; + stopEditing(canceled: boolean): void; + //TypeScript is complete garbage: + getBuildableId(): string; + addAttribute(cell: AuGTK.CellRenderer, attribute: string, column: number): void; + clear(): void; + clearAttributes(cell: AuGTK.CellRenderer): void; + getArea(): AuGTK.CellArea; + getCells(): AuGTK.CellRenderer[]; + packEnd(cell: AuGTK.CellRenderer, expand: boolean): void; + packStart(cell: AuGTK.CellRenderer, expand: boolean): void; + reorder(cell: AuGTK.CellRenderer, position: number): void; + setCellDataFunc(cell: AuGTK.CellRenderer, func: (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void | undefined | null, destroy: () => void): void; + } + + class CellAreaCtor { + focusCell ?: AuGTK.CellRenderer; + editedCell ?: AuGTK.CellRenderer; + editWidget ?: AuGTK.CellEditable; + } + + class CellAreaEventListener extends AuGlibEx.IEventListener { + addEditable(renderer: AuGTK.CellRenderer, editable: AuGTK.CellEditable, cellArea: AuGDK.Rectangle, path: string): void; + applyAttributes(model: AuGTK.TreeModel, iter: AuGTK.TreeIter, isExpander: boolean, isExpanded: boolean): void; + focusChanged(renderer: AuGTK.CellRenderer, path: string): void; + removeEditable(renderer: AuGTK.CellRenderer, editable: AuGTK.CellEditable): void; + } + + class CellAreaBox extends AuGTK.CellArea implements AuGTK.Buildable, AuGTK.CellLayout, AuGTK.Orientable { + constructor(initializerList ?: CellAreaBoxCtor); + + spacing : number; + + static New(): AuGTK.CellArea; + getSpacing(): number; + setSpacing(spacing: number): void; + //TypeScript is complete garbage: + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class CellAreaBoxCtor { + orientation ?: AuGTK.Orientation; + focusCell ?: AuGTK.CellRenderer; + editedCell ?: AuGTK.CellRenderer; + editWidget ?: AuGTK.CellEditable; + spacing ?: number; + } + + class CellAreaContext extends GObject.Object { + constructor(initializerList ?: CellAreaContextCtor); + + parentInstance : GObject.Object; + + area : AuGTK.CellArea; + minimumHeight : number; + minimumWidth : number; + naturalHeight : number; + naturalWidth : number; + + allocate(width: number, height: number): void; + getAllocation(width ?: number, height ?: number): void; + getArea(): AuGTK.CellArea; + getPreferredHeight(minimumHeight ?: number, naturalHeight ?: number): void; + getPreferredHeightForWidth(width: number, minimumHeight ?: number, naturalHeight ?: number): void; + getPreferredWidth(minimumWidth ?: number, naturalWidth ?: number): void; + getPreferredWidthForHeight(height: number, minimumWidth ?: number, naturalWidth ?: number): void; + pushPreferredHeight(minimumHeight: number, naturalHeight: number): void; + pushPreferredWidth(minimumWidth: number, naturalWidth: number): void; + reset(): void; + //TypeScript is complete garbage: + } + + class CellAreaContextCtor { + area ?: AuGTK.CellArea; + minimumWidth ?: number; + naturalWidth ?: number; + minimumHeight ?: number; + naturalHeight ?: number; + } + + class CellRenderer extends GObject.InitiallyUnowned { + constructor(initializerList ?: CellRendererCtor); + + parentInstance : GObject.InitiallyUnowned; + priv : AuGTK.CellRendererPrivate; + + cellBackground : string; + cellBackgroundRgba : AuGDK.RGBA; + cellBackgroundSet : boolean; + editing : boolean; + height : number; + isExpanded : boolean; + isExpander : boolean; + mode : AuGTK.CellRendererMode; + sensitive : boolean; + visible : boolean; + width : number; + XAlign : number; + XPad : number; + YAlign : number; + YPad : number; + + activate(event: AuGDK.Event, widget: AuGTK.Widget, path: string, backgroundArea: AuGDK.Rectangle, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState): boolean; + getAlignedArea(widget: AuGTK.Widget, flags: AuGTK.CellRendererState, cellArea: AuGDK.Rectangle, alignedArea: AuGDK.Rectangle): void; + getAlignment(XAlign ?: number, YAlign ?: number): void; + getFixedSize(width ?: number, height ?: number): void; + getIsExpanded(): boolean; + getIsExpander(): boolean; + getPadding(XPad ?: number, YPad ?: number): void; + getPreferredHeight(widget: AuGTK.Widget, minimumSize ?: number, naturalSize ?: number): void; + getPreferredHeightForWidth(widget: AuGTK.Widget, width: number, minimumHeight ?: number, naturalHeight ?: number): void; + getPreferredSize(widget: AuGTK.Widget, minimumSize ?: AuGTK.Requisition, naturalSize ?: AuGTK.Requisition): void; + getPreferredWidth(widget: AuGTK.Widget, minimumSize ?: number, naturalSize ?: number): void; + getPreferredWidthForHeight(widget: AuGTK.Widget, height: number, minimumWidth ?: number, naturalWidth ?: number): void; + getRequestMode(): AuGTK.SizeRequestMode; + getSensitive(): boolean; + getState(widget: AuGTK.Widget | undefined | null, cellState: AuGTK.CellRendererState): AuGTK.StateFlags; + getVisible(): boolean; + isActivatable(): boolean; + setAlignment(XAlign: number, YAlign: number): void; + setFixedSize(width: number, height: number): void; + setIsExpanded(isExpanded: boolean): void; + setIsExpander(isExpander: boolean): void; + setPadding(XPad: number, YPad: number): void; + setSensitive(sensitive: boolean): void; + setVisible(visible: boolean): void; + snapshot(snapshot: AuGTK.Snapshot, widget: AuGTK.Widget, backgroundArea: AuGDK.Rectangle, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState): void; + startEditing(event: AuGDK.Event | undefined | null, widget: AuGTK.Widget, path: string, backgroundArea: AuGDK.Rectangle, cellArea: AuGDK.Rectangle, flags: AuGTK.CellRendererState): AuGTK.CellEditable; + stopEditing(canceled: boolean): void; + //TypeScript is complete garbage: + } + + class CellRendererCtor { + mode ?: AuGTK.CellRendererMode; + visible ?: boolean; + sensitive ?: boolean; + XAlign ?: number; + YAlign ?: number; + XPad ?: number; + YPad ?: number; + width ?: number; + height ?: number; + isExpander ?: boolean; + isExpanded ?: boolean; + cellBackground ?: string; + cellBackgroundRgba ?: AuGDK.RGBA; + cellBackgroundSet ?: boolean; + editing ?: boolean; + } + + class CellRendererEventListener extends AuGlibEx.IEventListener { + editingCanceled(): void; + editingStarted(editable: AuGTK.CellEditable, path: string): void; + } + + class CellRendererAccel extends AuGTK.CellRendererText { + constructor(initializerList ?: CellRendererAccelCtor); + + accelKey : number; + accelMode : AuGTK.CellRendererAccelMode; + accelMods : AuGDK.ModifierType; + keycode : number; + + //TypeScript is complete garbage: + } + + class CellRendererAccelCtor { + mode ?: AuGTK.CellRendererMode; + visible ?: boolean; + sensitive ?: boolean; + XAlign ?: number; + YAlign ?: number; + XPad ?: number; + YPad ?: number; + width ?: number; + height ?: number; + isExpander ?: boolean; + isExpanded ?: boolean; + cellBackground ?: string; + cellBackgroundRgba ?: AuGDK.RGBA; + cellBackgroundSet ?: boolean; + editing ?: boolean; + text ?: string; + markup ?: string; + attributes ?: AuPango.AttrList; + singleParagraphMode ?: boolean; + widthChars ?: number; + maxWidthChars ?: number; + wrapWidth ?: number; + alignment ?: AuPango.Alignment; + placeholderText ?: string; + background ?: string; + foreground ?: string; + backgroundRgba ?: AuGDK.RGBA; + foregroundRgba ?: AuGDK.RGBA; + font ?: string; + fontDesc ?: AuPango.FontDescription; + family ?: string; + style ?: AuPango.Style; + variant ?: AuPango.Variant; + weight ?: number; + stretch ?: AuPango.Stretch; + size ?: number; + sizePoints ?: number; + scale ?: number; + editable ?: boolean; + strikethrough ?: boolean; + underline ?: AuPango.Underline; + rise ?: number; + language ?: string; + ellipsize ?: AuPango.EllipsizeMode; + wrapMode ?: AuPango.WrapMode; + backgroundSet ?: boolean; + foregroundSet ?: boolean; + familySet ?: boolean; + styleSet ?: boolean; + variantSet ?: boolean; + weightSet ?: boolean; + stretchSet ?: boolean; + sizeSet ?: boolean; + scaleSet ?: boolean; + editableSet ?: boolean; + strikethroughSet ?: boolean; + underlineSet ?: boolean; + riseSet ?: boolean; + languageSet ?: boolean; + ellipsizeSet ?: boolean; + alignSet ?: boolean; + accelKey ?: number; + accelMods ?: AuGDK.ModifierType; + keycode ?: number; + accelMode ?: AuGTK.CellRendererAccelMode; + } + + class CellRendererAccelEventListener extends AuGlibEx.IEventListener { + accelCleared(pathString: string): void; + accelEdited(pathString: string, accelKey: number, accelMods: AuGDK.ModifierType, hardwareKeycode: number): void; + } + + class CellRendererCombo extends AuGTK.CellRendererText { + constructor(initializerList ?: CellRendererComboCtor); + + hasEntry : boolean; + model : AuGTK.TreeModel; + textColumn : number; + + //TypeScript is complete garbage: + } + + class CellRendererComboCtor { + mode ?: AuGTK.CellRendererMode; + visible ?: boolean; + sensitive ?: boolean; + XAlign ?: number; + YAlign ?: number; + XPad ?: number; + YPad ?: number; + width ?: number; + height ?: number; + isExpander ?: boolean; + isExpanded ?: boolean; + cellBackground ?: string; + cellBackgroundRgba ?: AuGDK.RGBA; + cellBackgroundSet ?: boolean; + editing ?: boolean; + text ?: string; + markup ?: string; + attributes ?: AuPango.AttrList; + singleParagraphMode ?: boolean; + widthChars ?: number; + maxWidthChars ?: number; + wrapWidth ?: number; + alignment ?: AuPango.Alignment; + placeholderText ?: string; + background ?: string; + foreground ?: string; + backgroundRgba ?: AuGDK.RGBA; + foregroundRgba ?: AuGDK.RGBA; + font ?: string; + fontDesc ?: AuPango.FontDescription; + family ?: string; + style ?: AuPango.Style; + variant ?: AuPango.Variant; + weight ?: number; + stretch ?: AuPango.Stretch; + size ?: number; + sizePoints ?: number; + scale ?: number; + editable ?: boolean; + strikethrough ?: boolean; + underline ?: AuPango.Underline; + rise ?: number; + language ?: string; + ellipsize ?: AuPango.EllipsizeMode; + wrapMode ?: AuPango.WrapMode; + backgroundSet ?: boolean; + foregroundSet ?: boolean; + familySet ?: boolean; + styleSet ?: boolean; + variantSet ?: boolean; + weightSet ?: boolean; + stretchSet ?: boolean; + sizeSet ?: boolean; + scaleSet ?: boolean; + editableSet ?: boolean; + strikethroughSet ?: boolean; + underlineSet ?: boolean; + riseSet ?: boolean; + languageSet ?: boolean; + ellipsizeSet ?: boolean; + alignSet ?: boolean; + model ?: AuGTK.TreeModel; + textColumn ?: number; + hasEntry ?: boolean; + } + + class CellRendererComboEventListener extends AuGlibEx.IEventListener { + changed(pathString: string, newIter: AuGTK.TreeIter): void; + } + + class CellRendererPixbuf extends AuGTK.CellRenderer { + constructor(initializerList ?: CellRendererPixbufCtor); + + gicon : AuGIO.Icon; + iconName : string; + iconSize : AuGTK.IconSize; + pixbuf : AuGDKPixBuf.Pixbuf; + pixbufExpanderClosed : AuGDKPixBuf.Pixbuf; + pixbufExpanderOpen : AuGDKPixBuf.Pixbuf; + texture : AuGDK.Texture; + + static New(): AuGTK.CellRenderer; + //TypeScript is complete garbage: + } + + class CellRendererPixbufCtor { + mode ?: AuGTK.CellRendererMode; + visible ?: boolean; + sensitive ?: boolean; + XAlign ?: number; + YAlign ?: number; + XPad ?: number; + YPad ?: number; + width ?: number; + height ?: number; + isExpander ?: boolean; + isExpanded ?: boolean; + cellBackground ?: string; + cellBackgroundRgba ?: AuGDK.RGBA; + cellBackgroundSet ?: boolean; + editing ?: boolean; + pixbuf ?: AuGDKPixBuf.Pixbuf; + pixbufExpanderOpen ?: AuGDKPixBuf.Pixbuf; + pixbufExpanderClosed ?: AuGDKPixBuf.Pixbuf; + texture ?: AuGDK.Texture; + iconSize ?: AuGTK.IconSize; + iconName ?: string; + gicon ?: AuGIO.Icon; + } + + class CellRendererProgress extends AuGTK.CellRenderer implements AuGTK.Orientable { + constructor(initializerList ?: CellRendererProgressCtor); + + inverted : boolean; + pulse : number; + text : string; + textXAlign : number; + textYAlign : number; + value : number; + + static New(): AuGTK.CellRenderer; + //TypeScript is complete garbage: + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class CellRendererProgressCtor { + orientation ?: AuGTK.Orientation; + mode ?: AuGTK.CellRendererMode; + visible ?: boolean; + sensitive ?: boolean; + XAlign ?: number; + YAlign ?: number; + XPad ?: number; + YPad ?: number; + width ?: number; + height ?: number; + isExpander ?: boolean; + isExpanded ?: boolean; + cellBackground ?: string; + cellBackgroundRgba ?: AuGDK.RGBA; + cellBackgroundSet ?: boolean; + editing ?: boolean; + value ?: number; + text ?: string; + pulse ?: number; + textXAlign ?: number; + textYAlign ?: number; + inverted ?: boolean; + } + + class CellRendererSpin extends AuGTK.CellRendererText { + constructor(initializerList ?: CellRendererSpinCtor); + + adjustment : AuGTK.Adjustment; + climbRate : number; + digits : number; + + //TypeScript is complete garbage: + } + + class CellRendererSpinCtor { + mode ?: AuGTK.CellRendererMode; + visible ?: boolean; + sensitive ?: boolean; + XAlign ?: number; + YAlign ?: number; + XPad ?: number; + YPad ?: number; + width ?: number; + height ?: number; + isExpander ?: boolean; + isExpanded ?: boolean; + cellBackground ?: string; + cellBackgroundRgba ?: AuGDK.RGBA; + cellBackgroundSet ?: boolean; + editing ?: boolean; + text ?: string; + markup ?: string; + attributes ?: AuPango.AttrList; + singleParagraphMode ?: boolean; + widthChars ?: number; + maxWidthChars ?: number; + wrapWidth ?: number; + alignment ?: AuPango.Alignment; + placeholderText ?: string; + background ?: string; + foreground ?: string; + backgroundRgba ?: AuGDK.RGBA; + foregroundRgba ?: AuGDK.RGBA; + font ?: string; + fontDesc ?: AuPango.FontDescription; + family ?: string; + style ?: AuPango.Style; + variant ?: AuPango.Variant; + weight ?: number; + stretch ?: AuPango.Stretch; + size ?: number; + sizePoints ?: number; + scale ?: number; + editable ?: boolean; + strikethrough ?: boolean; + underline ?: AuPango.Underline; + rise ?: number; + language ?: string; + ellipsize ?: AuPango.EllipsizeMode; + wrapMode ?: AuPango.WrapMode; + backgroundSet ?: boolean; + foregroundSet ?: boolean; + familySet ?: boolean; + styleSet ?: boolean; + variantSet ?: boolean; + weightSet ?: boolean; + stretchSet ?: boolean; + sizeSet ?: boolean; + scaleSet ?: boolean; + editableSet ?: boolean; + strikethroughSet ?: boolean; + underlineSet ?: boolean; + riseSet ?: boolean; + languageSet ?: boolean; + ellipsizeSet ?: boolean; + alignSet ?: boolean; + adjustment ?: AuGTK.Adjustment; + climbRate ?: number; + digits ?: number; + } + + class CellRendererSpinner extends AuGTK.CellRenderer { + constructor(initializerList ?: CellRendererSpinnerCtor); + + active : boolean; + pulse : number; + size : AuGTK.IconSize; + + static New(): AuGTK.CellRenderer; + //TypeScript is complete garbage: + } + + class CellRendererSpinnerCtor { + mode ?: AuGTK.CellRendererMode; + visible ?: boolean; + sensitive ?: boolean; + XAlign ?: number; + YAlign ?: number; + XPad ?: number; + YPad ?: number; + width ?: number; + height ?: number; + isExpander ?: boolean; + isExpanded ?: boolean; + cellBackground ?: string; + cellBackgroundRgba ?: AuGDK.RGBA; + cellBackgroundSet ?: boolean; + editing ?: boolean; + active ?: boolean; + pulse ?: number; + size ?: AuGTK.IconSize; + } + + class CellRendererText extends AuGTK.CellRenderer { + constructor(initializerList ?: CellRendererTextCtor); + + parent : AuGTK.CellRenderer; + + alignSet : boolean; + alignment : AuPango.Alignment; + attributes : AuPango.AttrList; + background : string; + backgroundRgba : AuGDK.RGBA; + backgroundSet : boolean; + editable : boolean; + editableSet : boolean; + ellipsize : AuPango.EllipsizeMode; + ellipsizeSet : boolean; + family : string; + familySet : boolean; + font : string; + fontDesc : AuPango.FontDescription; + foreground : string; + foregroundRgba : AuGDK.RGBA; + foregroundSet : boolean; + language : string; + languageSet : boolean; + markup : string; + maxWidthChars : number; + placeholderText : string; + rise : number; + riseSet : boolean; + scale : number; + scaleSet : boolean; + singleParagraphMode : boolean; + size : number; + sizePoints : number; + sizeSet : boolean; + stretch : AuPango.Stretch; + stretchSet : boolean; + strikethrough : boolean; + strikethroughSet : boolean; + style : AuPango.Style; + styleSet : boolean; + text : string; + underline : AuPango.Underline; + underlineSet : boolean; + variant : AuPango.Variant; + variantSet : boolean; + weight : number; + weightSet : boolean; + widthChars : number; + wrapMode : AuPango.WrapMode; + wrapWidth : number; + + static New(): AuGTK.CellRenderer; + setFixedHeightFromFont(numberOfRows: number): void; + //TypeScript is complete garbage: + } + + class CellRendererTextCtor { + mode ?: AuGTK.CellRendererMode; + visible ?: boolean; + sensitive ?: boolean; + XAlign ?: number; + YAlign ?: number; + XPad ?: number; + YPad ?: number; + width ?: number; + height ?: number; + isExpander ?: boolean; + isExpanded ?: boolean; + cellBackground ?: string; + cellBackgroundRgba ?: AuGDK.RGBA; + cellBackgroundSet ?: boolean; + editing ?: boolean; + text ?: string; + markup ?: string; + attributes ?: AuPango.AttrList; + singleParagraphMode ?: boolean; + widthChars ?: number; + maxWidthChars ?: number; + wrapWidth ?: number; + alignment ?: AuPango.Alignment; + placeholderText ?: string; + background ?: string; + foreground ?: string; + backgroundRgba ?: AuGDK.RGBA; + foregroundRgba ?: AuGDK.RGBA; + font ?: string; + fontDesc ?: AuPango.FontDescription; + family ?: string; + style ?: AuPango.Style; + variant ?: AuPango.Variant; + weight ?: number; + stretch ?: AuPango.Stretch; + size ?: number; + sizePoints ?: number; + scale ?: number; + editable ?: boolean; + strikethrough ?: boolean; + underline ?: AuPango.Underline; + rise ?: number; + language ?: string; + ellipsize ?: AuPango.EllipsizeMode; + wrapMode ?: AuPango.WrapMode; + backgroundSet ?: boolean; + foregroundSet ?: boolean; + familySet ?: boolean; + styleSet ?: boolean; + variantSet ?: boolean; + weightSet ?: boolean; + stretchSet ?: boolean; + sizeSet ?: boolean; + scaleSet ?: boolean; + editableSet ?: boolean; + strikethroughSet ?: boolean; + underlineSet ?: boolean; + riseSet ?: boolean; + languageSet ?: boolean; + ellipsizeSet ?: boolean; + alignSet ?: boolean; + } + + class CellRendererTextEventListener extends AuGlibEx.IEventListener { + edited(path: string, newText: string): void; + } + + class CellRendererToggle extends AuGTK.CellRenderer { + constructor(initializerList ?: CellRendererToggleCtor); + + activatable : boolean; + active : boolean; + inconsistent : boolean; + radio : boolean; + + static New(): AuGTK.CellRenderer; + getActivatable(): boolean; + getActive(): boolean; + getRadio(): boolean; + setActivatable(setting: boolean): void; + setActive(setting: boolean): void; + setRadio(radio: boolean): void; + //TypeScript is complete garbage: + } + + class CellRendererToggleCtor { + mode ?: AuGTK.CellRendererMode; + visible ?: boolean; + sensitive ?: boolean; + XAlign ?: number; + YAlign ?: number; + XPad ?: number; + YPad ?: number; + width ?: number; + height ?: number; + isExpander ?: boolean; + isExpanded ?: boolean; + cellBackground ?: string; + cellBackgroundRgba ?: AuGDK.RGBA; + cellBackgroundSet ?: boolean; + editing ?: boolean; + activatable ?: boolean; + active ?: boolean; + radio ?: boolean; + inconsistent ?: boolean; + } + + class CellRendererToggleEventListener extends AuGlibEx.IEventListener { + toggled(path: string): void; + } + + class CellView extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.CellLayout, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: CellViewCtor); + + cellArea : AuGTK.CellArea; + cellAreaContext : AuGTK.CellAreaContext; + drawSensitive : boolean; + fitModel : boolean; + model : AuGTK.TreeModel; + + static New(): AuGTK.Widget; + static NewWithContext(area: AuGTK.CellArea, context: AuGTK.CellAreaContext): AuGTK.Widget; + static NewWithMarkup(markup: string): AuGTK.Widget; + static NewWithText(text: string): AuGTK.Widget; + static NewWithTexture(texture: AuGDK.Texture): AuGTK.Widget; + getDisplayedRow(): AuGTK.TreePath; + getDrawSensitive(): boolean; + getFitModel(): boolean; + getModel(): AuGTK.TreeModel; + setDisplayedRow(path: AuGTK.TreePath | undefined | null): void; + setDrawSensitive(drawSensitive: boolean): void; + setFitModel(fitModel: boolean): void; + setModel(model: AuGTK.TreeModel | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + addAttribute(cell: AuGTK.CellRenderer, attribute: string, column: number): void; + clear(): void; + clearAttributes(cell: AuGTK.CellRenderer): void; + getArea(): AuGTK.CellArea; + getCells(): AuGTK.CellRenderer[]; + packEnd(cell: AuGTK.CellRenderer, expand: boolean): void; + packStart(cell: AuGTK.CellRenderer, expand: boolean): void; + reorder(cell: AuGTK.CellRenderer, position: number): void; + setCellDataFunc(cell: AuGTK.CellRenderer, func: (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void | undefined | null, destroy: () => void): void; + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class CellViewCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + model ?: AuGTK.TreeModel; + cellArea ?: AuGTK.CellArea; + cellAreaContext ?: AuGTK.CellAreaContext; + drawSensitive ?: boolean; + fitModel ?: boolean; + } + + class CenterBox extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: CenterBoxCtor); + + baselinePosition : AuGTK.BaselinePosition; + centerWidget : AuGTK.Widget; + endWidget : AuGTK.Widget; + startWidget : AuGTK.Widget; + + static New(): AuGTK.Widget; + getBaselinePosition(): AuGTK.BaselinePosition; + getCenterWidget(): AuGTK.Widget; + getEndWidget(): AuGTK.Widget; + getStartWidget(): AuGTK.Widget; + setBaselinePosition(position: AuGTK.BaselinePosition): void; + setCenterWidget(child: AuGTK.Widget | undefined | null): void; + setEndWidget(child: AuGTK.Widget | undefined | null): void; + setStartWidget(child: AuGTK.Widget | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class CenterBoxCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + startWidget ?: AuGTK.Widget; + centerWidget ?: AuGTK.Widget; + endWidget ?: AuGTK.Widget; + baselinePosition ?: AuGTK.BaselinePosition; + } + + class CenterLayout extends AuGTK.LayoutManager { + constructor(initializerList ?: CenterLayoutCtor); + + static New(): AuGTK.LayoutManager; + getBaselinePosition(): AuGTK.BaselinePosition; + getCenterWidget(): AuGTK.Widget; + getEndWidget(): AuGTK.Widget; + getOrientation(): AuGTK.Orientation; + getStartWidget(): AuGTK.Widget; + setBaselinePosition(baselinePosition: AuGTK.BaselinePosition): void; + setCenterWidget(widget: AuGTK.Widget | undefined | null): void; + setEndWidget(widget: AuGTK.Widget | undefined | null): void; + setOrientation(orientation: AuGTK.Orientation): void; + setStartWidget(widget: AuGTK.Widget | undefined | null): void; + //TypeScript is complete garbage: + } + + class CenterLayoutCtor { + } + + class CheckButton extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Actionable, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: CheckButtonCtor); + + parentInstance : AuGTK.Widget; + + active : boolean; + child : AuGTK.Widget; + group : AuGTK.CheckButton; + inconsistent : boolean; + label : string; + useUnderline : boolean; + + static New(): AuGTK.Widget; + static NewWithLabel(label: string | undefined | null): AuGTK.Widget; + static NewWithMnemonic(label: string | undefined | null): AuGTK.Widget; + getActive(): boolean; + getChild(): AuGTK.Widget; + getInconsistent(): boolean; + getLabel(): string; + getUseUnderline(): boolean; + setActive(setting: boolean): void; + setChild(child: AuGTK.Widget | undefined | null): void; + setGroup(group: AuGTK.CheckButton | undefined | null): void; + setInconsistent(inconsistent: boolean): void; + setLabel(label: string | undefined | null): void; + setUseUnderline(setting: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + actionName : string; + actionTarget : AuGlibEx.Variant; + + getActionName(): string; + getActionTargetValue(): AuGlibEx.Variant; + setActionName(actionName: string | undefined | null): void; + setActionTargetValue(targetValue: AuGlibEx.Variant | undefined | null): void; + setDetailedActionName(detailedActionName: string): void; + } + + class CheckButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + actionName ?: string; + actionTarget ?: any; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + active ?: boolean; + group ?: AuGTK.CheckButton; + label ?: string; + inconsistent ?: boolean; + useUnderline ?: boolean; + child ?: AuGTK.Widget; + } + + class CheckButtonEventListener extends AuGlibEx.IEventListener { + activate(): void; + toggled(): void; + } + + class ClosureExpression extends AuGTK.Expression { + constructor(initializerList ?: ClosureExpressionCtor); + + static New(valueType: number, closure: GObject.Closure, nParams: number, params: AuGTK.Expression[] | undefined | null): AuGTK.ClosureExpression; + //TypeScript is complete garbage: + } + + class ClosureExpressionCtor { + } + + class ColorButton extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ColorChooser, AuGTK.ConstraintTarget { + constructor(initializerList ?: ColorButtonCtor); + + modal : boolean; + showEditor : boolean; + title : string; + + static New(): AuGTK.Widget; + static NewWithRgba(rgba: AuGDK.RGBA): AuGTK.Widget; + getModal(): boolean; + getTitle(): string; + setModal(modal: boolean): void; + setTitle(title: string): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + rgba : AuGDK.RGBA; + useAlpha : boolean; + + addPalette(orientation: AuGTK.Orientation, colorsPerLine: number, nColors: number, colors: AuGDK.RGBA[] | undefined | null): void; + getRgba(color: AuGDK.RGBA): void; + getUseAlpha(): boolean; + setRgba(color: AuGDK.RGBA): void; + setUseAlpha(useAlpha: boolean): void; + } + + class ColorButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + rgba ?: AuGDK.RGBA; + useAlpha ?: boolean; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + showEditor ?: boolean; + modal ?: boolean; + } + + class ColorButtonEventListener extends AuGlibEx.IEventListener { + activate(): void; + colorSet(): void; + } + + class ColorChooserDialog extends AuGTK.Dialog implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ColorChooser, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: ColorChooserDialogCtor); + + showEditor : boolean; + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + rgba : AuGDK.RGBA; + useAlpha : boolean; + + addPalette(orientation: AuGTK.Orientation, colorsPerLine: number, nColors: number, colors: AuGDK.RGBA[] | undefined | null): void; + getRgba(color: AuGDK.RGBA): void; + getUseAlpha(): boolean; + setRgba(color: AuGDK.RGBA): void; + setUseAlpha(useAlpha: boolean): void; + } + + class ColorChooserDialogCtor { + accessibleRole ?: AuGTK.AccessibleRole; + rgba ?: AuGDK.RGBA; + useAlpha ?: boolean; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + useHeaderBar ?: number; + showEditor ?: boolean; + } + + class ColorChooserWidget extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ColorChooser, AuGTK.ConstraintTarget { + constructor(initializerList ?: ColorChooserWidgetCtor); + + showEditor : boolean; + + static New(): AuGTK.Widget; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + rgba : AuGDK.RGBA; + useAlpha : boolean; + + addPalette(orientation: AuGTK.Orientation, colorsPerLine: number, nColors: number, colors: AuGDK.RGBA[] | undefined | null): void; + getRgba(color: AuGDK.RGBA): void; + getUseAlpha(): boolean; + setRgba(color: AuGDK.RGBA): void; + setUseAlpha(useAlpha: boolean): void; + } + + class ColorChooserWidgetCtor { + accessibleRole ?: AuGTK.AccessibleRole; + rgba ?: AuGDK.RGBA; + useAlpha ?: boolean; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + showEditor ?: boolean; + } + + class ColorDialog extends GObject.Object { + constructor(initializerList ?: ColorDialogCtor); + + modal : boolean; + title : string; + withAlpha : boolean; + + static New(): AuGTK.ColorDialog; + chooseRgba(parent: AuGTK.Window | undefined | null, initialColor: AuGDK.RGBA | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + chooseRgbaFinish(result: AuGIO.AsyncResult): AuGDK.RGBA; + getModal(): boolean; + getTitle(): string; + getWithAlpha(): boolean; + setModal(modal: boolean): void; + setTitle(title: string): void; + setWithAlpha(withAlpha: boolean): void; + //TypeScript is complete garbage: + } + + class ColorDialogCtor { + title ?: string; + modal ?: boolean; + withAlpha ?: boolean; + } + + class ColorDialogButton extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ColorDialogButtonCtor); + + dialog : AuGTK.ColorDialog; + rgba : AuGDK.RGBA; + + static New(dialog: AuGTK.ColorDialog | undefined | null): AuGTK.Widget; + getDialog(): AuGTK.ColorDialog; + getRgba(): AuGDK.RGBA; + setDialog(dialog: AuGTK.ColorDialog): void; + setRgba(color: AuGDK.RGBA): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class ColorDialogButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + dialog ?: AuGTK.ColorDialog; + rgba ?: AuGDK.RGBA; + } + + class ColumnView extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Scrollable { + constructor(initializerList ?: ColumnViewCtor); + + columns : AuGIO.ListModel; + enableRubberband : boolean; + model : AuGTK.SelectionModel; + reorderable : boolean; + showColumnSeparators : boolean; + showRowSeparators : boolean; + singleClickActivate : boolean; + sorter : AuGTK.Sorter; + + static New(model: AuGTK.SelectionModel | undefined | null): AuGTK.Widget; + appendColumn(column: AuGTK.ColumnViewColumn): void; + getColumns(): AuGIO.ListModel; + getEnableRubberband(): boolean; + getModel(): AuGTK.SelectionModel; + getReorderable(): boolean; + getShowColumnSeparators(): boolean; + getShowRowSeparators(): boolean; + getSingleClickActivate(): boolean; + getSorter(): AuGTK.Sorter; + insertColumn(position: number, column: AuGTK.ColumnViewColumn): void; + removeColumn(column: AuGTK.ColumnViewColumn): void; + setEnableRubberband(enableRubberband: boolean): void; + setModel(model: AuGTK.SelectionModel | undefined | null): void; + setReorderable(reorderable: boolean): void; + setShowColumnSeparators(showColumnSeparators: boolean): void; + setShowRowSeparators(showRowSeparators: boolean): void; + setSingleClickActivate(singleClickActivate: boolean): void; + sortByColumn(column: AuGTK.ColumnViewColumn | undefined | null, direction: AuGTK.SortType): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + getBorder(border: AuGTK.Border): boolean; + getHadjustment(): AuGTK.Adjustment; + getHscrollPolicy(): AuGTK.ScrollablePolicy; + getVadjustment(): AuGTK.Adjustment; + getVscrollPolicy(): AuGTK.ScrollablePolicy; + setHadjustment(hadjustment: AuGTK.Adjustment | undefined | null): void; + setHscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + setVadjustment(vadjustment: AuGTK.Adjustment | undefined | null): void; + setVscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + } + + class ColumnViewCtor { + accessibleRole ?: AuGTK.AccessibleRole; + hadjustment ?: AuGTK.Adjustment; + hscrollPolicy ?: AuGTK.ScrollablePolicy; + vadjustment ?: AuGTK.Adjustment; + vscrollPolicy ?: AuGTK.ScrollablePolicy; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + columns ?: AuGIO.ListModel; + model ?: AuGTK.SelectionModel; + showRowSeparators ?: boolean; + showColumnSeparators ?: boolean; + sorter ?: AuGTK.Sorter; + singleClickActivate ?: boolean; + reorderable ?: boolean; + enableRubberband ?: boolean; + } + + class ColumnViewEventListener extends AuGlibEx.IEventListener { + activate(position: number): void; + } + + class ColumnViewColumn extends GObject.Object { + constructor(initializerList ?: ColumnViewColumnCtor); + + columnView : AuGTK.ColumnView; + expand : boolean; + factory : AuGTK.ListItemFactory; + fixedWidth : number; + headerMenu : AuGIO.MenuModel; + id : string; + resizable : boolean; + sorter : AuGTK.Sorter; + title : string; + visible : boolean; + + static New(title: string | undefined | null, factory: AuGTK.ListItemFactory | undefined | null): AuGTK.ColumnViewColumn; + getColumnView(): AuGTK.ColumnView; + getExpand(): boolean; + getFactory(): AuGTK.ListItemFactory; + getFixedWidth(): number; + getHeaderMenu(): AuGIO.MenuModel; + getId(): string; + getResizable(): boolean; + getSorter(): AuGTK.Sorter; + getTitle(): string; + getVisible(): boolean; + setExpand(expand: boolean): void; + setFactory(factory: AuGTK.ListItemFactory | undefined | null): void; + setFixedWidth(fixedWidth: number): void; + setHeaderMenu(menu: AuGIO.MenuModel | undefined | null): void; + setId(id: string | undefined | null): void; + setResizable(resizable: boolean): void; + setSorter(sorter: AuGTK.Sorter | undefined | null): void; + setTitle(title: string | undefined | null): void; + setVisible(visible: boolean): void; + //TypeScript is complete garbage: + } + + class ColumnViewColumnCtor { + columnView ?: AuGTK.ColumnView; + factory ?: AuGTK.ListItemFactory; + title ?: string; + sorter ?: AuGTK.Sorter; + visible ?: boolean; + headerMenu ?: AuGIO.MenuModel; + resizable ?: boolean; + expand ?: boolean; + fixedWidth ?: number; + id ?: string; + } + + class ColumnViewSorter extends AuGTK.Sorter { + constructor(initializerList ?: ColumnViewSorterCtor); + + primarySortColumn : AuGTK.ColumnViewColumn; + primarySortOrder : AuGTK.SortType; + + getNSortColumns(): number; + getNthSortColumn(position: number, sortOrder: AuGTK.SortType): AuGTK.ColumnViewColumn; + getPrimarySortColumn(): AuGTK.ColumnViewColumn; + getPrimarySortOrder(): AuGTK.SortType; + //TypeScript is complete garbage: + } + + class ColumnViewSorterCtor { + primarySortColumn ?: AuGTK.ColumnViewColumn; + primarySortOrder ?: AuGTK.SortType; + } + + class ComboBox extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.CellEditable, AuGTK.CellLayout, AuGTK.ConstraintTarget { + constructor(initializerList ?: ComboBoxCtor); + + parentInstance : AuGTK.Widget; + + active : number; + activeId : string; + buttonSensitivity : AuGTK.SensitivityType; + child : AuGTK.Widget; + entryTextColumn : number; + hasEntry : boolean; + hasFrame : boolean; + idColumn : number; + model : AuGTK.TreeModel; + popupFixedWidth : boolean; + popupShown : boolean; + + static New(): AuGTK.Widget; + static NewWithEntry(): AuGTK.Widget; + static NewWithModel(model: AuGTK.TreeModel): AuGTK.Widget; + static NewWithModelAndEntry(model: AuGTK.TreeModel): AuGTK.Widget; + getActive(): number; + getActiveId(): string; + getActiveIter(iter: AuGTK.TreeIter): boolean; + getButtonSensitivity(): AuGTK.SensitivityType; + getChild(): AuGTK.Widget; + getEntryTextColumn(): number; + getHasEntry(): boolean; + getIdColumn(): number; + getModel(): AuGTK.TreeModel; + getPopupFixedWidth(): boolean; + popdown(): void; + popup(): void; + popupForDevice(device: AuGDK.Device): void; + setActive(index: number): void; + setActiveId(activeId: string | undefined | null): boolean; + setActiveIter(iter: AuGTK.TreeIter | undefined | null): void; + setButtonSensitivity(sensitivity: AuGTK.SensitivityType): void; + setChild(child: AuGTK.Widget | undefined | null): void; + setEntryTextColumn(textColumn: number): void; + setIdColumn(idColumn: number): void; + setModel(model: AuGTK.TreeModel | undefined | null): void; + setPopupFixedWidth(fixed: boolean): void; + setRowSeparatorFunc(func: (model: AuGTK.TreeModel, iter: AuGTK.TreeIter) => boolean | undefined | null, destroy: () => void | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + editingCanceled : boolean; + + editingDone(): void; + removeWidget(): void; + startEditing(event: AuGDK.Event | undefined | null): void; + addAttribute(cell: AuGTK.CellRenderer, attribute: string, column: number): void; + clear(): void; + clearAttributes(cell: AuGTK.CellRenderer): void; + getArea(): AuGTK.CellArea; + getCells(): AuGTK.CellRenderer[]; + packEnd(cell: AuGTK.CellRenderer, expand: boolean): void; + packStart(cell: AuGTK.CellRenderer, expand: boolean): void; + reorder(cell: AuGTK.CellRenderer, position: number): void; + setCellDataFunc(cell: AuGTK.CellRenderer, func: (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void | undefined | null, destroy: () => void): void; + } + + class ComboBoxCtor { + accessibleRole ?: AuGTK.AccessibleRole; + editingCanceled ?: boolean; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + model ?: AuGTK.TreeModel; + active ?: number; + hasFrame ?: boolean; + popupShown ?: boolean; + buttonSensitivity ?: AuGTK.SensitivityType; + hasEntry ?: boolean; + entryTextColumn ?: number; + popupFixedWidth ?: boolean; + idColumn ?: number; + activeId ?: string; + child ?: AuGTK.Widget; + } + + class ComboBoxEventListener extends AuGlibEx.IEventListener { + activate(): void; + changed(): void; + formatEntryText(path: string): string; + moveActive(scrollType: AuGTK.ScrollType): void; + popdown(): boolean; + popup(): void; + } + + class ComboBoxText extends AuGTK.ComboBox implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.CellEditable, AuGTK.CellLayout, AuGTK.ConstraintTarget { + constructor(initializerList ?: ComboBoxTextCtor); + + append(id: string | undefined | null, text: string): void; + appendText(text: string): void; + getActiveText(): string; + insert(position: number, id: string | undefined | null, text: string): void; + insertText(position: number, text: string): void; + prepend(id: string | undefined | null, text: string): void; + prependText(text: string): void; + remove(position: number): void; + removeAll(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + editingCanceled : boolean; + + } + + class ComboBoxTextCtor { + accessibleRole ?: AuGTK.AccessibleRole; + editingCanceled ?: boolean; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + model ?: AuGTK.TreeModel; + active ?: number; + hasFrame ?: boolean; + popupShown ?: boolean; + buttonSensitivity ?: AuGTK.SensitivityType; + hasEntry ?: boolean; + entryTextColumn ?: number; + popupFixedWidth ?: boolean; + idColumn ?: number; + activeId ?: string; + child ?: AuGTK.Widget; + } + + class ConstantExpression extends AuGTK.Expression { + constructor(initializerList ?: ConstantExpressionCtor); + + static NewForValue(value: GObject.Value): AuGTK.ConstantExpression; + getValue(): GObject.Value; + //TypeScript is complete garbage: + } + + class ConstantExpressionCtor { + } + + class Constraint extends GObject.Object { + constructor(initializerList ?: ConstraintCtor); + + constant : number; + multiplier : number; + relation : AuGTK.ConstraintRelation; + source : AuGTK.ConstraintTarget; + sourceAttribute : AuGTK.ConstraintAttribute; + strength : number; + target : AuGTK.ConstraintTarget; + targetAttribute : AuGTK.ConstraintAttribute; + + static New(target: AuGTK.ConstraintTarget | undefined | null, targetAttribute: AuGTK.ConstraintAttribute, relation: AuGTK.ConstraintRelation, source: AuGTK.ConstraintTarget | undefined | null, sourceAttribute: AuGTK.ConstraintAttribute, multiplier: number, constant: number, strength: number): AuGTK.Constraint; + static NewConstant(target: AuGTK.ConstraintTarget | undefined | null, targetAttribute: AuGTK.ConstraintAttribute, relation: AuGTK.ConstraintRelation, constant: number, strength: number): AuGTK.Constraint; + getConstant(): number; + getMultiplier(): number; + getRelation(): AuGTK.ConstraintRelation; + getSource(): AuGTK.ConstraintTarget; + getSourceAttribute(): AuGTK.ConstraintAttribute; + getStrength(): number; + getTarget(): AuGTK.ConstraintTarget; + getTargetAttribute(): AuGTK.ConstraintAttribute; + isAttached(): boolean; + isConstant(): boolean; + isRequired(): boolean; + //TypeScript is complete garbage: + } + + class ConstraintCtor { + target ?: AuGTK.ConstraintTarget; + targetAttribute ?: AuGTK.ConstraintAttribute; + relation ?: AuGTK.ConstraintRelation; + source ?: AuGTK.ConstraintTarget; + sourceAttribute ?: AuGTK.ConstraintAttribute; + multiplier ?: number; + constant ?: number; + strength ?: number; + } + + class ConstraintGuide extends GObject.Object implements AuGTK.ConstraintTarget { + constructor(initializerList ?: ConstraintGuideCtor); + + maxHeight : number; + maxWidth : number; + minHeight : number; + minWidth : number; + name : string; + natHeight : number; + natWidth : number; + strength : AuGTK.ConstraintStrength; + + static New(): AuGTK.ConstraintGuide; + getMaxSize(width ?: number, height ?: number): void; + getMinSize(width ?: number, height ?: number): void; + getName(): string; + getNatSize(width ?: number, height ?: number): void; + getStrength(): AuGTK.ConstraintStrength; + setMaxSize(width: number, height: number): void; + setMinSize(width: number, height: number): void; + setName(name: string | undefined | null): void; + setNatSize(width: number, height: number): void; + setStrength(strength: AuGTK.ConstraintStrength): void; + //TypeScript is complete garbage: + } + + class ConstraintGuideCtor { + minWidth ?: number; + minHeight ?: number; + natWidth ?: number; + natHeight ?: number; + maxWidth ?: number; + maxHeight ?: number; + strength ?: AuGTK.ConstraintStrength; + name ?: string; + } + + class ConstraintLayout extends AuGTK.LayoutManager implements AuGTK.Buildable { + constructor(initializerList ?: ConstraintLayoutCtor); + + static New(): AuGTK.LayoutManager; + addConstraint(constraint: AuGTK.Constraint): void; + addConstraintsFromDescription(lines: string[], nLines: number | bigint, hspacing: number, vspacing: number, views: number): AuGTK.Constraint[]; + addGuide(guide: AuGTK.ConstraintGuide): void; + observeConstraints(): AuGIO.ListModel; + observeGuides(): AuGIO.ListModel; + removeAllConstraints(): void; + removeConstraint(constraint: AuGTK.Constraint): void; + removeGuide(guide: AuGTK.ConstraintGuide): void; + //TypeScript is complete garbage: + getBuildableId(): string; + } + + class ConstraintLayoutCtor { + } + + class ConstraintLayoutChild extends AuGTK.LayoutChild { + constructor(initializerList ?: ConstraintLayoutChildCtor); + + //TypeScript is complete garbage: + } + + class ConstraintLayoutChildCtor { + layoutManager ?: AuGTK.LayoutManager; + childWidget ?: AuGTK.Widget; + } + + class CssProvider extends GObject.Object implements AuGTK.StyleProvider { + constructor(initializerList ?: CssProviderCtor); + + parentInstance : GObject.Object; + + static New(): AuGTK.CssProvider; + loadFromData(data: string, length: number | bigint): void; + loadFromFile(file: AuGIO.File): void; + loadFromPath(path: string): void; + loadFromResource(resourcePath: string): void; + loadNamed(name: string, variant: string | undefined | null): void; + //TypeScript is complete garbage: + } + + class CssProviderCtor { + } + + class CssProviderEventListener extends AuGlibEx.IEventListener { + parsingError(section: AuGTK.CssSection, error: AuGlibEx.Error): void; + } + + class CustomFilter extends AuGTK.Filter { + constructor(initializerList ?: CustomFilterCtor); + + static New(matchFunc: (item: GObject.Object) => boolean | undefined | null, userDestroy: () => void): AuGTK.CustomFilter; + setFilterFunc(matchFunc: (item: GObject.Object) => boolean | undefined | null, userDestroy: () => void): void; + //TypeScript is complete garbage: + } + + class CustomFilterCtor { + } + + class CustomLayout extends AuGTK.LayoutManager { + constructor(initializerList ?: CustomLayoutCtor); + + static New(requestMode: (widget: AuGTK.Widget) => AuGTK.SizeRequestMode | undefined | null, measure: (widget: AuGTK.Widget, orientation: AuGTK.Orientation, forSize: number, minimum: number, natural: number, minimumBaseline: number, naturalBaseline: number) => void, allocate: (widget: AuGTK.Widget, width: number, height: number, baseline: number) => void): AuGTK.LayoutManager; + //TypeScript is complete garbage: + } + + class CustomLayoutCtor { + } + + class CustomSorter extends AuGTK.Sorter { + constructor(initializerList ?: CustomSorterCtor); + + static New(sortFunc: () => number | undefined | null, userDestroy: () => void | undefined | null): AuGTK.CustomSorter; + setSortFunc(sortFunc: () => number | undefined | null, userDestroy: () => void): void; + //TypeScript is complete garbage: + } + + class CustomSorterCtor { + } + + class Dialog extends AuGTK.Window implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: DialogCtor); + + parentInstance : AuGTK.Window; + + useHeaderBar : number; + + addActionWidget(child: AuGTK.Widget, responseId: number): void; + addButton(buttonText: string, responseId: number): AuGTK.Widget; + getContentArea(): AuGTK.Box; + getHeaderBar(): AuGTK.HeaderBar; + getResponseForWidget(widget: AuGTK.Widget): number; + getWidgetForResponse(responseId: number): AuGTK.Widget; + response(responseId: number): void; + setDefaultResponse(responseId: number): void; + setResponseSensitive(responseId: number, setting: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class DialogCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + useHeaderBar ?: number; + } + + class DialogEventListener extends AuGlibEx.IEventListener { + close(): void; + response(responseId: number): void; + } + + class DirectoryList extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: DirectoryListCtor); + + attributes : string; + error : AuGlibEx.Error; + file : AuGIO.File; + ioPriority : number; + itemType : number; + loading : boolean; + monitored : boolean; + nItems : number; + + static New(attributes: string | undefined | null, file: AuGIO.File | undefined | null): AuGTK.DirectoryList; + getAttributes(): string; + getError(): AuGlibEx.Error; + getFile(): AuGIO.File; + getIoPriority(): number; + getMonitored(): boolean; + isLoading(): boolean; + setAttributes(attributes: string | undefined | null): void; + setFile(file: AuGIO.File | undefined | null): void; + setIoPriority(ioPriority: number): void; + setMonitored(monitored: boolean): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class DirectoryListCtor { + attributes ?: string; + error ?: AuGlibEx.Error; + file ?: AuGIO.File; + ioPriority ?: number; + itemType ?: any; + loading ?: boolean; + monitored ?: boolean; + nItems ?: number; + } + + class DragIcon extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.Root { + constructor(initializerList ?: DragIconCtor); + + child : AuGTK.Widget; + + static CreateWidgetForValue(value: GObject.Value): AuGTK.Widget; + static GetForDrag(drag: AuGDK.Drag): AuGTK.Widget; + static SetFromPaintable(drag: AuGDK.Drag, paintable: AuGDK.Paintable, hotX: number, hotY: number): void; + getChild(): AuGTK.Widget; + setChild(child: AuGTK.Widget | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + static GetForSurface(surface: AuGDK.Surface): AuGTK.Native; + getRenderer(): Gsk.Renderer; + getSurface(): AuGDK.Surface; + getSurfaceTransform(x: number, y: number): void; + getFocus(): AuGTK.Widget; + setFocus(focus: AuGTK.Widget | undefined | null): void; + } + + class DragIconCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + child ?: AuGTK.Widget; + } + + class DragSource extends AuGTK.GestureSingle { + constructor(initializerList ?: DragSourceCtor); + + actions : AuGDK.DragAction; + content : AuGDK.ContentProvider; + + static New(): AuGTK.DragSource; + dragCancel(): void; + getActions(): AuGDK.DragAction; + getContent(): AuGDK.ContentProvider; + getDrag(): AuGDK.Drag; + setActions(actions: AuGDK.DragAction): void; + setContent(content: AuGDK.ContentProvider | undefined | null): void; + setIcon(paintable: AuGDK.Paintable | undefined | null, hotX: number, hotY: number): void; + //TypeScript is complete garbage: + } + + class DragSourceCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + touchOnly ?: boolean; + exclusive ?: boolean; + button ?: number; + content ?: AuGDK.ContentProvider; + actions ?: AuGDK.DragAction; + } + + class DragSourceEventListener extends AuGlibEx.IEventListener { + dragBegin(drag: AuGDK.Drag): void; + dragCancel(drag: AuGDK.Drag, reason: AuGDK.DragCancelReason): boolean; + dragEnd(drag: AuGDK.Drag, deleteData: boolean): void; + prepare(x: number, y: number): AuGDK.ContentProvider; + } + + class DrawingArea extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: DrawingAreaCtor); + + widget : AuGTK.Widget; + + contentHeight : number; + contentWidth : number; + + static New(): AuGTK.Widget; + getContentHeight(): number; + getContentWidth(): number; + setContentHeight(height: number): void; + setContentWidth(width: number): void; + setDrawFunc(drawFunc: (drawingArea: AuGTK.DrawingArea, cr: cairo.Context, width: number, height: number) => void | undefined | null, destroy: () => void): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class DrawingAreaCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + contentWidth ?: number; + contentHeight ?: number; + } + + class DrawingAreaEventListener extends AuGlibEx.IEventListener { + resize(width: number, height: number): void; + } + + class DropControllerMotion extends AuGTK.EventController { + constructor(initializerList ?: DropControllerMotionCtor); + + containsPointer : boolean; + drop : AuGDK.Drop; + isPointer : boolean; + + static New(): AuGTK.EventController; + getDrop(): AuGDK.Drop; + //TypeScript is complete garbage: + } + + class DropControllerMotionCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + containsPointer ?: boolean; + drop ?: AuGDK.Drop; + isPointer ?: boolean; + } + + class DropControllerMotionEventListener extends AuGlibEx.IEventListener { + enter(x: number, y: number): void; + leave(): void; + motion(x: number, y: number): void; + } + + class DropDown extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: DropDownCtor); + + enableSearch : boolean; + expression : AuGTK.Expression; + factory : AuGTK.ListItemFactory; + listFactory : AuGTK.ListItemFactory; + model : AuGIO.ListModel; + selected : number; + selectedItem : GObject.Object; + showArrow : boolean; + + static New(model: AuGIO.ListModel | undefined | null, expression: AuGTK.Expression | undefined | null): AuGTK.Widget; + static NewFromStrings(strings: string[]): AuGTK.Widget; + getEnableSearch(): boolean; + getExpression(): AuGTK.Expression; + getFactory(): AuGTK.ListItemFactory; + getListFactory(): AuGTK.ListItemFactory; + getModel(): AuGIO.ListModel; + getSelected(): number; + getSelectedItem(): GObject.Object; + getShowArrow(): boolean; + setEnableSearch(enableSearch: boolean): void; + setExpression(expression: AuGTK.Expression | undefined | null): void; + setFactory(factory: AuGTK.ListItemFactory | undefined | null): void; + setListFactory(factory: AuGTK.ListItemFactory | undefined | null): void; + setModel(model: AuGIO.ListModel | undefined | null): void; + setSelected(position: number): void; + setShowArrow(showArrow: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class DropDownCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + factory ?: AuGTK.ListItemFactory; + listFactory ?: AuGTK.ListItemFactory; + model ?: AuGIO.ListModel; + selected ?: number; + selectedItem ?: GObject.Object; + enableSearch ?: boolean; + expression ?: AuGTK.Expression; + showArrow ?: boolean; + } + + class DropDownEventListener extends AuGlibEx.IEventListener { + activate(): void; + } + + class DropTarget extends AuGTK.EventController { + constructor(initializerList ?: DropTargetCtor); + + actions : AuGDK.DragAction; + currentDrop : AuGDK.Drop; + formats : AuGDK.ContentFormats; + preload : boolean; + value : GObject.Value; + + static New(type: number, actions: AuGDK.DragAction): AuGTK.DropTarget; + getActions(): AuGDK.DragAction; + getCurrentDrop(): AuGDK.Drop; + getDrop(): AuGDK.Drop; + getFormats(): AuGDK.ContentFormats; + getGtypes(nTypes ?: number | bigint): number[]; + getPreload(): boolean; + getValue(): GObject.Value; + reject(): void; + setActions(actions: AuGDK.DragAction): void; + setGtypes(types: number[] | undefined | null, nTypes: number | bigint): void; + setPreload(preload: boolean): void; + //TypeScript is complete garbage: + } + + class DropTargetCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + actions ?: AuGDK.DragAction; + currentDrop ?: AuGDK.Drop; + drop ?: AuGDK.Drop; + formats ?: AuGDK.ContentFormats; + preload ?: boolean; + value ?: GObject.Value; + } + + class DropTargetEventListener extends AuGlibEx.IEventListener { + accept(drop: AuGDK.Drop): boolean; + drop(value: GObject.Value, x: number, y: number): boolean; + enter(x: number, y: number): AuGDK.DragAction; + leave(): void; + motion(x: number, y: number): AuGDK.DragAction; + } + + class DropTargetAsync extends AuGTK.EventController { + constructor(initializerList ?: DropTargetAsyncCtor); + + actions : AuGDK.DragAction; + formats : AuGDK.ContentFormats; + + static New(formats: AuGDK.ContentFormats | undefined | null, actions: AuGDK.DragAction): AuGTK.DropTargetAsync; + getActions(): AuGDK.DragAction; + getFormats(): AuGDK.ContentFormats; + rejectDrop(drop: AuGDK.Drop): void; + setActions(actions: AuGDK.DragAction): void; + setFormats(formats: AuGDK.ContentFormats | undefined | null): void; + //TypeScript is complete garbage: + } + + class DropTargetAsyncCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + actions ?: AuGDK.DragAction; + formats ?: AuGDK.ContentFormats; + } + + class DropTargetAsyncEventListener extends AuGlibEx.IEventListener { + accept(drop: AuGDK.Drop): boolean; + dragEnter(drop: AuGDK.Drop, x: number, y: number): AuGDK.DragAction; + dragLeave(drop: AuGDK.Drop): void; + dragMotion(drop: AuGDK.Drop, x: number, y: number): AuGDK.DragAction; + drop(drop: AuGDK.Drop, x: number, y: number): boolean; + } + + class EditableLabel extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Editable { + constructor(initializerList ?: EditableLabelCtor); + + editing : boolean; + + static New(str: string): AuGTK.Widget; + getEditing(): boolean; + startEditing(): void; + stopEditing(commit: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + cursorPosition : number; + editable : boolean; + enableUndo : boolean; + maxWidthChars : number; + selectionBound : number; + text : string; + widthChars : number; + XAlign : number; + + static DelegateGetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static DelegateSetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static InstallProperties(objectClass: GObject.ObjectClass, firstProp: number): number; + delegateGetAccessiblePlatformState(state: AuGTK.AccessiblePlatformState): boolean; + deleteSelection(): void; + deleteText(startPos: number, endPos: number): void; + finishDelegate(): void; + getAlignment(): number; + getChars(startPos: number, endPos: number): string; + getDelegate(): AuGTK.Editable; + getEditable(): boolean; + getEnableUndo(): boolean; + getMaxWidthChars(): number; + getPosition(): number; + getSelectionBounds(startPos ?: number, endPos ?: number): boolean; + getText(): string; + getWidthChars(): number; + initDelegate(): void; + insertText(text: string, length: number, position: number): void; + selectRegion(startPos: number, endPos: number): void; + setAlignment(XAlign: number): void; + setEditable(isEditable: boolean): void; + setEnableUndo(enableUndo: boolean): void; + setMaxWidthChars(nChars: number): void; + setPosition(position: number): void; + setText(text: string): void; + setWidthChars(nChars: number): void; + } + + class EditableLabelCtor { + accessibleRole ?: AuGTK.AccessibleRole; + cursorPosition ?: number; + editable ?: boolean; + enableUndo ?: boolean; + maxWidthChars ?: number; + selectionBound ?: number; + text ?: string; + widthChars ?: number; + XAlign ?: number; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + editing ?: boolean; + } + + class EmojiChooser extends AuGTK.Popover implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.ShortcutManager { + constructor(initializerList ?: EmojiChooserCtor); + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class EmojiChooserCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + pointingTo ?: AuGDK.Rectangle; + position ?: AuGTK.PositionType; + autohide ?: boolean; + defaultWidget ?: AuGTK.Widget; + hasArrow ?: boolean; + mnemonicsVisible ?: boolean; + child ?: AuGTK.Widget; + cascadePopdown ?: boolean; + } + + class EmojiChooserEventListener extends AuGlibEx.IEventListener { + emojiPicked(text: string): void; + } + + class Entry extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.CellEditable, AuGTK.ConstraintTarget, AuGTK.Editable { + constructor(initializerList ?: EntryCtor); + + parentInstance : AuGTK.Widget; + + activatesDefault : boolean; + attributes : AuPango.AttrList; + buffer : AuGTK.EntryBuffer; + completion : AuGTK.EntryCompletion; + enableEmojiCompletion : boolean; + extraMenu : AuGIO.MenuModel; + hasFrame : boolean; + imModule : string; + inputHints : AuGTK.InputHints; + inputPurpose : AuGTK.InputPurpose; + invisibleChar : number; + invisibleCharSet : boolean; + maxLength : number; + overwriteMode : boolean; + placeholderText : string; + primaryIconActivatable : boolean; + primaryIconGicon : AuGIO.Icon; + primaryIconName : string; + primaryIconPaintable : AuGDK.Paintable; + primaryIconSensitive : boolean; + primaryIconStorageType : AuGTK.ImageType; + primaryIconTooltipMarkup : string; + primaryIconTooltipText : string; + progressFraction : number; + progressPulseStep : number; + scrollOffset : number; + secondaryIconActivatable : boolean; + secondaryIconGicon : AuGIO.Icon; + secondaryIconName : string; + secondaryIconPaintable : AuGDK.Paintable; + secondaryIconSensitive : boolean; + secondaryIconStorageType : AuGTK.ImageType; + secondaryIconTooltipMarkup : string; + secondaryIconTooltipText : string; + showEmojiIcon : boolean; + tabs : AuPango.TabArray; + textLength : number; + truncateMultiline : boolean; + visibility : boolean; + + static New(): AuGTK.Widget; + static NewWithBuffer(buffer: AuGTK.EntryBuffer): AuGTK.Widget; + getActivatesDefault(): boolean; + getAlignment(): number; + getAttributes(): AuPango.AttrList; + getBuffer(): AuGTK.EntryBuffer; + getCompletion(): AuGTK.EntryCompletion; + getCurrentIconDragSource(): number; + getExtraMenu(): AuGIO.MenuModel; + getHasFrame(): boolean; + getIconActivatable(iconPos: AuGTK.EntryIconPosition): boolean; + getIconArea(iconPos: AuGTK.EntryIconPosition, iconArea: AuGDK.Rectangle): void; + getIconAtPos(x: number, y: number): number; + getIconGicon(iconPos: AuGTK.EntryIconPosition): AuGIO.Icon; + getIconName(iconPos: AuGTK.EntryIconPosition): string; + getIconPaintable(iconPos: AuGTK.EntryIconPosition): AuGDK.Paintable; + getIconSensitive(iconPos: AuGTK.EntryIconPosition): boolean; + getIconStorageType(iconPos: AuGTK.EntryIconPosition): AuGTK.ImageType; + getIconTooltipMarkup(iconPos: AuGTK.EntryIconPosition): string; + getIconTooltipText(iconPos: AuGTK.EntryIconPosition): string; + getInputHints(): AuGTK.InputHints; + getInputPurpose(): AuGTK.InputPurpose; + getInvisibleChar(): string; + getMaxLength(): number; + getOverwriteMode(): boolean; + getPlaceholderText(): string; + getProgressFraction(): number; + getProgressPulseStep(): number; + getTabs(): AuPango.TabArray; + getTextLength(): number; + getVisibility(): boolean; + grabFocusWithoutSelecting(): boolean; + progressPulse(): void; + resetImContext(): void; + setActivatesDefault(setting: boolean): void; + setAlignment(XAlign: number): void; + setAttributes(attrs: AuPango.AttrList): void; + setBuffer(buffer: AuGTK.EntryBuffer): void; + setCompletion(completion: AuGTK.EntryCompletion | undefined | null): void; + setExtraMenu(model: AuGIO.MenuModel | undefined | null): void; + setHasFrame(setting: boolean): void; + setIconActivatable(iconPos: AuGTK.EntryIconPosition, activatable: boolean): void; + setIconDragSource(iconPos: AuGTK.EntryIconPosition, provider: AuGDK.ContentProvider, actions: AuGDK.DragAction): void; + setIconFromGicon(iconPos: AuGTK.EntryIconPosition, icon: AuGIO.Icon | undefined | null): void; + setIconFromIconName(iconPos: AuGTK.EntryIconPosition, iconName: string | undefined | null): void; + setIconFromPaintable(iconPos: AuGTK.EntryIconPosition, paintable: AuGDK.Paintable | undefined | null): void; + setIconSensitive(iconPos: AuGTK.EntryIconPosition, sensitive: boolean): void; + setIconTooltipMarkup(iconPos: AuGTK.EntryIconPosition, tooltip: string | undefined | null): void; + setIconTooltipText(iconPos: AuGTK.EntryIconPosition, tooltip: string | undefined | null): void; + setInputHints(hints: AuGTK.InputHints): void; + setInputPurpose(purpose: AuGTK.InputPurpose): void; + setInvisibleChar(ch: string): void; + setMaxLength(max: number): void; + setOverwriteMode(overwrite: boolean): void; + setPlaceholderText(text: string | undefined | null): void; + setProgressFraction(fraction: number): void; + setProgressPulseStep(fraction: number): void; + setTabs(tabs: AuPango.TabArray | undefined | null): void; + setVisibility(visible: boolean): void; + unsetInvisibleChar(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + editingCanceled : boolean; + + editingDone(): void; + removeWidget(): void; + startEditing(event: AuGDK.Event | undefined | null): void; + cursorPosition : number; + editable : boolean; + enableUndo : boolean; + maxWidthChars : number; + selectionBound : number; + text : string; + widthChars : number; + XAlign : number; + + static DelegateGetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static DelegateSetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static InstallProperties(objectClass: GObject.ObjectClass, firstProp: number): number; + delegateGetAccessiblePlatformState(state: AuGTK.AccessiblePlatformState): boolean; + deleteSelection(): void; + deleteText(startPos: number, endPos: number): void; + finishDelegate(): void; + getChars(startPos: number, endPos: number): string; + getDelegate(): AuGTK.Editable; + getEditable(): boolean; + getEnableUndo(): boolean; + getMaxWidthChars(): number; + getPosition(): number; + getSelectionBounds(startPos ?: number, endPos ?: number): boolean; + getText(): string; + getWidthChars(): number; + initDelegate(): void; + insertText(text: string, length: number, position: number): void; + selectRegion(startPos: number, endPos: number): void; + setEditable(isEditable: boolean): void; + setEnableUndo(enableUndo: boolean): void; + setMaxWidthChars(nChars: number): void; + setPosition(position: number): void; + setText(text: string): void; + setWidthChars(nChars: number): void; + } + + class EntryCtor { + accessibleRole ?: AuGTK.AccessibleRole; + cursorPosition ?: number; + editable ?: boolean; + editingCanceled ?: boolean; + enableUndo ?: boolean; + maxWidthChars ?: number; + selectionBound ?: number; + text ?: string; + widthChars ?: number; + XAlign ?: number; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + buffer ?: AuGTK.EntryBuffer; + maxLength ?: number; + visibility ?: boolean; + hasFrame ?: boolean; + invisibleChar ?: number; + activatesDefault ?: boolean; + scrollOffset ?: number; + truncateMultiline ?: boolean; + overwriteMode ?: boolean; + textLength ?: number; + invisibleCharSet ?: boolean; + progressFraction ?: number; + progressPulseStep ?: number; + primaryIconPaintable ?: AuGDK.Paintable; + secondaryIconPaintable ?: AuGDK.Paintable; + primaryIconName ?: string; + secondaryIconName ?: string; + primaryIconGicon ?: AuGIO.Icon; + secondaryIconGicon ?: AuGIO.Icon; + primaryIconStorageType ?: AuGTK.ImageType; + secondaryIconStorageType ?: AuGTK.ImageType; + primaryIconActivatable ?: boolean; + secondaryIconActivatable ?: boolean; + primaryIconSensitive ?: boolean; + secondaryIconSensitive ?: boolean; + primaryIconTooltipText ?: string; + secondaryIconTooltipText ?: string; + primaryIconTooltipMarkup ?: string; + secondaryIconTooltipMarkup ?: string; + imModule ?: string; + placeholderText ?: string; + completion ?: AuGTK.EntryCompletion; + inputPurpose ?: AuGTK.InputPurpose; + inputHints ?: AuGTK.InputHints; + attributes ?: AuPango.AttrList; + tabs ?: AuPango.TabArray; + extraMenu ?: AuGIO.MenuModel; + showEmojiIcon ?: boolean; + enableEmojiCompletion ?: boolean; + } + + class EntryEventListener extends AuGlibEx.IEventListener { + activate(): void; + iconPress(iconPos: AuGTK.EntryIconPosition): void; + iconRelease(iconPos: AuGTK.EntryIconPosition): void; + } + + class EntryBuffer extends GObject.Object { + constructor(initializerList ?: EntryBufferCtor); + + parentInstance : GObject.Object; + + length : number; + maxLength : number; + text : string; + + static New(initialChars: string | undefined | null, nInitialChars: number): AuGTK.EntryBuffer; + deleteText(position: number, nChars: number): number; + emitDeletedText(position: number, nChars: number): void; + emitInsertedText(position: number, chars: string, nChars: number): void; + getBytes(): number | bigint; + getLength(): number; + getMaxLength(): number; + getText(): string; + insertText(position: number, chars: string, nChars: number): number; + setMaxLength(maxLength: number): void; + setText(chars: string, nChars: number): void; + //TypeScript is complete garbage: + } + + class EntryBufferCtor { + text ?: string; + length ?: number; + maxLength ?: number; + } + + class EntryBufferEventListener extends AuGlibEx.IEventListener { + deletedText(position: number, nChars: number): void; + insertedText(position: number, chars: string, nChars: number): void; + } + + class EntryCompletion extends GObject.Object implements AuGTK.Buildable, AuGTK.CellLayout { + constructor(initializerList ?: EntryCompletionCtor); + + cellArea : AuGTK.CellArea; + inlineCompletion : boolean; + inlineSelection : boolean; + minimumKeyLength : number; + model : AuGTK.TreeModel; + popupCompletion : boolean; + popupSetWidth : boolean; + popupSingleMatch : boolean; + textColumn : number; + + static New(): AuGTK.EntryCompletion; + static NewWithArea(area: AuGTK.CellArea): AuGTK.EntryCompletion; + complete(): void; + computePrefix(key: string): string; + getCompletionPrefix(): string; + getEntry(): AuGTK.Widget; + getInlineCompletion(): boolean; + getInlineSelection(): boolean; + getMinimumKeyLength(): number; + getModel(): AuGTK.TreeModel; + getPopupCompletion(): boolean; + getPopupSetWidth(): boolean; + getPopupSingleMatch(): boolean; + getTextColumn(): number; + insertPrefix(): void; + setInlineCompletion(inlineCompletion: boolean): void; + setInlineSelection(inlineSelection: boolean): void; + setMatchFunc(func: (completion: AuGTK.EntryCompletion, key: string, iter: AuGTK.TreeIter) => boolean, funcNotify: () => void): void; + setMinimumKeyLength(length: number): void; + setModel(model: AuGTK.TreeModel | undefined | null): void; + setPopupCompletion(popupCompletion: boolean): void; + setPopupSetWidth(popupSetWidth: boolean): void; + setPopupSingleMatch(popupSingleMatch: boolean): void; + setTextColumn(column: number): void; + //TypeScript is complete garbage: + getBuildableId(): string; + addAttribute(cell: AuGTK.CellRenderer, attribute: string, column: number): void; + clear(): void; + clearAttributes(cell: AuGTK.CellRenderer): void; + getArea(): AuGTK.CellArea; + getCells(): AuGTK.CellRenderer[]; + packEnd(cell: AuGTK.CellRenderer, expand: boolean): void; + packStart(cell: AuGTK.CellRenderer, expand: boolean): void; + reorder(cell: AuGTK.CellRenderer, position: number): void; + setCellDataFunc(cell: AuGTK.CellRenderer, func: (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void | undefined | null, destroy: () => void): void; + } + + class EntryCompletionCtor { + model ?: AuGTK.TreeModel; + minimumKeyLength ?: number; + textColumn ?: number; + inlineCompletion ?: boolean; + popupCompletion ?: boolean; + popupSetWidth ?: boolean; + popupSingleMatch ?: boolean; + inlineSelection ?: boolean; + cellArea ?: AuGTK.CellArea; + } + + class EntryCompletionEventListener extends AuGlibEx.IEventListener { + cursorOnMatch(model: AuGTK.TreeModel, iter: AuGTK.TreeIter): boolean; + insertPrefix(prefix: string): boolean; + matchSelected(model: AuGTK.TreeModel, iter: AuGTK.TreeIter): boolean; + noMatches(): void; + } + + class EventController extends GObject.Object { + constructor(initializerList ?: EventControllerCtor); + + name : string; + propagationLimit : AuGTK.PropagationLimit; + propagationPhase : AuGTK.PropagationPhase; + widget : AuGTK.Widget; + + getCurrentEvent(): AuGDK.Event; + getCurrentEventDevice(): AuGDK.Device; + getCurrentEventState(): AuGDK.ModifierType; + getCurrentEventTime(): number; + getName(): string; + getPropagationLimit(): AuGTK.PropagationLimit; + getPropagationPhase(): AuGTK.PropagationPhase; + getWidget(): AuGTK.Widget; + reset(): void; + setName(name: string | undefined | null): void; + setPropagationLimit(limit: AuGTK.PropagationLimit): void; + setPropagationPhase(phase: AuGTK.PropagationPhase): void; + setStaticName(name: string | undefined | null): void; + //TypeScript is complete garbage: + } + + class EventControllerCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + } + + class EventControllerFocus extends AuGTK.EventController { + constructor(initializerList ?: EventControllerFocusCtor); + + containsFocus : boolean; + isFocus : boolean; + + static New(): AuGTK.EventController; + //TypeScript is complete garbage: + } + + class EventControllerFocusCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + isFocus ?: boolean; + containsFocus ?: boolean; + } + + class EventControllerFocusEventListener extends AuGlibEx.IEventListener { + enter(): void; + leave(): void; + } + + class EventControllerKey extends AuGTK.EventController { + constructor(initializerList ?: EventControllerKeyCtor); + + static New(): AuGTK.EventController; + forward(widget: AuGTK.Widget): boolean; + getGroup(): number; + getImContext(): AuGTK.IMContext; + setImContext(imContext: AuGTK.IMContext | undefined | null): void; + //TypeScript is complete garbage: + } + + class EventControllerKeyCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + } + + class EventControllerKeyEventListener extends AuGlibEx.IEventListener { + imUpdate(): void; + keyPressed(keyval: number, keycode: number, state: AuGDK.ModifierType): boolean; + keyReleased(keyval: number, keycode: number, state: AuGDK.ModifierType): void; + modifiers(keyval: AuGDK.ModifierType): boolean; + } + + class EventControllerLegacy extends AuGTK.EventController { + constructor(initializerList ?: EventControllerLegacyCtor); + + static New(): AuGTK.EventController; + //TypeScript is complete garbage: + } + + class EventControllerLegacyCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + } + + class EventControllerLegacyEventListener extends AuGlibEx.IEventListener { + event(event: AuGDK.Event): boolean; + } + + class EventControllerMotion extends AuGTK.EventController { + constructor(initializerList ?: EventControllerMotionCtor); + + containsPointer : boolean; + isPointer : boolean; + + static New(): AuGTK.EventController; + //TypeScript is complete garbage: + } + + class EventControllerMotionCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + isPointer ?: boolean; + containsPointer ?: boolean; + } + + class EventControllerMotionEventListener extends AuGlibEx.IEventListener { + enter(x: number, y: number): void; + leave(): void; + motion(x: number, y: number): void; + } + + class EventControllerScroll extends AuGTK.EventController { + constructor(initializerList ?: EventControllerScrollCtor); + + flags : AuGTK.EventControllerScrollFlags; + + static New(flags: AuGTK.EventControllerScrollFlags): AuGTK.EventController; + getFlags(): AuGTK.EventControllerScrollFlags; + getUnit(): AuGDK.ScrollUnit; + setFlags(flags: AuGTK.EventControllerScrollFlags): void; + //TypeScript is complete garbage: + } + + class EventControllerScrollCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + flags ?: AuGTK.EventControllerScrollFlags; + } + + class EventControllerScrollEventListener extends AuGlibEx.IEventListener { + decelerate(velX: number, velY: number): void; + scroll(dx: number, dy: number): boolean; + scrollBegin(): void; + scrollEnd(): void; + } + + class EveryFilter extends AuGTK.MultiFilter implements AuGIO.ListModel, AuGTK.Buildable { + constructor(initializerList ?: EveryFilterCtor); + + static New(): AuGTK.EveryFilter; + //TypeScript is complete garbage: + } + + class EveryFilterCtor { + itemType ?: any; + nItems ?: number; + } + + class Expander extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ExpanderCtor); + + child : AuGTK.Widget; + expanded : boolean; + label : string; + labelWidget : AuGTK.Widget; + resizeToplevel : boolean; + useMarkup : boolean; + useUnderline : boolean; + + static New(label: string | undefined | null): AuGTK.Widget; + static NewWithMnemonic(label: string | undefined | null): AuGTK.Widget; + getChild(): AuGTK.Widget; + getExpanded(): boolean; + getLabel(): string; + getLabelWidget(): AuGTK.Widget; + getResizeToplevel(): boolean; + getUseMarkup(): boolean; + getUseUnderline(): boolean; + setChild(child: AuGTK.Widget | undefined | null): void; + setExpanded(expanded: boolean): void; + setLabel(label: string | undefined | null): void; + setLabelWidget(labelWidget: AuGTK.Widget | undefined | null): void; + setResizeToplevel(resizeToplevel: boolean): void; + setUseMarkup(useMarkup: boolean): void; + setUseUnderline(useUnderline: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class ExpanderCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + expanded ?: boolean; + label ?: string; + useUnderline ?: boolean; + useMarkup ?: boolean; + labelWidget ?: AuGTK.Widget; + resizeToplevel ?: boolean; + child ?: AuGTK.Widget; + } + + class ExpanderEventListener extends AuGlibEx.IEventListener { + activate(): void; + } + + class Expression { + constructor(initializerList ?: ExpressionCtor); + + bind(target: GObject.Object, property: string, _this: GObject.Object | undefined | null): AuGTK.ExpressionWatch; + evaluate(_this: GObject.Object | undefined | null, value: GObject.Value): boolean; + getValueType(): number; + isStatic(): boolean; + ref(): AuGTK.Expression; + unref(): void; + watch(_this: GObject.Object | undefined | null, notify: () => void, userDestroy: () => void): AuGTK.ExpressionWatch; + //TypeScript is complete garbage: + } + + class ExpressionCtor { + } + + class FileChooserDialog extends AuGTK.Dialog implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.FileChooser, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: FileChooserDialogCtor); + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + action : AuGTK.FileChooserAction; + createFolders : boolean; + filter : AuGTK.FileFilter; + filters : AuGIO.ListModel; + selectMultiple : boolean; + shortcutFolders : AuGIO.ListModel; + + addChoice(id: string, label: string, options: string[] | undefined | null, optionLabels: string[] | undefined | null): void; + addFilter(filter: AuGTK.FileFilter): void; + addShortcutFolder(folder: AuGIO.File): boolean; + getAction(): AuGTK.FileChooserAction; + getChoice(id: string): string; + getCreateFolders(): boolean; + getCurrentFolder(): AuGIO.File; + getCurrentName(): string; + getFile(): AuGIO.File; + getFiles(): AuGIO.ListModel; + getFilter(): AuGTK.FileFilter; + getFilters(): AuGIO.ListModel; + getSelectMultiple(): boolean; + getShortcutFolders(): AuGIO.ListModel; + removeChoice(id: string): void; + removeFilter(filter: AuGTK.FileFilter): void; + removeShortcutFolder(folder: AuGIO.File): boolean; + setAction(action: AuGTK.FileChooserAction): void; + setChoice(id: string, option: string): void; + setCreateFolders(createFolders: boolean): void; + setCurrentFolder(file: AuGIO.File | undefined | null): boolean; + setCurrentName(name: string): void; + setFile(file: AuGIO.File): boolean; + setFilter(filter: AuGTK.FileFilter): void; + setSelectMultiple(selectMultiple: boolean): void; + } + + class FileChooserDialogCtor { + accessibleRole ?: AuGTK.AccessibleRole; + action ?: AuGTK.FileChooserAction; + createFolders ?: boolean; + filter ?: AuGTK.FileFilter; + filters ?: AuGIO.ListModel; + selectMultiple ?: boolean; + shortcutFolders ?: AuGIO.ListModel; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + useHeaderBar ?: number; + } + + class FileChooserNative extends AuGTK.NativeDialog implements AuGTK.FileChooser { + constructor(initializerList ?: FileChooserNativeCtor); + + acceptLabel : string; + cancelLabel : string; + + static New(title: string | undefined | null, parent: AuGTK.Window | undefined | null, action: AuGTK.FileChooserAction, acceptLabel: string | undefined | null, cancelLabel: string | undefined | null): AuGTK.FileChooserNative; + getAcceptLabel(): string; + getCancelLabel(): string; + setAcceptLabel(acceptLabel: string | undefined | null): void; + setCancelLabel(cancelLabel: string | undefined | null): void; + //TypeScript is complete garbage: + action : AuGTK.FileChooserAction; + createFolders : boolean; + filter : AuGTK.FileFilter; + filters : AuGIO.ListModel; + selectMultiple : boolean; + shortcutFolders : AuGIO.ListModel; + + addChoice(id: string, label: string, options: string[] | undefined | null, optionLabels: string[] | undefined | null): void; + addFilter(filter: AuGTK.FileFilter): void; + addShortcutFolder(folder: AuGIO.File): boolean; + getAction(): AuGTK.FileChooserAction; + getChoice(id: string): string; + getCreateFolders(): boolean; + getCurrentFolder(): AuGIO.File; + getCurrentName(): string; + getFile(): AuGIO.File; + getFiles(): AuGIO.ListModel; + getFilter(): AuGTK.FileFilter; + getFilters(): AuGIO.ListModel; + getSelectMultiple(): boolean; + getShortcutFolders(): AuGIO.ListModel; + removeChoice(id: string): void; + removeFilter(filter: AuGTK.FileFilter): void; + removeShortcutFolder(folder: AuGIO.File): boolean; + setAction(action: AuGTK.FileChooserAction): void; + setChoice(id: string, option: string): void; + setCreateFolders(createFolders: boolean): void; + setCurrentFolder(file: AuGIO.File | undefined | null): boolean; + setCurrentName(name: string): void; + setFile(file: AuGIO.File): boolean; + setFilter(filter: AuGTK.FileFilter): void; + setSelectMultiple(selectMultiple: boolean): void; + } + + class FileChooserNativeCtor { + action ?: AuGTK.FileChooserAction; + createFolders ?: boolean; + filter ?: AuGTK.FileFilter; + filters ?: AuGIO.ListModel; + selectMultiple ?: boolean; + shortcutFolders ?: AuGIO.ListModel; + title ?: string; + visible ?: boolean; + modal ?: boolean; + transientFor ?: AuGTK.Window; + acceptLabel ?: string; + cancelLabel ?: string; + } + + class FileChooserWidget extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.FileChooser { + constructor(initializerList ?: FileChooserWidgetCtor); + + searchMode : boolean; + showTime : boolean; + subtitle : string; + + static New(action: AuGTK.FileChooserAction): AuGTK.Widget; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + action : AuGTK.FileChooserAction; + createFolders : boolean; + filter : AuGTK.FileFilter; + filters : AuGIO.ListModel; + selectMultiple : boolean; + shortcutFolders : AuGIO.ListModel; + + addChoice(id: string, label: string, options: string[] | undefined | null, optionLabels: string[] | undefined | null): void; + addFilter(filter: AuGTK.FileFilter): void; + addShortcutFolder(folder: AuGIO.File): boolean; + getAction(): AuGTK.FileChooserAction; + getChoice(id: string): string; + getCreateFolders(): boolean; + getCurrentFolder(): AuGIO.File; + getCurrentName(): string; + getFile(): AuGIO.File; + getFiles(): AuGIO.ListModel; + getFilter(): AuGTK.FileFilter; + getFilters(): AuGIO.ListModel; + getSelectMultiple(): boolean; + getShortcutFolders(): AuGIO.ListModel; + removeChoice(id: string): void; + removeFilter(filter: AuGTK.FileFilter): void; + removeShortcutFolder(folder: AuGIO.File): boolean; + setAction(action: AuGTK.FileChooserAction): void; + setChoice(id: string, option: string): void; + setCreateFolders(createFolders: boolean): void; + setCurrentFolder(file: AuGIO.File | undefined | null): boolean; + setCurrentName(name: string): void; + setFile(file: AuGIO.File): boolean; + setFilter(filter: AuGTK.FileFilter): void; + setSelectMultiple(selectMultiple: boolean): void; + } + + class FileChooserWidgetCtor { + accessibleRole ?: AuGTK.AccessibleRole; + action ?: AuGTK.FileChooserAction; + createFolders ?: boolean; + filter ?: AuGTK.FileFilter; + filters ?: AuGIO.ListModel; + selectMultiple ?: boolean; + shortcutFolders ?: AuGIO.ListModel; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + searchMode ?: boolean; + subtitle ?: string; + showTime ?: boolean; + } + + class FileChooserWidgetEventListener extends AuGlibEx.IEventListener { + desktopFolder(): void; + downFolder(): void; + homeFolder(): void; + locationPopup(path: string): void; + locationPopupOnPaste(): void; + locationTogglePopup(): void; + placesShortcut(): void; + quickBookmark(bookmarkIndex: number): void; + recentShortcut(): void; + searchShortcut(): void; + showHidden(): void; + upFolder(): void; + } + + class FileDialog extends GObject.Object { + constructor(initializerList ?: FileDialogCtor); + + acceptLabel : string; + defaultFilter : AuGTK.FileFilter; + filters : AuGIO.ListModel; + initialFile : AuGIO.File; + initialFolder : AuGIO.File; + initialName : string; + modal : boolean; + title : string; + + static New(): AuGTK.FileDialog; + getAcceptLabel(): string; + getDefaultFilter(): AuGTK.FileFilter; + getFilters(): AuGIO.ListModel; + getInitialFile(): AuGIO.File; + getInitialFolder(): AuGIO.File; + getInitialName(): string; + getModal(): boolean; + getTitle(): string; + open(parent: AuGTK.Window | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + openFinish(result: AuGIO.AsyncResult): AuGIO.File; + openMultiple(parent: AuGTK.Window | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + openMultipleFinish(result: AuGIO.AsyncResult): AuGIO.ListModel; + save(parent: AuGTK.Window | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + saveFinish(result: AuGIO.AsyncResult): AuGIO.File; + selectFolder(parent: AuGTK.Window | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + selectFolderFinish(result: AuGIO.AsyncResult): AuGIO.File; + selectMultipleFolders(parent: AuGTK.Window | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + selectMultipleFoldersFinish(result: AuGIO.AsyncResult): AuGIO.ListModel; + setAcceptLabel(acceptLabel: string | undefined | null): void; + setDefaultFilter(filter: AuGTK.FileFilter | undefined | null): void; + setFilters(filters: AuGIO.ListModel): void; + setInitialFile(file: AuGIO.File | undefined | null): void; + setInitialFolder(folder: AuGIO.File | undefined | null): void; + setInitialName(name: string | undefined | null): void; + setModal(modal: boolean): void; + setTitle(title: string): void; + //TypeScript is complete garbage: + } + + class FileDialogCtor { + acceptLabel ?: string; + defaultFilter ?: AuGTK.FileFilter; + filters ?: AuGIO.ListModel; + initialFile ?: AuGIO.File; + initialFolder ?: AuGIO.File; + initialName ?: string; + modal ?: boolean; + title ?: string; + } + + class FileFilter extends AuGTK.Filter implements AuGTK.Buildable { + constructor(initializerList ?: FileFilterCtor); + + mimeTypes : string[]; + name : string; + patterns : string[]; + suffixes : string[]; + + static New(): AuGTK.FileFilter; + static NewFromGvariant(variant: AuGlibEx.Variant): AuGTK.FileFilter; + addMimeType(mimeType: string): void; + addPattern(pattern: string): void; + addPixbufFormats(): void; + addSuffix(suffix: string): void; + getAttributes(): string[]; + getName(): string; + setName(name: string | undefined | null): void; + toGvariant(): AuGlibEx.Variant; + //TypeScript is complete garbage: + getBuildableId(): string; + } + + class FileFilterCtor { + name ?: string; + patterns ?: any; + mimeTypes ?: any; + suffixes ?: any; + } + + class FileLauncher extends GObject.Object { + constructor(initializerList ?: FileLauncherCtor); + + file : AuGIO.File; + + static New(file: AuGIO.File | undefined | null): AuGTK.FileLauncher; + getFile(): AuGIO.File; + launch(parent: AuGTK.Window | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + launchFinish(result: AuGIO.AsyncResult): boolean; + openContainingFolder(parent: AuGTK.Window | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + openContainingFolderFinish(result: AuGIO.AsyncResult): boolean; + setFile(file: AuGIO.File | undefined | null): void; + //TypeScript is complete garbage: + } + + class FileLauncherCtor { + file ?: AuGIO.File; + } + + class Filter extends GObject.Object { + constructor(initializerList ?: FilterCtor); + + parentInstance : GObject.Object; + + changed(change: AuGTK.FilterChange): void; + getStrictness(): AuGTK.FilterMatch; + match(item: GObject.Object): boolean; + //TypeScript is complete garbage: + } + + class FilterCtor { + } + + class FilterEventListener extends AuGlibEx.IEventListener { + changed(change: AuGTK.FilterChange): void; + } + + class FilterListModel extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: FilterListModelCtor); + + filter : AuGTK.Filter; + incremental : boolean; + itemType : number; + model : AuGIO.ListModel; + nItems : number; + pending : number; + + static New(model: AuGIO.ListModel | undefined | null, filter: AuGTK.Filter | undefined | null): AuGTK.FilterListModel; + getFilter(): AuGTK.Filter; + getIncremental(): boolean; + getModel(): AuGIO.ListModel; + getPending(): number; + setFilter(filter: AuGTK.Filter | undefined | null): void; + setIncremental(incremental: boolean): void; + setModel(model: AuGIO.ListModel | undefined | null): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class FilterListModelCtor { + filter ?: AuGTK.Filter; + incremental ?: boolean; + itemType ?: any; + model ?: AuGIO.ListModel; + nItems ?: number; + pending ?: number; + } + + class Fixed extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: FixedCtor); + + parentInstance : AuGTK.Widget; + + static New(): AuGTK.Widget; + getChildPosition(widget: AuGTK.Widget, x: number, y: number): void; + getChildTransform(widget: AuGTK.Widget): Gsk.Transform; + move(widget: AuGTK.Widget, x: number, y: number): void; + put(widget: AuGTK.Widget, x: number, y: number): void; + remove(widget: AuGTK.Widget): void; + setChildTransform(widget: AuGTK.Widget, transform: Gsk.Transform | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class FixedCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + } + + class FixedLayout extends AuGTK.LayoutManager { + constructor(initializerList ?: FixedLayoutCtor); + + static New(): AuGTK.LayoutManager; + //TypeScript is complete garbage: + } + + class FixedLayoutCtor { + } + + class FixedLayoutChild extends AuGTK.LayoutChild { + constructor(initializerList ?: FixedLayoutChildCtor); + + transform : Gsk.Transform; + + getTransform(): Gsk.Transform; + setTransform(transform: Gsk.Transform): void; + //TypeScript is complete garbage: + } + + class FixedLayoutChildCtor { + layoutManager ?: AuGTK.LayoutManager; + childWidget ?: AuGTK.Widget; + transform ?: Gsk.Transform; + } + + class FlattenListModel extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: FlattenListModelCtor); + + itemType : number; + model : AuGIO.ListModel; + nItems : number; + + static New(model: AuGIO.ListModel | undefined | null): AuGTK.FlattenListModel; + getModel(): AuGIO.ListModel; + getModelForItem(position: number): AuGIO.ListModel; + setModel(model: AuGIO.ListModel | undefined | null): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class FlattenListModelCtor { + itemType ?: any; + model ?: AuGIO.ListModel; + nItems ?: number; + } + + class FlowBox extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: FlowBoxCtor); + + acceptUnpairedRelease : boolean; + activateOnSingleClick : boolean; + columnSpacing : number; + homogeneous : boolean; + maxChildrenPerLine : number; + minChildrenPerLine : number; + rowSpacing : number; + selectionMode : AuGTK.SelectionMode; + + static New(): AuGTK.Widget; + append(child: AuGTK.Widget): void; + bindModel(model: AuGIO.ListModel | undefined | null, createWidgetFunc: (item: GObject.Object) => AuGTK.Widget, userDataFreeFunc: () => void): void; + getActivateOnSingleClick(): boolean; + getChildAtIndex(idx: number): AuGTK.FlowBoxChild; + getChildAtPos(x: number, y: number): AuGTK.FlowBoxChild; + getColumnSpacing(): number; + getHomogeneous(): boolean; + getMaxChildrenPerLine(): number; + getMinChildrenPerLine(): number; + getRowSpacing(): number; + getSelectedChildren(): AuGTK.FlowBoxChild[]; + getSelectionMode(): AuGTK.SelectionMode; + insert(widget: AuGTK.Widget, position: number): void; + invalidateFilter(): void; + invalidateSort(): void; + prepend(child: AuGTK.Widget): void; + remove(widget: AuGTK.Widget): void; + selectAll(): void; + selectChild(child: AuGTK.FlowBoxChild): void; + selectedForeach(func: (box: AuGTK.FlowBox, child: AuGTK.FlowBoxChild) => void): void; + setActivateOnSingleClick(single: boolean): void; + setColumnSpacing(spacing: number): void; + setFilterFunc(filterFunc: (child: AuGTK.FlowBoxChild) => boolean | undefined | null, destroy: () => void): void; + setHadjustment(adjustment: AuGTK.Adjustment): void; + setHomogeneous(homogeneous: boolean): void; + setMaxChildrenPerLine(nChildren: number): void; + setMinChildrenPerLine(nChildren: number): void; + setRowSpacing(spacing: number): void; + setSelectionMode(mode: AuGTK.SelectionMode): void; + setSortFunc(sortFunc: (child1: AuGTK.FlowBoxChild, child2: AuGTK.FlowBoxChild) => number | undefined | null, destroy: () => void): void; + setVadjustment(adjustment: AuGTK.Adjustment): void; + unselectAll(): void; + unselectChild(child: AuGTK.FlowBoxChild): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class FlowBoxCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + homogeneous ?: boolean; + columnSpacing ?: number; + rowSpacing ?: number; + minChildrenPerLine ?: number; + maxChildrenPerLine ?: number; + selectionMode ?: AuGTK.SelectionMode; + activateOnSingleClick ?: boolean; + acceptUnpairedRelease ?: boolean; + } + + class FlowBoxEventListener extends AuGlibEx.IEventListener { + activateCursorChild(): void; + childActivated(child: AuGTK.FlowBoxChild): void; + moveCursor(step: AuGTK.MovementStep, count: number, extend: boolean, modify: boolean): boolean; + selectAll(): void; + selectedChildrenChanged(): void; + toggleCursorChild(): void; + unselectAll(): void; + } + + class FlowBoxChild extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: FlowBoxChildCtor); + + parentInstance : AuGTK.Widget; + + child : AuGTK.Widget; + + static New(): AuGTK.Widget; + changed(): void; + getChild(): AuGTK.Widget; + getIndex(): number; + isSelected(): boolean; + setChild(child: AuGTK.Widget | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class FlowBoxChildCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + child ?: AuGTK.Widget; + } + + class FlowBoxChildEventListener extends AuGlibEx.IEventListener { + activate(): void; + } + + class FontButton extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.FontChooser { + constructor(initializerList ?: FontButtonCtor); + + modal : boolean; + title : string; + useFont : boolean; + useSize : boolean; + + static New(): AuGTK.Widget; + static NewWithFont(fontname: string): AuGTK.Widget; + getModal(): boolean; + getTitle(): string; + getUseFont(): boolean; + getUseSize(): boolean; + setModal(modal: boolean): void; + setTitle(title: string): void; + setUseFont(useFont: boolean): void; + setUseSize(useSize: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + font : string; + fontDesc : AuPango.FontDescription; + fontFeatures : string; + language : string; + level : AuGTK.FontChooserLevel; + previewText : string; + showPreviewEntry : boolean; + + getFont(): string; + getFontDesc(): AuPango.FontDescription; + getFontFace(): AuPango.FontFace; + getFontFamily(): AuPango.FontFamily; + getFontFeatures(): string; + getFontSize(): number; + getLanguage(): string; + getLevel(): AuGTK.FontChooserLevel; + getPreviewText(): string; + getShowPreviewEntry(): boolean; + setFilterFunc(filter: (family: AuPango.FontFamily, face: AuPango.FontFace) => boolean | undefined | null, destroy: () => void): void; + setFont(fontname: string): void; + setFontDesc(fontDesc: AuPango.FontDescription): void; + setLanguage(language: string): void; + setLevel(level: AuGTK.FontChooserLevel): void; + setPreviewText(text: string): void; + setShowPreviewEntry(showPreviewEntry: boolean): void; + } + + class FontButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + font ?: string; + fontDesc ?: AuPango.FontDescription; + fontFeatures ?: string; + language ?: string; + level ?: AuGTK.FontChooserLevel; + previewText ?: string; + showPreviewEntry ?: boolean; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + modal ?: boolean; + useFont ?: boolean; + useSize ?: boolean; + } + + class FontButtonEventListener extends AuGlibEx.IEventListener { + activate(): void; + fontSet(): void; + } + + class FontChooserDialog extends AuGTK.Dialog implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.FontChooser, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: FontChooserDialogCtor); + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + font : string; + fontDesc : AuPango.FontDescription; + fontFeatures : string; + language : string; + level : AuGTK.FontChooserLevel; + previewText : string; + showPreviewEntry : boolean; + + getFont(): string; + getFontDesc(): AuPango.FontDescription; + getFontFace(): AuPango.FontFace; + getFontFamily(): AuPango.FontFamily; + getFontFeatures(): string; + getFontSize(): number; + getLanguage(): string; + getLevel(): AuGTK.FontChooserLevel; + getPreviewText(): string; + getShowPreviewEntry(): boolean; + setFilterFunc(filter: (family: AuPango.FontFamily, face: AuPango.FontFace) => boolean | undefined | null, destroy: () => void): void; + setFont(fontname: string): void; + setFontDesc(fontDesc: AuPango.FontDescription): void; + setLanguage(language: string): void; + setLevel(level: AuGTK.FontChooserLevel): void; + setPreviewText(text: string): void; + setShowPreviewEntry(showPreviewEntry: boolean): void; + } + + class FontChooserDialogCtor { + accessibleRole ?: AuGTK.AccessibleRole; + font ?: string; + fontDesc ?: AuPango.FontDescription; + fontFeatures ?: string; + language ?: string; + level ?: AuGTK.FontChooserLevel; + previewText ?: string; + showPreviewEntry ?: boolean; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + useHeaderBar ?: number; + } + + class FontChooserWidget extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.FontChooser { + constructor(initializerList ?: FontChooserWidgetCtor); + + tweakAction : AuGIO.Action; + + static New(): AuGTK.Widget; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + font : string; + fontDesc : AuPango.FontDescription; + fontFeatures : string; + language : string; + level : AuGTK.FontChooserLevel; + previewText : string; + showPreviewEntry : boolean; + + getFont(): string; + getFontDesc(): AuPango.FontDescription; + getFontFace(): AuPango.FontFace; + getFontFamily(): AuPango.FontFamily; + getFontFeatures(): string; + getFontSize(): number; + getLanguage(): string; + getLevel(): AuGTK.FontChooserLevel; + getPreviewText(): string; + getShowPreviewEntry(): boolean; + setFilterFunc(filter: (family: AuPango.FontFamily, face: AuPango.FontFace) => boolean | undefined | null, destroy: () => void): void; + setFont(fontname: string): void; + setFontDesc(fontDesc: AuPango.FontDescription): void; + setLanguage(language: string): void; + setLevel(level: AuGTK.FontChooserLevel): void; + setPreviewText(text: string): void; + setShowPreviewEntry(showPreviewEntry: boolean): void; + } + + class FontChooserWidgetCtor { + accessibleRole ?: AuGTK.AccessibleRole; + font ?: string; + fontDesc ?: AuPango.FontDescription; + fontFeatures ?: string; + language ?: string; + level ?: AuGTK.FontChooserLevel; + previewText ?: string; + showPreviewEntry ?: boolean; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + tweakAction ?: AuGIO.Action; + } + + class FontDialog extends GObject.Object { + constructor(initializerList ?: FontDialogCtor); + + filter : AuGTK.Filter; + fontMap : AuPango.FontMap; + language : AuPango.Language; + modal : boolean; + title : string; + + static New(): AuGTK.FontDialog; + chooseFace(parent: AuGTK.Window | undefined | null, initialValue: AuPango.FontFace | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + chooseFaceFinish(result: AuGIO.AsyncResult): AuPango.FontFace; + chooseFamily(parent: AuGTK.Window | undefined | null, initialValue: AuPango.FontFamily | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + chooseFamilyFinish(result: AuGIO.AsyncResult): AuPango.FontFamily; + chooseFont(parent: AuGTK.Window | undefined | null, initialValue: AuPango.FontDescription | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + chooseFontAndFeatures(parent: AuGTK.Window | undefined | null, initialValue: AuPango.FontDescription | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + chooseFontAndFeaturesFinish(result: AuGIO.AsyncResult, fontDesc: AuPango.FontDescription, fontFeatures: string, language: AuPango.Language): boolean; + chooseFontFinish(result: AuGIO.AsyncResult): AuPango.FontDescription; + getFilter(): AuGTK.Filter; + getFontMap(): AuPango.FontMap; + getLanguage(): AuPango.Language; + getModal(): boolean; + getTitle(): string; + setFilter(filter: AuGTK.Filter | undefined | null): void; + setFontMap(fontmap: AuPango.FontMap | undefined | null): void; + setLanguage(language: AuPango.Language): void; + setModal(modal: boolean): void; + setTitle(title: string): void; + //TypeScript is complete garbage: + } + + class FontDialogCtor { + title ?: string; + modal ?: boolean; + language ?: AuPango.Language; + fontMap ?: AuPango.FontMap; + filter ?: AuGTK.Filter; + } + + class FontDialogButton extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: FontDialogButtonCtor); + + dialog : AuGTK.FontDialog; + fontDesc : AuPango.FontDescription; + fontFeatures : string; + language : AuPango.Language; + level : AuGTK.FontLevel; + useFont : boolean; + useSize : boolean; + + static New(dialog: AuGTK.FontDialog | undefined | null): AuGTK.Widget; + getDialog(): AuGTK.FontDialog; + getFontDesc(): AuPango.FontDescription; + getFontFeatures(): string; + getLanguage(): AuPango.Language; + getLevel(): AuGTK.FontLevel; + getUseFont(): boolean; + getUseSize(): boolean; + setDialog(dialog: AuGTK.FontDialog): void; + setFontDesc(fontDesc: AuPango.FontDescription): void; + setFontFeatures(fontFeatures: string | undefined | null): void; + setLanguage(language: AuPango.Language | undefined | null): void; + setLevel(level: AuGTK.FontLevel): void; + setUseFont(useFont: boolean): void; + setUseSize(useSize: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class FontDialogButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + dialog ?: AuGTK.FontDialog; + level ?: AuGTK.FontLevel; + fontDesc ?: AuPango.FontDescription; + fontFeatures ?: string; + language ?: AuPango.Language; + useFont ?: boolean; + useSize ?: boolean; + } + + class Frame extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: FrameCtor); + + parentInstance : AuGTK.Widget; + + child : AuGTK.Widget; + label : string; + labelWidget : AuGTK.Widget; + labelXAlign : number; + + static New(label: string | undefined | null): AuGTK.Widget; + getChild(): AuGTK.Widget; + getLabel(): string; + getLabelAlign(): number; + getLabelWidget(): AuGTK.Widget; + setChild(child: AuGTK.Widget | undefined | null): void; + setLabel(label: string | undefined | null): void; + setLabelAlign(XAlign: number): void; + setLabelWidget(labelWidget: AuGTK.Widget | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class FrameCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + label ?: string; + labelXAlign ?: number; + labelWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + } + + class GLArea extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: GLAreaCtor); + + parentInstance : AuGTK.Widget; + + autoRender : boolean; + context : AuGDK.GLContext; + hasDepthBuffer : boolean; + hasStencilBuffer : boolean; + useEs : boolean; + + static New(): AuGTK.Widget; + attachBuffers(): void; + getAutoRender(): boolean; + getContext(): AuGDK.GLContext; + getError(): AuGlibEx.Error; + getHasDepthBuffer(): boolean; + getHasStencilBuffer(): boolean; + getRequiredVersion(major: number, minor: number): void; + getUseEs(): boolean; + makeCurrent(): void; + queueRender(): void; + setAutoRender(autoRender: boolean): void; + setError(error: AuGlibEx.Error | undefined | null): void; + setHasDepthBuffer(hasDepthBuffer: boolean): void; + setHasStencilBuffer(hasStencilBuffer: boolean): void; + setRequiredVersion(major: number, minor: number): void; + setUseEs(useEs: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class GLAreaCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + context ?: AuGDK.GLContext; + hasDepthBuffer ?: boolean; + hasStencilBuffer ?: boolean; + useEs ?: boolean; + autoRender ?: boolean; + } + + class GLAreaEventListener extends AuGlibEx.IEventListener { + createContext(): AuGDK.GLContext; + render(context: AuGDK.GLContext): boolean; + resize(width: number, height: number): void; + } + + class Gesture extends AuGTK.EventController { + constructor(initializerList ?: GestureCtor); + + nPoints : number; + + getBoundingBox(rect: AuGDK.Rectangle): boolean; + getBoundingBoxCenter(x: number, y: number): boolean; + getDevice(): AuGDK.Device; + getGroup(): AuGTK.Gesture[]; + getLastEvent(sequence: AuGDK.EventSequence | undefined | null): AuGDK.Event; + getLastUpdatedSequence(): AuGDK.EventSequence; + getPoint(sequence: AuGDK.EventSequence | undefined | null, x ?: number, y ?: number): boolean; + getSequenceState(sequence: AuGDK.EventSequence): AuGTK.EventSequenceState; + getSequences(): AuGDK.EventSequence[]; + group(gesture: AuGTK.Gesture): void; + handlesSequence(sequence: AuGDK.EventSequence | undefined | null): boolean; + isActive(): boolean; + isGroupedWith(other: AuGTK.Gesture): boolean; + isRecognized(): boolean; + setSequenceState(sequence: AuGDK.EventSequence, state: AuGTK.EventSequenceState): boolean; + setState(state: AuGTK.EventSequenceState): boolean; + ungroup(): void; + //TypeScript is complete garbage: + } + + class GestureCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + } + + class GestureEventListener extends AuGlibEx.IEventListener { + begin(sequence: AuGDK.EventSequence | undefined | null): void; + cancel(sequence: AuGDK.EventSequence | undefined | null): void; + end(sequence: AuGDK.EventSequence | undefined | null): void; + sequenceStateChanged(sequence: AuGDK.EventSequence | undefined | null, state: AuGTK.EventSequenceState): void; + update(sequence: AuGDK.EventSequence | undefined | null): void; + } + + class GestureClick extends AuGTK.GestureSingle { + constructor(initializerList ?: GestureClickCtor); + + static New(): AuGTK.Gesture; + //TypeScript is complete garbage: + } + + class GestureClickCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + touchOnly ?: boolean; + exclusive ?: boolean; + button ?: number; + } + + class GestureClickEventListener extends AuGlibEx.IEventListener { + pressed(nPress: number, x: number, y: number): void; + released(nPress: number, x: number, y: number): void; + stopped(): void; + unpairedRelease(x: number, y: number, button: number, sequence: AuGDK.EventSequence | undefined | null): void; + } + + class GestureDrag extends AuGTK.GestureSingle { + constructor(initializerList ?: GestureDragCtor); + + static New(): AuGTK.Gesture; + getOffset(x: number | undefined | null, y: number | undefined | null): boolean; + getStartPoint(x: number | undefined | null, y: number | undefined | null): boolean; + //TypeScript is complete garbage: + } + + class GestureDragCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + touchOnly ?: boolean; + exclusive ?: boolean; + button ?: number; + } + + class GestureDragEventListener extends AuGlibEx.IEventListener { + dragBegin(startX: number, startY: number): void; + dragEnd(offsetX: number, offsetY: number): void; + dragUpdate(offsetX: number, offsetY: number): void; + } + + class GestureLongPress extends AuGTK.GestureSingle { + constructor(initializerList ?: GestureLongPressCtor); + + delayFactor : number; + + static New(): AuGTK.Gesture; + getDelayFactor(): number; + setDelayFactor(delayFactor: number): void; + //TypeScript is complete garbage: + } + + class GestureLongPressCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + touchOnly ?: boolean; + exclusive ?: boolean; + button ?: number; + delayFactor ?: number; + } + + class GestureLongPressEventListener extends AuGlibEx.IEventListener { + cancelled(): void; + pressed(x: number, y: number): void; + } + + class GesturePan extends AuGTK.GestureDrag { + constructor(initializerList ?: GesturePanCtor); + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + //TypeScript is complete garbage: + } + + class GesturePanCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + touchOnly ?: boolean; + exclusive ?: boolean; + button ?: number; + orientation ?: AuGTK.Orientation; + } + + class GesturePanEventListener extends AuGlibEx.IEventListener { + pan(direction: AuGTK.PanDirection, offset: number): void; + } + + class GestureRotate extends AuGTK.Gesture { + constructor(initializerList ?: GestureRotateCtor); + + static New(): AuGTK.Gesture; + getAngleDelta(): number; + //TypeScript is complete garbage: + } + + class GestureRotateCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + } + + class GestureRotateEventListener extends AuGlibEx.IEventListener { + angleChanged(angle: number, angleDelta: number): void; + } + + class GestureSingle extends AuGTK.Gesture { + constructor(initializerList ?: GestureSingleCtor); + + button : number; + exclusive : boolean; + touchOnly : boolean; + + getButton(): number; + getCurrentButton(): number; + getCurrentSequence(): AuGDK.EventSequence; + getExclusive(): boolean; + getTouchOnly(): boolean; + setButton(button: number): void; + setExclusive(exclusive: boolean): void; + setTouchOnly(touchOnly: boolean): void; + //TypeScript is complete garbage: + } + + class GestureSingleCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + touchOnly ?: boolean; + exclusive ?: boolean; + button ?: number; + } + + class GestureStylus extends AuGTK.GestureSingle { + constructor(initializerList ?: GestureStylusCtor); + + stylusOnly : boolean; + + static New(): AuGTK.Gesture; + getAxes(axes: AuGDK.AxisUse[], values: number[]): boolean; + getAxis(axis: AuGDK.AxisUse, value: number): boolean; + getBacklog(backlog: AuGDK.TimeCoord[], nElems: number): boolean; + getDeviceTool(): AuGDK.DeviceTool; + getStylusOnly(): boolean; + setStylusOnly(stylusOnly: boolean): void; + //TypeScript is complete garbage: + } + + class GestureStylusCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + touchOnly ?: boolean; + exclusive ?: boolean; + button ?: number; + stylusOnly ?: boolean; + } + + class GestureStylusEventListener extends AuGlibEx.IEventListener { + down(x: number, y: number): void; + motion(x: number, y: number): void; + proximity(x: number, y: number): void; + up(x: number, y: number): void; + } + + class GestureSwipe extends AuGTK.GestureSingle { + constructor(initializerList ?: GestureSwipeCtor); + + static New(): AuGTK.Gesture; + getVelocity(velocityX: number, velocityY: number): boolean; + //TypeScript is complete garbage: + } + + class GestureSwipeCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + touchOnly ?: boolean; + exclusive ?: boolean; + button ?: number; + } + + class GestureSwipeEventListener extends AuGlibEx.IEventListener { + swipe(velocityX: number, velocityY: number): void; + } + + class GestureZoom extends AuGTK.Gesture { + constructor(initializerList ?: GestureZoomCtor); + + static New(): AuGTK.Gesture; + getScaleDelta(): number; + //TypeScript is complete garbage: + } + + class GestureZoomCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + nPoints ?: number; + } + + class GestureZoomEventListener extends AuGlibEx.IEventListener { + scaleChanged(scale: number): void; + } + + class Grid extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: GridCtor); + + parentInstance : AuGTK.Widget; + + baselineRow : number; + columnHomogeneous : boolean; + columnSpacing : number; + rowHomogeneous : boolean; + rowSpacing : number; + + static New(): AuGTK.Widget; + attach(child: AuGTK.Widget, column: number, row: number, width: number, height: number): void; + attachNextTo(child: AuGTK.Widget, sibling: AuGTK.Widget | undefined | null, side: AuGTK.PositionType, width: number, height: number): void; + getBaselineRow(): number; + getChildAt(column: number, row: number): AuGTK.Widget; + getColumnHomogeneous(): boolean; + getColumnSpacing(): number; + getRowBaselinePosition(row: number): AuGTK.BaselinePosition; + getRowHomogeneous(): boolean; + getRowSpacing(): number; + insertColumn(position: number): void; + insertNextTo(sibling: AuGTK.Widget, side: AuGTK.PositionType): void; + insertRow(position: number): void; + queryChild(child: AuGTK.Widget, column ?: number, row ?: number, width ?: number, height ?: number): void; + remove(child: AuGTK.Widget): void; + removeColumn(position: number): void; + removeRow(position: number): void; + setBaselineRow(row: number): void; + setColumnHomogeneous(homogeneous: boolean): void; + setColumnSpacing(spacing: number): void; + setRowBaselinePosition(row: number, pos: AuGTK.BaselinePosition): void; + setRowHomogeneous(homogeneous: boolean): void; + setRowSpacing(spacing: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class GridCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + rowSpacing ?: number; + columnSpacing ?: number; + rowHomogeneous ?: boolean; + columnHomogeneous ?: boolean; + baselineRow ?: number; + } + + class GridLayout extends AuGTK.LayoutManager { + constructor(initializerList ?: GridLayoutCtor); + + baselineRow : number; + columnHomogeneous : boolean; + columnSpacing : number; + rowHomogeneous : boolean; + rowSpacing : number; + + static New(): AuGTK.LayoutManager; + getBaselineRow(): number; + getColumnHomogeneous(): boolean; + getColumnSpacing(): number; + getRowBaselinePosition(row: number): AuGTK.BaselinePosition; + getRowHomogeneous(): boolean; + getRowSpacing(): number; + setBaselineRow(row: number): void; + setColumnHomogeneous(homogeneous: boolean): void; + setColumnSpacing(spacing: number): void; + setRowBaselinePosition(row: number, pos: AuGTK.BaselinePosition): void; + setRowHomogeneous(homogeneous: boolean): void; + setRowSpacing(spacing: number): void; + //TypeScript is complete garbage: + } + + class GridLayoutCtor { + rowSpacing ?: number; + columnSpacing ?: number; + rowHomogeneous ?: boolean; + columnHomogeneous ?: boolean; + baselineRow ?: number; + } + + class GridLayoutChild extends AuGTK.LayoutChild { + constructor(initializerList ?: GridLayoutChildCtor); + + column : number; + columnSpan : number; + row : number; + rowSpan : number; + + getColumn(): number; + getColumnSpan(): number; + getRow(): number; + getRowSpan(): number; + setColumn(column: number): void; + setColumnSpan(span: number): void; + setRow(row: number): void; + setRowSpan(span: number): void; + //TypeScript is complete garbage: + } + + class GridLayoutChildCtor { + layoutManager ?: AuGTK.LayoutManager; + childWidget ?: AuGTK.Widget; + column ?: number; + row ?: number; + columnSpan ?: number; + rowSpan ?: number; + } + + class GridView extends AuGTK.ListBase implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable, AuGTK.Scrollable { + constructor(initializerList ?: GridViewCtor); + + enableRubberband : boolean; + factory : AuGTK.ListItemFactory; + maxColumns : number; + minColumns : number; + model : AuGTK.SelectionModel; + singleClickActivate : boolean; + + static New(model: AuGTK.SelectionModel | undefined | null, factory: AuGTK.ListItemFactory | undefined | null): AuGTK.Widget; + getEnableRubberband(): boolean; + getFactory(): AuGTK.ListItemFactory; + getMaxColumns(): number; + getMinColumns(): number; + getModel(): AuGTK.SelectionModel; + getSingleClickActivate(): boolean; + setEnableRubberband(enableRubberband: boolean): void; + setFactory(factory: AuGTK.ListItemFactory | undefined | null): void; + setMaxColumns(maxColumns: number): void; + setMinColumns(minColumns: number): void; + setModel(model: AuGTK.SelectionModel | undefined | null): void; + setSingleClickActivate(singleClickActivate: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + } + + class GridViewCtor { + accessibleRole ?: AuGTK.AccessibleRole; + hadjustment ?: AuGTK.Adjustment; + hscrollPolicy ?: AuGTK.ScrollablePolicy; + vadjustment ?: AuGTK.Adjustment; + vscrollPolicy ?: AuGTK.ScrollablePolicy; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + orientation ?: AuGTK.Orientation; + factory ?: AuGTK.ListItemFactory; + maxColumns ?: number; + minColumns ?: number; + model ?: AuGTK.SelectionModel; + singleClickActivate ?: boolean; + enableRubberband ?: boolean; + } + + class GridViewEventListener extends AuGlibEx.IEventListener { + activate(position: number): void; + } + + class HeaderBar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: HeaderBarCtor); + + decorationLayout : string; + showTitleButtons : boolean; + titleWidget : AuGTK.Widget; + + static New(): AuGTK.Widget; + getDecorationLayout(): string; + getShowTitleButtons(): boolean; + getTitleWidget(): AuGTK.Widget; + packEnd(child: AuGTK.Widget): void; + packStart(child: AuGTK.Widget): void; + remove(child: AuGTK.Widget): void; + setDecorationLayout(layout: string | undefined | null): void; + setShowTitleButtons(setting: boolean): void; + setTitleWidget(titleWidget: AuGTK.Widget | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class HeaderBarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + titleWidget ?: AuGTK.Widget; + showTitleButtons ?: boolean; + decorationLayout ?: string; + } + + class IMContext extends GObject.Object { + constructor(initializerList ?: IMContextCtor); + + parentInstance : GObject.Object; + + inputHints : AuGTK.InputHints; + inputPurpose : AuGTK.InputPurpose; + + deleteSurrounding(offset: number, nChars: number): boolean; + filterKey(press: boolean, surface: AuGDK.Surface, device: AuGDK.Device, time: number, keycode: number, state: AuGDK.ModifierType, group: number): boolean; + filterKeypress(event: AuGDK.Event): boolean; + focusIn(): void; + focusOut(): void; + getPreeditString(str: string, attrs: AuPango.AttrList, cursorPos: number): void; + getSurrounding(text: string, cursorIndex: number): boolean; + getSurroundingWithSelection(text: string, cursorIndex: number, anchorIndex: number): boolean; + reset(): void; + setClientWidget(widget: AuGTK.Widget | undefined | null): void; + setCursorLocation(area: AuGDK.Rectangle): void; + setSurrounding(text: string, len: number, cursorIndex: number): void; + setSurroundingWithSelection(text: string, len: number, cursorIndex: number, anchorIndex: number): void; + setUsePreedit(usePreedit: boolean): void; + //TypeScript is complete garbage: + } + + class IMContextCtor { + inputPurpose ?: AuGTK.InputPurpose; + inputHints ?: AuGTK.InputHints; + } + + class IMContextEventListener extends AuGlibEx.IEventListener { + commit(str: string): void; + deleteSurrounding(offset: number, nChars: number): boolean; + preeditChanged(): void; + preeditEnd(): void; + preeditStart(): void; + retrieveSurrounding(): boolean; + } + + class IMContextSimple extends AuGTK.IMContext { + constructor(initializerList ?: IMContextSimpleCtor); + + object : AuGTK.IMContext; + priv : AuGTK.IMContextSimplePrivate; + + static New(): AuGTK.IMContext; + addComposeFile(composeFile: string): void; + //TypeScript is complete garbage: + } + + class IMContextSimpleCtor { + inputPurpose ?: AuGTK.InputPurpose; + inputHints ?: AuGTK.InputHints; + } + + class IMMulticontext extends AuGTK.IMContext { + constructor(initializerList ?: IMMulticontextCtor); + + object : AuGTK.IMContext; + priv : AuGTK.IMMulticontextPrivate; + + static New(): AuGTK.IMContext; + getContextId(): string; + setContextId(contextId: string | undefined | null): void; + //TypeScript is complete garbage: + } + + class IMMulticontextCtor { + inputPurpose ?: AuGTK.InputPurpose; + inputHints ?: AuGTK.InputHints; + } + + class IconPaintable extends GObject.Object implements AuGDK.Paintable, AuGTK.SymbolicPaintable { + constructor(initializerList ?: IconPaintableCtor); + + file : AuGIO.File; + iconName : string; + isSymbolic : boolean; + + static NewForFile(file: AuGIO.File, size: number, scale: number): AuGTK.IconPaintable; + getFile(): AuGIO.File; + getIconName(): string; + //TypeScript is complete garbage: + static NewEmpty(intrinsicWidth: number, intrinsicHeight: number): AuGDK.Paintable; + computeConcreteSize(specifiedWidth: number, specifiedHeight: number, defaultWidth: number, defaultHeight: number, concreteWidth: number, concreteHeight: number): void; + getCurrentImage(): AuGDK.Paintable; + getFlags(): AuGDK.PaintableFlags; + getIntrinsicAspectRatio(): number; + getIntrinsicHeight(): number; + getIntrinsicWidth(): number; + invalidateContents(): void; + invalidateSize(): void; + snapshot(snapshot: AuGDK.Snapshot, width: number, height: number): void; + snapshotSymbolic(snapshot: AuGDK.Snapshot, width: number, height: number, colors: AuGDK.RGBA[], nColors: number | bigint): void; + } + + class IconPaintableCtor { + file ?: AuGIO.File; + iconName ?: string; + isSymbolic ?: boolean; + } + + class IconTheme extends GObject.Object { + constructor(initializerList ?: IconThemeCtor); + + display : AuGDK.Display; + iconNames : string[]; + resourcePath : string[]; + searchPath : string[]; + themeName : string; + + static New(): AuGTK.IconTheme; + static GetForDisplay(display: AuGDK.Display): AuGTK.IconTheme; + addResourcePath(path: string): void; + addSearchPath(path: string): void; + getDisplay(): AuGDK.Display; + getIconNames(): string[]; + getIconSizes(iconName: string): number[]; + getResourcePath(): string[]; + getSearchPath(): string[]; + getThemeName(): string; + hasGicon(gicon: AuGIO.Icon): boolean; + hasIcon(iconName: string): boolean; + lookupByGicon(icon: AuGIO.Icon, size: number, scale: number, direction: AuGTK.TextDirection, flags: AuGTK.IconLookupFlags): AuGTK.IconPaintable; + lookupIcon(iconName: string, fallbacks: string[] | undefined | null, size: number, scale: number, direction: AuGTK.TextDirection, flags: AuGTK.IconLookupFlags): AuGTK.IconPaintable; + setResourcePath(path: string[] | undefined | null): void; + setSearchPath(path: string[] | undefined | null): void; + setThemeName(themeName: string | undefined | null): void; + //TypeScript is complete garbage: + } + + class IconThemeCtor { + display ?: AuGDK.Display; + iconNames ?: any; + searchPath ?: any; + resourcePath ?: any; + themeName ?: string; + } + + class IconThemeEventListener extends AuGlibEx.IEventListener { + changed(): void; + } + + class IconView extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.CellLayout, AuGTK.ConstraintTarget, AuGTK.Scrollable { + constructor(initializerList ?: IconViewCtor); + + activateOnSingleClick : boolean; + cellArea : AuGTK.CellArea; + columnSpacing : number; + columns : number; + itemOrientation : AuGTK.Orientation; + itemPadding : number; + itemWidth : number; + margin : number; + markupColumn : number; + model : AuGTK.TreeModel; + pixbufColumn : number; + reorderable : boolean; + rowSpacing : number; + selectionMode : AuGTK.SelectionMode; + spacing : number; + textColumn : number; + tooltipColumn : number; + + static New(): AuGTK.Widget; + static NewWithArea(area: AuGTK.CellArea): AuGTK.Widget; + static NewWithModel(model: AuGTK.TreeModel): AuGTK.Widget; + createDragIcon(path: AuGTK.TreePath): AuGDK.Paintable; + enableModelDragDest(formats: AuGDK.ContentFormats, actions: AuGDK.DragAction): void; + enableModelDragSource(startButtonMask: AuGDK.ModifierType, formats: AuGDK.ContentFormats, actions: AuGDK.DragAction): void; + getActivateOnSingleClick(): boolean; + getCellRect(path: AuGTK.TreePath, cell: AuGTK.CellRenderer | undefined | null, rect: AuGDK.Rectangle): boolean; + getColumnSpacing(): number; + getColumns(): number; + getDestItemAtPos(dragX: number, dragY: number, path ?: AuGTK.TreePath, pos ?: AuGTK.IconViewDropPosition): boolean; + getDragDestItem(path ?: AuGTK.TreePath | undefined | null, pos ?: AuGTK.IconViewDropPosition): void; + getItemAtPos(x: number, y: number, path ?: AuGTK.TreePath, cell ?: AuGTK.CellRenderer): boolean; + getItemColumn(path: AuGTK.TreePath): number; + getItemOrientation(): AuGTK.Orientation; + getItemPadding(): number; + getItemRow(path: AuGTK.TreePath): number; + getItemWidth(): number; + getMargin(): number; + getMarkupColumn(): number; + getModel(): AuGTK.TreeModel; + getPathAtPos(x: number, y: number): AuGTK.TreePath; + getPixbufColumn(): number; + getReorderable(): boolean; + getRowSpacing(): number; + getSelectedItems(): AuGTK.TreePath[]; + getSelectionMode(): AuGTK.SelectionMode; + getSpacing(): number; + getTextColumn(): number; + getTooltipColumn(): number; + getTooltipContext(x: number, y: number, keyboardTip: boolean, model ?: AuGTK.TreeModel, path ?: AuGTK.TreePath, iter ?: AuGTK.TreeIter): boolean; + getVisibleRange(startPath ?: AuGTK.TreePath, endPath ?: AuGTK.TreePath): boolean; + itemActivated(path: AuGTK.TreePath): void; + pathIsSelected(path: AuGTK.TreePath): boolean; + scrollToPath(path: AuGTK.TreePath, useAlign: boolean, rowAlign: number, colAlign: number): void; + selectAll(): void; + selectPath(path: AuGTK.TreePath): void; + selectedForeach(func: (iconView: AuGTK.IconView, path: AuGTK.TreePath) => void): void; + setActivateOnSingleClick(single: boolean): void; + setColumnSpacing(columnSpacing: number): void; + setColumns(columns: number): void; + setDragDestItem(path: AuGTK.TreePath | undefined | null, pos: AuGTK.IconViewDropPosition): void; + setItemOrientation(orientation: AuGTK.Orientation): void; + setItemPadding(itemPadding: number): void; + setItemWidth(itemWidth: number): void; + setMargin(margin: number): void; + setMarkupColumn(column: number): void; + setModel(model: AuGTK.TreeModel | undefined | null): void; + setPixbufColumn(column: number): void; + setReorderable(reorderable: boolean): void; + setRowSpacing(rowSpacing: number): void; + setSelectionMode(mode: AuGTK.SelectionMode): void; + setSpacing(spacing: number): void; + setTextColumn(column: number): void; + setTooltipCell(tooltip: AuGTK.Tooltip, path: AuGTK.TreePath, cell: AuGTK.CellRenderer | undefined | null): void; + setTooltipColumn(column: number): void; + setTooltipItem(tooltip: AuGTK.Tooltip, path: AuGTK.TreePath): void; + unselectAll(): void; + unselectPath(path: AuGTK.TreePath): void; + unsetModelDragDest(): void; + unsetModelDragSource(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + addAttribute(cell: AuGTK.CellRenderer, attribute: string, column: number): void; + clear(): void; + clearAttributes(cell: AuGTK.CellRenderer): void; + getArea(): AuGTK.CellArea; + getCells(): AuGTK.CellRenderer[]; + packEnd(cell: AuGTK.CellRenderer, expand: boolean): void; + packStart(cell: AuGTK.CellRenderer, expand: boolean): void; + reorder(cell: AuGTK.CellRenderer, position: number): void; + setCellDataFunc(cell: AuGTK.CellRenderer, func: (cellLayout: AuGTK.CellLayout, cell: AuGTK.CellRenderer, treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void | undefined | null, destroy: () => void): void; + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + getBorder(border: AuGTK.Border): boolean; + getHadjustment(): AuGTK.Adjustment; + getHscrollPolicy(): AuGTK.ScrollablePolicy; + getVadjustment(): AuGTK.Adjustment; + getVscrollPolicy(): AuGTK.ScrollablePolicy; + setHadjustment(hadjustment: AuGTK.Adjustment | undefined | null): void; + setHscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + setVadjustment(vadjustment: AuGTK.Adjustment | undefined | null): void; + setVscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + } + + class IconViewCtor { + accessibleRole ?: AuGTK.AccessibleRole; + hadjustment ?: AuGTK.Adjustment; + hscrollPolicy ?: AuGTK.ScrollablePolicy; + vadjustment ?: AuGTK.Adjustment; + vscrollPolicy ?: AuGTK.ScrollablePolicy; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + pixbufColumn ?: number; + textColumn ?: number; + markupColumn ?: number; + selectionMode ?: AuGTK.SelectionMode; + itemOrientation ?: AuGTK.Orientation; + model ?: AuGTK.TreeModel; + columns ?: number; + itemWidth ?: number; + spacing ?: number; + rowSpacing ?: number; + columnSpacing ?: number; + margin ?: number; + reorderable ?: boolean; + tooltipColumn ?: number; + itemPadding ?: number; + cellArea ?: AuGTK.CellArea; + activateOnSingleClick ?: boolean; + } + + class IconViewEventListener extends AuGlibEx.IEventListener { + activateCursorItem(): boolean; + itemActivated(path: AuGTK.TreePath): void; + moveCursor(step: AuGTK.MovementStep, count: number, extend: boolean, modify: boolean): boolean; + selectAll(): void; + selectCursorItem(): void; + selectionChanged(): void; + toggleCursorItem(): void; + unselectAll(): void; + } + + class Image extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ImageCtor); + + file : string; + gicon : AuGIO.Icon; + iconName : string; + iconSize : AuGTK.IconSize; + paintable : AuGDK.Paintable; + pixelSize : number; + resource : string; + storageType : AuGTK.ImageType; + useFallback : boolean; + + static New(): AuGTK.Widget; + static NewFromFile(filename: string): AuGTK.Widget; + static NewFromGicon(icon: AuGIO.Icon): AuGTK.Widget; + static NewFromIconName(iconName: string | undefined | null): AuGTK.Widget; + static NewFromPaintable(paintable: AuGDK.Paintable | undefined | null): AuGTK.Widget; + static NewFromPixbuf(pixbuf: AuGDKPixBuf.Pixbuf | undefined | null): AuGTK.Widget; + static NewFromResource(resourcePath: string): AuGTK.Widget; + clear(): void; + getGicon(): AuGIO.Icon; + getIconName(): string; + getIconSize(): AuGTK.IconSize; + getPaintable(): AuGDK.Paintable; + getPixelSize(): number; + getStorageType(): AuGTK.ImageType; + setFromFile(filename: string | undefined | null): void; + setFromGicon(icon: AuGIO.Icon): void; + setFromIconName(iconName: string | undefined | null): void; + setFromPaintable(paintable: AuGDK.Paintable | undefined | null): void; + setFromPixbuf(pixbuf: AuGDKPixBuf.Pixbuf | undefined | null): void; + setFromResource(resourcePath: string | undefined | null): void; + setIconSize(iconSize: AuGTK.IconSize): void; + setPixelSize(pixelSize: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class ImageCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + paintable ?: AuGDK.Paintable; + file ?: string; + iconSize ?: AuGTK.IconSize; + pixelSize ?: number; + iconName ?: string; + storageType ?: AuGTK.ImageType; + gicon ?: AuGIO.Icon; + resource ?: string; + useFallback ?: boolean; + } + + class InfoBar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: InfoBarCtor); + + messageType : AuGTK.MessageType; + revealed : boolean; + showCloseButton : boolean; + + static New(): AuGTK.Widget; + addActionWidget(child: AuGTK.Widget, responseId: number): void; + addButton(buttonText: string, responseId: number): AuGTK.Button; + addChild(widget: AuGTK.Widget): void; + getMessageType(): AuGTK.MessageType; + getRevealed(): boolean; + getShowCloseButton(): boolean; + removeActionWidget(widget: AuGTK.Widget): void; + removeChild(widget: AuGTK.Widget): void; + response(responseId: number): void; + setDefaultResponse(responseId: number): void; + setMessageType(messageType: AuGTK.MessageType): void; + setResponseSensitive(responseId: number, setting: boolean): void; + setRevealed(revealed: boolean): void; + setShowCloseButton(setting: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class InfoBarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + messageType ?: AuGTK.MessageType; + showCloseButton ?: boolean; + revealed ?: boolean; + } + + class InfoBarEventListener extends AuGlibEx.IEventListener { + close(): void; + response(responseId: number): void; + } + + class Inscription extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: InscriptionCtor); + + attributes : AuPango.AttrList; + markup : string; + minChars : number; + minLines : number; + natChars : number; + natLines : number; + text : string; + textOverflow : AuGTK.InscriptionOverflow; + wrapMode : AuPango.WrapMode; + XAlign : number; + YAlign : number; + + static New(text: string | undefined | null): AuGTK.Widget; + getAttributes(): AuPango.AttrList; + getMinChars(): number; + getMinLines(): number; + getNatChars(): number; + getNatLines(): number; + getText(): string; + getTextOverflow(): AuGTK.InscriptionOverflow; + getWrapMode(): AuPango.WrapMode; + getXAlign(): number; + getYAlign(): number; + setAttributes(attrs: AuPango.AttrList | undefined | null): void; + setMarkup(markup: string | undefined | null): void; + setMinChars(minChars: number): void; + setMinLines(minLines: number): void; + setNatChars(natChars: number): void; + setNatLines(natLines: number): void; + setText(text: string | undefined | null): void; + setTextOverflow(overflow: AuGTK.InscriptionOverflow): void; + setWrapMode(wrapMode: AuPango.WrapMode): void; + setXAlign(XAlign: number): void; + setYAlign(YAlign: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class InscriptionCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + attributes ?: AuPango.AttrList; + markup ?: string; + minChars ?: number; + minLines ?: number; + natChars ?: number; + natLines ?: number; + text ?: string; + textOverflow ?: AuGTK.InscriptionOverflow; + wrapMode ?: AuPango.WrapMode; + XAlign ?: number; + YAlign ?: number; + } + + class KeyvalTrigger extends AuGTK.ShortcutTrigger { + constructor(initializerList ?: KeyvalTriggerCtor); + + keyval : number; + modifiers : AuGDK.ModifierType; + + static New(keyval: number, modifiers: AuGDK.ModifierType): AuGTK.ShortcutTrigger; + getKeyval(): number; + getModifiers(): AuGDK.ModifierType; + //TypeScript is complete garbage: + } + + class KeyvalTriggerCtor { + keyval ?: number; + modifiers ?: AuGDK.ModifierType; + } + + class Label extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: LabelCtor); + + attributes : AuPango.AttrList; + ellipsize : AuPango.EllipsizeMode; + extraMenu : AuGIO.MenuModel; + justify : AuGTK.Justification; + label : string; + lines : number; + maxWidthChars : number; + mnemonicKeyval : number; + mnemonicWidget : AuGTK.Widget; + naturalWrapMode : AuGTK.NaturalWrapMode; + selectable : boolean; + singleLineMode : boolean; + tabs : AuPango.TabArray; + useMarkup : boolean; + useUnderline : boolean; + widthChars : number; + wrap : boolean; + wrapMode : AuPango.WrapMode; + XAlign : number; + YAlign : number; + + static New(str: string | undefined | null): AuGTK.Widget; + static NewWithMnemonic(str: string | undefined | null): AuGTK.Widget; + getAttributes(): AuPango.AttrList; + getCurrentUri(): string; + getEllipsize(): AuPango.EllipsizeMode; + getExtraMenu(): AuGIO.MenuModel; + getJustify(): AuGTK.Justification; + getLabel(): string; + getLayout(): AuPango.Layout; + getLayoutOffsets(x ?: number, y ?: number): void; + getLines(): number; + getMaxWidthChars(): number; + getMnemonicKeyval(): number; + getMnemonicWidget(): AuGTK.Widget; + getNaturalWrapMode(): AuGTK.NaturalWrapMode; + getSelectable(): boolean; + getSelectionBounds(start ?: number, end ?: number): boolean; + getSingleLineMode(): boolean; + getTabs(): AuPango.TabArray; + getText(): string; + getUseMarkup(): boolean; + getUseUnderline(): boolean; + getWidthChars(): number; + getWrap(): boolean; + getWrapMode(): AuPango.WrapMode; + getXAlign(): number; + getYAlign(): number; + selectRegion(startOffset: number, endOffset: number): void; + setAttributes(attrs: AuPango.AttrList | undefined | null): void; + setEllipsize(mode: AuPango.EllipsizeMode): void; + setExtraMenu(model: AuGIO.MenuModel | undefined | null): void; + setJustify(jtype: AuGTK.Justification): void; + setLabel(str: string): void; + setLines(lines: number): void; + setMarkup(str: string): void; + setMarkupWithMnemonic(str: string): void; + setMaxWidthChars(nChars: number): void; + setMnemonicWidget(widget: AuGTK.Widget | undefined | null): void; + setNaturalWrapMode(wrapMode: AuGTK.NaturalWrapMode): void; + setSelectable(setting: boolean): void; + setSingleLineMode(singleLineMode: boolean): void; + setTabs(tabs: AuPango.TabArray | undefined | null): void; + setText(str: string): void; + setTextWithMnemonic(str: string): void; + setUseMarkup(setting: boolean): void; + setUseUnderline(setting: boolean): void; + setWidthChars(nChars: number): void; + setWrap(wrap: boolean): void; + setWrapMode(wrapMode: AuPango.WrapMode): void; + setXAlign(XAlign: number): void; + setYAlign(YAlign: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class LabelCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + label ?: string; + attributes ?: AuPango.AttrList; + useMarkup ?: boolean; + useUnderline ?: boolean; + justify ?: AuGTK.Justification; + wrap ?: boolean; + wrapMode ?: AuPango.WrapMode; + naturalWrapMode ?: AuGTK.NaturalWrapMode; + selectable ?: boolean; + mnemonicKeyval ?: number; + mnemonicWidget ?: AuGTK.Widget; + ellipsize ?: AuPango.EllipsizeMode; + widthChars ?: number; + singleLineMode ?: boolean; + maxWidthChars ?: number; + lines ?: number; + XAlign ?: number; + YAlign ?: number; + extraMenu ?: AuGIO.MenuModel; + tabs ?: AuPango.TabArray; + } + + class LabelEventListener extends AuGlibEx.IEventListener { + activateCurrentLink(): void; + activateLink(uri: string): boolean; + copyClipboard(): void; + moveCursor(step: AuGTK.MovementStep, count: number, extendSelection: boolean): void; + } + + class LayoutChild extends GObject.Object { + constructor(initializerList ?: LayoutChildCtor); + + parentInstance : GObject.Object; + + childWidget : AuGTK.Widget; + layoutManager : AuGTK.LayoutManager; + + getChildWidget(): AuGTK.Widget; + getLayoutManager(): AuGTK.LayoutManager; + //TypeScript is complete garbage: + } + + class LayoutChildCtor { + layoutManager ?: AuGTK.LayoutManager; + childWidget ?: AuGTK.Widget; + } + + class LayoutManager extends GObject.Object { + constructor(initializerList ?: LayoutManagerCtor); + + parentInstance : GObject.Object; + + allocate(widget: AuGTK.Widget, width: number, height: number, baseline: number): void; + getLayoutChild(child: AuGTK.Widget): AuGTK.LayoutChild; + getRequestMode(): AuGTK.SizeRequestMode; + getWidget(): AuGTK.Widget; + layoutChanged(): void; + measure(widget: AuGTK.Widget, orientation: AuGTK.Orientation, forSize: number, minimum ?: number, natural ?: number, minimumBaseline ?: number, naturalBaseline ?: number): void; + //TypeScript is complete garbage: + } + + class LayoutManagerCtor { + } + + class LevelBar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.AccessibleRange, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: LevelBarCtor); + + inverted : boolean; + maxValue : number; + minValue : number; + mode : AuGTK.LevelBarMode; + value : number; + + static New(): AuGTK.Widget; + static NewForInterval(minValue: number, maxValue: number): AuGTK.Widget; + addOffsetValue(name: string, value: number): void; + getInverted(): boolean; + getMaxValue(): number; + getMinValue(): number; + getMode(): AuGTK.LevelBarMode; + getOffsetValue(name: string | undefined | null, value: number): boolean; + getValue(): number; + removeOffsetValue(name: string | undefined | null): void; + setInverted(inverted: boolean): void; + setMaxValue(value: number): void; + setMinValue(value: number): void; + setMode(mode: AuGTK.LevelBarMode): void; + setValue(value: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class LevelBarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + value ?: number; + minValue ?: number; + maxValue ?: number; + mode ?: AuGTK.LevelBarMode; + inverted ?: boolean; + } + + class LevelBarEventListener extends AuGlibEx.IEventListener { + offsetChanged(name: string): void; + } + + class LinkButton extends AuGTK.Button implements AuGTK.Accessible, AuGTK.Actionable, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: LinkButtonCtor); + + uri : string; + visited : boolean; + + getUri(): string; + getVisited(): boolean; + setUri(uri: string): void; + setVisited(visited: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + actionName : string; + actionTarget : AuGlibEx.Variant; + + } + + class LinkButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + actionName ?: string; + actionTarget ?: any; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + label ?: string; + hasFrame ?: boolean; + useUnderline ?: boolean; + iconName ?: string; + child ?: AuGTK.Widget; + uri ?: string; + visited ?: boolean; + } + + class LinkButtonEventListener extends AuGlibEx.IEventListener { + activateLink(): boolean; + } + + class ListBase extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable, AuGTK.Scrollable { + constructor(initializerList ?: ListBaseCtor); + + orientation : AuGTK.Orientation; + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + getBorder(border: AuGTK.Border): boolean; + getHadjustment(): AuGTK.Adjustment; + getHscrollPolicy(): AuGTK.ScrollablePolicy; + getVadjustment(): AuGTK.Adjustment; + getVscrollPolicy(): AuGTK.ScrollablePolicy; + setHadjustment(hadjustment: AuGTK.Adjustment | undefined | null): void; + setHscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + setVadjustment(vadjustment: AuGTK.Adjustment | undefined | null): void; + setVscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + } + + class ListBaseCtor { + accessibleRole ?: AuGTK.AccessibleRole; + hadjustment ?: AuGTK.Adjustment; + hscrollPolicy ?: AuGTK.ScrollablePolicy; + vadjustment ?: AuGTK.Adjustment; + vscrollPolicy ?: AuGTK.ScrollablePolicy; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + orientation ?: AuGTK.Orientation; + } + + class ListBox extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ListBoxCtor); + + acceptUnpairedRelease : boolean; + activateOnSingleClick : boolean; + selectionMode : AuGTK.SelectionMode; + showSeparators : boolean; + + static New(): AuGTK.Widget; + append(child: AuGTK.Widget): void; + bindModel(model: AuGIO.ListModel | undefined | null, createWidgetFunc: (item: GObject.Object) => AuGTK.Widget | undefined | null, userDataFreeFunc: () => void): void; + dragHighlightRow(row: AuGTK.ListBoxRow): void; + dragUnhighlightRow(): void; + getActivateOnSingleClick(): boolean; + getAdjustment(): AuGTK.Adjustment; + getRowAtIndex(index: number): AuGTK.ListBoxRow; + getRowAtY(y: number): AuGTK.ListBoxRow; + getSelectedRow(): AuGTK.ListBoxRow; + getSelectedRows(): AuGTK.ListBoxRow[]; + getSelectionMode(): AuGTK.SelectionMode; + getShowSeparators(): boolean; + insert(child: AuGTK.Widget, position: number): void; + invalidateFilter(): void; + invalidateHeaders(): void; + invalidateSort(): void; + prepend(child: AuGTK.Widget): void; + remove(child: AuGTK.Widget): void; + selectAll(): void; + selectRow(row: AuGTK.ListBoxRow | undefined | null): void; + selectedForeach(func: (box: AuGTK.ListBox, row: AuGTK.ListBoxRow) => void): void; + setActivateOnSingleClick(single: boolean): void; + setAdjustment(adjustment: AuGTK.Adjustment | undefined | null): void; + setFilterFunc(filterFunc: (row: AuGTK.ListBoxRow) => boolean | undefined | null, destroy: () => void): void; + setHeaderFunc(updateHeader: (row: AuGTK.ListBoxRow, before: AuGTK.ListBoxRow | undefined | null) => void | undefined | null, destroy: () => void): void; + setPlaceholder(placeholder: AuGTK.Widget | undefined | null): void; + setSelectionMode(mode: AuGTK.SelectionMode): void; + setShowSeparators(showSeparators: boolean): void; + setSortFunc(sortFunc: (row1: AuGTK.ListBoxRow, row2: AuGTK.ListBoxRow) => number | undefined | null, destroy: () => void): void; + unselectAll(): void; + unselectRow(row: AuGTK.ListBoxRow): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class ListBoxCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + selectionMode ?: AuGTK.SelectionMode; + activateOnSingleClick ?: boolean; + acceptUnpairedRelease ?: boolean; + showSeparators ?: boolean; + } + + class ListBoxEventListener extends AuGlibEx.IEventListener { + activateCursorRow(): void; + moveCursor(object: AuGTK.MovementStep, p0: number, p1: boolean, p2: boolean): void; + rowActivated(row: AuGTK.ListBoxRow): void; + rowSelected(row: AuGTK.ListBoxRow | undefined | null): void; + selectAll(): void; + selectedRowsChanged(): void; + toggleCursorRow(): void; + unselectAll(): void; + } + + class ListBoxRow extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Actionable, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ListBoxRowCtor); + + parentInstance : AuGTK.Widget; + + activatable : boolean; + child : AuGTK.Widget; + selectable : boolean; + + static New(): AuGTK.Widget; + changed(): void; + getActivatable(): boolean; + getChild(): AuGTK.Widget; + getHeader(): AuGTK.Widget; + getIndex(): number; + getSelectable(): boolean; + isSelected(): boolean; + setActivatable(activatable: boolean): void; + setChild(child: AuGTK.Widget | undefined | null): void; + setHeader(header: AuGTK.Widget | undefined | null): void; + setSelectable(selectable: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + actionName : string; + actionTarget : AuGlibEx.Variant; + + getActionName(): string; + getActionTargetValue(): AuGlibEx.Variant; + setActionName(actionName: string | undefined | null): void; + setActionTargetValue(targetValue: AuGlibEx.Variant | undefined | null): void; + setDetailedActionName(detailedActionName: string): void; + } + + class ListBoxRowCtor { + accessibleRole ?: AuGTK.AccessibleRole; + actionName ?: string; + actionTarget ?: any; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + activatable ?: boolean; + selectable ?: boolean; + child ?: AuGTK.Widget; + } + + class ListBoxRowEventListener extends AuGlibEx.IEventListener { + activate(): void; + } + + class ListItem extends GObject.Object { + constructor(initializerList ?: ListItemCtor); + + activatable : boolean; + child : AuGTK.Widget; + item : GObject.Object; + position : number; + selectable : boolean; + selected : boolean; + + getActivatable(): boolean; + getChild(): AuGTK.Widget; + getItem(): GObject.Object; + getPosition(): number; + getSelectable(): boolean; + getSelected(): boolean; + setActivatable(activatable: boolean): void; + setChild(child: AuGTK.Widget | undefined | null): void; + setSelectable(selectable: boolean): void; + //TypeScript is complete garbage: + } + + class ListItemCtor { + activatable ?: boolean; + child ?: AuGTK.Widget; + item ?: GObject.Object; + position ?: number; + selectable ?: boolean; + selected ?: boolean; + } + + class ListItemFactory extends GObject.Object { + constructor(initializerList ?: ListItemFactoryCtor); + + //TypeScript is complete garbage: + } + + class ListItemFactoryCtor { + } + + class ListStore extends GObject.Object implements AuGTK.Buildable, AuGTK.TreeDragDest, AuGTK.TreeDragSource, AuGTK.TreeModel, AuGTK.TreeSortable { + constructor(initializerList ?: ListStoreCtor); + + parent : GObject.Object; + priv : AuGTK.ListStorePrivate; + + static New(nColumns: number, types: number[]): AuGTK.ListStore; + append(iter: AuGTK.TreeIter): void; + clear(): void; + insert(iter: AuGTK.TreeIter, position: number): void; + insertAfter(iter: AuGTK.TreeIter, sibling: AuGTK.TreeIter | undefined | null): void; + insertBefore(iter: AuGTK.TreeIter, sibling: AuGTK.TreeIter | undefined | null): void; + insertWithValues(iter ?: AuGTK.TreeIter, position ?: number, columns ?: number[], values ?: GObject.Value[], nValues ?: number): void; + iterIsValid(iter: AuGTK.TreeIter): boolean; + moveAfter(iter: AuGTK.TreeIter, position: AuGTK.TreeIter | undefined | null): void; + moveBefore(iter: AuGTK.TreeIter, position: AuGTK.TreeIter | undefined | null): void; + prepend(iter: AuGTK.TreeIter): void; + remove(iter: AuGTK.TreeIter): boolean; + reorder(newOrder: number[]): void; + setColumnTypes(nColumns: number, types: number[]): void; + setValue(iter: AuGTK.TreeIter, column: number, value: GObject.Value): void; + set(iter: AuGTK.TreeIter, columns: number[], values: GObject.Value[], nValues: number): void; + swap(a: AuGTK.TreeIter, b: AuGTK.TreeIter): void; + //TypeScript is complete garbage: + getBuildableId(): string; + dragDataReceived(dest: AuGTK.TreePath, value: GObject.Value): boolean; + rowDropPossible(destPath: AuGTK.TreePath, value: GObject.Value): boolean; + dragDataDelete(path: AuGTK.TreePath): boolean; + dragDataGet(path: AuGTK.TreePath): AuGDK.ContentProvider; + rowDraggable(path: AuGTK.TreePath): boolean; + filterNew(root: AuGTK.TreePath | undefined | null): AuGTK.TreeModel; + foreach(func: (model: AuGTK.TreeModel, path: AuGTK.TreePath, iter: AuGTK.TreeIter) => boolean): void; + getColumnType(index: number): number; + getFlags(): AuGTK.TreeModelFlags; + getIter(iter: AuGTK.TreeIter, path: AuGTK.TreePath): boolean; + getIterFirst(iter: AuGTK.TreeIter): boolean; + getIterFromString(iter: AuGTK.TreeIter, pathString: string): boolean; + getNColumns(): number; + getPath(iter: AuGTK.TreeIter): AuGTK.TreePath; + getStringFromIter(iter: AuGTK.TreeIter): string; + getValue(iter: AuGTK.TreeIter, column: number, value: GObject.Value): void; + iterChildren(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null): boolean; + iterHasChild(iter: AuGTK.TreeIter): boolean; + iterNChildren(iter: AuGTK.TreeIter | undefined | null): number; + iterNext(iter: AuGTK.TreeIter): boolean; + iterNthChild(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null, n: number): boolean; + iterParent(iter: AuGTK.TreeIter, child: AuGTK.TreeIter): boolean; + iterPrevious(iter: AuGTK.TreeIter): boolean; + refNode(iter: AuGTK.TreeIter): void; + rowChanged(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowDeleted(path: AuGTK.TreePath): void; + rowHasChildToggled(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowInserted(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowsReordered(path: AuGTK.TreePath, iter: AuGTK.TreeIter | undefined | null, newOrder: number[], length: number): void; + unrefNode(iter: AuGTK.TreeIter): void; + getSortColumnId(sortColumnId: number, order: AuGTK.SortType): boolean; + hasDefaultSortFunc(): boolean; + setDefaultSortFunc(sortFunc: (model: AuGTK.TreeModel, a: AuGTK.TreeIter, b: AuGTK.TreeIter) => number, destroy: () => void | undefined | null): void; + setSortColumnId(sortColumnId: number, order: AuGTK.SortType): void; + setSortFunc(sortColumnId: number, sortFunc: (model: AuGTK.TreeModel, a: AuGTK.TreeIter, b: AuGTK.TreeIter) => number, destroy: () => void | undefined | null): void; + sortColumnChanged(): void; + } + + class ListStoreCtor { + } + + class ListView extends AuGTK.ListBase implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable, AuGTK.Scrollable { + constructor(initializerList ?: ListViewCtor); + + enableRubberband : boolean; + factory : AuGTK.ListItemFactory; + model : AuGTK.SelectionModel; + showSeparators : boolean; + singleClickActivate : boolean; + + static New(model: AuGTK.SelectionModel | undefined | null, factory: AuGTK.ListItemFactory | undefined | null): AuGTK.Widget; + getEnableRubberband(): boolean; + getFactory(): AuGTK.ListItemFactory; + getModel(): AuGTK.SelectionModel; + getShowSeparators(): boolean; + getSingleClickActivate(): boolean; + setEnableRubberband(enableRubberband: boolean): void; + setFactory(factory: AuGTK.ListItemFactory | undefined | null): void; + setModel(model: AuGTK.SelectionModel | undefined | null): void; + setShowSeparators(showSeparators: boolean): void; + setSingleClickActivate(singleClickActivate: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + } + + class ListViewCtor { + accessibleRole ?: AuGTK.AccessibleRole; + hadjustment ?: AuGTK.Adjustment; + hscrollPolicy ?: AuGTK.ScrollablePolicy; + vadjustment ?: AuGTK.Adjustment; + vscrollPolicy ?: AuGTK.ScrollablePolicy; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + orientation ?: AuGTK.Orientation; + factory ?: AuGTK.ListItemFactory; + model ?: AuGTK.SelectionModel; + showSeparators ?: boolean; + singleClickActivate ?: boolean; + enableRubberband ?: boolean; + } + + class ListViewEventListener extends AuGlibEx.IEventListener { + activate(position: number): void; + } + + class LockButton extends AuGTK.Button implements AuGTK.Accessible, AuGTK.Actionable, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: LockButtonCtor); + + permission : AuGIO.Permission; + textLock : string; + textUnlock : string; + tooltipLock : string; + tooltipNotAuthorized : string; + tooltipUnlock : string; + + getPermission(): AuGIO.Permission; + setPermission(permission: AuGIO.Permission | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + actionName : string; + actionTarget : AuGlibEx.Variant; + + } + + class LockButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + actionName ?: string; + actionTarget ?: any; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + label ?: string; + hasFrame ?: boolean; + useUnderline ?: boolean; + iconName ?: string; + child ?: AuGTK.Widget; + permission ?: AuGIO.Permission; + textLock ?: string; + textUnlock ?: string; + tooltipLock ?: string; + tooltipUnlock ?: string; + tooltipNotAuthorized ?: string; + } + + class MapListModel extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: MapListModelCtor); + + hasMap : boolean; + itemType : number; + model : AuGIO.ListModel; + nItems : number; + + static New(model: AuGIO.ListModel | undefined | null, mapFunc: (item: GObject.Object) => GObject.Object | undefined | null, userDestroy: () => void): AuGTK.MapListModel; + getModel(): AuGIO.ListModel; + setMapFunc(mapFunc: (item: GObject.Object) => GObject.Object | undefined | null, userDestroy: () => void): void; + setModel(model: AuGIO.ListModel | undefined | null): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class MapListModelCtor { + hasMap ?: boolean; + itemType ?: any; + model ?: AuGIO.ListModel; + nItems ?: number; + } + + class MediaControls extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: MediaControlsCtor); + + mediaStream : AuGTK.MediaStream; + + static New(stream: AuGTK.MediaStream | undefined | null): AuGTK.Widget; + getMediaStream(): AuGTK.MediaStream; + setMediaStream(stream: AuGTK.MediaStream | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class MediaControlsCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + mediaStream ?: AuGTK.MediaStream; + } + + class MediaFile extends AuGTK.MediaStream implements AuGDK.Paintable { + constructor(initializerList ?: MediaFileCtor); + + parentInstance : AuGTK.MediaStream; + + file : AuGIO.File; + inputStream : AuGIO.InputStream; + + static New(): AuGTK.MediaFile; + static NewForFile(file: AuGIO.File): AuGTK.MediaFile; + static NewForFilename(filename: string): AuGTK.MediaFile; + static NewForInputStream(stream: AuGIO.InputStream): AuGTK.MediaFile; + static NewForResource(resourcePath: string): AuGTK.MediaFile; + clear(): void; + getFile(): AuGIO.File; + getInputStream(): AuGIO.InputStream; + setFile(file: AuGIO.File | undefined | null): void; + setFilename(filename: string | undefined | null): void; + setInputStream(stream: AuGIO.InputStream | undefined | null): void; + setResource(resourcePath: string | undefined | null): void; + //TypeScript is complete garbage: + } + + class MediaFileCtor { + prepared ?: boolean; + error ?: AuGlibEx.Error; + hasAudio ?: boolean; + hasVideo ?: boolean; + playing ?: boolean; + ended ?: boolean; + timestamp ?: number | bigint; + duration ?: number | bigint; + seekable ?: boolean; + seeking ?: boolean; + loop ?: boolean; + muted ?: boolean; + volume ?: number; + file ?: AuGIO.File; + inputStream ?: AuGIO.InputStream; + } + + class MediaStream extends GObject.Object implements AuGDK.Paintable { + constructor(initializerList ?: MediaStreamCtor); + + parentInstance : GObject.Object; + + duration : number | bigint; + ended : boolean; + error : AuGlibEx.Error; + hasAudio : boolean; + hasVideo : boolean; + loop : boolean; + muted : boolean; + playing : boolean; + prepared : boolean; + seekable : boolean; + seeking : boolean; + timestamp : number | bigint; + volume : number; + + gerror(error: AuGlibEx.Error): void; + getDuration(): number | bigint; + getEnded(): boolean; + getError(): AuGlibEx.Error; + getLoop(): boolean; + getMuted(): boolean; + getPlaying(): boolean; + getTimestamp(): number | bigint; + getVolume(): number; + isPrepared(): boolean; + isSeekable(): boolean; + isSeeking(): boolean; + pause(): void; + play(): void; + realize(surface: AuGDK.Surface): void; + seek(timestamp: number | bigint): void; + seekFailed(): void; + seekSuccess(): void; + setLoop(loop: boolean): void; + setMuted(muted: boolean): void; + setPlaying(playing: boolean): void; + setVolume(volume: number): void; + streamEnded(): void; + streamPrepared(hasAudio: boolean, hasVideo: boolean, seekable: boolean, duration: number | bigint): void; + streamUnprepared(): void; + unrealize(surface: AuGDK.Surface): void; + update(timestamp: number | bigint): void; + //TypeScript is complete garbage: + static NewEmpty(intrinsicWidth: number, intrinsicHeight: number): AuGDK.Paintable; + computeConcreteSize(specifiedWidth: number, specifiedHeight: number, defaultWidth: number, defaultHeight: number, concreteWidth: number, concreteHeight: number): void; + getCurrentImage(): AuGDK.Paintable; + getFlags(): AuGDK.PaintableFlags; + getIntrinsicAspectRatio(): number; + getIntrinsicHeight(): number; + getIntrinsicWidth(): number; + invalidateContents(): void; + invalidateSize(): void; + snapshot(snapshot: AuGDK.Snapshot, width: number, height: number): void; + } + + class MediaStreamCtor { + prepared ?: boolean; + error ?: AuGlibEx.Error; + hasAudio ?: boolean; + hasVideo ?: boolean; + playing ?: boolean; + ended ?: boolean; + timestamp ?: number | bigint; + duration ?: number | bigint; + seekable ?: boolean; + seeking ?: boolean; + loop ?: boolean; + muted ?: boolean; + volume ?: number; + } + + class MenuButton extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: MenuButtonCtor); + + alwaysShowArrow : boolean; + child : AuGTK.Widget; + direction : AuGTK.ArrowType; + hasFrame : boolean; + iconName : string; + label : string; + menuModel : AuGIO.MenuModel; + popover : AuGTK.Popover; + primary : boolean; + useUnderline : boolean; + + static New(): AuGTK.Widget; + getAlwaysShowArrow(): boolean; + getChild(): AuGTK.Widget; + getHasFrame(): boolean; + getIconName(): string; + getLabel(): string; + getMenuModel(): AuGIO.MenuModel; + getPopover(): AuGTK.Popover; + getPrimary(): boolean; + getUseUnderline(): boolean; + popdown(): void; + popup(): void; + setAlwaysShowArrow(alwaysShowArrow: boolean): void; + setChild(child: AuGTK.Widget | undefined | null): void; + setCreatePopupFunc(func: (menuButton: AuGTK.MenuButton) => void | undefined | null, destroyNotify: () => void | undefined | null): void; + setHasFrame(hasFrame: boolean): void; + setIconName(iconName: string): void; + setLabel(label: string): void; + setMenuModel(menuModel: AuGIO.MenuModel | undefined | null): void; + setPopover(popover: AuGTK.Widget | undefined | null): void; + setPrimary(primary: boolean): void; + setUseUnderline(useUnderline: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class MenuButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + menuModel ?: AuGIO.MenuModel; + direction ?: AuGTK.ArrowType; + popover ?: AuGTK.Popover; + iconName ?: string; + alwaysShowArrow ?: boolean; + label ?: string; + useUnderline ?: boolean; + hasFrame ?: boolean; + primary ?: boolean; + child ?: AuGTK.Widget; + } + + class MenuButtonEventListener extends AuGlibEx.IEventListener { + activate(): void; + } + + class MessageDialog extends AuGTK.Dialog implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: MessageDialogCtor); + + parentInstance : AuGTK.Dialog; + + buttons : AuGTK.ButtonsType; + messageArea : AuGTK.Widget; + messageType : AuGTK.MessageType; + secondaryText : string; + secondaryUseMarkup : boolean; + text : string; + useMarkup : boolean; + + getMessageArea(): AuGTK.Widget; + setMarkup(str: string): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class MessageDialogCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + useHeaderBar ?: number; + messageType ?: AuGTK.MessageType; + buttons ?: AuGTK.ButtonsType; + text ?: string; + useMarkup ?: boolean; + secondaryText ?: string; + secondaryUseMarkup ?: boolean; + messageArea ?: AuGTK.Widget; + } + + class MnemonicAction extends AuGTK.ShortcutAction { + constructor(initializerList ?: MnemonicActionCtor); + + static Get(): AuGTK.MnemonicAction; + //TypeScript is complete garbage: + } + + class MnemonicActionCtor { + } + + class MnemonicTrigger extends AuGTK.ShortcutTrigger { + constructor(initializerList ?: MnemonicTriggerCtor); + + keyval : number; + + static New(keyval: number): AuGTK.MnemonicTrigger; + getKeyval(): number; + //TypeScript is complete garbage: + } + + class MnemonicTriggerCtor { + keyval ?: number; + } + + class MountOperation extends AuGIO.MountOperation { + constructor(initializerList ?: MountOperationCtor); + + parentInstance : AuGIO.MountOperation; + priv : AuGTK.MountOperationPrivate; + + display : AuGDK.Display; + isShowing : boolean; + parent : AuGTK.Window; + + getDisplay(): AuGDK.Display; + getParent(): AuGTK.Window; + setDisplay(display: AuGDK.Display): void; + setParent(parent: AuGTK.Window | undefined | null): void; + //TypeScript is complete garbage: + } + + class MountOperationCtor { + username ?: string; + password ?: string; + anonymous ?: boolean; + domain ?: string; + passwordSave ?: AuGIO.PasswordSave; + choice ?: number; + isTcryptHiddenVolume ?: boolean; + isTcryptSystemVolume ?: boolean; + pim ?: number; + parent ?: AuGTK.Window; + isShowing ?: boolean; + display ?: AuGDK.Display; + } + + class MultiFilter extends AuGTK.Filter implements AuGIO.ListModel, AuGTK.Buildable { + constructor(initializerList ?: MultiFilterCtor); + + itemType : number; + nItems : number; + + append(filter: AuGTK.Filter): void; + remove(position: number): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + getBuildableId(): string; + } + + class MultiFilterCtor { + itemType ?: any; + nItems ?: number; + } + + class MultiSelection extends GObject.Object implements AuGIO.ListModel, AuGTK.SelectionModel { + constructor(initializerList ?: MultiSelectionCtor); + + itemType : number; + model : AuGIO.ListModel; + nItems : number; + + static New(model: AuGIO.ListModel | undefined | null): AuGTK.MultiSelection; + getModel(): AuGIO.ListModel; + setModel(model: AuGIO.ListModel | undefined | null): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + getSelection(): AuGTK.Bitset; + getSelectionInRange(position: number, nItems: number): AuGTK.Bitset; + isSelected(position: number): boolean; + selectAll(): boolean; + selectItem(position: number, unselectRest: boolean): boolean; + selectRange(position: number, nItems: number, unselectRest: boolean): boolean; + selectionChanged(position: number, nItems: number): void; + setSelection(selected: AuGTK.Bitset, mask: AuGTK.Bitset): boolean; + unselectAll(): boolean; + unselectItem(position: number): boolean; + unselectRange(position: number, nItems: number): boolean; + } + + class MultiSelectionCtor { + itemType ?: any; + model ?: AuGIO.ListModel; + nItems ?: number; + } + + class MultiSorter extends AuGTK.Sorter implements AuGIO.ListModel, AuGTK.Buildable { + constructor(initializerList ?: MultiSorterCtor); + + itemType : number; + nItems : number; + + static New(): AuGTK.MultiSorter; + append(sorter: AuGTK.Sorter): void; + remove(position: number): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + getBuildableId(): string; + } + + class MultiSorterCtor { + itemType ?: any; + nItems ?: number; + } + + class NamedAction extends AuGTK.ShortcutAction { + constructor(initializerList ?: NamedActionCtor); + + actionName : string; + + static New(name: string): AuGTK.NamedAction; + getActionName(): string; + //TypeScript is complete garbage: + } + + class NamedActionCtor { + actionName ?: string; + } + + class NativeDialog extends GObject.Object { + constructor(initializerList ?: NativeDialogCtor); + + parentInstance : GObject.Object; + + modal : boolean; + title : string; + transientFor : AuGTK.Window; + visible : boolean; + + destroy(): void; + getModal(): boolean; + getTitle(): string; + getTransientFor(): AuGTK.Window; + getVisible(): boolean; + hide(): void; + setModal(modal: boolean): void; + setTitle(title: string): void; + setTransientFor(parent: AuGTK.Window | undefined | null): void; + show(): void; + //TypeScript is complete garbage: + } + + class NativeDialogCtor { + title ?: string; + visible ?: boolean; + modal ?: boolean; + transientFor ?: AuGTK.Window; + } + + class NativeDialogEventListener extends AuGlibEx.IEventListener { + response(responseId: number): void; + } + + class NeverTrigger extends AuGTK.ShortcutTrigger { + constructor(initializerList ?: NeverTriggerCtor); + + static Get(): AuGTK.NeverTrigger; + //TypeScript is complete garbage: + } + + class NeverTriggerCtor { + } + + class NoSelection extends GObject.Object implements AuGIO.ListModel, AuGTK.SelectionModel { + constructor(initializerList ?: NoSelectionCtor); + + itemType : number; + model : AuGIO.ListModel; + nItems : number; + + static New(model: AuGIO.ListModel | undefined | null): AuGTK.NoSelection; + getModel(): AuGIO.ListModel; + setModel(model: AuGIO.ListModel | undefined | null): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + getSelection(): AuGTK.Bitset; + getSelectionInRange(position: number, nItems: number): AuGTK.Bitset; + isSelected(position: number): boolean; + selectAll(): boolean; + selectItem(position: number, unselectRest: boolean): boolean; + selectRange(position: number, nItems: number, unselectRest: boolean): boolean; + selectionChanged(position: number, nItems: number): void; + setSelection(selected: AuGTK.Bitset, mask: AuGTK.Bitset): boolean; + unselectAll(): boolean; + unselectItem(position: number): boolean; + unselectRange(position: number, nItems: number): boolean; + } + + class NoSelectionCtor { + itemType ?: any; + model ?: AuGIO.ListModel; + nItems ?: number; + } + + class Notebook extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: NotebookCtor); + + enablePopup : boolean; + groupName : string; + page : number; + pages : AuGIO.ListModel; + scrollable : boolean; + showBorder : boolean; + showTabs : boolean; + tabPos : AuGTK.PositionType; + + static New(): AuGTK.Widget; + appendPage(child: AuGTK.Widget, tabLabel: AuGTK.Widget | undefined | null): number; + appendPageMenu(child: AuGTK.Widget, tabLabel: AuGTK.Widget | undefined | null, menuLabel: AuGTK.Widget | undefined | null): number; + detachTab(child: AuGTK.Widget): void; + getActionWidget(packType: AuGTK.PackType): AuGTK.Widget; + getCurrentPage(): number; + getGroupName(): string; + getMenuLabel(child: AuGTK.Widget): AuGTK.Widget; + getMenuLabelText(child: AuGTK.Widget): string; + getNPages(): number; + getNthPage(pageNum: number): AuGTK.Widget; + getPage(child: AuGTK.Widget): AuGTK.NotebookPage; + getPages(): AuGIO.ListModel; + getScrollable(): boolean; + getShowBorder(): boolean; + getShowTabs(): boolean; + getTabDetachable(child: AuGTK.Widget): boolean; + getTabLabel(child: AuGTK.Widget): AuGTK.Widget; + getTabLabelText(child: AuGTK.Widget): string; + getTabPos(): AuGTK.PositionType; + getTabReorderable(child: AuGTK.Widget): boolean; + insertPage(child: AuGTK.Widget, tabLabel: AuGTK.Widget | undefined | null, position: number): number; + insertPageMenu(child: AuGTK.Widget, tabLabel: AuGTK.Widget | undefined | null, menuLabel: AuGTK.Widget | undefined | null, position: number): number; + nextPage(): void; + pageNum(child: AuGTK.Widget): number; + popupDisable(): void; + popupEnable(): void; + prependPage(child: AuGTK.Widget, tabLabel: AuGTK.Widget | undefined | null): number; + prependPageMenu(child: AuGTK.Widget, tabLabel: AuGTK.Widget | undefined | null, menuLabel: AuGTK.Widget | undefined | null): number; + prevPage(): void; + removePage(pageNum: number): void; + reorderChild(child: AuGTK.Widget, position: number): void; + setActionWidget(widget: AuGTK.Widget, packType: AuGTK.PackType): void; + setCurrentPage(pageNum: number): void; + setGroupName(groupName: string | undefined | null): void; + setMenuLabel(child: AuGTK.Widget, menuLabel: AuGTK.Widget | undefined | null): void; + setMenuLabelText(child: AuGTK.Widget, menuText: string): void; + setScrollable(scrollable: boolean): void; + setShowBorder(showBorder: boolean): void; + setShowTabs(showTabs: boolean): void; + setTabDetachable(child: AuGTK.Widget, detachable: boolean): void; + setTabLabel(child: AuGTK.Widget, tabLabel: AuGTK.Widget | undefined | null): void; + setTabLabelText(child: AuGTK.Widget, tabText: string): void; + setTabPos(pos: AuGTK.PositionType): void; + setTabReorderable(child: AuGTK.Widget, reorderable: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class NotebookCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + tabPos ?: AuGTK.PositionType; + showTabs ?: boolean; + showBorder ?: boolean; + scrollable ?: boolean; + page ?: number; + enablePopup ?: boolean; + groupName ?: string; + pages ?: AuGIO.ListModel; + } + + class NotebookEventListener extends AuGlibEx.IEventListener { + changeCurrentPage(object: number): boolean; + createWindow(page: AuGTK.Widget): AuGTK.Notebook; + focusTab(object: AuGTK.NotebookTab): boolean; + moveFocusOut(object: AuGTK.DirectionType): void; + pageAdded(child: AuGTK.Widget, pageNum: number): void; + pageRemoved(child: AuGTK.Widget, pageNum: number): void; + pageReordered(child: AuGTK.Widget, pageNum: number): void; + reorderTab(object: AuGTK.DirectionType, p0: boolean): boolean; + selectPage(object: boolean): boolean; + switchPage(page: AuGTK.Widget, pageNum: number): void; + } + + class NotebookPage extends GObject.Object { + constructor(initializerList ?: NotebookPageCtor); + + child : AuGTK.Widget; + detachable : boolean; + menu : AuGTK.Widget; + menuLabel : string; + position : number; + reorderable : boolean; + tab : AuGTK.Widget; + tabExpand : boolean; + tabFill : boolean; + tabLabel : string; + + getChild(): AuGTK.Widget; + //TypeScript is complete garbage: + } + + class NotebookPageCtor { + tabLabel ?: string; + menuLabel ?: string; + position ?: number; + tabExpand ?: boolean; + tabFill ?: boolean; + reorderable ?: boolean; + detachable ?: boolean; + child ?: AuGTK.Widget; + tab ?: AuGTK.Widget; + menu ?: AuGTK.Widget; + } + + class NothingAction extends AuGTK.ShortcutAction { + constructor(initializerList ?: NothingActionCtor); + + static Get(): AuGTK.NothingAction; + //TypeScript is complete garbage: + } + + class NothingActionCtor { + } + + class NumericSorter extends AuGTK.Sorter { + constructor(initializerList ?: NumericSorterCtor); + + expression : AuGTK.Expression; + sortOrder : AuGTK.SortType; + + static New(expression: AuGTK.Expression | undefined | null): AuGTK.NumericSorter; + getExpression(): AuGTK.Expression; + getSortOrder(): AuGTK.SortType; + setExpression(expression: AuGTK.Expression | undefined | null): void; + setSortOrder(sortOrder: AuGTK.SortType): void; + //TypeScript is complete garbage: + } + + class NumericSorterCtor { + expression ?: AuGTK.Expression; + sortOrder ?: AuGTK.SortType; + } + + class ObjectExpression extends AuGTK.Expression { + constructor(initializerList ?: ObjectExpressionCtor); + + static New(object: GObject.Object): AuGTK.ObjectExpression; + getObject(): GObject.Object; + //TypeScript is complete garbage: + } + + class ObjectExpressionCtor { + } + + class Overlay extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: OverlayCtor); + + child : AuGTK.Widget; + + static New(): AuGTK.Widget; + addOverlay(widget: AuGTK.Widget): void; + getChild(): AuGTK.Widget; + getClipOverlay(widget: AuGTK.Widget): boolean; + getMeasureOverlay(widget: AuGTK.Widget): boolean; + removeOverlay(widget: AuGTK.Widget): void; + setChild(child: AuGTK.Widget | undefined | null): void; + setClipOverlay(widget: AuGTK.Widget, clipOverlay: boolean): void; + setMeasureOverlay(widget: AuGTK.Widget, measure: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class OverlayCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + child ?: AuGTK.Widget; + } + + class OverlayEventListener extends AuGlibEx.IEventListener { + getChildPosition(widget: AuGTK.Widget, allocation: AuGDK.Rectangle): boolean; + } + + class OverlayLayout extends AuGTK.LayoutManager { + constructor(initializerList ?: OverlayLayoutCtor); + + static New(): AuGTK.LayoutManager; + //TypeScript is complete garbage: + } + + class OverlayLayoutCtor { + } + + class OverlayLayoutChild extends AuGTK.LayoutChild { + constructor(initializerList ?: OverlayLayoutChildCtor); + + clipOverlay : boolean; + measure : boolean; + + getClipOverlay(): boolean; + getMeasure(): boolean; + setClipOverlay(clipOverlay: boolean): void; + setMeasure(measure: boolean): void; + //TypeScript is complete garbage: + } + + class OverlayLayoutChildCtor { + layoutManager ?: AuGTK.LayoutManager; + childWidget ?: AuGTK.Widget; + measure ?: boolean; + clipOverlay ?: boolean; + } + + class PadController extends AuGTK.EventController { + constructor(initializerList ?: PadControllerCtor); + + actionGroup : AuGIO.ActionGroup; + pad : AuGDK.Device; + + static New(group: AuGIO.ActionGroup, pad: AuGDK.Device | undefined | null): AuGTK.PadController; + setAction(type: AuGTK.PadActionType, index: number, mode: number, label: string, actionName: string): void; + setActionEntries(entries: AuGTK.PadActionEntry[], nEntries: number): void; + //TypeScript is complete garbage: + } + + class PadControllerCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + actionGroup ?: AuGIO.ActionGroup; + pad ?: AuGDK.Device; + } + + class PageSetup extends GObject.Object { + constructor(initializerList ?: PageSetupCtor); + + static New(): AuGTK.PageSetup; + static NewFromFile(fileName: string): AuGTK.PageSetup; + static NewFromGvariant(variant: AuGlibEx.Variant): AuGTK.PageSetup; + static NewFromKeyFile(keyFile: AuGlibEx.KeyFile, groupName: string | undefined | null): AuGTK.PageSetup; + copy(): AuGTK.PageSetup; + getBottomMargin(unit: AuGTK.Unit): number; + getLeftMargin(unit: AuGTK.Unit): number; + getOrientation(): AuGTK.PageOrientation; + getPageHeight(unit: AuGTK.Unit): number; + getPageWidth(unit: AuGTK.Unit): number; + getPaperHeight(unit: AuGTK.Unit): number; + getPaperSize(): AuGTK.PaperSize; + getPaperWidth(unit: AuGTK.Unit): number; + getRightMargin(unit: AuGTK.Unit): number; + getTopMargin(unit: AuGTK.Unit): number; + loadFile(fileName: string): boolean; + loadKeyFile(keyFile: AuGlibEx.KeyFile, groupName: string | undefined | null): boolean; + setBottomMargin(margin: number, unit: AuGTK.Unit): void; + setLeftMargin(margin: number, unit: AuGTK.Unit): void; + setOrientation(orientation: AuGTK.PageOrientation): void; + setPaperSize(size: AuGTK.PaperSize): void; + setPaperSizeAndDefaultMargins(size: AuGTK.PaperSize): void; + setRightMargin(margin: number, unit: AuGTK.Unit): void; + setTopMargin(margin: number, unit: AuGTK.Unit): void; + toFile(fileName: string): boolean; + toGvariant(): AuGlibEx.Variant; + toKeyFile(keyFile: AuGlibEx.KeyFile, groupName: string | undefined | null): void; + //TypeScript is complete garbage: + } + + class PageSetupCtor { + } + + class Paned extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.AccessibleRange, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: PanedCtor); + + endChild : AuGTK.Widget; + maxPosition : number; + minPosition : number; + position : number; + positionSet : boolean; + resizeEndChild : boolean; + resizeStartChild : boolean; + shrinkEndChild : boolean; + shrinkStartChild : boolean; + startChild : AuGTK.Widget; + wideHandle : boolean; + + static New(orientation: AuGTK.Orientation): AuGTK.Widget; + getEndChild(): AuGTK.Widget; + getPosition(): number; + getResizeEndChild(): boolean; + getResizeStartChild(): boolean; + getShrinkEndChild(): boolean; + getShrinkStartChild(): boolean; + getStartChild(): AuGTK.Widget; + getWideHandle(): boolean; + setEndChild(child: AuGTK.Widget | undefined | null): void; + setPosition(position: number): void; + setResizeEndChild(resize: boolean): void; + setResizeStartChild(resize: boolean): void; + setShrinkEndChild(resize: boolean): void; + setShrinkStartChild(resize: boolean): void; + setStartChild(child: AuGTK.Widget | undefined | null): void; + setWideHandle(wide: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class PanedCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + position ?: number; + positionSet ?: boolean; + minPosition ?: number; + maxPosition ?: number; + wideHandle ?: boolean; + resizeStartChild ?: boolean; + resizeEndChild ?: boolean; + shrinkStartChild ?: boolean; + shrinkEndChild ?: boolean; + startChild ?: AuGTK.Widget; + endChild ?: AuGTK.Widget; + } + + class PanedEventListener extends AuGlibEx.IEventListener { + acceptPosition(): boolean; + cancelPosition(): boolean; + cycleChildFocus(reversed: boolean): boolean; + cycleHandleFocus(reversed: boolean): boolean; + moveHandle(scrollType: AuGTK.ScrollType): boolean; + toggleHandleFocus(): boolean; + } + + class ParamSpecExpression extends GObject.ParamSpec { + constructor(initializerList ?: ParamSpecExpressionCtor); + + parentInstance : GObject.ParamSpec; + + //TypeScript is complete garbage: + } + + class ParamSpecExpressionCtor { + } + + class PasswordEntry extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Editable { + constructor(initializerList ?: PasswordEntryCtor); + + activatesDefault : boolean; + extraMenu : AuGIO.MenuModel; + placeholderText : string; + showPeekIcon : boolean; + + static New(): AuGTK.Widget; + getExtraMenu(): AuGIO.MenuModel; + getShowPeekIcon(): boolean; + setExtraMenu(model: AuGIO.MenuModel | undefined | null): void; + setShowPeekIcon(showPeekIcon: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + cursorPosition : number; + editable : boolean; + enableUndo : boolean; + maxWidthChars : number; + selectionBound : number; + text : string; + widthChars : number; + XAlign : number; + + static DelegateGetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static DelegateSetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static InstallProperties(objectClass: GObject.ObjectClass, firstProp: number): number; + delegateGetAccessiblePlatformState(state: AuGTK.AccessiblePlatformState): boolean; + deleteSelection(): void; + deleteText(startPos: number, endPos: number): void; + finishDelegate(): void; + getAlignment(): number; + getChars(startPos: number, endPos: number): string; + getDelegate(): AuGTK.Editable; + getEditable(): boolean; + getEnableUndo(): boolean; + getMaxWidthChars(): number; + getPosition(): number; + getSelectionBounds(startPos ?: number, endPos ?: number): boolean; + getText(): string; + getWidthChars(): number; + initDelegate(): void; + insertText(text: string, length: number, position: number): void; + selectRegion(startPos: number, endPos: number): void; + setAlignment(XAlign: number): void; + setEditable(isEditable: boolean): void; + setEnableUndo(enableUndo: boolean): void; + setMaxWidthChars(nChars: number): void; + setPosition(position: number): void; + setText(text: string): void; + setWidthChars(nChars: number): void; + } + + class PasswordEntryCtor { + accessibleRole ?: AuGTK.AccessibleRole; + cursorPosition ?: number; + editable ?: boolean; + enableUndo ?: boolean; + maxWidthChars ?: number; + selectionBound ?: number; + text ?: string; + widthChars ?: number; + XAlign ?: number; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + placeholderText ?: string; + activatesDefault ?: boolean; + showPeekIcon ?: boolean; + extraMenu ?: AuGIO.MenuModel; + } + + class PasswordEntryEventListener extends AuGlibEx.IEventListener { + activate(): void; + } + + class PasswordEntryBuffer extends AuGTK.EntryBuffer { + constructor(initializerList ?: PasswordEntryBufferCtor); + + //TypeScript is complete garbage: + } + + class PasswordEntryBufferCtor { + text ?: string; + length ?: number; + maxLength ?: number; + } + + class Picture extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: PictureCtor); + + alternativeText : string; + canShrink : boolean; + contentFit : AuGTK.ContentFit; + file : AuGIO.File; + keepAspectRatio : boolean; + paintable : AuGDK.Paintable; + + static New(): AuGTK.Widget; + static NewForFile(file: AuGIO.File | undefined | null): AuGTK.Widget; + static NewForFilename(filename: string | undefined | null): AuGTK.Widget; + static NewForPaintable(paintable: AuGDK.Paintable | undefined | null): AuGTK.Widget; + static NewForPixbuf(pixbuf: AuGDKPixBuf.Pixbuf | undefined | null): AuGTK.Widget; + static NewForResource(resourcePath: string | undefined | null): AuGTK.Widget; + getAlternativeText(): string; + getCanShrink(): boolean; + getContentFit(): AuGTK.ContentFit; + getFile(): AuGIO.File; + getKeepAspectRatio(): boolean; + getPaintable(): AuGDK.Paintable; + setAlternativeText(alternativeText: string | undefined | null): void; + setCanShrink(canShrink: boolean): void; + setContentFit(contentFit: AuGTK.ContentFit): void; + setFile(file: AuGIO.File | undefined | null): void; + setFilename(filename: string | undefined | null): void; + setKeepAspectRatio(keepAspectRatio: boolean): void; + setPaintable(paintable: AuGDK.Paintable | undefined | null): void; + setPixbuf(pixbuf: AuGDKPixBuf.Pixbuf | undefined | null): void; + setResource(resourcePath: string | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class PictureCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + paintable ?: AuGDK.Paintable; + file ?: AuGIO.File; + alternativeText ?: string; + keepAspectRatio ?: boolean; + canShrink ?: boolean; + contentFit ?: AuGTK.ContentFit; + } + + class Popover extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.ShortcutManager { + constructor(initializerList ?: PopoverCtor); + + parent : AuGTK.Widget; + + autohide : boolean; + cascadePopdown : boolean; + child : AuGTK.Widget; + defaultWidget : AuGTK.Widget; + hasArrow : boolean; + mnemonicsVisible : boolean; + pointingTo : AuGDK.Rectangle; + position : AuGTK.PositionType; + + static New(): AuGTK.Widget; + getAutohide(): boolean; + getCascadePopdown(): boolean; + getChild(): AuGTK.Widget; + getHasArrow(): boolean; + getMnemonicsVisible(): boolean; + getOffset(XOffset: number | undefined | null, YOffset: number | undefined | null): void; + getPointingTo(rect: AuGDK.Rectangle): boolean; + getPosition(): AuGTK.PositionType; + popdown(): void; + popup(): void; + present(): void; + setAutohide(autohide: boolean): void; + setCascadePopdown(cascadePopdown: boolean): void; + setChild(child: AuGTK.Widget | undefined | null): void; + setDefaultWidget(widget: AuGTK.Widget | undefined | null): void; + setHasArrow(hasArrow: boolean): void; + setMnemonicsVisible(mnemonicsVisible: boolean): void; + setOffset(XOffset: number, YOffset: number): void; + setPointingTo(rect: AuGDK.Rectangle | undefined | null): void; + setPosition(position: AuGTK.PositionType): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + static GetForSurface(surface: AuGDK.Surface): AuGTK.Native; + getRenderer(): Gsk.Renderer; + getSurface(): AuGDK.Surface; + getSurfaceTransform(x: number, y: number): void; + } + + class PopoverCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + pointingTo ?: AuGDK.Rectangle; + position ?: AuGTK.PositionType; + autohide ?: boolean; + defaultWidget ?: AuGTK.Widget; + hasArrow ?: boolean; + mnemonicsVisible ?: boolean; + child ?: AuGTK.Widget; + cascadePopdown ?: boolean; + } + + class PopoverEventListener extends AuGlibEx.IEventListener { + activateDefault(): void; + closed(): void; + } + + class PopoverMenu extends AuGTK.Popover implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.ShortcutManager { + constructor(initializerList ?: PopoverMenuCtor); + + menuModel : AuGIO.MenuModel; + visibleSubmenu : string; + + static NewFromModel(model: AuGIO.MenuModel | undefined | null): AuGTK.Widget; + static NewFromModelFull(model: AuGIO.MenuModel, flags: AuGTK.PopoverMenuFlags): AuGTK.Widget; + addChild(child: AuGTK.Widget, id: string): boolean; + getMenuModel(): AuGIO.MenuModel; + removeChild(child: AuGTK.Widget): boolean; + setMenuModel(model: AuGIO.MenuModel | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class PopoverMenuCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + pointingTo ?: AuGDK.Rectangle; + position ?: AuGTK.PositionType; + autohide ?: boolean; + defaultWidget ?: AuGTK.Widget; + hasArrow ?: boolean; + mnemonicsVisible ?: boolean; + child ?: AuGTK.Widget; + cascadePopdown ?: boolean; + visibleSubmenu ?: string; + menuModel ?: AuGIO.MenuModel; + } + + class PopoverMenuBar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: PopoverMenuBarCtor); + + menuModel : AuGIO.MenuModel; + + static NewFromModel(model: AuGIO.MenuModel | undefined | null): AuGTK.Widget; + addChild(child: AuGTK.Widget, id: string): boolean; + getMenuModel(): AuGIO.MenuModel; + removeChild(child: AuGTK.Widget): boolean; + setMenuModel(model: AuGIO.MenuModel | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class PopoverMenuBarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + menuModel ?: AuGIO.MenuModel; + } + + class PrintContext extends GObject.Object { + constructor(initializerList ?: PrintContextCtor); + + createPangoContext(): AuPango.Context; + createPangoLayout(): AuPango.Layout; + getCairoContext(): cairo.Context; + getDpiX(): number; + getDpiY(): number; + getHardMargins(top: number, bottom: number, left: number, right: number): boolean; + getHeight(): number; + getPageSetup(): AuGTK.PageSetup; + getPangoFontmap(): AuPango.FontMap; + getWidth(): number; + setCairoContext(cr: cairo.Context, dpiX: number, dpiY: number): void; + //TypeScript is complete garbage: + } + + class PrintContextCtor { + } + + class PrintOperation extends GObject.Object implements AuGTK.PrintOperationPreview { + constructor(initializerList ?: PrintOperationCtor); + + parentInstance : GObject.Object; + priv : AuGTK.PrintOperationPrivate; + + allowAsync : boolean; + currentPage : number; + customTabLabel : string; + defaultPageSetup : AuGTK.PageSetup; + embedPageSetup : boolean; + exportFilename : string; + hasSelection : boolean; + jobName : string; + nPages : number; + nPagesToPrint : number; + printSettings : AuGTK.PrintSettings; + showProgress : boolean; + status : AuGTK.PrintStatus; + statusString : string; + supportSelection : boolean; + trackPrintStatus : boolean; + unit : AuGTK.Unit; + useFullPage : boolean; + + static New(): AuGTK.PrintOperation; + cancel(): void; + drawPageFinish(): void; + getDefaultPageSetup(): AuGTK.PageSetup; + getEmbedPageSetup(): boolean; + getError(): void; + getHasSelection(): boolean; + getNPagesToPrint(): number; + getPrintSettings(): AuGTK.PrintSettings; + getStatus(): AuGTK.PrintStatus; + getStatusString(): string; + getSupportSelection(): boolean; + isFinished(): boolean; + run(action: AuGTK.PrintOperationAction, parent: AuGTK.Window | undefined | null): AuGTK.PrintOperationResult; + setAllowAsync(allowAsync: boolean): void; + setCurrentPage(currentPage: number): void; + setCustomTabLabel(label: string | undefined | null): void; + setDefaultPageSetup(defaultPageSetup: AuGTK.PageSetup | undefined | null): void; + setDeferDrawing(): void; + setEmbedPageSetup(embed: boolean): void; + setExportFilename(filename: string): void; + setHasSelection(hasSelection: boolean): void; + setJobName(jobName: string): void; + setNPages(nPages: number): void; + setPrintSettings(printSettings: AuGTK.PrintSettings | undefined | null): void; + setShowProgress(showProgress: boolean): void; + setSupportSelection(supportSelection: boolean): void; + setTrackPrintStatus(trackStatus: boolean): void; + setUnit(unit: AuGTK.Unit): void; + setUseFullPage(fullPage: boolean): void; + //TypeScript is complete garbage: + endPreview(): void; + isSelected(pageNr: number): boolean; + renderPage(pageNr: number): void; + } + + class PrintOperationCtor { + defaultPageSetup ?: AuGTK.PageSetup; + printSettings ?: AuGTK.PrintSettings; + jobName ?: string; + nPages ?: number; + currentPage ?: number; + useFullPage ?: boolean; + trackPrintStatus ?: boolean; + unit ?: AuGTK.Unit; + showProgress ?: boolean; + allowAsync ?: boolean; + exportFilename ?: string; + status ?: AuGTK.PrintStatus; + statusString ?: string; + customTabLabel ?: string; + embedPageSetup ?: boolean; + hasSelection ?: boolean; + supportSelection ?: boolean; + nPagesToPrint ?: number; + } + + class PrintOperationEventListener extends AuGlibEx.IEventListener { + beginPrint(context: AuGTK.PrintContext): void; + createCustomWidget(): GObject.Object; + customWidgetApply(widget: AuGTK.Widget): void; + done(result: AuGTK.PrintOperationResult): void; + drawPage(context: AuGTK.PrintContext, pageNr: number): void; + endPrint(context: AuGTK.PrintContext): void; + paginate(context: AuGTK.PrintContext): boolean; + preview(preview: AuGTK.PrintOperationPreview, context: AuGTK.PrintContext, parent: AuGTK.Window | undefined | null): boolean; + requestPageSetup(context: AuGTK.PrintContext, pageNr: number, setup: AuGTK.PageSetup): void; + statusChanged(): void; + updateCustomWidget(widget: AuGTK.Widget, setup: AuGTK.PageSetup, settings: AuGTK.PrintSettings): void; + } + + class PrintSettings extends GObject.Object { + constructor(initializerList ?: PrintSettingsCtor); + + static New(): AuGTK.PrintSettings; + static NewFromFile(fileName: string): AuGTK.PrintSettings; + static NewFromGvariant(variant: AuGlibEx.Variant): AuGTK.PrintSettings; + static NewFromKeyFile(keyFile: AuGlibEx.KeyFile, groupName: string | undefined | null): AuGTK.PrintSettings; + copy(): AuGTK.PrintSettings; + foreach(func: (key: string, value: string) => void): void; + get(key: string): string; + getBool(key: string): boolean; + getCollate(): boolean; + getDefaultSource(): string; + getDither(): string; + getDouble(key: string): number; + getDoubleWithDefault(key: string, def: number): number; + getDuplex(): AuGTK.PrintDuplex; + getFinishings(): string; + getInt(key: string): number; + getIntWithDefault(key: string, def: number): number; + getLength(key: string, unit: AuGTK.Unit): number; + getMediaType(): string; + getNCopies(): number; + getNumberUp(): number; + getNumberUpLayout(): AuGTK.NumberUpLayout; + getOrientation(): AuGTK.PageOrientation; + getOutputBin(): string; + getPageRanges(numRanges: number): AuGTK.PageRange[]; + getPageSet(): AuGTK.PageSet; + getPaperHeight(unit: AuGTK.Unit): number; + getPaperSize(): AuGTK.PaperSize; + getPaperWidth(unit: AuGTK.Unit): number; + getPrintPages(): AuGTK.PrintPages; + getPrinter(): string; + getPrinterLpi(): number; + getQuality(): AuGTK.PrintQuality; + getResolution(): number; + getResolutionX(): number; + getResolutionY(): number; + getReverse(): boolean; + getScale(): number; + getUseColor(): boolean; + hasKey(key: string): boolean; + loadFile(fileName: string): boolean; + loadKeyFile(keyFile: AuGlibEx.KeyFile, groupName: string | undefined | null): boolean; + set(key: string, value: string | undefined | null): void; + setBool(key: string, value: boolean): void; + setCollate(collate: boolean): void; + setDefaultSource(defaultSource: string): void; + setDither(dither: string): void; + setDouble(key: string, value: number): void; + setDuplex(duplex: AuGTK.PrintDuplex): void; + setFinishings(finishings: string): void; + setInt(key: string, value: number): void; + setLength(key: string, value: number, unit: AuGTK.Unit): void; + setMediaType(mediaType: string): void; + setNCopies(numCopies: number): void; + setNumberUp(numberUp: number): void; + setNumberUpLayout(numberUpLayout: AuGTK.NumberUpLayout): void; + setOrientation(orientation: AuGTK.PageOrientation): void; + setOutputBin(outputBin: string): void; + setPageRanges(pageRanges: AuGTK.PageRange[], numRanges: number): void; + setPageSet(pageSet: AuGTK.PageSet): void; + setPaperHeight(height: number, unit: AuGTK.Unit): void; + setPaperSize(paperSize: AuGTK.PaperSize): void; + setPaperWidth(width: number, unit: AuGTK.Unit): void; + setPrintPages(pages: AuGTK.PrintPages): void; + setPrinter(printer: string): void; + setPrinterLpi(lpi: number): void; + setQuality(quality: AuGTK.PrintQuality): void; + setResolution(resolution: number): void; + setResolutionXY(resolutionX: number, resolutionY: number): void; + setReverse(reverse: boolean): void; + setScale(scale: number): void; + setUseColor(useColor: boolean): void; + toFile(fileName: string): boolean; + toGvariant(): AuGlibEx.Variant; + toKeyFile(keyFile: AuGlibEx.KeyFile, groupName: string | undefined | null): void; + unset(key: string): void; + //TypeScript is complete garbage: + } + + class PrintSettingsCtor { + } + + class ProgressBar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.AccessibleRange, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: ProgressBarCtor); + + ellipsize : AuPango.EllipsizeMode; + fraction : number; + inverted : boolean; + pulseStep : number; + showText : boolean; + text : string; + + static New(): AuGTK.Widget; + getEllipsize(): AuPango.EllipsizeMode; + getFraction(): number; + getInverted(): boolean; + getPulseStep(): number; + getShowText(): boolean; + getText(): string; + pulse(): void; + setEllipsize(mode: AuPango.EllipsizeMode): void; + setFraction(fraction: number): void; + setInverted(inverted: boolean): void; + setPulseStep(fraction: number): void; + setShowText(showText: boolean): void; + setText(text: string | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class ProgressBarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + fraction ?: number; + pulseStep ?: number; + inverted ?: boolean; + text ?: string; + showText ?: boolean; + ellipsize ?: AuPango.EllipsizeMode; + } + + class PropertyExpression extends AuGTK.Expression { + constructor(initializerList ?: PropertyExpressionCtor); + + static New(thisType: number, expression: AuGTK.Expression | undefined | null, propertyName: string): AuGTK.PropertyExpression; + static NewForPspec(expression: AuGTK.Expression | undefined | null, pspec: GObject.ParamSpec): AuGTK.PropertyExpression; + getExpression(): AuGTK.Expression; + getPspec(): GObject.ParamSpec; + //TypeScript is complete garbage: + } + + class PropertyExpressionCtor { + } + + class Range extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.AccessibleRange, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: RangeCtor); + + parentInstance : AuGTK.Widget; + + adjustment : AuGTK.Adjustment; + fillLevel : number; + inverted : boolean; + restrictToFillLevel : boolean; + roundDigits : number; + showFillLevel : boolean; + + getAdjustment(): AuGTK.Adjustment; + getFillLevel(): number; + getFlippable(): boolean; + getInverted(): boolean; + getRangeRect(rangeRect: AuGDK.Rectangle): void; + getRestrictToFillLevel(): boolean; + getRoundDigits(): number; + getShowFillLevel(): boolean; + getSliderRange(sliderStart ?: number, sliderEnd ?: number): void; + getSliderSizeFixed(): boolean; + getValue(): number; + setAdjustment(adjustment: AuGTK.Adjustment): void; + setFillLevel(fillLevel: number): void; + setFlippable(flippable: boolean): void; + setIncrements(step: number, page: number): void; + setInverted(setting: boolean): void; + setRange(min: number, max: number): void; + setRestrictToFillLevel(restrictToFillLevel: boolean): void; + setRoundDigits(roundDigits: number): void; + setShowFillLevel(showFillLevel: boolean): void; + setSliderSizeFixed(sizeFixed: boolean): void; + setValue(value: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class RangeCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + adjustment ?: AuGTK.Adjustment; + inverted ?: boolean; + showFillLevel ?: boolean; + restrictToFillLevel ?: boolean; + fillLevel ?: number; + roundDigits ?: number; + } + + class RangeEventListener extends AuGlibEx.IEventListener { + adjustBounds(value: number): void; + changeValue(scroll: AuGTK.ScrollType, value: number): boolean; + moveSlider(step: AuGTK.ScrollType): void; + valueChanged(): void; + } + + class RecentManager extends GObject.Object { + constructor(initializerList ?: RecentManagerCtor); + + parentInstance : GObject.Object; + priv : AuGTK.RecentManagerPrivate; + + filename : string; + size : number; + + static New(): AuGTK.RecentManager; + static GetDefault(): AuGTK.RecentManager; + addFull(uri: string, recentData: AuGTK.RecentData): boolean; + addItem(uri: string): boolean; + getItems(): AuGTK.RecentInfo[]; + hasItem(uri: string): boolean; + lookupItem(uri: string): AuGTK.RecentInfo; + moveItem(uri: string, newUri: string | undefined | null): boolean; + purgeItems(): number; + removeItem(uri: string): boolean; + //TypeScript is complete garbage: + } + + class RecentManagerCtor { + filename ?: string; + size ?: number; + } + + class RecentManagerEventListener extends AuGlibEx.IEventListener { + changed(): void; + } + + class Revealer extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: RevealerCtor); + + child : AuGTK.Widget; + childRevealed : boolean; + revealChild : boolean; + transitionDuration : number; + transitionType : AuGTK.RevealerTransitionType; + + static New(): AuGTK.Widget; + getChild(): AuGTK.Widget; + getChildRevealed(): boolean; + getRevealChild(): boolean; + getTransitionDuration(): number; + getTransitionType(): AuGTK.RevealerTransitionType; + setChild(child: AuGTK.Widget | undefined | null): void; + setRevealChild(revealChild: boolean): void; + setTransitionDuration(duration: number): void; + setTransitionType(transition: AuGTK.RevealerTransitionType): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class RevealerCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + transitionType ?: AuGTK.RevealerTransitionType; + transitionDuration ?: number; + revealChild ?: boolean; + childRevealed ?: boolean; + child ?: AuGTK.Widget; + } + + class Scale extends AuGTK.Range implements AuGTK.Accessible, AuGTK.AccessibleRange, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: ScaleCtor); + + parentInstance : AuGTK.Range; + + digits : number; + drawValue : boolean; + hasOrigin : boolean; + valuePos : AuGTK.PositionType; + + static New(orientation: AuGTK.Orientation, adjustment: AuGTK.Adjustment | undefined | null): AuGTK.Widget; + static NewWithRange(orientation: AuGTK.Orientation, min: number, max: number, step: number): AuGTK.Widget; + addMark(value: number, position: AuGTK.PositionType, markup: string | undefined | null): void; + clearMarks(): void; + getDigits(): number; + getDrawValue(): boolean; + getHasOrigin(): boolean; + getLayout(): AuPango.Layout; + getLayoutOffsets(x ?: number, y ?: number): void; + getValuePos(): AuGTK.PositionType; + setDigits(digits: number): void; + setDrawValue(drawValue: boolean): void; + setFormatValueFunc(func: (scale: AuGTK.Scale, value: number) => string | undefined | null, destroyNotify: () => void | undefined | null): void; + setHasOrigin(hasOrigin: boolean): void; + setValuePos(pos: AuGTK.PositionType): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + } + + class ScaleCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + adjustment ?: AuGTK.Adjustment; + inverted ?: boolean; + showFillLevel ?: boolean; + restrictToFillLevel ?: boolean; + fillLevel ?: number; + roundDigits ?: number; + digits ?: number; + drawValue ?: boolean; + hasOrigin ?: boolean; + valuePos ?: AuGTK.PositionType; + } + + class ScaleButton extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.AccessibleRange, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: ScaleButtonCtor); + + parentInstance : AuGTK.Widget; + + active : boolean; + adjustment : AuGTK.Adjustment; + icons : string[]; + value : number; + + static New(min: number, max: number, step: number, icons: string[] | undefined | null): AuGTK.Widget; + getActive(): boolean; + getAdjustment(): AuGTK.Adjustment; + getMinusButton(): AuGTK.Button; + getPlusButton(): AuGTK.Button; + getPopup(): AuGTK.Widget; + getValue(): number; + setAdjustment(adjustment: AuGTK.Adjustment): void; + setIcons(icons: string[]): void; + setValue(value: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class ScaleButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + value ?: number; + adjustment ?: AuGTK.Adjustment; + icons ?: any; + active ?: boolean; + } + + class ScaleButtonEventListener extends AuGlibEx.IEventListener { + popdown(): void; + popup(): void; + valueChanged(value: number): void; + } + + class Scrollbar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: ScrollbarCtor); + + adjustment : AuGTK.Adjustment; + + static New(orientation: AuGTK.Orientation, adjustment: AuGTK.Adjustment | undefined | null): AuGTK.Widget; + getAdjustment(): AuGTK.Adjustment; + setAdjustment(adjustment: AuGTK.Adjustment | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class ScrollbarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + adjustment ?: AuGTK.Adjustment; + } + + class ScrolledWindow extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ScrolledWindowCtor); + + child : AuGTK.Widget; + hadjustment : AuGTK.Adjustment; + hasFrame : boolean; + hscrollbarPolicy : AuGTK.PolicyType; + kineticScrolling : boolean; + maxContentHeight : number; + maxContentWidth : number; + minContentHeight : number; + minContentWidth : number; + overlayScrolling : boolean; + propagateNaturalHeight : boolean; + propagateNaturalWidth : boolean; + vadjustment : AuGTK.Adjustment; + vscrollbarPolicy : AuGTK.PolicyType; + windowPlacement : AuGTK.CornerType; + + static New(): AuGTK.Widget; + getChild(): AuGTK.Widget; + getHadjustment(): AuGTK.Adjustment; + getHasFrame(): boolean; + getHscrollbar(): AuGTK.Widget; + getKineticScrolling(): boolean; + getMaxContentHeight(): number; + getMaxContentWidth(): number; + getMinContentHeight(): number; + getMinContentWidth(): number; + getOverlayScrolling(): boolean; + getPlacement(): AuGTK.CornerType; + getPolicy(hscrollbarPolicy ?: AuGTK.PolicyType, vscrollbarPolicy ?: AuGTK.PolicyType): void; + getPropagateNaturalHeight(): boolean; + getPropagateNaturalWidth(): boolean; + getVadjustment(): AuGTK.Adjustment; + getVscrollbar(): AuGTK.Widget; + setChild(child: AuGTK.Widget | undefined | null): void; + setHadjustment(hadjustment: AuGTK.Adjustment | undefined | null): void; + setHasFrame(hasFrame: boolean): void; + setKineticScrolling(kineticScrolling: boolean): void; + setMaxContentHeight(height: number): void; + setMaxContentWidth(width: number): void; + setMinContentHeight(height: number): void; + setMinContentWidth(width: number): void; + setOverlayScrolling(overlayScrolling: boolean): void; + setPlacement(windowPlacement: AuGTK.CornerType): void; + setPolicy(hscrollbarPolicy: AuGTK.PolicyType, vscrollbarPolicy: AuGTK.PolicyType): void; + setPropagateNaturalHeight(propagate: boolean): void; + setPropagateNaturalWidth(propagate: boolean): void; + setVadjustment(vadjustment: AuGTK.Adjustment | undefined | null): void; + unsetPlacement(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class ScrolledWindowCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + hadjustment ?: AuGTK.Adjustment; + vadjustment ?: AuGTK.Adjustment; + hscrollbarPolicy ?: AuGTK.PolicyType; + vscrollbarPolicy ?: AuGTK.PolicyType; + windowPlacement ?: AuGTK.CornerType; + hasFrame ?: boolean; + minContentWidth ?: number; + minContentHeight ?: number; + kineticScrolling ?: boolean; + overlayScrolling ?: boolean; + maxContentWidth ?: number; + maxContentHeight ?: number; + propagateNaturalWidth ?: boolean; + propagateNaturalHeight ?: boolean; + child ?: AuGTK.Widget; + } + + class ScrolledWindowEventListener extends AuGlibEx.IEventListener { + edgeOvershot(pos: AuGTK.PositionType): void; + edgeReached(pos: AuGTK.PositionType): void; + moveFocusOut(directionType: AuGTK.DirectionType): void; + scrollChild(scroll: AuGTK.ScrollType, horizontal: boolean): boolean; + } + + class SearchBar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: SearchBarCtor); + + child : AuGTK.Widget; + keyCaptureWidget : AuGTK.Widget; + searchModeEnabled : boolean; + showCloseButton : boolean; + + static New(): AuGTK.Widget; + connectEntry(entry: AuGTK.Editable): void; + getChild(): AuGTK.Widget; + getKeyCaptureWidget(): AuGTK.Widget; + getSearchMode(): boolean; + getShowCloseButton(): boolean; + setChild(child: AuGTK.Widget | undefined | null): void; + setKeyCaptureWidget(widget: AuGTK.Widget | undefined | null): void; + setSearchMode(searchMode: boolean): void; + setShowCloseButton(visible: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class SearchBarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + searchModeEnabled ?: boolean; + showCloseButton ?: boolean; + child ?: AuGTK.Widget; + keyCaptureWidget ?: AuGTK.Widget; + } + + class SearchEntry extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Editable { + constructor(initializerList ?: SearchEntryCtor); + + activatesDefault : boolean; + placeholderText : string; + searchDelay : number; + + static New(): AuGTK.Widget; + getKeyCaptureWidget(): AuGTK.Widget; + getPlaceholderText(): string; + getSearchDelay(): number; + setKeyCaptureWidget(widget: AuGTK.Widget | undefined | null): void; + setPlaceholderText(text: string | undefined | null): void; + setSearchDelay(delay: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + cursorPosition : number; + editable : boolean; + enableUndo : boolean; + maxWidthChars : number; + selectionBound : number; + text : string; + widthChars : number; + XAlign : number; + + static DelegateGetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static DelegateSetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static InstallProperties(objectClass: GObject.ObjectClass, firstProp: number): number; + delegateGetAccessiblePlatformState(state: AuGTK.AccessiblePlatformState): boolean; + deleteSelection(): void; + deleteText(startPos: number, endPos: number): void; + finishDelegate(): void; + getAlignment(): number; + getChars(startPos: number, endPos: number): string; + getDelegate(): AuGTK.Editable; + getEditable(): boolean; + getEnableUndo(): boolean; + getMaxWidthChars(): number; + getPosition(): number; + getSelectionBounds(startPos ?: number, endPos ?: number): boolean; + getText(): string; + getWidthChars(): number; + initDelegate(): void; + insertText(text: string, length: number, position: number): void; + selectRegion(startPos: number, endPos: number): void; + setAlignment(XAlign: number): void; + setEditable(isEditable: boolean): void; + setEnableUndo(enableUndo: boolean): void; + setMaxWidthChars(nChars: number): void; + setPosition(position: number): void; + setText(text: string): void; + setWidthChars(nChars: number): void; + } + + class SearchEntryCtor { + accessibleRole ?: AuGTK.AccessibleRole; + cursorPosition ?: number; + editable ?: boolean; + enableUndo ?: boolean; + maxWidthChars ?: number; + selectionBound ?: number; + text ?: string; + widthChars ?: number; + XAlign ?: number; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + placeholderText ?: string; + activatesDefault ?: boolean; + searchDelay ?: number; + } + + class SearchEntryEventListener extends AuGlibEx.IEventListener { + activate(): void; + nextMatch(): void; + previousMatch(): void; + searchChanged(): void; + searchStarted(): void; + stopSearch(): void; + } + + class SelectionFilterModel extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: SelectionFilterModelCtor); + + itemType : number; + model : AuGTK.SelectionModel; + nItems : number; + + static New(model: AuGTK.SelectionModel | undefined | null): AuGTK.SelectionFilterModel; + getModel(): AuGTK.SelectionModel; + setModel(model: AuGTK.SelectionModel | undefined | null): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class SelectionFilterModelCtor { + itemType ?: any; + model ?: AuGTK.SelectionModel; + nItems ?: number; + } + + class Separator extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: SeparatorCtor); + + static New(orientation: AuGTK.Orientation): AuGTK.Widget; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class SeparatorCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + } + + class Settings extends GObject.Object implements AuGTK.StyleProvider { + constructor(initializerList ?: SettingsCtor); + + gtkAlternativeButtonOrder : boolean; + gtkAlternativeSortArrows : boolean; + gtkApplicationPreferDarkTheme : boolean; + gtkCursorAspectRatio : number; + gtkCursorBlink : boolean; + gtkCursorBlinkTime : number; + gtkCursorBlinkTimeout : number; + gtkCursorThemeName : string; + gtkCursorThemeSize : number; + gtkDecorationLayout : string; + gtkDialogsUseHeader : boolean; + gtkDndDragThreshold : number; + gtkDoubleClickDistance : number; + gtkDoubleClickTime : number; + gtkEnableAccels : boolean; + gtkEnableAnimations : boolean; + gtkEnableEventSounds : boolean; + gtkEnableInputFeedbackSounds : boolean; + gtkEnablePrimaryPaste : boolean; + gtkEntryPasswordHintTimeout : number; + gtkEntrySelectOnFocus : boolean; + gtkErrorBell : boolean; + gtkFontName : string; + gtkFontconfigTimestamp : number; + gtkHintFontMetrics : boolean; + gtkIconThemeName : string; + gtkImModule : string; + gtkKeynavUseCaret : boolean; + gtkLabelSelectOnFocus : boolean; + gtkLongPressTime : number; + gtkOverlayScrolling : boolean; + gtkPrimaryButtonWarpsSlider : boolean; + gtkPrintBackends : string; + gtkPrintPreviewCommand : string; + gtkRecentFilesEnabled : boolean; + gtkRecentFilesMaxAge : number; + gtkShellShowsAppMenu : boolean; + gtkShellShowsDesktop : boolean; + gtkShellShowsMenubar : boolean; + gtkSoundThemeName : string; + gtkSplitCursor : boolean; + gtkThemeName : string; + gtkTitlebarDoubleClick : string; + gtkTitlebarMiddleClick : string; + gtkTitlebarRightClick : string; + gtkXFtAntialias : number; + gtkXFtDpi : number; + gtkXFtHinting : number; + gtkXFtHintstyle : string; + gtkXFtRgba : string; + + static GetDefault(): AuGTK.Settings; + static GetForDisplay(display: AuGDK.Display): AuGTK.Settings; + resetProperty(name: string): void; + //TypeScript is complete garbage: + } + + class SettingsCtor { + gtkDoubleClickTime ?: number; + gtkDoubleClickDistance ?: number; + gtkCursorBlink ?: boolean; + gtkCursorBlinkTime ?: number; + gtkCursorBlinkTimeout ?: number; + gtkSplitCursor ?: boolean; + gtkCursorAspectRatio ?: number; + gtkThemeName ?: string; + gtkIconThemeName ?: string; + gtkDndDragThreshold ?: number; + gtkFontName ?: string; + gtkXFtAntialias ?: number; + gtkXFtHinting ?: number; + gtkXFtHintstyle ?: string; + gtkXFtRgba ?: string; + gtkXFtDpi ?: number; + gtkHintFontMetrics ?: boolean; + gtkCursorThemeName ?: string; + gtkCursorThemeSize ?: number; + gtkAlternativeButtonOrder ?: boolean; + gtkAlternativeSortArrows ?: boolean; + gtkEnableAnimations ?: boolean; + gtkErrorBell ?: boolean; + gtkPrintBackends ?: string; + gtkPrintPreviewCommand ?: string; + gtkEnableAccels ?: boolean; + gtkImModule ?: string; + gtkRecentFilesMaxAge ?: number; + gtkFontconfigTimestamp ?: number; + gtkSoundThemeName ?: string; + gtkEnableInputFeedbackSounds ?: boolean; + gtkEnableEventSounds ?: boolean; + gtkPrimaryButtonWarpsSlider ?: boolean; + gtkApplicationPreferDarkTheme ?: boolean; + gtkEntrySelectOnFocus ?: boolean; + gtkEntryPasswordHintTimeout ?: number; + gtkLabelSelectOnFocus ?: boolean; + gtkShellShowsAppMenu ?: boolean; + gtkShellShowsMenubar ?: boolean; + gtkShellShowsDesktop ?: boolean; + gtkDecorationLayout ?: string; + gtkTitlebarDoubleClick ?: string; + gtkTitlebarMiddleClick ?: string; + gtkTitlebarRightClick ?: string; + gtkDialogsUseHeader ?: boolean; + gtkEnablePrimaryPaste ?: boolean; + gtkRecentFilesEnabled ?: boolean; + gtkLongPressTime ?: number; + gtkKeynavUseCaret ?: boolean; + gtkOverlayScrolling ?: boolean; + } + + class Shortcut extends GObject.Object { + constructor(initializerList ?: ShortcutCtor); + + action : AuGTK.ShortcutAction; + arguments : AuGlibEx.Variant; + trigger : AuGTK.ShortcutTrigger; + + static New(trigger: AuGTK.ShortcutTrigger | undefined | null, action: AuGTK.ShortcutAction | undefined | null): AuGTK.Shortcut; + getAction(): AuGTK.ShortcutAction; + getArguments(): AuGlibEx.Variant; + getTrigger(): AuGTK.ShortcutTrigger; + setAction(action: AuGTK.ShortcutAction | undefined | null): void; + setArguments(args: AuGlibEx.Variant | undefined | null): void; + setTrigger(trigger: AuGTK.ShortcutTrigger | undefined | null): void; + //TypeScript is complete garbage: + } + + class ShortcutCtor { + action ?: AuGTK.ShortcutAction; + arguments ?: any; + trigger ?: AuGTK.ShortcutTrigger; + } + + class ShortcutAction extends GObject.Object { + constructor(initializerList ?: ShortcutActionCtor); + + static ParseString(string: string): AuGTK.ShortcutAction; + activate(flags: AuGTK.ShortcutActionFlags, widget: AuGTK.Widget, args: AuGlibEx.Variant | undefined | null): boolean; + print(string: AuGlibEx.String): void; + //TypeScript is complete garbage: + } + + class ShortcutActionCtor { + } + + class ShortcutController extends AuGTK.EventController implements AuGIO.ListModel, AuGTK.Buildable { + constructor(initializerList ?: ShortcutControllerCtor); + + itemType : number; + mnemonicModifiers : AuGDK.ModifierType; + model : AuGIO.ListModel; + nItems : number; + scope : AuGTK.ShortcutScope; + + static New(): AuGTK.EventController; + static NewForModel(model: AuGIO.ListModel): AuGTK.EventController; + addShortcut(shortcut: AuGTK.Shortcut): void; + getMnemonicsModifiers(): AuGDK.ModifierType; + getScope(): AuGTK.ShortcutScope; + removeShortcut(shortcut: AuGTK.Shortcut): void; + setMnemonicsModifiers(modifiers: AuGDK.ModifierType): void; + setScope(scope: AuGTK.ShortcutScope): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + getBuildableId(): string; + } + + class ShortcutControllerCtor { + widget ?: AuGTK.Widget; + propagationPhase ?: AuGTK.PropagationPhase; + propagationLimit ?: AuGTK.PropagationLimit; + name ?: string; + itemType ?: any; + mnemonicModifiers ?: AuGDK.ModifierType; + model ?: AuGIO.ListModel; + nItems ?: number; + scope ?: AuGTK.ShortcutScope; + } + + class ShortcutLabel extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ShortcutLabelCtor); + + accelerator : string; + disabledText : string; + + static New(accelerator: string): AuGTK.Widget; + getAccelerator(): string; + getDisabledText(): string; + setAccelerator(accelerator: string): void; + setDisabledText(disabledText: string): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class ShortcutLabelCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + accelerator ?: string; + disabledText ?: string; + } + + class ShortcutTrigger extends GObject.Object { + constructor(initializerList ?: ShortcutTriggerCtor); + + static ParseString(string: string): AuGTK.ShortcutTrigger; + compare(trigger2: AuGTK.ShortcutTrigger): number; + equal(trigger2: AuGTK.ShortcutTrigger): boolean; + hash(): number; + print(string: AuGlibEx.String): void; + printLabel(display: AuGDK.Display, string: AuGlibEx.String): boolean; + toLabel(display: AuGDK.Display): string; + trigger(event: AuGDK.Event, enableMnemonics: boolean): AuGDK.KeyMatch; + //TypeScript is complete garbage: + } + + class ShortcutTriggerCtor { + } + + class ShortcutsGroup extends AuGTK.Box implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: ShortcutsGroupCtor); + + accelSizeGroup : AuGTK.SizeGroup; + height : number; + title : string; + titleSizeGroup : AuGTK.SizeGroup; + view : string; + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + } + + class ShortcutsGroupCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + spacing ?: number; + homogeneous ?: boolean; + baselinePosition ?: AuGTK.BaselinePosition; + title ?: string; + view ?: string; + accelSizeGroup ?: AuGTK.SizeGroup; + titleSizeGroup ?: AuGTK.SizeGroup; + height ?: number; + } + + class ShortcutsSection extends AuGTK.Box implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: ShortcutsSectionCtor); + + maxHeight : number; + sectionName : string; + title : string; + viewName : string; + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + } + + class ShortcutsSectionCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + spacing ?: number; + homogeneous ?: boolean; + baselinePosition ?: AuGTK.BaselinePosition; + title ?: string; + sectionName ?: string; + viewName ?: string; + maxHeight ?: number; + } + + class ShortcutsSectionEventListener extends AuGlibEx.IEventListener { + changeCurrentPage(object: number): boolean; + } + + class ShortcutsShortcut extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ShortcutsShortcutCtor); + + accelSizeGroup : AuGTK.SizeGroup; + accelerator : string; + actionName : string; + direction : AuGTK.TextDirection; + icon : AuGIO.Icon; + iconSet : boolean; + shortcutType : AuGTK.ShortcutType; + subtitle : string; + subtitleSet : boolean; + title : string; + titleSizeGroup : AuGTK.SizeGroup; + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class ShortcutsShortcutCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + accelerator ?: string; + icon ?: AuGIO.Icon; + iconSet ?: boolean; + title ?: string; + subtitle ?: string; + subtitleSet ?: boolean; + accelSizeGroup ?: AuGTK.SizeGroup; + titleSizeGroup ?: AuGTK.SizeGroup; + direction ?: AuGTK.TextDirection; + shortcutType ?: AuGTK.ShortcutType; + actionName ?: string; + } + + class ShortcutsWindow extends AuGTK.Window implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: ShortcutsWindowCtor); + + sectionName : string; + viewName : string; + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class ShortcutsWindowCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + sectionName ?: string; + viewName ?: string; + } + + class ShortcutsWindowEventListener extends AuGlibEx.IEventListener { + close(): void; + search(): void; + } + + class SignalAction extends AuGTK.ShortcutAction { + constructor(initializerList ?: SignalActionCtor); + + signalName : string; + + static New(signalName: string): AuGTK.SignalAction; + getSignalName(): string; + //TypeScript is complete garbage: + } + + class SignalActionCtor { + signalName ?: string; + } + + class SignalListItemFactory extends AuGTK.ListItemFactory { + constructor(initializerList ?: SignalListItemFactoryCtor); + + static New(): AuGTK.ListItemFactory; + //TypeScript is complete garbage: + } + + class SignalListItemFactoryCtor { + } + + class SignalListItemFactoryEventListener extends AuGlibEx.IEventListener { + bind(object: GObject.Object): void; + setup(object: GObject.Object): void; + teardown(object: GObject.Object): void; + unbind(object: GObject.Object): void; + } + + class SingleSelection extends GObject.Object implements AuGIO.ListModel, AuGTK.SelectionModel { + constructor(initializerList ?: SingleSelectionCtor); + + autoselect : boolean; + canUnselect : boolean; + itemType : number; + model : AuGIO.ListModel; + nItems : number; + selected : number; + selectedItem : GObject.Object; + + static New(model: AuGIO.ListModel | undefined | null): AuGTK.SingleSelection; + getAutoselect(): boolean; + getCanUnselect(): boolean; + getModel(): AuGIO.ListModel; + getSelected(): number; + getSelectedItem(): GObject.Object; + setAutoselect(autoselect: boolean): void; + setCanUnselect(canUnselect: boolean): void; + setModel(model: AuGIO.ListModel | undefined | null): void; + setSelected(position: number): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + getSelection(): AuGTK.Bitset; + getSelectionInRange(position: number, nItems: number): AuGTK.Bitset; + isSelected(position: number): boolean; + selectAll(): boolean; + selectItem(position: number, unselectRest: boolean): boolean; + selectRange(position: number, nItems: number, unselectRest: boolean): boolean; + selectionChanged(position: number, nItems: number): void; + setSelection(selected: AuGTK.Bitset, mask: AuGTK.Bitset): boolean; + unselectAll(): boolean; + unselectItem(position: number): boolean; + unselectRange(position: number, nItems: number): boolean; + } + + class SingleSelectionCtor { + autoselect ?: boolean; + canUnselect ?: boolean; + itemType ?: any; + model ?: AuGIO.ListModel; + nItems ?: number; + selected ?: number; + selectedItem ?: GObject.Object; + } + + class SizeGroup extends GObject.Object implements AuGTK.Buildable { + constructor(initializerList ?: SizeGroupCtor); + + parentInstance : GObject.Object; + + mode : AuGTK.SizeGroupMode; + + static New(mode: AuGTK.SizeGroupMode): AuGTK.SizeGroup; + addWidget(widget: AuGTK.Widget): void; + getMode(): AuGTK.SizeGroupMode; + getWidgets(): AuGTK.Widget[]; + removeWidget(widget: AuGTK.Widget): void; + setMode(mode: AuGTK.SizeGroupMode): void; + //TypeScript is complete garbage: + getBuildableId(): string; + } + + class SizeGroupCtor { + mode ?: AuGTK.SizeGroupMode; + } + + class SliceListModel extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: SliceListModelCtor); + + itemType : number; + model : AuGIO.ListModel; + nItems : number; + offset : number; + size : number; + + static New(model: AuGIO.ListModel | undefined | null, offset: number, size: number): AuGTK.SliceListModel; + getModel(): AuGIO.ListModel; + getOffset(): number; + getSize(): number; + setModel(model: AuGIO.ListModel | undefined | null): void; + setOffset(offset: number): void; + setSize(size: number): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class SliceListModelCtor { + itemType ?: any; + model ?: AuGIO.ListModel; + nItems ?: number; + offset ?: number; + size ?: number; + } + + class Snapshot extends AuGDK.Snapshot { + constructor(initializerList ?: SnapshotCtor); + + static New(): AuGTK.Snapshot; + appendBorder(outline: Gsk.RoundedRect, borderWidth: number[], borderColor: AuGDK.RGBA[]): void; + appendCairo(bounds: Graphene.Rect): cairo.Context; + appendColor(color: AuGDK.RGBA, bounds: Graphene.Rect): void; + appendConicGradient(bounds: Graphene.Rect, center: Graphene.Point, rotation: number, stops: Gsk.ColorStop[], nStops: number | bigint): void; + appendInsetShadow(outline: Gsk.RoundedRect, color: AuGDK.RGBA, dx: number, dy: number, spread: number, blurRadius: number): void; + appendLayout(layout: AuPango.Layout, color: AuGDK.RGBA): void; + appendLinearGradient(bounds: Graphene.Rect, startPoint: Graphene.Point, endPoint: Graphene.Point, stops: Gsk.ColorStop[], nStops: number | bigint): void; + appendNode(node: Gsk.RenderNode): void; + appendOutsetShadow(outline: Gsk.RoundedRect, color: AuGDK.RGBA, dx: number, dy: number, spread: number, blurRadius: number): void; + appendRadialGradient(bounds: Graphene.Rect, center: Graphene.Point, hradius: number, vradius: number, start: number, end: number, stops: Gsk.ColorStop[], nStops: number | bigint): void; + appendRepeatingLinearGradient(bounds: Graphene.Rect, startPoint: Graphene.Point, endPoint: Graphene.Point, stops: Gsk.ColorStop[], nStops: number | bigint): void; + appendRepeatingRadialGradient(bounds: Graphene.Rect, center: Graphene.Point, hradius: number, vradius: number, start: number, end: number, stops: Gsk.ColorStop[], nStops: number | bigint): void; + appendScaledTexture(texture: AuGDK.Texture, filter: Gsk.ScalingFilter, bounds: Graphene.Rect): void; + appendTexture(texture: AuGDK.Texture, bounds: Graphene.Rect): void; + glShaderPopTexture(): void; + perspective(depth: number): void; + pop(): void; + pushBlend(blendMode: Gsk.BlendMode): void; + pushBlur(radius: number): void; + pushClip(bounds: Graphene.Rect): void; + pushColorMatrix(colorMatrix: Graphene.Matrix, colorOffset: Graphene.Vec4): void; + pushCrossFade(progress: number): void; + pushGlShader(shader: Gsk.GLShader, bounds: Graphene.Rect, takeArgs: AuGlibEx.Bytes): void; + pushMask(): void; + pushOpacity(opacity: number): void; + pushRepeat(bounds: Graphene.Rect, childBounds: Graphene.Rect | undefined | null): void; + pushRoundedClip(bounds: Gsk.RoundedRect): void; + pushShadow(shadow: Gsk.Shadow[], nShadows: number | bigint): void; + renderBackground(context: AuGTK.StyleContext, x: number, y: number, width: number, height: number): void; + renderFocus(context: AuGTK.StyleContext, x: number, y: number, width: number, height: number): void; + renderFrame(context: AuGTK.StyleContext, x: number, y: number, width: number, height: number): void; + renderInsertionCursor(context: AuGTK.StyleContext, x: number, y: number, layout: AuPango.Layout, index: number, direction: AuPango.Direction): void; + renderLayout(context: AuGTK.StyleContext, x: number, y: number, layout: AuPango.Layout): void; + restore(): void; + rotate(angle: number): void; + rotate3d(angle: number, axis: Graphene.Vec3): void; + save(): void; + scale(factorX: number, factorY: number): void; + scale3d(factorX: number, factorY: number, factorZ: number): void; + toNode(): Gsk.RenderNode; + toPaintable(size: Graphene.Size | undefined | null): AuGDK.Paintable; + transform(transform: Gsk.Transform | undefined | null): void; + transformMatrix(matrix: Graphene.Matrix): void; + translate(point: Graphene.Point): void; + translate3d(point: Graphene.Point3D): void; + //TypeScript is complete garbage: + } + + class SnapshotCtor { + } + + class SortListModel extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: SortListModelCtor); + + incremental : boolean; + itemType : number; + model : AuGIO.ListModel; + nItems : number; + pending : number; + sorter : AuGTK.Sorter; + + static New(model: AuGIO.ListModel | undefined | null, sorter: AuGTK.Sorter | undefined | null): AuGTK.SortListModel; + getIncremental(): boolean; + getModel(): AuGIO.ListModel; + getPending(): number; + getSorter(): AuGTK.Sorter; + setIncremental(incremental: boolean): void; + setModel(model: AuGIO.ListModel | undefined | null): void; + setSorter(sorter: AuGTK.Sorter | undefined | null): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class SortListModelCtor { + incremental ?: boolean; + itemType ?: any; + model ?: AuGIO.ListModel; + nItems ?: number; + pending ?: number; + sorter ?: AuGTK.Sorter; + } + + class Sorter extends GObject.Object { + constructor(initializerList ?: SorterCtor); + + parentInstance : GObject.Object; + + changed(change: AuGTK.SorterChange): void; + compare(item1: GObject.Object, item2: GObject.Object): AuGTK.Ordering; + getOrder(): AuGTK.SorterOrder; + //TypeScript is complete garbage: + } + + class SorterCtor { + } + + class SorterEventListener extends AuGlibEx.IEventListener { + changed(change: AuGTK.SorterChange): void; + } + + class SpinButton extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.AccessibleRange, AuGTK.Buildable, AuGTK.CellEditable, AuGTK.ConstraintTarget, AuGTK.Editable, AuGTK.Orientable { + constructor(initializerList ?: SpinButtonCtor); + + adjustment : AuGTK.Adjustment; + climbRate : number; + digits : number; + numeric : boolean; + snapToTicks : boolean; + updatePolicy : AuGTK.SpinButtonUpdatePolicy; + value : number; + wrap : boolean; + + static New(adjustment: AuGTK.Adjustment | undefined | null, climbRate: number, digits: number): AuGTK.Widget; + static NewWithRange(min: number, max: number, step: number): AuGTK.Widget; + configure(adjustment: AuGTK.Adjustment | undefined | null, climbRate: number, digits: number): void; + getAdjustment(): AuGTK.Adjustment; + getClimbRate(): number; + getDigits(): number; + getIncrements(step ?: number, page ?: number): void; + getNumeric(): boolean; + getRange(min ?: number, max ?: number): void; + getSnapToTicks(): boolean; + getUpdatePolicy(): AuGTK.SpinButtonUpdatePolicy; + getValue(): number; + getValueAsInt(): number; + getWrap(): boolean; + setAdjustment(adjustment: AuGTK.Adjustment): void; + setClimbRate(climbRate: number): void; + setDigits(digits: number): void; + setIncrements(step: number, page: number): void; + setNumeric(numeric: boolean): void; + setRange(min: number, max: number): void; + setSnapToTicks(snapToTicks: boolean): void; + setUpdatePolicy(policy: AuGTK.SpinButtonUpdatePolicy): void; + setValue(value: number): void; + setWrap(wrap: boolean): void; + spin(direction: AuGTK.SpinType, increment: number): void; + update(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + editingCanceled : boolean; + + editingDone(): void; + removeWidget(): void; + startEditing(event: AuGDK.Event | undefined | null): void; + cursorPosition : number; + editable : boolean; + enableUndo : boolean; + maxWidthChars : number; + selectionBound : number; + text : string; + widthChars : number; + XAlign : number; + + static DelegateGetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static DelegateSetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static InstallProperties(objectClass: GObject.ObjectClass, firstProp: number): number; + delegateGetAccessiblePlatformState(state: AuGTK.AccessiblePlatformState): boolean; + deleteSelection(): void; + deleteText(startPos: number, endPos: number): void; + finishDelegate(): void; + getAlignment(): number; + getChars(startPos: number, endPos: number): string; + getDelegate(): AuGTK.Editable; + getEditable(): boolean; + getEnableUndo(): boolean; + getMaxWidthChars(): number; + getPosition(): number; + getSelectionBounds(startPos ?: number, endPos ?: number): boolean; + getText(): string; + getWidthChars(): number; + initDelegate(): void; + insertText(text: string, length: number, position: number): void; + selectRegion(startPos: number, endPos: number): void; + setAlignment(XAlign: number): void; + setEditable(isEditable: boolean): void; + setEnableUndo(enableUndo: boolean): void; + setMaxWidthChars(nChars: number): void; + setPosition(position: number): void; + setText(text: string): void; + setWidthChars(nChars: number): void; + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class SpinButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + cursorPosition ?: number; + editable ?: boolean; + editingCanceled ?: boolean; + enableUndo ?: boolean; + maxWidthChars ?: number; + orientation ?: AuGTK.Orientation; + selectionBound ?: number; + text ?: string; + widthChars ?: number; + XAlign ?: number; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + adjustment ?: AuGTK.Adjustment; + climbRate ?: number; + digits ?: number; + snapToTicks ?: boolean; + numeric ?: boolean; + wrap ?: boolean; + updatePolicy ?: AuGTK.SpinButtonUpdatePolicy; + value ?: number; + } + + class SpinButtonEventListener extends AuGlibEx.IEventListener { + changeValue(scroll: AuGTK.ScrollType): void; + input(newValue: number): number; + output(): boolean; + valueChanged(): void; + wrapped(): void; + } + + class Spinner extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: SpinnerCtor); + + spinning : boolean; + + static New(): AuGTK.Widget; + getSpinning(): boolean; + setSpinning(spinning: boolean): void; + start(): void; + stop(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class SpinnerCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + spinning ?: boolean; + } + + class Stack extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: StackCtor); + + hhomogeneous : boolean; + interpolateSize : boolean; + pages : AuGTK.SelectionModel; + transitionDuration : number; + transitionRunning : boolean; + transitionType : AuGTK.StackTransitionType; + vhomogeneous : boolean; + visibleChild : AuGTK.Widget; + visibleChildName : string; + + static New(): AuGTK.Widget; + addChild(child: AuGTK.Widget): AuGTK.StackPage; + addNamed(child: AuGTK.Widget, name: string | undefined | null): AuGTK.StackPage; + addTitled(child: AuGTK.Widget, name: string | undefined | null, title: string): AuGTK.StackPage; + getChildByName(name: string): AuGTK.Widget; + getHhomogeneous(): boolean; + getInterpolateSize(): boolean; + getPage(child: AuGTK.Widget): AuGTK.StackPage; + getPages(): AuGTK.SelectionModel; + getTransitionDuration(): number; + getTransitionRunning(): boolean; + getTransitionType(): AuGTK.StackTransitionType; + getVhomogeneous(): boolean; + getVisibleChild(): AuGTK.Widget; + getVisibleChildName(): string; + remove(child: AuGTK.Widget): void; + setHhomogeneous(hhomogeneous: boolean): void; + setInterpolateSize(interpolateSize: boolean): void; + setTransitionDuration(duration: number): void; + setTransitionType(transition: AuGTK.StackTransitionType): void; + setVhomogeneous(vhomogeneous: boolean): void; + setVisibleChild(child: AuGTK.Widget): void; + setVisibleChildFull(name: string, transition: AuGTK.StackTransitionType): void; + setVisibleChildName(name: string): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class StackCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + hhomogeneous ?: boolean; + vhomogeneous ?: boolean; + visibleChild ?: AuGTK.Widget; + visibleChildName ?: string; + transitionDuration ?: number; + transitionType ?: AuGTK.StackTransitionType; + transitionRunning ?: boolean; + interpolateSize ?: boolean; + pages ?: AuGTK.SelectionModel; + } + + class StackPage extends GObject.Object implements AuGTK.Accessible { + constructor(initializerList ?: StackPageCtor); + + child : AuGTK.Widget; + iconName : string; + name : string; + needsAttention : boolean; + title : string; + useUnderline : boolean; + visible : boolean; + + getChild(): AuGTK.Widget; + getIconName(): string; + getName(): string; + getNeedsAttention(): boolean; + getTitle(): string; + getUseUnderline(): boolean; + getVisible(): boolean; + setIconName(setting: string): void; + setName(setting: string): void; + setNeedsAttention(setting: boolean): void; + setTitle(setting: string): void; + setUseUnderline(setting: boolean): void; + setVisible(visible: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + getAccessibleParent(): AuGTK.Accessible; + getAccessibleRole(): AuGTK.AccessibleRole; + getAtContext(): AuGTK.ATContext; + getBounds(x: number, y: number, width: number, height: number): boolean; + getFirstAccessibleChild(): AuGTK.Accessible; + getNextAccessibleSibling(): AuGTK.Accessible; + getPlatformState(state: AuGTK.AccessiblePlatformState): boolean; + resetProperty(property: AuGTK.AccessibleProperty): void; + resetRelation(relation: AuGTK.AccessibleRelation): void; + resetState(state: AuGTK.AccessibleState): void; + updateProperty(nProperties: number, properties: AuGTK.AccessibleProperty[], values: GObject.Value[]): void; + updateRelation(nRelations: number, relations: AuGTK.AccessibleRelation[], values: GObject.Value[]): void; + updateState(nStates: number, states: AuGTK.AccessibleState[], values: GObject.Value[]): void; + } + + class StackPageCtor { + accessibleRole ?: AuGTK.AccessibleRole; + child ?: AuGTK.Widget; + name ?: string; + title ?: string; + iconName ?: string; + needsAttention ?: boolean; + visible ?: boolean; + useUnderline ?: boolean; + } + + class StackSidebar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: StackSidebarCtor); + + stack : AuGTK.Stack; + + static New(): AuGTK.Widget; + getStack(): AuGTK.Stack; + setStack(stack: AuGTK.Stack): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class StackSidebarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + stack ?: AuGTK.Stack; + } + + class StackSwitcher extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: StackSwitcherCtor); + + stack : AuGTK.Stack; + + static New(): AuGTK.Widget; + getStack(): AuGTK.Stack; + setStack(stack: AuGTK.Stack | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + getOrientation(): AuGTK.Orientation; + setOrientation(orientation: AuGTK.Orientation): void; + } + + class StackSwitcherCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + stack ?: AuGTK.Stack; + } + + class Statusbar extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: StatusbarCtor); + + static New(): AuGTK.Widget; + getContextId(contextDescription: string): number; + pop(contextId: number): void; + push(contextId: number, text: string): number; + remove(contextId: number, messageId: number): void; + removeAll(contextId: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class StatusbarCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + } + + class StatusbarEventListener extends AuGlibEx.IEventListener { + textPopped(contextId: number, text: string): void; + textPushed(contextId: number, text: string): void; + } + + class StringFilter extends AuGTK.Filter { + constructor(initializerList ?: StringFilterCtor); + + expression : AuGTK.Expression; + ignoreCase : boolean; + matchMode : AuGTK.StringFilterMatchMode; + search : string; + + static New(expression: AuGTK.Expression | undefined | null): AuGTK.StringFilter; + getExpression(): AuGTK.Expression; + getIgnoreCase(): boolean; + getMatchMode(): AuGTK.StringFilterMatchMode; + getSearch(): string; + setExpression(expression: AuGTK.Expression | undefined | null): void; + setIgnoreCase(ignoreCase: boolean): void; + setMatchMode(mode: AuGTK.StringFilterMatchMode): void; + setSearch(search: string | undefined | null): void; + //TypeScript is complete garbage: + } + + class StringFilterCtor { + expression ?: AuGTK.Expression; + ignoreCase ?: boolean; + matchMode ?: AuGTK.StringFilterMatchMode; + search ?: string; + } + + class StringList extends GObject.Object implements AuGIO.ListModel, AuGTK.Buildable { + constructor(initializerList ?: StringListCtor); + + strings : string[]; + + static New(strings: string[] | undefined | null): AuGTK.StringList; + append(string: string): void; + getString(position: number): string; + remove(position: number): void; + splice(position: number, nRemovals: number, additions: string[] | undefined | null): void; + take(string: string): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + getBuildableId(): string; + } + + class StringListCtor { + strings ?: any; + } + + class StringObject extends GObject.Object { + constructor(initializerList ?: StringObjectCtor); + + string : string; + + static New(string: string): AuGTK.StringObject; + getString(): string; + //TypeScript is complete garbage: + } + + class StringObjectCtor { + string ?: string; + } + + class StringSorter extends AuGTK.Sorter { + constructor(initializerList ?: StringSorterCtor); + + collation : AuGTK.Collation; + expression : AuGTK.Expression; + ignoreCase : boolean; + + static New(expression: AuGTK.Expression | undefined | null): AuGTK.StringSorter; + getCollation(): AuGTK.Collation; + getExpression(): AuGTK.Expression; + getIgnoreCase(): boolean; + setCollation(collation: AuGTK.Collation): void; + setExpression(expression: AuGTK.Expression | undefined | null): void; + setIgnoreCase(ignoreCase: boolean): void; + //TypeScript is complete garbage: + } + + class StringSorterCtor { + expression ?: AuGTK.Expression; + ignoreCase ?: boolean; + collation ?: AuGTK.Collation; + } + + class StyleContext extends GObject.Object { + constructor(initializerList ?: StyleContextCtor); + + parentObject : GObject.Object; + + display : AuGDK.Display; + + static AddProviderForDisplay(display: AuGDK.Display, provider: AuGTK.StyleProvider, priority: number): void; + static RemoveProviderForDisplay(display: AuGDK.Display, provider: AuGTK.StyleProvider): void; + addClass(className: string): void; + addProvider(provider: AuGTK.StyleProvider, priority: number): void; + getBorder(border: AuGTK.Border): void; + getColor(color: AuGDK.RGBA): void; + getDisplay(): AuGDK.Display; + getMargin(margin: AuGTK.Border): void; + getPadding(padding: AuGTK.Border): void; + getScale(): number; + getState(): AuGTK.StateFlags; + hasClass(className: string): boolean; + lookupColor(colorName: string, color: AuGDK.RGBA): boolean; + removeClass(className: string): void; + removeProvider(provider: AuGTK.StyleProvider): void; + restore(): void; + save(): void; + setDisplay(display: AuGDK.Display): void; + setScale(scale: number): void; + setState(flags: AuGTK.StateFlags): void; + //TypeScript is complete garbage: + } + + class StyleContextCtor { + display ?: AuGDK.Display; + } + + class Switch extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Actionable, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: SwitchCtor); + + active : boolean; + state : boolean; + + static New(): AuGTK.Widget; + getActive(): boolean; + getState(): boolean; + setActive(isActive: boolean): void; + setState(state: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + actionName : string; + actionTarget : AuGlibEx.Variant; + + getActionName(): string; + getActionTargetValue(): AuGlibEx.Variant; + setActionName(actionName: string | undefined | null): void; + setActionTargetValue(targetValue: AuGlibEx.Variant | undefined | null): void; + setDetailedActionName(detailedActionName: string): void; + } + + class SwitchCtor { + accessibleRole ?: AuGTK.AccessibleRole; + actionName ?: string; + actionTarget ?: any; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + active ?: boolean; + state ?: boolean; + } + + class SwitchEventListener extends AuGlibEx.IEventListener { + activate(): void; + stateSet(state: boolean): boolean; + } + + class Text extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Editable { + constructor(initializerList ?: TextCtor); + + parentInstance : AuGTK.Widget; + + activatesDefault : boolean; + attributes : AuPango.AttrList; + buffer : AuGTK.EntryBuffer; + enableEmojiCompletion : boolean; + extraMenu : AuGIO.MenuModel; + imModule : string; + inputHints : AuGTK.InputHints; + inputPurpose : AuGTK.InputPurpose; + invisibleChar : number; + invisibleCharSet : boolean; + maxLength : number; + overwriteMode : boolean; + placeholderText : string; + propagateTextWidth : boolean; + scrollOffset : number; + tabs : AuPango.TabArray; + truncateMultiline : boolean; + visibility : boolean; + + static New(): AuGTK.Widget; + static NewWithBuffer(buffer: AuGTK.EntryBuffer): AuGTK.Widget; + computeCursorExtents(position: number | bigint, strong ?: Graphene.Rect, weak ?: Graphene.Rect): void; + getActivatesDefault(): boolean; + getAttributes(): AuPango.AttrList; + getBuffer(): AuGTK.EntryBuffer; + getEnableEmojiCompletion(): boolean; + getExtraMenu(): AuGIO.MenuModel; + getInputHints(): AuGTK.InputHints; + getInputPurpose(): AuGTK.InputPurpose; + getInvisibleChar(): string; + getMaxLength(): number; + getOverwriteMode(): boolean; + getPlaceholderText(): string; + getPropagateTextWidth(): boolean; + getTabs(): AuPango.TabArray; + getTextLength(): number; + getTruncateMultiline(): boolean; + getVisibility(): boolean; + grabFocusWithoutSelecting(): boolean; + setActivatesDefault(activates: boolean): void; + setAttributes(attrs: AuPango.AttrList | undefined | null): void; + setBuffer(buffer: AuGTK.EntryBuffer): void; + setEnableEmojiCompletion(enableEmojiCompletion: boolean): void; + setExtraMenu(model: AuGIO.MenuModel | undefined | null): void; + setInputHints(hints: AuGTK.InputHints): void; + setInputPurpose(purpose: AuGTK.InputPurpose): void; + setInvisibleChar(ch: string): void; + setMaxLength(length: number): void; + setOverwriteMode(overwrite: boolean): void; + setPlaceholderText(text: string | undefined | null): void; + setPropagateTextWidth(propagateTextWidth: boolean): void; + setTabs(tabs: AuPango.TabArray | undefined | null): void; + setTruncateMultiline(truncateMultiline: boolean): void; + setVisibility(visible: boolean): void; + unsetInvisibleChar(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + cursorPosition : number; + editable : boolean; + enableUndo : boolean; + maxWidthChars : number; + selectionBound : number; + text : string; + widthChars : number; + XAlign : number; + + static DelegateGetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static DelegateSetProperty(object: GObject.Object, propId: number, value: GObject.Value, pspec: GObject.ParamSpec): boolean; + static InstallProperties(objectClass: GObject.ObjectClass, firstProp: number): number; + delegateGetAccessiblePlatformState(state: AuGTK.AccessiblePlatformState): boolean; + deleteSelection(): void; + deleteText(startPos: number, endPos: number): void; + finishDelegate(): void; + getAlignment(): number; + getChars(startPos: number, endPos: number): string; + getDelegate(): AuGTK.Editable; + getEditable(): boolean; + getEnableUndo(): boolean; + getMaxWidthChars(): number; + getPosition(): number; + getSelectionBounds(startPos ?: number, endPos ?: number): boolean; + getText(): string; + getWidthChars(): number; + initDelegate(): void; + insertText(text: string, length: number, position: number): void; + selectRegion(startPos: number, endPos: number): void; + setAlignment(XAlign: number): void; + setEditable(isEditable: boolean): void; + setEnableUndo(enableUndo: boolean): void; + setMaxWidthChars(nChars: number): void; + setPosition(position: number): void; + setText(text: string): void; + setWidthChars(nChars: number): void; + } + + class TextCtor { + accessibleRole ?: AuGTK.AccessibleRole; + cursorPosition ?: number; + editable ?: boolean; + enableUndo ?: boolean; + maxWidthChars ?: number; + selectionBound ?: number; + text ?: string; + widthChars ?: number; + XAlign ?: number; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + buffer ?: AuGTK.EntryBuffer; + maxLength ?: number; + visibility ?: boolean; + invisibleChar ?: number; + invisibleCharSet ?: boolean; + activatesDefault ?: boolean; + scrollOffset ?: number; + truncateMultiline ?: boolean; + overwriteMode ?: boolean; + imModule ?: string; + placeholderText ?: string; + inputPurpose ?: AuGTK.InputPurpose; + inputHints ?: AuGTK.InputHints; + attributes ?: AuPango.AttrList; + tabs ?: AuPango.TabArray; + enableEmojiCompletion ?: boolean; + propagateTextWidth ?: boolean; + extraMenu ?: AuGIO.MenuModel; + } + + class TextEventListener extends AuGlibEx.IEventListener { + activate(): void; + backspace(): void; + copyClipboard(): void; + cutClipboard(): void; + deleteFromCursor(type: AuGTK.DeleteType, count: number): void; + insertAtCursor(string: string): void; + insertEmoji(): void; + moveCursor(step: AuGTK.MovementStep, count: number, extend: boolean): void; + pasteClipboard(): void; + preeditChanged(preedit: string): void; + toggleOverwrite(): void; + } + + class TextBuffer extends GObject.Object { + constructor(initializerList ?: TextBufferCtor); + + parentInstance : GObject.Object; + priv : AuGTK.TextBufferPrivate; + + canRedo : boolean; + canUndo : boolean; + cursorPosition : number; + enableUndo : boolean; + hasSelection : boolean; + tagTable : AuGTK.TextTagTable; + text : string; + + static New(table: AuGTK.TextTagTable | undefined | null): AuGTK.TextBuffer; + addMark(mark: AuGTK.TextMark, where: AuGTK.TextIter): void; + addSelectionClipboard(clipboard: AuGDK.Clipboard): void; + applyTag(tag: AuGTK.TextTag, start: AuGTK.TextIter, end: AuGTK.TextIter): void; + applyTagByName(name: string, start: AuGTK.TextIter, end: AuGTK.TextIter): void; + backspace(iter: AuGTK.TextIter, interactive: boolean, defaultEditable: boolean): boolean; + beginIrreversibleAction(): void; + beginUserAction(): void; + copyClipboard(clipboard: AuGDK.Clipboard): void; + createChildAnchor(iter: AuGTK.TextIter): AuGTK.TextChildAnchor; + createMark(markName: string | undefined | null, where: AuGTK.TextIter, leftGravity: boolean): AuGTK.TextMark; + cutClipboard(clipboard: AuGDK.Clipboard, defaultEditable: boolean): void; + delete(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + deleteInteractive(startIter: AuGTK.TextIter, endIter: AuGTK.TextIter, defaultEditable: boolean): boolean; + deleteMark(mark: AuGTK.TextMark): void; + deleteMarkByName(name: string): void; + deleteSelection(interactive: boolean, defaultEditable: boolean): boolean; + endIrreversibleAction(): void; + endUserAction(): void; + getBounds(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + getCanRedo(): boolean; + getCanUndo(): boolean; + getCharCount(): number; + getEnableUndo(): boolean; + getEndIter(iter: AuGTK.TextIter): void; + getHasSelection(): boolean; + getInsert(): AuGTK.TextMark; + getIterAtChildAnchor(iter: AuGTK.TextIter, anchor: AuGTK.TextChildAnchor): void; + getIterAtLine(iter: AuGTK.TextIter, lineNumber: number): boolean; + getIterAtLineIndex(iter: AuGTK.TextIter, lineNumber: number, byteIndex: number): boolean; + getIterAtLineOffset(iter: AuGTK.TextIter, lineNumber: number, charOffset: number): boolean; + getIterAtMark(iter: AuGTK.TextIter, mark: AuGTK.TextMark): void; + getIterAtOffset(iter: AuGTK.TextIter, charOffset: number): void; + getLineCount(): number; + getMark(name: string): AuGTK.TextMark; + getMaxUndoLevels(): number; + getModified(): boolean; + getSelectionBound(): AuGTK.TextMark; + getSelectionBounds(start: AuGTK.TextIter, end: AuGTK.TextIter): boolean; + getSelectionContent(): AuGDK.ContentProvider; + getSlice(start: AuGTK.TextIter, end: AuGTK.TextIter, includeHiddenChars: boolean): string; + getStartIter(iter: AuGTK.TextIter): void; + getTagTable(): AuGTK.TextTagTable; + getText(start: AuGTK.TextIter, end: AuGTK.TextIter, includeHiddenChars: boolean): string; + insert(iter: AuGTK.TextIter, text: string, len: number): void; + insertAtCursor(text: string, len: number): void; + insertChildAnchor(iter: AuGTK.TextIter, anchor: AuGTK.TextChildAnchor): void; + insertInteractive(iter: AuGTK.TextIter, text: string, len: number, defaultEditable: boolean): boolean; + insertInteractiveAtCursor(text: string, len: number, defaultEditable: boolean): boolean; + insertMarkup(iter: AuGTK.TextIter, markup: string, len: number): void; + insertPaintable(iter: AuGTK.TextIter, paintable: AuGDK.Paintable): void; + insertRange(iter: AuGTK.TextIter, start: AuGTK.TextIter, end: AuGTK.TextIter): void; + insertRangeInteractive(iter: AuGTK.TextIter, start: AuGTK.TextIter, end: AuGTK.TextIter, defaultEditable: boolean): boolean; + moveMark(mark: AuGTK.TextMark, where: AuGTK.TextIter): void; + moveMarkByName(name: string, where: AuGTK.TextIter): void; + pasteClipboard(clipboard: AuGDK.Clipboard, overrideLocation: AuGTK.TextIter | undefined | null, defaultEditable: boolean): void; + placeCursor(where: AuGTK.TextIter): void; + redo(): void; + removeAllTags(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + removeSelectionClipboard(clipboard: AuGDK.Clipboard): void; + removeTag(tag: AuGTK.TextTag, start: AuGTK.TextIter, end: AuGTK.TextIter): void; + removeTagByName(name: string, start: AuGTK.TextIter, end: AuGTK.TextIter): void; + selectRange(ins: AuGTK.TextIter, bound: AuGTK.TextIter): void; + setEnableUndo(enableUndo: boolean): void; + setMaxUndoLevels(maxUndoLevels: number): void; + setModified(setting: boolean): void; + setText(text: string, len: number): void; + undo(): void; + //TypeScript is complete garbage: + } + + class TextBufferCtor { + tagTable ?: AuGTK.TextTagTable; + text ?: string; + hasSelection ?: boolean; + cursorPosition ?: number; + canUndo ?: boolean; + canRedo ?: boolean; + enableUndo ?: boolean; + } + + class TextBufferEventListener extends AuGlibEx.IEventListener { + applyTag(tag: AuGTK.TextTag, start: AuGTK.TextIter, end: AuGTK.TextIter): void; + beginUserAction(): void; + changed(): void; + deleteRange(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + endUserAction(): void; + insertChildAnchor(location: AuGTK.TextIter, anchor: AuGTK.TextChildAnchor): void; + insertPaintable(location: AuGTK.TextIter, paintable: AuGDK.Paintable): void; + insertText(location: AuGTK.TextIter, text: string, len: number): void; + markDeleted(mark: AuGTK.TextMark): void; + markSet(location: AuGTK.TextIter, mark: AuGTK.TextMark): void; + modifiedChanged(): void; + pasteDone(clipboard: AuGDK.Clipboard): void; + redo(): void; + removeTag(tag: AuGTK.TextTag, start: AuGTK.TextIter, end: AuGTK.TextIter): void; + undo(): void; + } + + class TextChildAnchor extends GObject.Object { + constructor(initializerList ?: TextChildAnchorCtor); + + parentInstance : GObject.Object; + segment : void; + + static New(): AuGTK.TextChildAnchor; + static NewWithReplacement(character: string): AuGTK.TextChildAnchor; + getDeleted(): boolean; + getWidgets(outLen: number): AuGTK.Widget[]; + //TypeScript is complete garbage: + } + + class TextChildAnchorCtor { + } + + class TextMark extends GObject.Object { + constructor(initializerList ?: TextMarkCtor); + + parentInstance : GObject.Object; + segment : void; + + leftGravity : boolean; + name : string; + + static New(name: string | undefined | null, leftGravity: boolean): AuGTK.TextMark; + getBuffer(): AuGTK.TextBuffer; + getDeleted(): boolean; + getLeftGravity(): boolean; + getName(): string; + getVisible(): boolean; + setVisible(setting: boolean): void; + //TypeScript is complete garbage: + } + + class TextMarkCtor { + name ?: string; + leftGravity ?: boolean; + } + + class TextTag extends GObject.Object { + constructor(initializerList ?: TextTagCtor); + + parentInstance : GObject.Object; + priv : AuGTK.TextTagPrivate; + + accumulativeMargin : boolean; + allowBreaks : boolean; + allowBreaksSet : boolean; + background : string; + backgroundFullHeight : boolean; + backgroundFullHeightSet : boolean; + backgroundRgba : AuGDK.RGBA; + backgroundSet : boolean; + direction : AuGTK.TextDirection; + editable : boolean; + editableSet : boolean; + fallback : boolean; + fallbackSet : boolean; + family : string; + familySet : boolean; + font : string; + fontDesc : AuPango.FontDescription; + fontFeatures : string; + fontFeaturesSet : boolean; + foreground : string; + foregroundRgba : AuGDK.RGBA; + foregroundSet : boolean; + indent : number; + indentSet : boolean; + insertHyphens : boolean; + insertHyphensSet : boolean; + invisible : boolean; + invisibleSet : boolean; + justification : AuGTK.Justification; + justificationSet : boolean; + language : string; + languageSet : boolean; + leftMargin : number; + leftMarginSet : boolean; + letterSpacing : number; + letterSpacingSet : boolean; + lineHeight : number; + lineHeightSet : boolean; + name : string; + overline : AuPango.Overline; + overlineRgba : AuGDK.RGBA; + overlineRgbaSet : boolean; + overlineSet : boolean; + paragraphBackground : string; + paragraphBackgroundRgba : AuGDK.RGBA; + paragraphBackgroundSet : boolean; + pixelsAboveLines : number; + pixelsAboveLinesSet : boolean; + pixelsBelowLines : number; + pixelsBelowLinesSet : boolean; + pixelsInsideWrap : number; + pixelsInsideWrapSet : boolean; + rightMargin : number; + rightMarginSet : boolean; + rise : number; + riseSet : boolean; + scale : number; + scaleSet : boolean; + sentence : boolean; + sentenceSet : boolean; + showSpaces : AuPango.ShowFlags; + showSpacesSet : boolean; + size : number; + sizePoints : number; + sizeSet : boolean; + stretch : AuPango.Stretch; + stretchSet : boolean; + strikethrough : boolean; + strikethroughRgba : AuGDK.RGBA; + strikethroughRgbaSet : boolean; + strikethroughSet : boolean; + style : AuPango.Style; + styleSet : boolean; + tabs : AuPango.TabArray; + tabsSet : boolean; + textTransform : AuPango.TextTransform; + textTransformSet : boolean; + underline : AuPango.Underline; + underlineRgba : AuGDK.RGBA; + underlineRgbaSet : boolean; + underlineSet : boolean; + variant : AuPango.Variant; + variantSet : boolean; + weight : number; + weightSet : boolean; + word : boolean; + wordSet : boolean; + wrapMode : AuGTK.WrapMode; + wrapModeSet : boolean; + + static New(name: string | undefined | null): AuGTK.TextTag; + changed(sizeChanged: boolean): void; + getPriority(): number; + setPriority(priority: number): void; + //TypeScript is complete garbage: + } + + class TextTagCtor { + name ?: string; + background ?: string; + foreground ?: string; + backgroundRgba ?: AuGDK.RGBA; + foregroundRgba ?: AuGDK.RGBA; + font ?: string; + fontDesc ?: AuPango.FontDescription; + family ?: string; + style ?: AuPango.Style; + variant ?: AuPango.Variant; + weight ?: number; + stretch ?: AuPango.Stretch; + size ?: number; + sizePoints ?: number; + scale ?: number; + pixelsAboveLines ?: number; + pixelsBelowLines ?: number; + pixelsInsideWrap ?: number; + lineHeight ?: number; + editable ?: boolean; + wrapMode ?: AuGTK.WrapMode; + justification ?: AuGTK.Justification; + direction ?: AuGTK.TextDirection; + leftMargin ?: number; + indent ?: number; + strikethrough ?: boolean; + strikethroughRgba ?: AuGDK.RGBA; + rightMargin ?: number; + underline ?: AuPango.Underline; + underlineRgba ?: AuGDK.RGBA; + overline ?: AuPango.Overline; + overlineRgba ?: AuGDK.RGBA; + rise ?: number; + backgroundFullHeight ?: boolean; + language ?: string; + tabs ?: AuPango.TabArray; + invisible ?: boolean; + paragraphBackground ?: string; + paragraphBackgroundRgba ?: AuGDK.RGBA; + fallback ?: boolean; + letterSpacing ?: number; + fontFeatures ?: string; + allowBreaks ?: boolean; + showSpaces ?: AuPango.ShowFlags; + insertHyphens ?: boolean; + textTransform ?: AuPango.TextTransform; + word ?: boolean; + sentence ?: boolean; + accumulativeMargin ?: boolean; + backgroundSet ?: boolean; + foregroundSet ?: boolean; + familySet ?: boolean; + styleSet ?: boolean; + variantSet ?: boolean; + weightSet ?: boolean; + stretchSet ?: boolean; + sizeSet ?: boolean; + scaleSet ?: boolean; + pixelsAboveLinesSet ?: boolean; + pixelsBelowLinesSet ?: boolean; + pixelsInsideWrapSet ?: boolean; + lineHeightSet ?: boolean; + editableSet ?: boolean; + wrapModeSet ?: boolean; + justificationSet ?: boolean; + leftMarginSet ?: boolean; + indentSet ?: boolean; + strikethroughSet ?: boolean; + strikethroughRgbaSet ?: boolean; + rightMarginSet ?: boolean; + underlineSet ?: boolean; + underlineRgbaSet ?: boolean; + overlineSet ?: boolean; + overlineRgbaSet ?: boolean; + riseSet ?: boolean; + backgroundFullHeightSet ?: boolean; + languageSet ?: boolean; + tabsSet ?: boolean; + invisibleSet ?: boolean; + paragraphBackgroundSet ?: boolean; + fallbackSet ?: boolean; + letterSpacingSet ?: boolean; + fontFeaturesSet ?: boolean; + allowBreaksSet ?: boolean; + showSpacesSet ?: boolean; + insertHyphensSet ?: boolean; + textTransformSet ?: boolean; + sentenceSet ?: boolean; + wordSet ?: boolean; + } + + class TextTagTable extends GObject.Object implements AuGTK.Buildable { + constructor(initializerList ?: TextTagTableCtor); + + static New(): AuGTK.TextTagTable; + add(tag: AuGTK.TextTag): boolean; + foreach(func: (tag: AuGTK.TextTag) => void): void; + getSize(): number; + lookup(name: string): AuGTK.TextTag; + remove(tag: AuGTK.TextTag): void; + //TypeScript is complete garbage: + getBuildableId(): string; + } + + class TextTagTableCtor { + } + + class TextTagTableEventListener extends AuGlibEx.IEventListener { + tagAdded(tag: AuGTK.TextTag): void; + tagChanged(tag: AuGTK.TextTag, sizeChanged: boolean): void; + tagRemoved(tag: AuGTK.TextTag): void; + } + + class TextView extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Scrollable { + constructor(initializerList ?: TextViewCtor); + + parentInstance : AuGTK.Widget; + priv : AuGTK.TextViewPrivate; + + acceptsTab : boolean; + bottomMargin : number; + buffer : AuGTK.TextBuffer; + cursorVisible : boolean; + editable : boolean; + extraMenu : AuGIO.MenuModel; + imModule : string; + indent : number; + inputHints : AuGTK.InputHints; + inputPurpose : AuGTK.InputPurpose; + justification : AuGTK.Justification; + leftMargin : number; + monospace : boolean; + overwrite : boolean; + pixelsAboveLines : number; + pixelsBelowLines : number; + pixelsInsideWrap : number; + rightMargin : number; + tabs : AuPango.TabArray; + topMargin : number; + wrapMode : AuGTK.WrapMode; + + static New(): AuGTK.Widget; + static NewWithBuffer(buffer: AuGTK.TextBuffer): AuGTK.Widget; + addChildAtAnchor(child: AuGTK.Widget, anchor: AuGTK.TextChildAnchor): void; + addOverlay(child: AuGTK.Widget, XPos: number, YPos: number): void; + backwardDisplayLine(iter: AuGTK.TextIter): boolean; + backwardDisplayLineStart(iter: AuGTK.TextIter): boolean; + bufferToWindowCoords(win: AuGTK.TextWindowType, bufferX: number, bufferY: number, windowX ?: number, windowY ?: number): void; + forwardDisplayLine(iter: AuGTK.TextIter): boolean; + forwardDisplayLineEnd(iter: AuGTK.TextIter): boolean; + getAcceptsTab(): boolean; + getBottomMargin(): number; + getBuffer(): AuGTK.TextBuffer; + getCursorLocations(iter: AuGTK.TextIter | undefined | null, strong ?: AuGDK.Rectangle, weak ?: AuGDK.Rectangle): void; + getCursorVisible(): boolean; + getEditable(): boolean; + getExtraMenu(): AuGIO.MenuModel; + getGutter(win: AuGTK.TextWindowType): AuGTK.Widget; + getIndent(): number; + getInputHints(): AuGTK.InputHints; + getInputPurpose(): AuGTK.InputPurpose; + getIterAtLocation(iter: AuGTK.TextIter, x: number, y: number): boolean; + getIterAtPosition(iter: AuGTK.TextIter, trailing ?: number, x ?: number, y ?: number): boolean; + getIterLocation(iter: AuGTK.TextIter, location: AuGDK.Rectangle): void; + getJustification(): AuGTK.Justification; + getLeftMargin(): number; + getLineAtY(targetIter: AuGTK.TextIter, y: number, lineTop: number): void; + getLineYRange(iter: AuGTK.TextIter, y: number, height: number): void; + getLtrContext(): AuPango.Context; + getMonospace(): boolean; + getOverwrite(): boolean; + getPixelsAboveLines(): number; + getPixelsBelowLines(): number; + getPixelsInsideWrap(): number; + getRightMargin(): number; + getRtlContext(): AuPango.Context; + getTabs(): AuPango.TabArray; + getTopMargin(): number; + getVisibleRect(visibleRect: AuGDK.Rectangle): void; + getWrapMode(): AuGTK.WrapMode; + imContextFilterKeypress(event: AuGDK.Event): boolean; + moveMarkOnscreen(mark: AuGTK.TextMark): boolean; + moveOverlay(child: AuGTK.Widget, XPos: number, YPos: number): void; + moveVisually(iter: AuGTK.TextIter, count: number): boolean; + placeCursorOnscreen(): boolean; + remove(child: AuGTK.Widget): void; + resetCursorBlink(): void; + resetImContext(): void; + scrollMarkOnscreen(mark: AuGTK.TextMark): void; + scrollToIter(iter: AuGTK.TextIter, withinMargin: number, useAlign: boolean, XAlign: number, YAlign: number): boolean; + scrollToMark(mark: AuGTK.TextMark, withinMargin: number, useAlign: boolean, XAlign: number, YAlign: number): void; + setAcceptsTab(acceptsTab: boolean): void; + setBottomMargin(bottomMargin: number): void; + setBuffer(buffer: AuGTK.TextBuffer | undefined | null): void; + setCursorVisible(setting: boolean): void; + setEditable(setting: boolean): void; + setExtraMenu(model: AuGIO.MenuModel | undefined | null): void; + setGutter(win: AuGTK.TextWindowType, widget: AuGTK.Widget | undefined | null): void; + setIndent(indent: number): void; + setInputHints(hints: AuGTK.InputHints): void; + setInputPurpose(purpose: AuGTK.InputPurpose): void; + setJustification(justification: AuGTK.Justification): void; + setLeftMargin(leftMargin: number): void; + setMonospace(monospace: boolean): void; + setOverwrite(overwrite: boolean): void; + setPixelsAboveLines(pixelsAboveLines: number): void; + setPixelsBelowLines(pixelsBelowLines: number): void; + setPixelsInsideWrap(pixelsInsideWrap: number): void; + setRightMargin(rightMargin: number): void; + setTabs(tabs: AuPango.TabArray): void; + setTopMargin(topMargin: number): void; + setWrapMode(wrapMode: AuGTK.WrapMode): void; + startsDisplayLine(iter: AuGTK.TextIter): boolean; + windowToBufferCoords(win: AuGTK.TextWindowType, windowX: number, windowY: number, bufferX ?: number, bufferY ?: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + getBorder(border: AuGTK.Border): boolean; + getHadjustment(): AuGTK.Adjustment; + getHscrollPolicy(): AuGTK.ScrollablePolicy; + getVadjustment(): AuGTK.Adjustment; + getVscrollPolicy(): AuGTK.ScrollablePolicy; + setHadjustment(hadjustment: AuGTK.Adjustment | undefined | null): void; + setHscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + setVadjustment(vadjustment: AuGTK.Adjustment | undefined | null): void; + setVscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + } + + class TextViewCtor { + accessibleRole ?: AuGTK.AccessibleRole; + hadjustment ?: AuGTK.Adjustment; + hscrollPolicy ?: AuGTK.ScrollablePolicy; + vadjustment ?: AuGTK.Adjustment; + vscrollPolicy ?: AuGTK.ScrollablePolicy; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + pixelsAboveLines ?: number; + pixelsBelowLines ?: number; + pixelsInsideWrap ?: number; + editable ?: boolean; + wrapMode ?: AuGTK.WrapMode; + justification ?: AuGTK.Justification; + leftMargin ?: number; + rightMargin ?: number; + topMargin ?: number; + bottomMargin ?: number; + indent ?: number; + tabs ?: AuPango.TabArray; + cursorVisible ?: boolean; + buffer ?: AuGTK.TextBuffer; + overwrite ?: boolean; + acceptsTab ?: boolean; + imModule ?: string; + inputPurpose ?: AuGTK.InputPurpose; + inputHints ?: AuGTK.InputHints; + monospace ?: boolean; + extraMenu ?: AuGIO.MenuModel; + } + + class TextViewEventListener extends AuGlibEx.IEventListener { + backspace(): void; + copyClipboard(): void; + cutClipboard(): void; + deleteFromCursor(type: AuGTK.DeleteType, count: number): void; + extendSelection(granularity: AuGTK.TextExtendSelection, location: AuGTK.TextIter, start: AuGTK.TextIter, end: AuGTK.TextIter): boolean; + insertAtCursor(string: string): void; + insertEmoji(): void; + moveCursor(step: AuGTK.MovementStep, count: number, extendSelection: boolean): void; + moveViewport(step: AuGTK.ScrollStep, count: number): void; + pasteClipboard(): void; + preeditChanged(preedit: string): void; + selectAll(select: boolean): void; + setAnchor(): void; + toggleCursorVisible(): void; + toggleOverwrite(): void; + } + + class ToggleButton extends AuGTK.Button implements AuGTK.Accessible, AuGTK.Actionable, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: ToggleButtonCtor); + + button : AuGTK.Button; + + active : boolean; + group : AuGTK.ToggleButton; + + getActive(): boolean; + setActive(isActive: boolean): void; + setGroup(group: AuGTK.ToggleButton | undefined | null): void; + toggled(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + actionName : string; + actionTarget : AuGlibEx.Variant; + + } + + class ToggleButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + actionName ?: string; + actionTarget ?: any; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + label ?: string; + hasFrame ?: boolean; + useUnderline ?: boolean; + iconName ?: string; + child ?: AuGTK.Widget; + active ?: boolean; + group ?: AuGTK.ToggleButton; + } + + class ToggleButtonEventListener extends AuGlibEx.IEventListener { + toggled(): void; + } + + class Tooltip extends GObject.Object { + constructor(initializerList ?: TooltipCtor); + + setCustom(customWidget: AuGTK.Widget | undefined | null): void; + setIcon(paintable: AuGDK.Paintable | undefined | null): void; + setIconFromGicon(gicon: AuGIO.Icon | undefined | null): void; + setIconFromIconName(iconName: string | undefined | null): void; + setMarkup(markup: string | undefined | null): void; + setText(text: string | undefined | null): void; + setTipArea(rect: AuGDK.Rectangle): void; + //TypeScript is complete garbage: + } + + class TooltipCtor { + } + + class TreeExpander extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: TreeExpanderCtor); + + child : AuGTK.Widget; + hideExpander : boolean; + indentForDepth : boolean; + indentForIcon : boolean; + item : GObject.Object; + listRow : AuGTK.TreeListRow; + + static New(): AuGTK.Widget; + getChild(): AuGTK.Widget; + getHideExpander(): boolean; + getIndentForDepth(): boolean; + getIndentForIcon(): boolean; + getItem(): GObject.Object; + getListRow(): AuGTK.TreeListRow; + setChild(child: AuGTK.Widget | undefined | null): void; + setHideExpander(hideExpander: boolean): void; + setIndentForDepth(indentForDepth: boolean): void; + setIndentForIcon(indentForIcon: boolean): void; + setListRow(listRow: AuGTK.TreeListRow | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class TreeExpanderCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + child ?: AuGTK.Widget; + hideExpander ?: boolean; + indentForDepth ?: boolean; + indentForIcon ?: boolean; + item ?: GObject.Object; + listRow ?: AuGTK.TreeListRow; + } + + class TreeListModel extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: TreeListModelCtor); + + autoexpand : boolean; + itemType : number; + model : AuGIO.ListModel; + nItems : number; + passthrough : boolean; + + static New(root: AuGIO.ListModel, passthrough: boolean, autoexpand: boolean, createFunc: (item: GObject.Object) => AuGIO.ListModel, userDestroy: () => void): AuGTK.TreeListModel; + getAutoexpand(): boolean; + getChildRow(position: number): AuGTK.TreeListRow; + getModel(): AuGIO.ListModel; + getPassthrough(): boolean; + getRow(position: number): AuGTK.TreeListRow; + setAutoexpand(autoexpand: boolean): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class TreeListModelCtor { + autoexpand ?: boolean; + itemType ?: any; + model ?: AuGIO.ListModel; + nItems ?: number; + passthrough ?: boolean; + } + + class TreeListRow extends GObject.Object { + constructor(initializerList ?: TreeListRowCtor); + + children : AuGIO.ListModel; + depth : number; + expandable : boolean; + expanded : boolean; + item : GObject.Object; + + getChildRow(position: number): AuGTK.TreeListRow; + getChildren(): AuGIO.ListModel; + getDepth(): number; + getExpanded(): boolean; + getItem(): GObject.Object; + getParent(): AuGTK.TreeListRow; + getPosition(): number; + isExpandable(): boolean; + setExpanded(expanded: boolean): void; + //TypeScript is complete garbage: + } + + class TreeListRowCtor { + children ?: AuGIO.ListModel; + depth ?: number; + expandable ?: boolean; + expanded ?: boolean; + item ?: GObject.Object; + } + + class TreeListRowSorter extends AuGTK.Sorter { + constructor(initializerList ?: TreeListRowSorterCtor); + + sorter : AuGTK.Sorter; + + static New(sorter: AuGTK.Sorter | undefined | null): AuGTK.TreeListRowSorter; + getSorter(): AuGTK.Sorter; + setSorter(sorter: AuGTK.Sorter | undefined | null): void; + //TypeScript is complete garbage: + } + + class TreeListRowSorterCtor { + sorter ?: AuGTK.Sorter; + } + + class TreeModelFilter extends GObject.Object implements AuGTK.TreeDragSource, AuGTK.TreeModel { + constructor(initializerList ?: TreeModelFilterCtor); + + parent : GObject.Object; + priv : AuGTK.TreeModelFilterPrivate; + + childModel : AuGTK.TreeModel; + virtualRoot : AuGTK.TreePath; + + clearCache(): void; + convertChildIterToIter(filterIter: AuGTK.TreeIter, childIter: AuGTK.TreeIter): boolean; + convertChildPathToPath(childPath: AuGTK.TreePath): AuGTK.TreePath; + convertIterToChildIter(childIter: AuGTK.TreeIter, filterIter: AuGTK.TreeIter): void; + convertPathToChildPath(filterPath: AuGTK.TreePath): AuGTK.TreePath; + getModel(): AuGTK.TreeModel; + refilter(): void; + setModifyFunc(nColumns: number, types: number[], func: (model: AuGTK.TreeModel, iter: AuGTK.TreeIter, value: GObject.Value, column: number) => void, destroy: () => void | undefined | null): void; + setVisibleColumn(column: number): void; + setVisibleFunc(func: (model: AuGTK.TreeModel, iter: AuGTK.TreeIter) => boolean, destroy: () => void | undefined | null): void; + //TypeScript is complete garbage: + dragDataDelete(path: AuGTK.TreePath): boolean; + dragDataGet(path: AuGTK.TreePath): AuGDK.ContentProvider; + rowDraggable(path: AuGTK.TreePath): boolean; + filterNew(root: AuGTK.TreePath | undefined | null): AuGTK.TreeModel; + foreach(func: (model: AuGTK.TreeModel, path: AuGTK.TreePath, iter: AuGTK.TreeIter) => boolean): void; + getColumnType(index: number): number; + getFlags(): AuGTK.TreeModelFlags; + getIter(iter: AuGTK.TreeIter, path: AuGTK.TreePath): boolean; + getIterFirst(iter: AuGTK.TreeIter): boolean; + getIterFromString(iter: AuGTK.TreeIter, pathString: string): boolean; + getNColumns(): number; + getPath(iter: AuGTK.TreeIter): AuGTK.TreePath; + getStringFromIter(iter: AuGTK.TreeIter): string; + getValue(iter: AuGTK.TreeIter, column: number, value: GObject.Value): void; + iterChildren(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null): boolean; + iterHasChild(iter: AuGTK.TreeIter): boolean; + iterNChildren(iter: AuGTK.TreeIter | undefined | null): number; + iterNext(iter: AuGTK.TreeIter): boolean; + iterNthChild(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null, n: number): boolean; + iterParent(iter: AuGTK.TreeIter, child: AuGTK.TreeIter): boolean; + iterPrevious(iter: AuGTK.TreeIter): boolean; + refNode(iter: AuGTK.TreeIter): void; + rowChanged(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowDeleted(path: AuGTK.TreePath): void; + rowHasChildToggled(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowInserted(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowsReordered(path: AuGTK.TreePath, iter: AuGTK.TreeIter | undefined | null, newOrder: number[], length: number): void; + unrefNode(iter: AuGTK.TreeIter): void; + } + + class TreeModelFilterCtor { + childModel ?: AuGTK.TreeModel; + virtualRoot ?: AuGTK.TreePath; + } + + class TreeModelSort extends GObject.Object implements AuGTK.TreeDragSource, AuGTK.TreeModel, AuGTK.TreeSortable { + constructor(initializerList ?: TreeModelSortCtor); + + parent : GObject.Object; + priv : AuGTK.TreeModelSortPrivate; + + model : AuGTK.TreeModel; + + static NewWithModel(childModel: AuGTK.TreeModel): AuGTK.TreeModelSort; + clearCache(): void; + convertChildIterToIter(sortIter: AuGTK.TreeIter, childIter: AuGTK.TreeIter): boolean; + convertChildPathToPath(childPath: AuGTK.TreePath): AuGTK.TreePath; + convertIterToChildIter(childIter: AuGTK.TreeIter, sortedIter: AuGTK.TreeIter): void; + convertPathToChildPath(sortedPath: AuGTK.TreePath): AuGTK.TreePath; + getModel(): AuGTK.TreeModel; + iterIsValid(iter: AuGTK.TreeIter): boolean; + resetDefaultSortFunc(): void; + //TypeScript is complete garbage: + dragDataDelete(path: AuGTK.TreePath): boolean; + dragDataGet(path: AuGTK.TreePath): AuGDK.ContentProvider; + rowDraggable(path: AuGTK.TreePath): boolean; + filterNew(root: AuGTK.TreePath | undefined | null): AuGTK.TreeModel; + foreach(func: (model: AuGTK.TreeModel, path: AuGTK.TreePath, iter: AuGTK.TreeIter) => boolean): void; + getColumnType(index: number): number; + getFlags(): AuGTK.TreeModelFlags; + getIter(iter: AuGTK.TreeIter, path: AuGTK.TreePath): boolean; + getIterFirst(iter: AuGTK.TreeIter): boolean; + getIterFromString(iter: AuGTK.TreeIter, pathString: string): boolean; + getNColumns(): number; + getPath(iter: AuGTK.TreeIter): AuGTK.TreePath; + getStringFromIter(iter: AuGTK.TreeIter): string; + getValue(iter: AuGTK.TreeIter, column: number, value: GObject.Value): void; + iterChildren(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null): boolean; + iterHasChild(iter: AuGTK.TreeIter): boolean; + iterNChildren(iter: AuGTK.TreeIter | undefined | null): number; + iterNext(iter: AuGTK.TreeIter): boolean; + iterNthChild(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null, n: number): boolean; + iterParent(iter: AuGTK.TreeIter, child: AuGTK.TreeIter): boolean; + iterPrevious(iter: AuGTK.TreeIter): boolean; + refNode(iter: AuGTK.TreeIter): void; + rowChanged(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowDeleted(path: AuGTK.TreePath): void; + rowHasChildToggled(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowInserted(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowsReordered(path: AuGTK.TreePath, iter: AuGTK.TreeIter | undefined | null, newOrder: number[], length: number): void; + unrefNode(iter: AuGTK.TreeIter): void; + getSortColumnId(sortColumnId: number, order: AuGTK.SortType): boolean; + hasDefaultSortFunc(): boolean; + setDefaultSortFunc(sortFunc: (model: AuGTK.TreeModel, a: AuGTK.TreeIter, b: AuGTK.TreeIter) => number, destroy: () => void | undefined | null): void; + setSortColumnId(sortColumnId: number, order: AuGTK.SortType): void; + setSortFunc(sortColumnId: number, sortFunc: (model: AuGTK.TreeModel, a: AuGTK.TreeIter, b: AuGTK.TreeIter) => number, destroy: () => void | undefined | null): void; + sortColumnChanged(): void; + } + + class TreeModelSortCtor { + model ?: AuGTK.TreeModel; + } + + class TreeSelection extends GObject.Object { + constructor(initializerList ?: TreeSelectionCtor); + + mode : AuGTK.SelectionMode; + + countSelectedRows(): number; + getMode(): AuGTK.SelectionMode; + getSelected(model ?: AuGTK.TreeModel, iter ?: AuGTK.TreeIter): boolean; + getSelectedRows(model ?: AuGTK.TreeModel): AuGTK.TreePath[]; + getTreeView(): AuGTK.TreeView; + iterIsSelected(iter: AuGTK.TreeIter): boolean; + pathIsSelected(path: AuGTK.TreePath): boolean; + selectAll(): void; + selectIter(iter: AuGTK.TreeIter): void; + selectPath(path: AuGTK.TreePath): void; + selectRange(startPath: AuGTK.TreePath, endPath: AuGTK.TreePath): void; + selectedForeach(func: (model: AuGTK.TreeModel, path: AuGTK.TreePath, iter: AuGTK.TreeIter) => void): void; + setMode(type: AuGTK.SelectionMode): void; + setSelectFunction(func: (selection: AuGTK.TreeSelection, model: AuGTK.TreeModel, path: AuGTK.TreePath, pathCurrentlySelected: boolean) => boolean | undefined | null, destroy: () => void): void; + unselectAll(): void; + unselectIter(iter: AuGTK.TreeIter): void; + unselectPath(path: AuGTK.TreePath): void; + unselectRange(startPath: AuGTK.TreePath, endPath: AuGTK.TreePath): void; + //TypeScript is complete garbage: + } + + class TreeSelectionCtor { + mode ?: AuGTK.SelectionMode; + } + + class TreeSelectionEventListener extends AuGlibEx.IEventListener { + changed(): void; + } + + class TreeStore extends GObject.Object implements AuGTK.Buildable, AuGTK.TreeDragDest, AuGTK.TreeDragSource, AuGTK.TreeModel, AuGTK.TreeSortable { + constructor(initializerList ?: TreeStoreCtor); + + parent : GObject.Object; + priv : AuGTK.TreeStorePrivate; + + static New(nColumns: number, types: number[]): AuGTK.TreeStore; + append(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null): void; + clear(): void; + insert(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null, position: number): void; + insertAfter(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null, sibling: AuGTK.TreeIter | undefined | null): void; + insertBefore(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null, sibling: AuGTK.TreeIter | undefined | null): void; + insertWithValues(iter ?: AuGTK.TreeIter, parent ?: AuGTK.TreeIter | undefined | null, position ?: number, columns ?: number[], values ?: GObject.Value[], nValues ?: number): void; + isAncestor(iter: AuGTK.TreeIter, descendant: AuGTK.TreeIter): boolean; + iterDepth(iter: AuGTK.TreeIter): number; + iterIsValid(iter: AuGTK.TreeIter): boolean; + moveAfter(iter: AuGTK.TreeIter, position: AuGTK.TreeIter | undefined | null): void; + moveBefore(iter: AuGTK.TreeIter, position: AuGTK.TreeIter | undefined | null): void; + prepend(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null): void; + remove(iter: AuGTK.TreeIter): boolean; + setColumnTypes(nColumns: number, types: number[]): void; + setValue(iter: AuGTK.TreeIter, column: number, value: GObject.Value): void; + set(iter: AuGTK.TreeIter, columns: number[], values: GObject.Value[], nValues: number): void; + swap(a: AuGTK.TreeIter, b: AuGTK.TreeIter): void; + //TypeScript is complete garbage: + getBuildableId(): string; + dragDataReceived(dest: AuGTK.TreePath, value: GObject.Value): boolean; + rowDropPossible(destPath: AuGTK.TreePath, value: GObject.Value): boolean; + dragDataDelete(path: AuGTK.TreePath): boolean; + dragDataGet(path: AuGTK.TreePath): AuGDK.ContentProvider; + rowDraggable(path: AuGTK.TreePath): boolean; + filterNew(root: AuGTK.TreePath | undefined | null): AuGTK.TreeModel; + foreach(func: (model: AuGTK.TreeModel, path: AuGTK.TreePath, iter: AuGTK.TreeIter) => boolean): void; + getColumnType(index: number): number; + getFlags(): AuGTK.TreeModelFlags; + getIter(iter: AuGTK.TreeIter, path: AuGTK.TreePath): boolean; + getIterFirst(iter: AuGTK.TreeIter): boolean; + getIterFromString(iter: AuGTK.TreeIter, pathString: string): boolean; + getNColumns(): number; + getPath(iter: AuGTK.TreeIter): AuGTK.TreePath; + getStringFromIter(iter: AuGTK.TreeIter): string; + getValue(iter: AuGTK.TreeIter, column: number, value: GObject.Value): void; + iterChildren(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null): boolean; + iterHasChild(iter: AuGTK.TreeIter): boolean; + iterNChildren(iter: AuGTK.TreeIter | undefined | null): number; + iterNext(iter: AuGTK.TreeIter): boolean; + iterNthChild(iter: AuGTK.TreeIter, parent: AuGTK.TreeIter | undefined | null, n: number): boolean; + iterParent(iter: AuGTK.TreeIter, child: AuGTK.TreeIter): boolean; + iterPrevious(iter: AuGTK.TreeIter): boolean; + refNode(iter: AuGTK.TreeIter): void; + rowChanged(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowDeleted(path: AuGTK.TreePath): void; + rowHasChildToggled(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowInserted(path: AuGTK.TreePath, iter: AuGTK.TreeIter): void; + rowsReordered(path: AuGTK.TreePath, iter: AuGTK.TreeIter | undefined | null, newOrder: number[], length: number): void; + unrefNode(iter: AuGTK.TreeIter): void; + getSortColumnId(sortColumnId: number, order: AuGTK.SortType): boolean; + hasDefaultSortFunc(): boolean; + setDefaultSortFunc(sortFunc: (model: AuGTK.TreeModel, a: AuGTK.TreeIter, b: AuGTK.TreeIter) => number, destroy: () => void | undefined | null): void; + setSortColumnId(sortColumnId: number, order: AuGTK.SortType): void; + setSortFunc(sortColumnId: number, sortFunc: (model: AuGTK.TreeModel, a: AuGTK.TreeIter, b: AuGTK.TreeIter) => number, destroy: () => void | undefined | null): void; + sortColumnChanged(): void; + } + + class TreeStoreCtor { + } + + class TreeView extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Scrollable { + constructor(initializerList ?: TreeViewCtor); + + parentInstance : AuGTK.Widget; + + activateOnSingleClick : boolean; + enableGridLines : AuGTK.TreeViewGridLines; + enableSearch : boolean; + enableTreeLines : boolean; + expanderColumn : AuGTK.TreeViewColumn; + fixedHeightMode : boolean; + headersClickable : boolean; + headersVisible : boolean; + hoverExpand : boolean; + hoverSelection : boolean; + levelIndentation : number; + model : AuGTK.TreeModel; + reorderable : boolean; + rubberBanding : boolean; + searchColumn : number; + showExpanders : boolean; + tooltipColumn : number; + + static New(): AuGTK.Widget; + static NewWithModel(model: AuGTK.TreeModel): AuGTK.Widget; + appendColumn(column: AuGTK.TreeViewColumn): number; + collapseAll(): void; + collapseRow(path: AuGTK.TreePath): boolean; + columnsAutosize(): void; + convertBinWindowToTreeCoords(bx: number, by: number, tx: number, ty: number): void; + convertBinWindowToWidgetCoords(bx: number, by: number, wx: number, wy: number): void; + convertTreeToBinWindowCoords(tx: number, ty: number, bx: number, by: number): void; + convertTreeToWidgetCoords(tx: number, ty: number, wx: number, wy: number): void; + convertWidgetToBinWindowCoords(wx: number, wy: number, bx: number, by: number): void; + convertWidgetToTreeCoords(wx: number, wy: number, tx: number, ty: number): void; + createRowDragIcon(path: AuGTK.TreePath): AuGDK.Paintable; + enableModelDragDest(formats: AuGDK.ContentFormats, actions: AuGDK.DragAction): void; + enableModelDragSource(startButtonMask: AuGDK.ModifierType, formats: AuGDK.ContentFormats, actions: AuGDK.DragAction): void; + expandAll(): void; + expandRow(path: AuGTK.TreePath, openAll: boolean): boolean; + expandToPath(path: AuGTK.TreePath): void; + getActivateOnSingleClick(): boolean; + getBackgroundArea(path: AuGTK.TreePath | undefined | null, column: AuGTK.TreeViewColumn | undefined | null, rect: AuGDK.Rectangle): void; + getCellArea(path: AuGTK.TreePath | undefined | null, column: AuGTK.TreeViewColumn | undefined | null, rect: AuGDK.Rectangle): void; + getColumn(n: number): AuGTK.TreeViewColumn; + getColumns(): AuGTK.TreeViewColumn[]; + getDestRowAtPos(dragX: number, dragY: number, path ?: AuGTK.TreePath | undefined | null, pos ?: AuGTK.TreeViewDropPosition): boolean; + getDragDestRow(path ?: AuGTK.TreePath | undefined | null, pos ?: AuGTK.TreeViewDropPosition): void; + getEnableSearch(): boolean; + getEnableTreeLines(): boolean; + getExpanderColumn(): AuGTK.TreeViewColumn; + getFixedHeightMode(): boolean; + getGridLines(): AuGTK.TreeViewGridLines; + getHeadersClickable(): boolean; + getHeadersVisible(): boolean; + getHoverExpand(): boolean; + getHoverSelection(): boolean; + getLevelIndentation(): number; + getModel(): AuGTK.TreeModel; + getNColumns(): number; + getPathAtPos(x: number, y: number, path ?: AuGTK.TreePath | undefined | null, column ?: AuGTK.TreeViewColumn | undefined | null, cellX ?: number, cellY ?: number): boolean; + getReorderable(): boolean; + getRubberBanding(): boolean; + getSearchColumn(): number; + getSearchEntry(): AuGTK.Editable; + getSelection(): AuGTK.TreeSelection; + getShowExpanders(): boolean; + getTooltipColumn(): number; + getTooltipContext(x: number, y: number, keyboardTip: boolean, model ?: AuGTK.TreeModel | undefined | null, path ?: AuGTK.TreePath, iter ?: AuGTK.TreeIter): boolean; + getVisibleRange(startPath ?: AuGTK.TreePath, endPath ?: AuGTK.TreePath): boolean; + getVisibleRect(visibleRect: AuGDK.Rectangle): void; + insertColumn(column: AuGTK.TreeViewColumn, position: number): number; + insertColumnWithDataFunc(position: number, title: string, cell: AuGTK.CellRenderer, func: (treeColumn: AuGTK.TreeViewColumn, cell: AuGTK.CellRenderer, treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void, dnotify: () => void): number; + isBlankAtPos(x: number, y: number, path ?: AuGTK.TreePath | undefined | null, column ?: AuGTK.TreeViewColumn | undefined | null, cellX ?: number, cellY ?: number): boolean; + isRubberBandingActive(): boolean; + mapExpandedRows(func: (treeView: AuGTK.TreeView, path: AuGTK.TreePath) => void): void; + moveColumnAfter(column: AuGTK.TreeViewColumn, baseColumn: AuGTK.TreeViewColumn | undefined | null): void; + removeColumn(column: AuGTK.TreeViewColumn): number; + rowActivated(path: AuGTK.TreePath, column: AuGTK.TreeViewColumn | undefined | null): void; + rowExpanded(path: AuGTK.TreePath): boolean; + scrollToCell(path: AuGTK.TreePath | undefined | null, column: AuGTK.TreeViewColumn | undefined | null, useAlign: boolean, rowAlign: number, colAlign: number): void; + scrollToPoint(treeX: number, treeY: number): void; + setActivateOnSingleClick(single: boolean): void; + setColumnDragFunction(func: (treeView: AuGTK.TreeView, column: AuGTK.TreeViewColumn, prevColumn: AuGTK.TreeViewColumn, nextColumn: AuGTK.TreeViewColumn) => boolean | undefined | null, destroy: () => void | undefined | null): void; + setCursorOnCell(path: AuGTK.TreePath, focusColumn: AuGTK.TreeViewColumn | undefined | null, focusCell: AuGTK.CellRenderer | undefined | null, startEditing: boolean): void; + setDragDestRow(path: AuGTK.TreePath | undefined | null, pos: AuGTK.TreeViewDropPosition): void; + setEnableSearch(enableSearch: boolean): void; + setEnableTreeLines(enabled: boolean): void; + setExpanderColumn(column: AuGTK.TreeViewColumn | undefined | null): void; + setFixedHeightMode(enable: boolean): void; + setGridLines(gridLines: AuGTK.TreeViewGridLines): void; + setHeadersClickable(setting: boolean): void; + setHeadersVisible(headersVisible: boolean): void; + setHoverExpand(expand: boolean): void; + setHoverSelection(hover: boolean): void; + setLevelIndentation(indentation: number): void; + setModel(model: AuGTK.TreeModel | undefined | null): void; + setReorderable(reorderable: boolean): void; + setRowSeparatorFunc(func: (model: AuGTK.TreeModel, iter: AuGTK.TreeIter) => boolean | undefined | null, destroy: () => void | undefined | null): void; + setRubberBanding(enable: boolean): void; + setSearchColumn(column: number): void; + setSearchEntry(entry: AuGTK.Editable | undefined | null): void; + setSearchEqualFunc(searchEqualFunc: (model: AuGTK.TreeModel, column: number, key: string, iter: AuGTK.TreeIter) => boolean, searchDestroy: () => void | undefined | null): void; + setShowExpanders(enabled: boolean): void; + setTooltipCell(tooltip: AuGTK.Tooltip, path: AuGTK.TreePath | undefined | null, column: AuGTK.TreeViewColumn | undefined | null, cell: AuGTK.CellRenderer | undefined | null): void; + setTooltipColumn(column: number): void; + setTooltipRow(tooltip: AuGTK.Tooltip, path: AuGTK.TreePath): void; + unsetRowsDragDest(): void; + unsetRowsDragSource(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + getBorder(border: AuGTK.Border): boolean; + getHadjustment(): AuGTK.Adjustment; + getHscrollPolicy(): AuGTK.ScrollablePolicy; + getVadjustment(): AuGTK.Adjustment; + getVscrollPolicy(): AuGTK.ScrollablePolicy; + setHadjustment(hadjustment: AuGTK.Adjustment | undefined | null): void; + setHscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + setVadjustment(vadjustment: AuGTK.Adjustment | undefined | null): void; + setVscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + } + + class TreeViewCtor { + accessibleRole ?: AuGTK.AccessibleRole; + hadjustment ?: AuGTK.Adjustment; + hscrollPolicy ?: AuGTK.ScrollablePolicy; + vadjustment ?: AuGTK.Adjustment; + vscrollPolicy ?: AuGTK.ScrollablePolicy; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + model ?: AuGTK.TreeModel; + headersVisible ?: boolean; + headersClickable ?: boolean; + expanderColumn ?: AuGTK.TreeViewColumn; + reorderable ?: boolean; + enableSearch ?: boolean; + searchColumn ?: number; + fixedHeightMode ?: boolean; + hoverSelection ?: boolean; + hoverExpand ?: boolean; + showExpanders ?: boolean; + levelIndentation ?: number; + rubberBanding ?: boolean; + enableGridLines ?: AuGTK.TreeViewGridLines; + enableTreeLines ?: boolean; + tooltipColumn ?: number; + activateOnSingleClick ?: boolean; + } + + class TreeViewEventListener extends AuGlibEx.IEventListener { + columnsChanged(): void; + cursorChanged(): void; + expandCollapseCursorRow(object: boolean, p0: boolean, p1: boolean): boolean; + moveCursor(step: AuGTK.MovementStep, direction: number, extend: boolean, modify: boolean): boolean; + rowActivated(path: AuGTK.TreePath, column: AuGTK.TreeViewColumn | undefined | null): void; + rowCollapsed(iter: AuGTK.TreeIter, path: AuGTK.TreePath): void; + rowExpanded(iter: AuGTK.TreeIter, path: AuGTK.TreePath): void; + selectAll(): boolean; + selectCursorParent(): boolean; + selectCursorRow(object: boolean): boolean; + startInteractiveSearch(): boolean; + testCollapseRow(iter: AuGTK.TreeIter, path: AuGTK.TreePath): boolean; + testExpandRow(iter: AuGTK.TreeIter, path: AuGTK.TreePath): boolean; + toggleCursorRow(): boolean; + unselectAll(): boolean; + } + + class TreeViewColumn extends GObject.InitiallyUnowned implements AuGTK.Buildable, AuGTK.CellLayout { + constructor(initializerList ?: TreeViewColumnCtor); + + alignment : number; + cellArea : AuGTK.CellArea; + clickable : boolean; + expand : boolean; + fixedWidth : number; + maxWidth : number; + minWidth : number; + reorderable : boolean; + resizable : boolean; + sizing : AuGTK.TreeViewColumnSizing; + sortColumnId : number; + sortIndicator : boolean; + sortOrder : AuGTK.SortType; + spacing : number; + title : string; + visible : boolean; + widget : AuGTK.Widget; + width : number; + XOffset : number; + + static New(): AuGTK.TreeViewColumn; + static NewWithArea(area: AuGTK.CellArea): AuGTK.TreeViewColumn; + addAttribute(cellRenderer: AuGTK.CellRenderer, attribute: string, column: number): void; + cellGetPosition(cellRenderer: AuGTK.CellRenderer, XOffset ?: number, width ?: number): boolean; + cellGetSize(XOffset ?: number, YOffset ?: number, width ?: number, height ?: number): void; + cellIsVisible(): boolean; + cellSetCellData(treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter, isExpander: boolean, isExpanded: boolean): void; + clear(): void; + clearAttributes(cellRenderer: AuGTK.CellRenderer): void; + clicked(): void; + focusCell(cell: AuGTK.CellRenderer): void; + getAlignment(): number; + getButton(): AuGTK.Widget; + getClickable(): boolean; + getExpand(): boolean; + getFixedWidth(): number; + getMaxWidth(): number; + getMinWidth(): number; + getReorderable(): boolean; + getResizable(): boolean; + getSizing(): AuGTK.TreeViewColumnSizing; + getSortColumnId(): number; + getSortIndicator(): boolean; + getSortOrder(): AuGTK.SortType; + getSpacing(): number; + getTitle(): string; + getTreeView(): AuGTK.Widget; + getVisible(): boolean; + getWidget(): AuGTK.Widget; + getWidth(): number; + getXOffset(): number; + packEnd(cell: AuGTK.CellRenderer, expand: boolean): void; + packStart(cell: AuGTK.CellRenderer, expand: boolean): void; + queueResize(): void; + setAlignment(XAlign: number): void; + setCellDataFunc(cellRenderer: AuGTK.CellRenderer, func: (treeColumn: AuGTK.TreeViewColumn, cell: AuGTK.CellRenderer, treeModel: AuGTK.TreeModel, iter: AuGTK.TreeIter) => void | undefined | null, destroy: () => void): void; + setClickable(clickable: boolean): void; + setExpand(expand: boolean): void; + setFixedWidth(fixedWidth: number): void; + setMaxWidth(maxWidth: number): void; + setMinWidth(minWidth: number): void; + setReorderable(reorderable: boolean): void; + setResizable(resizable: boolean): void; + setSizing(type: AuGTK.TreeViewColumnSizing): void; + setSortColumnId(sortColumnId: number): void; + setSortIndicator(setting: boolean): void; + setSortOrder(order: AuGTK.SortType): void; + setSpacing(spacing: number): void; + setTitle(title: string): void; + setVisible(visible: boolean): void; + setWidget(widget: AuGTK.Widget | undefined | null): void; + //TypeScript is complete garbage: + getBuildableId(): string; + getArea(): AuGTK.CellArea; + getCells(): AuGTK.CellRenderer[]; + reorder(cell: AuGTK.CellRenderer, position: number): void; + } + + class TreeViewColumnCtor { + visible ?: boolean; + resizable ?: boolean; + XOffset ?: number; + width ?: number; + spacing ?: number; + sizing ?: AuGTK.TreeViewColumnSizing; + fixedWidth ?: number; + minWidth ?: number; + maxWidth ?: number; + title ?: string; + expand ?: boolean; + clickable ?: boolean; + widget ?: AuGTK.Widget; + alignment ?: number; + reorderable ?: boolean; + sortIndicator ?: boolean; + sortOrder ?: AuGTK.SortType; + sortColumnId ?: number; + cellArea ?: AuGTK.CellArea; + } + + class TreeViewColumnEventListener extends AuGlibEx.IEventListener { + clicked(): void; + } + + class UriLauncher extends GObject.Object { + constructor(initializerList ?: UriLauncherCtor); + + uri : string; + + static New(uri: string | undefined | null): AuGTK.UriLauncher; + getUri(): string; + launch(parent: AuGTK.Window | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + launchFinish(result: AuGIO.AsyncResult): boolean; + setUri(uri: string | undefined | null): void; + //TypeScript is complete garbage: + } + + class UriLauncherCtor { + uri ?: string; + } + + class Video extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: VideoCtor); + + autoplay : boolean; + file : AuGIO.File; + loop : boolean; + mediaStream : AuGTK.MediaStream; + + static New(): AuGTK.Widget; + static NewForFile(file: AuGIO.File | undefined | null): AuGTK.Widget; + static NewForFilename(filename: string | undefined | null): AuGTK.Widget; + static NewForMediaStream(stream: AuGTK.MediaStream | undefined | null): AuGTK.Widget; + static NewForResource(resourcePath: string | undefined | null): AuGTK.Widget; + getAutoplay(): boolean; + getFile(): AuGIO.File; + getLoop(): boolean; + getMediaStream(): AuGTK.MediaStream; + setAutoplay(autoplay: boolean): void; + setFile(file: AuGIO.File | undefined | null): void; + setFilename(filename: string | undefined | null): void; + setLoop(loop: boolean): void; + setMediaStream(stream: AuGTK.MediaStream | undefined | null): void; + setResource(resourcePath: string | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class VideoCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + autoplay ?: boolean; + file ?: AuGIO.File; + loop ?: boolean; + mediaStream ?: AuGTK.MediaStream; + } + + class Viewport extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Scrollable { + constructor(initializerList ?: ViewportCtor); + + child : AuGTK.Widget; + scrollToFocus : boolean; + + static New(hadjustment: AuGTK.Adjustment | undefined | null, vadjustment: AuGTK.Adjustment | undefined | null): AuGTK.Widget; + getChild(): AuGTK.Widget; + getScrollToFocus(): boolean; + setChild(child: AuGTK.Widget | undefined | null): void; + setScrollToFocus(scrollToFocus: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + getBorder(border: AuGTK.Border): boolean; + getHadjustment(): AuGTK.Adjustment; + getHscrollPolicy(): AuGTK.ScrollablePolicy; + getVadjustment(): AuGTK.Adjustment; + getVscrollPolicy(): AuGTK.ScrollablePolicy; + setHadjustment(hadjustment: AuGTK.Adjustment | undefined | null): void; + setHscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + setVadjustment(vadjustment: AuGTK.Adjustment | undefined | null): void; + setVscrollPolicy(policy: AuGTK.ScrollablePolicy): void; + } + + class ViewportCtor { + accessibleRole ?: AuGTK.AccessibleRole; + hadjustment ?: AuGTK.Adjustment; + hscrollPolicy ?: AuGTK.ScrollablePolicy; + vadjustment ?: AuGTK.Adjustment; + vscrollPolicy ?: AuGTK.ScrollablePolicy; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + scrollToFocus ?: boolean; + child ?: AuGTK.Widget; + } + + class VolumeButton extends AuGTK.ScaleButton implements AuGTK.Accessible, AuGTK.AccessibleRange, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Orientable { + constructor(initializerList ?: VolumeButtonCtor); + + parent : AuGTK.ScaleButton; + + useSymbolic : boolean; + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + orientation : AuGTK.Orientation; + + } + + class VolumeButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + orientation ?: AuGTK.Orientation; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + value ?: number; + adjustment ?: AuGTK.Adjustment; + icons ?: any; + active ?: boolean; + useSymbolic ?: boolean; + } + + class Widget extends GObject.InitiallyUnowned implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: WidgetCtor); + + parentInstance : GObject.InitiallyUnowned; + priv : AuGTK.WidgetPrivate; + + canFocus : boolean; + canTarget : boolean; + cssClasses : string[]; + cssName : string; + cursor : AuGDK.Cursor; + focusOnClick : boolean; + focusable : boolean; + halign : AuGTK.Align; + hasDefault : boolean; + hasFocus : boolean; + hasTooltip : boolean; + heightRequest : number; + hexpand : boolean; + hexpandSet : boolean; + layoutManager : AuGTK.LayoutManager; + marginBottom : number; + marginEnd : number; + marginStart : number; + marginTop : number; + name : string; + opacity : number; + overflow : AuGTK.Overflow; + parent : AuGTK.Widget; + receivesDefault : boolean; + root : AuGTK.Root; + scaleFactor : number; + sensitive : boolean; + tooltipMarkup : string; + tooltipText : string; + valign : AuGTK.Align; + vexpand : boolean; + vexpandSet : boolean; + visible : boolean; + widthRequest : number; + + static GetDefaultDirection(): AuGTK.TextDirection; + static SetDefaultDirection(dir: AuGTK.TextDirection): void; + actionSetEnabled(actionName: string, enabled: boolean): void; + activate(): boolean; + activateAction(name: string, args: AuGlibEx.Variant | undefined | null): boolean; + activateDefault(): void; + addController(controller: AuGTK.EventController): void; + addCssClass(cssClass: string): void; + addMnemonicLabel(label: AuGTK.Widget): void; + addTickCallback(callback: (widget: AuGTK.Widget, frameClock: AuGDK.FrameClock) => boolean, notify: () => void): number; + allocate(width: number, height: number, baseline: number, transform: Gsk.Transform | undefined | null): void; + childFocus(direction: AuGTK.DirectionType): boolean; + computeBounds(target: AuGTK.Widget, outBounds: Graphene.Rect): boolean; + computeExpand(orientation: AuGTK.Orientation): boolean; + computePoint(target: AuGTK.Widget, point: Graphene.Point, outPoint: Graphene.Point): boolean; + computeTransform(target: AuGTK.Widget, outTransform: Graphene.Matrix): boolean; + contains(x: number, y: number): boolean; + createPangoContext(): AuPango.Context; + createPangoLayout(text: string | undefined | null): AuPango.Layout; + disposeTemplate(widgetType: number): void; + dragCheckThreshold(startX: number, startY: number, currentX: number, currentY: number): boolean; + errorBell(): void; + getAllocatedBaseline(): number; + getAllocatedHeight(): number; + getAllocatedWidth(): number; + getAllocation(allocation: AuGDK.Rectangle): void; + getAncestor(widgetType: number): AuGTK.Widget; + getCanFocus(): boolean; + getCanTarget(): boolean; + getChildVisible(): boolean; + getClipboard(): AuGDK.Clipboard; + getColor(color: AuGDK.RGBA): void; + getCssClasses(): string[]; + getCssName(): string; + getCursor(): AuGDK.Cursor; + getDirection(): AuGTK.TextDirection; + getDisplay(): AuGDK.Display; + getFirstChild(): AuGTK.Widget; + getFocusChild(): AuGTK.Widget; + getFocusOnClick(): boolean; + getFocusable(): boolean; + getFontMap(): AuPango.FontMap; + getFontOptions(): cairo.FontOptions; + getFrameClock(): AuGDK.FrameClock; + getHalign(): AuGTK.Align; + getHasTooltip(): boolean; + getHeight(): number; + getHexpand(): boolean; + getHexpandSet(): boolean; + getLastChild(): AuGTK.Widget; + getLayoutManager(): AuGTK.LayoutManager; + getMapped(): boolean; + getMarginBottom(): number; + getMarginEnd(): number; + getMarginStart(): number; + getMarginTop(): number; + getName(): string; + getNative(): AuGTK.Native; + getNextSibling(): AuGTK.Widget; + getOpacity(): number; + getOverflow(): AuGTK.Overflow; + getPangoContext(): AuPango.Context; + getParent(): AuGTK.Widget; + getPreferredSize(minimumSize ?: AuGTK.Requisition, naturalSize ?: AuGTK.Requisition): void; + getPrevSibling(): AuGTK.Widget; + getPrimaryClipboard(): AuGDK.Clipboard; + getRealized(): boolean; + getReceivesDefault(): boolean; + getRequestMode(): AuGTK.SizeRequestMode; + getRoot(): AuGTK.Root; + getScaleFactor(): number; + getSensitive(): boolean; + getSettings(): AuGTK.Settings; + getSize(orientation: AuGTK.Orientation): number; + getSizeRequest(width ?: number, height ?: number): void; + getStateFlags(): AuGTK.StateFlags; + getStyleContext(): AuGTK.StyleContext; + getTemplateChild(widgetType: number, name: string): GObject.Object; + getTooltipMarkup(): string; + getTooltipText(): string; + getValign(): AuGTK.Align; + getVexpand(): boolean; + getVexpandSet(): boolean; + getVisible(): boolean; + getWidth(): number; + grabFocus(): boolean; + hasCssClass(cssClass: string): boolean; + hasVisibleFocus(): boolean; + hide(): void; + inDestruction(): boolean; + initTemplate(): void; + insertActionGroup(name: string, group: AuGIO.ActionGroup | undefined | null): void; + insertAfter(parent: AuGTK.Widget, previousSibling: AuGTK.Widget | undefined | null): void; + insertBefore(parent: AuGTK.Widget, nextSibling: AuGTK.Widget | undefined | null): void; + isAncestor(ancestor: AuGTK.Widget): boolean; + isDrawable(): boolean; + isFocus(): boolean; + isSensitive(): boolean; + isVisible(): boolean; + keynavFailed(direction: AuGTK.DirectionType): boolean; + listMnemonicLabels(): AuGTK.Widget[]; + map(): void; + measure(orientation: AuGTK.Orientation, forSize: number, minimum ?: number, natural ?: number, minimumBaseline ?: number, naturalBaseline ?: number): void; + mnemonicActivate(groupCycling: boolean): boolean; + observeChildren(): AuGIO.ListModel; + observeControllers(): AuGIO.ListModel; + pick(x: number, y: number, flags: AuGTK.PickFlags): AuGTK.Widget; + queueAllocate(): void; + queueDraw(): void; + queueResize(): void; + realize(): void; + removeController(controller: AuGTK.EventController): void; + removeCssClass(cssClass: string): void; + removeMnemonicLabel(label: AuGTK.Widget): void; + removeTickCallback(id: number): void; + setCanFocus(canFocus: boolean): void; + setCanTarget(canTarget: boolean): void; + setChildVisible(childVisible: boolean): void; + setCssClasses(classes: string[]): void; + setCursor(cursor: AuGDK.Cursor | undefined | null): void; + setCursorFromName(name: string | undefined | null): void; + setDirection(dir: AuGTK.TextDirection): void; + setFocusChild(child: AuGTK.Widget | undefined | null): void; + setFocusOnClick(focusOnClick: boolean): void; + setFocusable(focusable: boolean): void; + setFontMap(fontMap: AuPango.FontMap | undefined | null): void; + setFontOptions(options: cairo.FontOptions | undefined | null): void; + setHalign(align: AuGTK.Align): void; + setHasTooltip(hasTooltip: boolean): void; + setHexpand(expand: boolean): void; + setHexpandSet(set: boolean): void; + setLayoutManager(layoutManager: AuGTK.LayoutManager | undefined | null): void; + setMarginBottom(margin: number): void; + setMarginEnd(margin: number): void; + setMarginStart(margin: number): void; + setMarginTop(margin: number): void; + setName(name: string): void; + setOpacity(opacity: number): void; + setOverflow(overflow: AuGTK.Overflow): void; + setParent(parent: AuGTK.Widget): void; + setReceivesDefault(receivesDefault: boolean): void; + setSensitive(sensitive: boolean): void; + setSizeRequest(width: number, height: number): void; + setStateFlags(flags: AuGTK.StateFlags, clear: boolean): void; + setTooltipMarkup(markup: string | undefined | null): void; + setTooltipText(text: string | undefined | null): void; + setValign(align: AuGTK.Align): void; + setVexpand(expand: boolean): void; + setVexpandSet(set: boolean): void; + setVisible(visible: boolean): void; + shouldLayout(): boolean; + show(): void; + sizeAllocate(allocation: AuGDK.Rectangle, baseline: number): void; + snapshotChild(child: AuGTK.Widget, snapshot: AuGTK.Snapshot): void; + translateCoordinates(destWidget: AuGTK.Widget, srcX: number, srcY: number, destX ?: number, destY ?: number): boolean; + triggerTooltipQuery(): void; + unmap(): void; + unparent(): void; + unrealize(): void; + unsetStateFlags(flags: AuGTK.StateFlags): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + getAccessibleParent(): AuGTK.Accessible; + getAccessibleRole(): AuGTK.AccessibleRole; + getAtContext(): AuGTK.ATContext; + getBounds(x: number, y: number, width: number, height: number): boolean; + getFirstAccessibleChild(): AuGTK.Accessible; + getNextAccessibleSibling(): AuGTK.Accessible; + getPlatformState(state: AuGTK.AccessiblePlatformState): boolean; + resetProperty(property: AuGTK.AccessibleProperty): void; + resetRelation(relation: AuGTK.AccessibleRelation): void; + resetState(state: AuGTK.AccessibleState): void; + updateProperty(nProperties: number, properties: AuGTK.AccessibleProperty[], values: GObject.Value[]): void; + updateRelation(nRelations: number, relations: AuGTK.AccessibleRelation[], values: GObject.Value[]): void; + updateState(nStates: number, states: AuGTK.AccessibleState[], values: GObject.Value[]): void; + getBuildableId(): string; + } + + class WidgetCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + } + + class WidgetEventListener extends AuGlibEx.IEventListener { + destroy(): void; + directionChanged(previousDirection: AuGTK.TextDirection): void; + hide(): void; + keynavFailed(direction: AuGTK.DirectionType): boolean; + map(): void; + mnemonicActivate(groupCycling: boolean): boolean; + moveFocus(direction: AuGTK.DirectionType): void; + queryTooltip(x: number, y: number, keyboardMode: boolean, tooltip: AuGTK.Tooltip): boolean; + realize(): void; + show(): void; + stateFlagsChanged(flags: AuGTK.StateFlags): void; + unmap(): void; + unrealize(): void; + } + + class WidgetPaintable extends GObject.Object implements AuGDK.Paintable { + constructor(initializerList ?: WidgetPaintableCtor); + + widget : AuGTK.Widget; + + static New(widget: AuGTK.Widget | undefined | null): AuGTK.WidgetPaintable; + getWidget(): AuGTK.Widget; + setWidget(widget: AuGTK.Widget | undefined | null): void; + //TypeScript is complete garbage: + static NewEmpty(intrinsicWidth: number, intrinsicHeight: number): AuGDK.Paintable; + computeConcreteSize(specifiedWidth: number, specifiedHeight: number, defaultWidth: number, defaultHeight: number, concreteWidth: number, concreteHeight: number): void; + getCurrentImage(): AuGDK.Paintable; + getFlags(): AuGDK.PaintableFlags; + getIntrinsicAspectRatio(): number; + getIntrinsicHeight(): number; + getIntrinsicWidth(): number; + invalidateContents(): void; + invalidateSize(): void; + snapshot(snapshot: AuGDK.Snapshot, width: number, height: number): void; + } + + class WidgetPaintableCtor { + widget ?: AuGTK.Widget; + } + + class Window extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Native, AuGTK.Root, AuGTK.ShortcutManager { + constructor(initializerList ?: WindowCtor); + + parentInstance : AuGTK.Widget; + + application : AuGTK.Application; + child : AuGTK.Widget; + decorated : boolean; + defaultHeight : number; + defaultWidget : AuGTK.Widget; + defaultWidth : number; + deletable : boolean; + destroyWithParent : boolean; + display : AuGDK.Display; + focusVisible : boolean; + focusWidget : AuGTK.Widget; + fullscreened : boolean; + handleMenubarAccel : boolean; + hideOnClose : boolean; + iconName : string; + isActive : boolean; + maximized : boolean; + mnemonicsVisible : boolean; + modal : boolean; + resizable : boolean; + startupId : string; + title : string; + titlebar : AuGTK.Widget; + transientFor : AuGTK.Window; + + static New(): AuGTK.Widget; + static GetDefaultIconName(): string; + static GetToplevels(): AuGIO.ListModel; + static ListToplevels(): AuGTK.Widget[]; + static SetAutoStartupNotification(setting: boolean): void; + static SetDefaultIconName(name: string): void; + static SetInteractiveDebugging(enable: boolean): void; + close(): void; + destroy(): void; + fullscreen(): void; + fullscreenOnMonitor(monitor: AuGDK.Monitor): void; + getApplication(): AuGTK.Application; + getChild(): AuGTK.Widget; + getDecorated(): boolean; + getDefaultSize(width ?: number, height ?: number): void; + getDefaultWidget(): AuGTK.Widget; + getDeletable(): boolean; + getDestroyWithParent(): boolean; + getFocus(): AuGTK.Widget; + getFocusVisible(): boolean; + getGroup(): AuGTK.WindowGroup; + getHandleMenubarAccel(): boolean; + getHideOnClose(): boolean; + getIconName(): string; + getMnemonicsVisible(): boolean; + getModal(): boolean; + getResizable(): boolean; + getTitle(): string; + getTitlebar(): AuGTK.Widget; + getTransientFor(): AuGTK.Window; + hasGroup(): boolean; + isFullscreen(): boolean; + isMaximized(): boolean; + maximize(): void; + minimize(): void; + present(): void; + presentWithTime(timestamp: number): void; + setApplication(application: AuGTK.Application | undefined | null): void; + setChild(child: AuGTK.Widget | undefined | null): void; + setDecorated(setting: boolean): void; + setDefaultSize(width: number, height: number): void; + setDefaultWidget(defaultWidget: AuGTK.Widget | undefined | null): void; + setDeletable(setting: boolean): void; + setDestroyWithParent(setting: boolean): void; + setDisplay(display: AuGDK.Display): void; + setFocus(focus: AuGTK.Widget | undefined | null): void; + setFocusVisible(setting: boolean): void; + setHandleMenubarAccel(handleMenubarAccel: boolean): void; + setHideOnClose(setting: boolean): void; + setIconName(name: string | undefined | null): void; + setMnemonicsVisible(setting: boolean): void; + setModal(modal: boolean): void; + setResizable(resizable: boolean): void; + setStartupId(startupId: string): void; + setTitle(title: string | undefined | null): void; + setTitlebar(titlebar: AuGTK.Widget | undefined | null): void; + setTransientFor(parent: AuGTK.Window | undefined | null): void; + unfullscreen(): void; + unmaximize(): void; + unminimize(): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + static GetForSurface(surface: AuGDK.Surface): AuGTK.Native; + getRenderer(): Gsk.Renderer; + getSurface(): AuGDK.Surface; + getSurfaceTransform(x: number, y: number): void; + } + + class WindowCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + title ?: string; + resizable ?: boolean; + modal ?: boolean; + defaultWidth ?: number; + defaultHeight ?: number; + destroyWithParent ?: boolean; + hideOnClose ?: boolean; + iconName ?: string; + display ?: AuGDK.Display; + decorated ?: boolean; + deletable ?: boolean; + transientFor ?: AuGTK.Window; + application ?: AuGTK.Application; + defaultWidget ?: AuGTK.Widget; + focusWidget ?: AuGTK.Widget; + child ?: AuGTK.Widget; + titlebar ?: AuGTK.Widget; + handleMenubarAccel ?: boolean; + isActive ?: boolean; + startupId ?: string; + mnemonicsVisible ?: boolean; + focusVisible ?: boolean; + maximized ?: boolean; + fullscreened ?: boolean; + } + + class WindowEventListener extends AuGlibEx.IEventListener { + activateDefault(): void; + activateFocus(): void; + closeRequest(): boolean; + enableDebugging(toggle: boolean): boolean; + keysChanged(): void; + } + + class WindowControls extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: WindowControlsCtor); + + decorationLayout : string; + empty : boolean; + side : AuGTK.PackType; + + static New(side: AuGTK.PackType): AuGTK.Widget; + getDecorationLayout(): string; + getEmpty(): boolean; + getSide(): AuGTK.PackType; + setDecorationLayout(layout: string | undefined | null): void; + setSide(side: AuGTK.PackType): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class WindowControlsCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + side ?: AuGTK.PackType; + decorationLayout ?: string; + empty ?: boolean; + } + + class WindowGroup extends GObject.Object { + constructor(initializerList ?: WindowGroupCtor); + + parentInstance : GObject.Object; + priv : AuGTK.WindowGroupPrivate; + + static New(): AuGTK.WindowGroup; + addWindow(window: AuGTK.Window): void; + listWindows(): AuGTK.Window[]; + removeWindow(window: AuGTK.Window): void; + //TypeScript is complete garbage: + } + + class WindowGroupCtor { + } + + class WindowHandle extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: WindowHandleCtor); + + child : AuGTK.Widget; + + static New(): AuGTK.Widget; + getChild(): AuGTK.Widget; + setChild(child: AuGTK.Widget | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class WindowHandleCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + child ?: AuGTK.Widget; + } +} \ No newline at end of file diff --git a/GtkSource.d.ts b/GtkSource.d.ts new file mode 100644 index 0000000..0e6b9bb --- /dev/null +++ b/GtkSource.d.ts @@ -0,0 +1,2425 @@ +declare namespace AuGtkSource { + class BackgroundPatternType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": BackgroundPatternType + static readonly "kGrid": BackgroundPatternType + } + + class BracketMatchType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": BracketMatchType + static readonly "kOutOfRange": BracketMatchType + static readonly "kNotFound": BracketMatchType + static readonly "kFound": BracketMatchType + } + + class ChangeCaseType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLower": ChangeCaseType + static readonly "kUpper": ChangeCaseType + static readonly "kToggle": ChangeCaseType + static readonly "kTitle": ChangeCaseType + } + + class CompletionActivation { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": CompletionActivation + static readonly "kInteractive": CompletionActivation + static readonly "kUserRequested": CompletionActivation + } + + class CompletionColumn { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kIcon": CompletionColumn + static readonly "kBefore": CompletionColumn + static readonly "kTypedText": CompletionColumn + static readonly "kAfter": CompletionColumn + static readonly "kComment": CompletionColumn + static readonly "kDetails": CompletionColumn + } + + class CompressionType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": CompressionType + static readonly "kGzip": CompressionType + } + + class FileLoaderError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kTooBig": FileLoaderError + static readonly "kEncodingAutoDetectionFailed": FileLoaderError + static readonly "kConversionFallback": FileLoaderError + } + + class FileSaverError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalidChars": FileSaverError + static readonly "kExternallyModified": FileSaverError + } + + class FileSaverFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": FileSaverFlags + static readonly "kIgnoreInvalidChars": FileSaverFlags + static readonly "kIgnoreModificationTime": FileSaverFlags + static readonly "kCreateBackup": FileSaverFlags + } + + class GutterRendererAlignmentMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCell": GutterRendererAlignmentMode + static readonly "kFirst": GutterRendererAlignmentMode + static readonly "kLast": GutterRendererAlignmentMode + } + + class NewlineType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLf": NewlineType + static readonly "kCr": NewlineType + static readonly "kCrLf": NewlineType + } + + class SmartHomeEndType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDisabled": SmartHomeEndType + static readonly "kBefore": SmartHomeEndType + static readonly "kAfter": SmartHomeEndType + static readonly "kAlways": SmartHomeEndType + } + + class SortFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SortFlags + static readonly "kCaseSensitive": SortFlags + static readonly "kReverseOrder": SortFlags + static readonly "kRemoveDuplicates": SortFlags + } + + class SpaceLocationFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SpaceLocationFlags + static readonly "kLeading": SpaceLocationFlags + static readonly "kInsideText": SpaceLocationFlags + static readonly "kTrailing": SpaceLocationFlags + static readonly "kAll": SpaceLocationFlags + } + + class SpaceTypeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": SpaceTypeFlags + static readonly "kSpace": SpaceTypeFlags + static readonly "kTab": SpaceTypeFlags + static readonly "kNewline": SpaceTypeFlags + static readonly "kNbsp": SpaceTypeFlags + static readonly "kAll": SpaceTypeFlags + } + + class ViewGutterPosition { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLines": ViewGutterPosition + static readonly "kMarks": ViewGutterPosition + } + + + class CompletionProposal { + getTypedText(): string; + } + + class CompletionProvider { + activate(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal): void; + display(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal, cell: AuGtkSource.CompletionCell): void; + getPriority(context: AuGtkSource.CompletionContext): number; + getTitle(): string; + isTrigger(iter: AuGTK.TextIter, ch: string): boolean; + keyActivates(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal, keyval: number, state: AuGDK.ModifierType): boolean; + listAlternates(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal): AuGtkSource.CompletionProposal[]; + populateAsync(context: AuGtkSource.CompletionContext, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + populateFinish(result: AuGIO.AsyncResult): AuGIO.ListModel; + refilter(context: AuGtkSource.CompletionContext, model: AuGIO.ListModel): void; + } + + class HoverProvider { + populateAsync(context: AuGtkSource.HoverContext, display: AuGtkSource.HoverDisplay, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + populateFinish(result: AuGIO.AsyncResult): boolean; + } + + class Indenter { + indent(view: AuGtkSource.View, iter: AuGTK.TextIter): void; + isTrigger(view: AuGtkSource.View, location: AuGTK.TextIter, state: AuGDK.ModifierType, keyval: number): boolean; + } + + class StyleSchemeChooser { + styleScheme : AuGtkSource.StyleScheme; + + getStyleScheme(): AuGtkSource.StyleScheme; + setStyleScheme(scheme: AuGtkSource.StyleScheme): void; + } + + + class BufferClass { + parentClass : AuGTK.TextBufferClass; + bracketMatched : (buffer: AuGtkSource.Buffer, iter: AuGTK.TextIter, state: AuGtkSource.BracketMatchType) => void; + + } + + class CompletionCellClass { + parentClass : AuGTK.WidgetClass; + + } + + class CompletionClass { + parentClass : GObject.ObjectClass; + + } + + class CompletionContextClass { + parentClass : GObject.ObjectClass; + + } + + class CompletionProposalInterface { + parentIface : GObject.TypeInterface; + getTypedText : (proposal: AuGtkSource.CompletionProposal) => string; + + } + + class CompletionProviderInterface { + parentIface : GObject.TypeInterface; + getTitle : (self: AuGtkSource.CompletionProvider) => string; + getPriority : (self: AuGtkSource.CompletionProvider, context: AuGtkSource.CompletionContext) => number; + isTrigger : (self: AuGtkSource.CompletionProvider, iter: AuGTK.TextIter, ch: string) => boolean; + keyActivates : (self: AuGtkSource.CompletionProvider, context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal, keyval: number, state: AuGDK.ModifierType) => boolean; + populate : void; + populateAsync : (self: AuGtkSource.CompletionProvider, context: AuGtkSource.CompletionContext, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + populateFinish : (self: AuGtkSource.CompletionProvider, result: AuGIO.AsyncResult) => AuGIO.ListModel; + refilter : (self: AuGtkSource.CompletionProvider, context: AuGtkSource.CompletionContext, model: AuGIO.ListModel) => void; + display : (self: AuGtkSource.CompletionProvider, context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal, cell: AuGtkSource.CompletionCell) => void; + activate : (self: AuGtkSource.CompletionProvider, context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal) => void; + listAlternates : (self: AuGtkSource.CompletionProvider, context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal) => AuGtkSource.CompletionProposal[]; + + } + + class CompletionSnippetsClass { + parentClass : GObject.ObjectClass; + + } + + class CompletionWordsClass { + parentClass : GObject.ObjectClass; + + } + + class Encoding { + copy(): AuGtkSource.Encoding; + free(): void; + getCharset(): string; + getName(): string; + static GetAll(): AuGtkSource.Encoding[]; + static GetCurrent(): AuGtkSource.Encoding; + static GetDefaultCandidates(): AuGtkSource.Encoding[]; + static GetFromCharset(charset: string): AuGtkSource.Encoding; + static GetUtf8(): AuGtkSource.Encoding; + } + + class FileClass { + parentClass : GObject.ObjectClass; + + } + + class FileLoaderClass { + parentClass : GObject.ObjectClass; + + } + + class FileSaverClass { + parentClass : GObject.ObjectClass; + + } + + class GutterClass { + parentClass : AuGTK.WidgetClass; + + } + + class GutterLinesClass { + parentClass : GObject.ObjectClass; + + } + + class GutterRendererClass { + parentClass : AuGTK.WidgetClass; + queryData : (renderer: AuGtkSource.GutterRenderer, lines: AuGtkSource.GutterLines, line: number) => void; + begin : (renderer: AuGtkSource.GutterRenderer, lines: AuGtkSource.GutterLines) => void; + snapshotLine : (renderer: AuGtkSource.GutterRenderer, snapshot: AuGTK.Snapshot, lines: AuGtkSource.GutterLines, line: number) => void; + end : (renderer: AuGtkSource.GutterRenderer) => void; + changeView : (renderer: AuGtkSource.GutterRenderer, oldView: AuGtkSource.View | undefined | null) => void; + changeBuffer : (renderer: AuGtkSource.GutterRenderer, oldBuffer: AuGtkSource.Buffer | undefined | null) => void; + queryActivatable : (renderer: AuGtkSource.GutterRenderer, iter: AuGTK.TextIter, area: AuGDK.Rectangle) => boolean; + activate : (renderer: AuGtkSource.GutterRenderer, iter: AuGTK.TextIter, area: AuGDK.Rectangle, button: number, state: AuGDK.ModifierType, nPresses: number) => void; + + } + + class GutterRendererPixbufClass { + parentClass : AuGtkSource.GutterRendererClass; + + } + + class GutterRendererTextClass { + parentClass : AuGtkSource.GutterRendererClass; + + } + + class HoverClass { + parentClass : GObject.ObjectClass; + + } + + class HoverContextClass { + parentClass : GObject.ObjectClass; + + } + + class HoverDisplayClass { + parentClass : AuGTK.WidgetClass; + + } + + class HoverProviderInterface { + parentIface : GObject.TypeInterface; + populate : (self: AuGtkSource.HoverProvider, context: AuGtkSource.HoverContext, display: AuGtkSource.HoverDisplay) => boolean; + populateAsync : (self: AuGtkSource.HoverProvider, context: AuGtkSource.HoverContext, display: AuGtkSource.HoverDisplay, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void; + populateFinish : (self: AuGtkSource.HoverProvider, result: AuGIO.AsyncResult) => boolean; + + } + + class IndenterInterface { + parentIface : GObject.TypeInterface; + isTrigger : (self: AuGtkSource.Indenter, view: AuGtkSource.View, location: AuGTK.TextIter, state: AuGDK.ModifierType, keyval: number) => boolean; + indent : (self: AuGtkSource.Indenter, view: AuGtkSource.View, iter: AuGTK.TextIter) => void; + + } + + class LanguageClass { + parentClass : GObject.ObjectClass; + + } + + class LanguageManagerClass { + parentClass : GObject.ObjectClass; + + } + + class MapClass { + parentClass : AuGtkSource.ViewClass; + + } + + class MarkAttributesClass { + parentClass : GObject.ObjectClass; + + } + + class MarkClass { + parentClass : AuGTK.TextMarkClass; + + } + + class PrintCompositorClass { + parentClass : GObject.ObjectClass; + + } + + class RegionClass { + parentClass : GObject.ObjectClass; + + } + + class RegionIter { + dummy1 : void; + dummy2 : number; + dummy3 : void; + + getSubregion(start ?: AuGTK.TextIter, end ?: AuGTK.TextIter): boolean; + isEnd(): boolean; + next(): boolean; + } + + class SearchContextClass { + parentClass : GObject.ObjectClass; + + } + + class SearchSettingsClass { + parentClass : GObject.ObjectClass; + + } + + class SnippetChunkClass { + parentClass : GObject.InitiallyUnownedClass; + + } + + class SnippetClass { + parentClass : GObject.ObjectClass; + + } + + class SnippetContextClass { + parentClass : GObject.ObjectClass; + + } + + class SnippetManagerClass { + parentClass : GObject.ObjectClass; + + } + + class SpaceDrawerClass { + parentClass : GObject.ObjectClass; + + } + + class StyleClass { + parentClass : GObject.ObjectClass; + + } + + class StyleSchemeChooserButtonClass { + parent : AuGTK.ButtonClass; + + } + + class StyleSchemeChooserInterface { + baseInterface : GObject.TypeInterface; + getStyleScheme : (chooser: AuGtkSource.StyleSchemeChooser) => AuGtkSource.StyleScheme; + setStyleScheme : (chooser: AuGtkSource.StyleSchemeChooser, scheme: AuGtkSource.StyleScheme) => void; + + } + + class StyleSchemeChooserWidgetClass { + parent : AuGTK.WidgetClass; + + } + + class StyleSchemeClass { + parentClass : GObject.ObjectClass; + + } + + class StyleSchemeManagerClass { + parentClass : GObject.ObjectClass; + + } + + class StyleSchemePreviewClass { + parentClass : AuGTK.WidgetClass; + + } + + class TagClass { + parentClass : AuGTK.TextTagClass; + + } + + class ViewClass { + parentClass : AuGTK.TextViewClass; + lineMarkActivated : (view: AuGtkSource.View, iter: AuGTK.TextIter, button: number, state: AuGDK.ModifierType, nPresses: number) => void; + showCompletion : (view: AuGtkSource.View) => void; + moveLines : (view: AuGtkSource.View, down: boolean) => void; + moveWords : (view: AuGtkSource.View, step: number) => void; + pushSnippet : (view: AuGtkSource.View, snippet: AuGtkSource.Snippet, location: AuGTK.TextIter | undefined | null) => void; + + } + + class VimIMContextClass { + parentClass : AuGTK.IMContextClass; + + } + + + class Buffer extends AuGTK.TextBuffer { + constructor(initializerList ?: BufferCtor); + + parentInstance : AuGTK.TextBuffer; + + highlightMatchingBrackets : boolean; + highlightSyntax : boolean; + implicitTrailingNewline : boolean; + language : AuGtkSource.Language; + styleScheme : AuGtkSource.StyleScheme; + + static NewWithLanguage(language: AuGtkSource.Language): AuGtkSource.Buffer; + backwardIterToSourceMark(iter: AuGTK.TextIter, category: string | undefined | null): boolean; + changeCase(caseType: AuGtkSource.ChangeCaseType, start: AuGTK.TextIter, end: AuGTK.TextIter): void; + createSourceMark(name: string | undefined | null, category: string, where: AuGTK.TextIter): AuGtkSource.Mark; + ensureHighlight(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + forwardIterToSourceMark(iter: AuGTK.TextIter, category: string | undefined | null): boolean; + getContextClassesAtIter(iter: AuGTK.TextIter): string[]; + getHighlightMatchingBrackets(): boolean; + getHighlightSyntax(): boolean; + getImplicitTrailingNewline(): boolean; + getLanguage(): AuGtkSource.Language; + getSourceMarksAtIter(iter: AuGTK.TextIter, category: string | undefined | null): AuGtkSource.Mark[]; + getSourceMarksAtLine(line: number, category: string | undefined | null): AuGtkSource.Mark[]; + getStyleScheme(): AuGtkSource.StyleScheme; + iterBackwardToContextClassToggle(iter: AuGTK.TextIter, contextClass: string): boolean; + iterForwardToContextClassToggle(iter: AuGTK.TextIter, contextClass: string): boolean; + iterHasContextClass(iter: AuGTK.TextIter, contextClass: string): boolean; + joinLines(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + removeSourceMarks(start: AuGTK.TextIter, end: AuGTK.TextIter, category: string | undefined | null): void; + setHighlightMatchingBrackets(highlight: boolean): void; + setHighlightSyntax(highlight: boolean): void; + setImplicitTrailingNewline(implicitTrailingNewline: boolean): void; + setLanguage(language: AuGtkSource.Language | undefined | null): void; + setStyleScheme(scheme: AuGtkSource.StyleScheme | undefined | null): void; + sortLines(start: AuGTK.TextIter, end: AuGTK.TextIter, flags: AuGtkSource.SortFlags, column: number): void; + //TypeScript is complete garbage: + } + + class BufferCtor { + tagTable ?: AuGTK.TextTagTable; + text ?: string; + hasSelection ?: boolean; + cursorPosition ?: number; + canUndo ?: boolean; + canRedo ?: boolean; + enableUndo ?: boolean; + highlightMatchingBrackets ?: boolean; + highlightSyntax ?: boolean; + implicitTrailingNewline ?: boolean; + language ?: AuGtkSource.Language; + styleScheme ?: AuGtkSource.StyleScheme; + } + + class BufferEventListener extends AuGlibEx.IEventListener { + bracketMatched(iter: AuGTK.TextIter | undefined | null, state: AuGtkSource.BracketMatchType): void; + cursorMoved(): void; + highlightUpdated(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + sourceMarkUpdated(mark: AuGTK.TextMark): void; + } + + class Completion extends GObject.Object { + constructor(initializerList ?: CompletionCtor); + + buffer : AuGTK.TextView; + pageSize : number; + rememberInfoVisibility : boolean; + selectOnShow : boolean; + showIcons : boolean; + view : AuGtkSource.View; + + static FuzzyHighlight(haystack: string, casefoldQuery: string): AuPango.AttrList; + static FuzzyMatch(haystack: string | undefined | null, casefoldNeedle: string, priority ?: number): boolean; + addProvider(provider: AuGtkSource.CompletionProvider): void; + blockInteractive(): void; + getBuffer(): AuGtkSource.Buffer; + getPageSize(): number; + getView(): AuGtkSource.View; + hide(): void; + removeProvider(provider: AuGtkSource.CompletionProvider): void; + setPageSize(pageSize: number): void; + show(): void; + unblockInteractive(): void; + //TypeScript is complete garbage: + } + + class CompletionCtor { + buffer ?: AuGTK.TextView; + pageSize ?: number; + rememberInfoVisibility ?: boolean; + selectOnShow ?: boolean; + showIcons ?: boolean; + view ?: AuGtkSource.View; + } + + class CompletionEventListener extends AuGlibEx.IEventListener { + hide(): void; + providerAdded(provider: AuGtkSource.CompletionProvider): void; + providerRemoved(provider: AuGtkSource.CompletionProvider): void; + show(): void; + } + + class CompletionCell extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: CompletionCellCtor); + + column : AuGtkSource.CompletionColumn; + markup : string; + paintable : AuGDK.Paintable; + text : string; + widget : AuGTK.Widget; + + getColumn(): AuGtkSource.CompletionColumn; + getWidget(): AuGTK.Widget; + setGicon(gicon: AuGIO.Icon): void; + setIconName(iconName: string): void; + setMarkup(markup: string): void; + setPaintable(paintable: AuGDK.Paintable): void; + setText(text: string | undefined | null): void; + setTextWithAttributes(text: string, attrs: AuPango.AttrList): void; + setWidget(child: AuGTK.Widget): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class CompletionCellCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + column ?: AuGtkSource.CompletionColumn; + markup ?: string; + paintable ?: AuGDK.Paintable; + text ?: string; + widget ?: AuGTK.Widget; + } + + class CompletionContext extends GObject.Object implements AuGIO.ListModel { + constructor(initializerList ?: CompletionContextCtor); + + busy : boolean; + completion : AuGtkSource.Completion; + empty : boolean; + + getActivation(): AuGtkSource.CompletionActivation; + getBounds(begin ?: AuGTK.TextIter, end ?: AuGTK.TextIter): boolean; + getBuffer(): AuGtkSource.Buffer; + getBusy(): boolean; + getCompletion(): AuGtkSource.Completion; + getEmpty(): boolean; + getLanguage(): AuGtkSource.Language; + getProposalsForProvider(provider: AuGtkSource.CompletionProvider): AuGIO.ListModel; + getView(): AuGtkSource.View; + getWord(): string; + listProviders(): AuGIO.ListModel; + setProposalsForProvider(provider: AuGtkSource.CompletionProvider, results: AuGIO.ListModel | undefined | null): void; + //TypeScript is complete garbage: + getItemType(): number; + getNItems(): number; + getItem(position: number): GObject.Object; + itemsChanged(position: number, removed: number, added: number): void; + } + + class CompletionContextCtor { + busy ?: boolean; + completion ?: AuGtkSource.Completion; + empty ?: boolean; + } + + class CompletionContextEventListener extends AuGlibEx.IEventListener { + providerModelChanged(provider: AuGtkSource.CompletionProvider, model: AuGIO.ListModel | undefined | null): void; + } + + class CompletionSnippets extends GObject.Object implements AuGtkSource.CompletionProvider { + constructor(initializerList ?: CompletionSnippetsCtor); + + parentInstance : GObject.Object; + + priority : number; + title : string; + + static New(): AuGtkSource.CompletionSnippets; + //TypeScript is complete garbage: + activate(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal): void; + display(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal, cell: AuGtkSource.CompletionCell): void; + getPriority(context: AuGtkSource.CompletionContext): number; + getTitle(): string; + isTrigger(iter: AuGTK.TextIter, ch: string): boolean; + keyActivates(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal, keyval: number, state: AuGDK.ModifierType): boolean; + listAlternates(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal): AuGtkSource.CompletionProposal[]; + populateAsync(context: AuGtkSource.CompletionContext, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + populateFinish(result: AuGIO.AsyncResult): AuGIO.ListModel; + refilter(context: AuGtkSource.CompletionContext, model: AuGIO.ListModel): void; + } + + class CompletionSnippetsCtor { + title ?: string; + priority ?: number; + } + + class CompletionWords extends GObject.Object implements AuGtkSource.CompletionProvider { + constructor(initializerList ?: CompletionWordsCtor); + + parentInstance : GObject.Object; + + minimumWordSize : number; + priority : number; + proposalsBatchSize : number; + scanBatchSize : number; + title : string; + + static New(title: string | undefined | null): AuGtkSource.CompletionWords; + register(buffer: AuGTK.TextBuffer): void; + unregister(buffer: AuGTK.TextBuffer): void; + //TypeScript is complete garbage: + activate(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal): void; + display(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal, cell: AuGtkSource.CompletionCell): void; + getPriority(context: AuGtkSource.CompletionContext): number; + getTitle(): string; + isTrigger(iter: AuGTK.TextIter, ch: string): boolean; + keyActivates(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal, keyval: number, state: AuGDK.ModifierType): boolean; + listAlternates(context: AuGtkSource.CompletionContext, proposal: AuGtkSource.CompletionProposal): AuGtkSource.CompletionProposal[]; + populateAsync(context: AuGtkSource.CompletionContext, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + populateFinish(result: AuGIO.AsyncResult): AuGIO.ListModel; + refilter(context: AuGtkSource.CompletionContext, model: AuGIO.ListModel): void; + } + + class CompletionWordsCtor { + title ?: string; + proposalsBatchSize ?: number; + scanBatchSize ?: number; + minimumWordSize ?: number; + priority ?: number; + } + + class File extends GObject.Object { + constructor(initializerList ?: FileCtor); + + parentInstance : GObject.Object; + + compressionType : AuGtkSource.CompressionType; + encoding : AuGtkSource.Encoding; + location : AuGIO.File; + newlineType : AuGtkSource.NewlineType; + readOnly : boolean; + + static New(): AuGtkSource.File; + checkFileOnDisk(): void; + getCompressionType(): AuGtkSource.CompressionType; + getEncoding(): AuGtkSource.Encoding; + getLocation(): AuGIO.File; + getNewlineType(): AuGtkSource.NewlineType; + isDeleted(): boolean; + isExternallyModified(): boolean; + isLocal(): boolean; + isReadonly(): boolean; + setLocation(location: AuGIO.File | undefined | null): void; + //TypeScript is complete garbage: + } + + class FileCtor { + location ?: AuGIO.File; + encoding ?: AuGtkSource.Encoding; + newlineType ?: AuGtkSource.NewlineType; + compressionType ?: AuGtkSource.CompressionType; + readOnly ?: boolean; + } + + class FileLoader extends GObject.Object { + constructor(initializerList ?: FileLoaderCtor); + + buffer : AuGtkSource.Buffer; + file : AuGtkSource.File; + inputStream : AuGIO.InputStream; + location : AuGIO.File; + + static New(buffer: AuGtkSource.Buffer, file: AuGtkSource.File): AuGtkSource.FileLoader; + static NewFromStream(buffer: AuGtkSource.Buffer, file: AuGtkSource.File, stream: AuGIO.InputStream): AuGtkSource.FileLoader; + getBuffer(): AuGtkSource.Buffer; + getCompressionType(): AuGtkSource.CompressionType; + getEncoding(): AuGtkSource.Encoding; + getFile(): AuGtkSource.File; + getInputStream(): AuGIO.InputStream; + getLocation(): AuGIO.File; + getNewlineType(): AuGtkSource.NewlineType; + loadAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null, progressCallbackNotify: () => void | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + loadFinish(result: AuGIO.AsyncResult): boolean; + setCandidateEncodings(candidateEncodings: AuGtkSource.Encoding[]): void; + //TypeScript is complete garbage: + } + + class FileLoaderCtor { + buffer ?: AuGtkSource.Buffer; + file ?: AuGtkSource.File; + location ?: AuGIO.File; + inputStream ?: AuGIO.InputStream; + } + + class FileSaver extends GObject.Object { + constructor(initializerList ?: FileSaverCtor); + + buffer : AuGtkSource.Buffer; + compressionType : AuGtkSource.CompressionType; + encoding : AuGtkSource.Encoding; + file : AuGtkSource.File; + flags : AuGtkSource.FileSaverFlags; + location : AuGIO.File; + newlineType : AuGtkSource.NewlineType; + + static New(buffer: AuGtkSource.Buffer, file: AuGtkSource.File): AuGtkSource.FileSaver; + static NewWithTarget(buffer: AuGtkSource.Buffer, file: AuGtkSource.File, targetLocation: AuGIO.File): AuGtkSource.FileSaver; + getBuffer(): AuGtkSource.Buffer; + getCompressionType(): AuGtkSource.CompressionType; + getEncoding(): AuGtkSource.Encoding; + getFile(): AuGtkSource.File; + getFlags(): AuGtkSource.FileSaverFlags; + getLocation(): AuGIO.File; + getNewlineType(): AuGtkSource.NewlineType; + saveAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null, progressCallbackNotify: () => void | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + saveFinish(result: AuGIO.AsyncResult): boolean; + setCompressionType(compressionType: AuGtkSource.CompressionType): void; + setEncoding(encoding: AuGtkSource.Encoding | undefined | null): void; + setFlags(flags: AuGtkSource.FileSaverFlags): void; + setNewlineType(newlineType: AuGtkSource.NewlineType): void; + //TypeScript is complete garbage: + } + + class FileSaverCtor { + buffer ?: AuGtkSource.Buffer; + file ?: AuGtkSource.File; + location ?: AuGIO.File; + encoding ?: AuGtkSource.Encoding; + newlineType ?: AuGtkSource.NewlineType; + compressionType ?: AuGtkSource.CompressionType; + flags ?: AuGtkSource.FileSaverFlags; + } + + class Gutter extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: GutterCtor); + + view : AuGtkSource.View; + windowType : AuGTK.TextWindowType; + + getView(): AuGtkSource.View; + insert(renderer: AuGtkSource.GutterRenderer, position: number): boolean; + remove(renderer: AuGtkSource.GutterRenderer): void; + reorder(renderer: AuGtkSource.GutterRenderer, position: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class GutterCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + view ?: AuGtkSource.View; + windowType ?: AuGTK.TextWindowType; + } + + class GutterLines extends GObject.Object { + constructor(initializerList ?: GutterLinesCtor); + + addClass(line: number, name: string): void; + addQclass(line: number, qname: number): void; + getBuffer(): AuGTK.TextBuffer; + getFirst(): number; + getIterAtLine(iter: AuGTK.TextIter, line: number): void; + getLast(): number; + getLineYRange(line: number, mode: AuGtkSource.GutterRendererAlignmentMode, y: number, height: number): void; + getView(): AuGTK.TextView; + hasAnyClass(line: number): boolean; + hasClass(line: number, name: string): boolean; + hasQclass(line: number, qname: number): boolean; + isCursor(line: number): boolean; + isPrelit(line: number): boolean; + isSelected(line: number): boolean; + removeClass(line: number, name: string): void; + removeQclass(line: number, qname: number): void; + //TypeScript is complete garbage: + } + + class GutterLinesCtor { + } + + class GutterRenderer extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: GutterRendererCtor); + + + alignmentMode : AuGtkSource.GutterRendererAlignmentMode; + lines : AuGtkSource.GutterLines; + view : AuGTK.TextView; + XAlign : number; + XPad : number; + YAlign : number; + YPad : number; + + alignCell(line: number, width: number, height: number, x: number, y: number): void; + getAlignmentMode(): AuGtkSource.GutterRendererAlignmentMode; + getBuffer(): AuGtkSource.Buffer; + getView(): AuGtkSource.View; + getXAlign(): number; + getXPad(): number; + getYAlign(): number; + getYPad(): number; + queryActivatable(iter: AuGTK.TextIter, area: AuGDK.Rectangle): boolean; + setAlignmentMode(mode: AuGtkSource.GutterRendererAlignmentMode): void; + setXAlign(XAlign: number): void; + setXPad(XPad: number): void; + setYAlign(YAlign: number): void; + setYPad(YPad: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class GutterRendererCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + alignmentMode ?: AuGtkSource.GutterRendererAlignmentMode; + lines ?: AuGtkSource.GutterLines; + view ?: AuGTK.TextView; + XAlign ?: number; + XPad ?: number; + YAlign ?: number; + YPad ?: number; + } + + class GutterRendererEventListener extends AuGlibEx.IEventListener { + queryActivatable(iter: AuGTK.TextIter, area: AuGDK.Rectangle): boolean; + queryData(object: GObject.Object, p0: number): void; + } + + class GutterRendererPixbuf extends AuGtkSource.GutterRenderer implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: GutterRendererPixbufCtor); + + parentInstance : AuGtkSource.GutterRenderer; + + gicon : AuGIO.Icon; + iconName : string; + paintable : AuGDK.Paintable; + pixbuf : AuGDKPixBuf.Pixbuf; + + static New(): AuGtkSource.GutterRenderer; + getGicon(): AuGIO.Icon; + getIconName(): string; + getPaintable(): AuGDK.Paintable; + getPixbuf(): AuGDKPixBuf.Pixbuf; + overlayPaintable(paintable: AuGDK.Paintable): void; + setGicon(icon: AuGIO.Icon | undefined | null): void; + setIconName(iconName: string | undefined | null): void; + setPaintable(paintable: AuGDK.Paintable | undefined | null): void; + setPixbuf(pixbuf: AuGDKPixBuf.Pixbuf | undefined | null): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class GutterRendererPixbufCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + alignmentMode ?: AuGtkSource.GutterRendererAlignmentMode; + lines ?: AuGtkSource.GutterLines; + view ?: AuGTK.TextView; + XAlign ?: number; + XPad ?: number; + YAlign ?: number; + YPad ?: number; + pixbuf ?: AuGDKPixBuf.Pixbuf; + iconName ?: string; + gicon ?: AuGIO.Icon; + paintable ?: AuGDK.Paintable; + } + + class GutterRendererText extends AuGtkSource.GutterRenderer implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: GutterRendererTextCtor); + + parentInstance : AuGtkSource.GutterRenderer; + + markup : string; + text : string; + + static New(): AuGtkSource.GutterRenderer; + measureMarkup(markup: string, width ?: number, height ?: number): void; + setMarkup(markup: string, length: number): void; + setText(text: string, length: number): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class GutterRendererTextCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + alignmentMode ?: AuGtkSource.GutterRendererAlignmentMode; + lines ?: AuGtkSource.GutterLines; + view ?: AuGTK.TextView; + XAlign ?: number; + XPad ?: number; + YAlign ?: number; + YPad ?: number; + markup ?: string; + text ?: string; + } + + class Hover extends GObject.Object { + constructor(initializerList ?: HoverCtor); + + hoverDelay : number; + + addProvider(provider: AuGtkSource.HoverProvider): void; + removeProvider(provider: AuGtkSource.HoverProvider): void; + //TypeScript is complete garbage: + } + + class HoverCtor { + hoverDelay ?: number; + } + + class HoverContext extends GObject.Object { + constructor(initializerList ?: HoverContextCtor); + + getBounds(begin ?: AuGTK.TextIter, end ?: AuGTK.TextIter): boolean; + getBuffer(): AuGtkSource.Buffer; + getIter(iter: AuGTK.TextIter): boolean; + getView(): AuGtkSource.View; + //TypeScript is complete garbage: + } + + class HoverContextCtor { + } + + class HoverDisplay extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: HoverDisplayCtor); + + append(child: AuGTK.Widget): void; + prepend(child: AuGTK.Widget): void; + remove(child: AuGTK.Widget): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + } + + class HoverDisplayCtor { + accessibleRole ?: AuGTK.AccessibleRole; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + } + + class Language extends GObject.Object { + constructor(initializerList ?: LanguageCtor); + + hidden : boolean; + id : string; + name : string; + section : string; + + getGlobs(): string[]; + getHidden(): boolean; + getId(): string; + getMetadata(name: string): string; + getMimeTypes(): string[]; + getName(): string; + getSection(): string; + getStyleFallback(styleId: string): string; + getStyleIds(): string[]; + getStyleName(styleId: string): string; + //TypeScript is complete garbage: + } + + class LanguageCtor { + id ?: string; + name ?: string; + section ?: string; + hidden ?: boolean; + } + + class LanguageManager extends GObject.Object { + constructor(initializerList ?: LanguageManagerCtor); + + languageIds : string[]; + searchPath : string[]; + + static New(): AuGtkSource.LanguageManager; + static GetDefault(): AuGtkSource.LanguageManager; + appendSearchPath(path: string): void; + getLanguage(id: string): AuGtkSource.Language; + getLanguageIds(): string[]; + getSearchPath(): string[]; + guessLanguage(filename: string | undefined | null, contentType: string | undefined | null): AuGtkSource.Language; + prependSearchPath(path: string): void; + setSearchPath(dirs: string[] | undefined | null): void; + //TypeScript is complete garbage: + } + + class LanguageManagerCtor { + searchPath ?: any; + languageIds ?: any; + } + + class Map extends AuGtkSource.View implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Scrollable { + constructor(initializerList ?: MapCtor); + + parentInstance : AuGtkSource.View; + + fontDesc : AuPango.FontDescription; + view : AuGtkSource.View; + + getView(): AuGtkSource.View; + setView(view: AuGtkSource.View): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + } + + class MapCtor { + accessibleRole ?: AuGTK.AccessibleRole; + hadjustment ?: AuGTK.Adjustment; + hscrollPolicy ?: AuGTK.ScrollablePolicy; + vadjustment ?: AuGTK.Adjustment; + vscrollPolicy ?: AuGTK.ScrollablePolicy; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + pixelsAboveLines ?: number; + pixelsBelowLines ?: number; + pixelsInsideWrap ?: number; + editable ?: boolean; + wrapMode ?: AuGTK.WrapMode; + justification ?: AuGTK.Justification; + leftMargin ?: number; + rightMargin ?: number; + topMargin ?: number; + bottomMargin ?: number; + indent ?: number; + tabs ?: AuPango.TabArray; + cursorVisible ?: boolean; + buffer ?: AuGTK.TextBuffer; + overwrite ?: boolean; + acceptsTab ?: boolean; + imModule ?: string; + inputPurpose ?: AuGTK.InputPurpose; + inputHints ?: AuGTK.InputHints; + monospace ?: boolean; + extraMenu ?: AuGIO.MenuModel; + autoIndent ?: boolean; + backgroundPattern ?: AuGtkSource.BackgroundPatternType; + completion ?: AuGtkSource.Completion; + enableSnippets ?: boolean; + highlightCurrentLine ?: boolean; + indentOnTab ?: boolean; + indentWidth ?: number; + indenter ?: AuGtkSource.Indenter; + insertSpacesInsteadOfTabs ?: boolean; + rightMarginPosition ?: number; + showLineMarks ?: boolean; + showLineNumbers ?: boolean; + showRightMargin ?: boolean; + smartBackspace ?: boolean; + smartHomeEnd ?: AuGtkSource.SmartHomeEndType; + spaceDrawer ?: AuGtkSource.SpaceDrawer; + tabWidth ?: number; + view ?: AuGtkSource.View; + fontDesc ?: AuPango.FontDescription; + } + + class Mark extends AuGTK.TextMark { + constructor(initializerList ?: MarkCtor); + + parentInstance : AuGTK.TextMark; + + category : string; + + getCategory(): string; + next(category: string | undefined | null): AuGtkSource.Mark; + prev(category: string): AuGtkSource.Mark; + //TypeScript is complete garbage: + } + + class MarkCtor { + name ?: string; + leftGravity ?: boolean; + category ?: string; + } + + class MarkAttributes extends GObject.Object { + constructor(initializerList ?: MarkAttributesCtor); + + background : AuGDK.RGBA; + gicon : AuGIO.Icon; + iconName : string; + pixbuf : AuGDKPixBuf.Pixbuf; + + static New(): AuGtkSource.MarkAttributes; + getBackground(background: AuGDK.RGBA): boolean; + getGicon(): AuGIO.Icon; + getIconName(): string; + getPixbuf(): AuGDKPixBuf.Pixbuf; + getTooltipMarkup(mark: AuGtkSource.Mark): string; + getTooltipText(mark: AuGtkSource.Mark): string; + renderIcon(widget: AuGTK.Widget, size: number): AuGDK.Paintable; + setBackground(background: AuGDK.RGBA): void; + setGicon(gicon: AuGIO.Icon): void; + setIconName(iconName: string): void; + setPixbuf(pixbuf: AuGDKPixBuf.Pixbuf): void; + //TypeScript is complete garbage: + } + + class MarkAttributesCtor { + background ?: AuGDK.RGBA; + pixbuf ?: AuGDKPixBuf.Pixbuf; + iconName ?: string; + gicon ?: AuGIO.Icon; + } + + class MarkAttributesEventListener extends AuGlibEx.IEventListener { + queryTooltipMarkup(mark: AuGtkSource.Mark): string; + queryTooltipText(mark: AuGtkSource.Mark): string; + } + + class PrintCompositor extends GObject.Object { + constructor(initializerList ?: PrintCompositorCtor); + + parentInstance : GObject.Object; + + bodyFontName : string; + buffer : AuGtkSource.Buffer; + footerFontName : string; + headerFontName : string; + highlightSyntax : boolean; + lineNumbersFontName : string; + nPages : number; + printFooter : boolean; + printHeader : boolean; + printLineNumbers : number; + tabWidth : number; + wrapMode : AuGTK.WrapMode; + + static New(buffer: AuGtkSource.Buffer): AuGtkSource.PrintCompositor; + static NewFromView(view: AuGtkSource.View): AuGtkSource.PrintCompositor; + drawPage(context: AuGTK.PrintContext, pageNr: number): void; + getBodyFontName(): string; + getBottomMargin(unit: AuGTK.Unit): number; + getBuffer(): AuGtkSource.Buffer; + getFooterFontName(): string; + getHeaderFontName(): string; + getHighlightSyntax(): boolean; + getLeftMargin(unit: AuGTK.Unit): number; + getLineNumbersFontName(): string; + getNPages(): number; + getPaginationProgress(): number; + getPrintFooter(): boolean; + getPrintHeader(): boolean; + getPrintLineNumbers(): number; + getRightMargin(unit: AuGTK.Unit): number; + getTabWidth(): number; + getTopMargin(unit: AuGTK.Unit): number; + getWrapMode(): AuGTK.WrapMode; + ignoreTag(tag: AuGTK.TextTag): void; + paginate(context: AuGTK.PrintContext): boolean; + setBodyFontName(fontName: string): void; + setBottomMargin(margin: number, unit: AuGTK.Unit): void; + setFooterFontName(fontName: string | undefined | null): void; + setFooterFormat(separator: boolean, left: string | undefined | null, center: string | undefined | null, right: string | undefined | null): void; + setHeaderFontName(fontName: string | undefined | null): void; + setHeaderFormat(separator: boolean, left: string | undefined | null, center: string | undefined | null, right: string | undefined | null): void; + setHighlightSyntax(highlight: boolean): void; + setLeftMargin(margin: number, unit: AuGTK.Unit): void; + setLineNumbersFontName(fontName: string | undefined | null): void; + setPrintFooter(print: boolean): void; + setPrintHeader(print: boolean): void; + setPrintLineNumbers(interval: number): void; + setRightMargin(margin: number, unit: AuGTK.Unit): void; + setTabWidth(width: number): void; + setTopMargin(margin: number, unit: AuGTK.Unit): void; + setWrapMode(wrapMode: AuGTK.WrapMode): void; + //TypeScript is complete garbage: + } + + class PrintCompositorCtor { + buffer ?: AuGtkSource.Buffer; + tabWidth ?: number; + wrapMode ?: AuGTK.WrapMode; + highlightSyntax ?: boolean; + printLineNumbers ?: number; + printHeader ?: boolean; + printFooter ?: boolean; + bodyFontName ?: string; + lineNumbersFontName ?: string; + headerFontName ?: string; + footerFontName ?: string; + nPages ?: number; + } + + class Region extends GObject.Object { + constructor(initializerList ?: RegionCtor); + + parentInstance : GObject.Object; + + buffer : AuGTK.TextBuffer; + + static New(buffer: AuGTK.TextBuffer): AuGtkSource.Region; + addRegion(regionToAdd: AuGtkSource.Region | undefined | null): void; + addSubregion(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + getBounds(start ?: AuGTK.TextIter, end ?: AuGTK.TextIter): boolean; + getBuffer(): AuGTK.TextBuffer; + getStartRegionIter(iter: AuGtkSource.RegionIter): void; + intersectRegion(region2: AuGtkSource.Region | undefined | null): AuGtkSource.Region; + intersectSubregion(start: AuGTK.TextIter, end: AuGTK.TextIter): AuGtkSource.Region; + isEmpty(): boolean; + subtractRegion(regionToSubtract: AuGtkSource.Region | undefined | null): void; + subtractSubregion(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + //TypeScript is complete garbage: + } + + class RegionCtor { + buffer ?: AuGTK.TextBuffer; + } + + class SearchContext extends GObject.Object { + constructor(initializerList ?: SearchContextCtor); + + buffer : AuGtkSource.Buffer; + highlight : boolean; + matchStyle : AuGtkSource.Style; + occurrencesCount : number; + regexError : AuGlibEx.Error; + settings : AuGtkSource.SearchSettings; + + static New(buffer: AuGtkSource.Buffer, settings: AuGtkSource.SearchSettings | undefined | null): AuGtkSource.SearchContext; + backward(iter: AuGTK.TextIter, matchStart ?: AuGTK.TextIter, matchEnd ?: AuGTK.TextIter, hasWrappedAround ?: boolean): boolean; + backwardAsync(iter: AuGTK.TextIter, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + backwardFinish(result: AuGIO.AsyncResult, matchStart ?: AuGTK.TextIter, matchEnd ?: AuGTK.TextIter, hasWrappedAround ?: boolean): boolean; + forward(iter: AuGTK.TextIter, matchStart ?: AuGTK.TextIter, matchEnd ?: AuGTK.TextIter, hasWrappedAround ?: boolean): boolean; + forwardAsync(iter: AuGTK.TextIter, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void; + forwardFinish(result: AuGIO.AsyncResult, matchStart ?: AuGTK.TextIter, matchEnd ?: AuGTK.TextIter, hasWrappedAround ?: boolean): boolean; + getBuffer(): AuGtkSource.Buffer; + getHighlight(): boolean; + getMatchStyle(): AuGtkSource.Style; + getOccurrencePosition(matchStart: AuGTK.TextIter, matchEnd: AuGTK.TextIter): number; + getOccurrencesCount(): number; + getRegexError(): AuGlibEx.Error; + getSettings(): AuGtkSource.SearchSettings; + replace(matchStart: AuGTK.TextIter, matchEnd: AuGTK.TextIter, replace: string, replaceLength: number): boolean; + replaceAll(replace: string, replaceLength: number): number; + setHighlight(highlight: boolean): void; + setMatchStyle(matchStyle: AuGtkSource.Style | undefined | null): void; + //TypeScript is complete garbage: + } + + class SearchContextCtor { + buffer ?: AuGtkSource.Buffer; + settings ?: AuGtkSource.SearchSettings; + highlight ?: boolean; + matchStyle ?: AuGtkSource.Style; + occurrencesCount ?: number; + regexError ?: AuGlibEx.Error; + } + + class SearchSettings extends GObject.Object { + constructor(initializerList ?: SearchSettingsCtor); + + parentInstance : GObject.Object; + + atWordBoundaries : boolean; + caseSensitive : boolean; + regexEnabled : boolean; + searchText : string; + wrapAround : boolean; + + static New(): AuGtkSource.SearchSettings; + getAtWordBoundaries(): boolean; + getCaseSensitive(): boolean; + getRegexEnabled(): boolean; + getSearchText(): string; + getWrapAround(): boolean; + setAtWordBoundaries(atWordBoundaries: boolean): void; + setCaseSensitive(caseSensitive: boolean): void; + setRegexEnabled(regexEnabled: boolean): void; + setSearchText(searchText: string | undefined | null): void; + setWrapAround(wrapAround: boolean): void; + //TypeScript is complete garbage: + } + + class SearchSettingsCtor { + searchText ?: string; + caseSensitive ?: boolean; + atWordBoundaries ?: boolean; + wrapAround ?: boolean; + regexEnabled ?: boolean; + } + + class Snippet extends GObject.Object { + constructor(initializerList ?: SnippetCtor); + + buffer : AuGTK.TextBuffer; + description : string; + focusPosition : number; + languageId : string; + name : string; + trigger : string; + + static New(trigger: string | undefined | null, languageId: string | undefined | null): AuGtkSource.Snippet; + static NewParsed(text: string): AuGtkSource.Snippet; + addChunk(chunk: AuGtkSource.SnippetChunk): void; + copy(): AuGtkSource.Snippet; + getContext(): AuGtkSource.SnippetContext; + getDescription(): string; + getFocusPosition(): number; + getLanguageId(): string; + getNChunks(): number; + getName(): string; + getNthChunk(nth: number): AuGtkSource.SnippetChunk; + getTrigger(): string; + setDescription(description: string): void; + setLanguageId(languageId: string): void; + setName(name: string): void; + setTrigger(trigger: string): void; + //TypeScript is complete garbage: + } + + class SnippetCtor { + buffer ?: AuGTK.TextBuffer; + description ?: string; + focusPosition ?: number; + languageId ?: string; + name ?: string; + trigger ?: string; + } + + class SnippetChunk extends GObject.InitiallyUnowned { + constructor(initializerList ?: SnippetChunkCtor); + + context : AuGtkSource.SnippetContext; + focusPosition : number; + spec : string; + text : string; + textSet : boolean; + tooltipText : string; + + static New(): AuGtkSource.SnippetChunk; + copy(): AuGtkSource.SnippetChunk; + getContext(): AuGtkSource.SnippetContext; + getFocusPosition(): number; + getSpec(): string; + getText(): string; + getTextSet(): boolean; + getTooltipText(): string; + setContext(context: AuGtkSource.SnippetContext): void; + setFocusPosition(focusPosition: number): void; + setSpec(spec: string): void; + setText(text: string): void; + setTextSet(textSet: boolean): void; + setTooltipText(tooltipText: string): void; + //TypeScript is complete garbage: + } + + class SnippetChunkCtor { + context ?: AuGtkSource.SnippetContext; + spec ?: string; + focusPosition ?: number; + text ?: string; + textSet ?: boolean; + tooltipText ?: string; + } + + class SnippetContext extends GObject.Object { + constructor(initializerList ?: SnippetContextCtor); + + static New(): AuGtkSource.SnippetContext; + clearVariables(): void; + expand(input: string): string; + getVariable(key: string): string; + setConstant(key: string, value: string): void; + setLinePrefix(linePrefix: string): void; + setTabWidth(tabWidth: number): void; + setUseSpaces(useSpaces: boolean): void; + setVariable(key: string, value: string): void; + //TypeScript is complete garbage: + } + + class SnippetContextCtor { + } + + class SnippetContextEventListener extends AuGlibEx.IEventListener { + changed(): void; + } + + class SnippetManager extends GObject.Object { + constructor(initializerList ?: SnippetManagerCtor); + + searchPath : string[]; + + static GetDefault(): AuGtkSource.SnippetManager; + getSearchPath(): string[]; + getSnippet(group: string | undefined | null, languageId: string | undefined | null, trigger: string): AuGtkSource.Snippet; + listAll(): AuGIO.ListModel; + listGroups(): string[]; + listMatching(group: string | undefined | null, languageId: string | undefined | null, triggerPrefix: string | undefined | null): AuGIO.ListModel; + setSearchPath(dirs: string[] | undefined | null): void; + //TypeScript is complete garbage: + } + + class SnippetManagerCtor { + searchPath ?: any; + } + + class SpaceDrawer extends GObject.Object { + constructor(initializerList ?: SpaceDrawerCtor); + + enableMatrix : boolean; + matrix : AuGlibEx.Variant; + + static New(): AuGtkSource.SpaceDrawer; + bindMatrixSetting(settings: AuGIO.Settings, key: string, flags: AuGIO.SettingsBindFlags): void; + getEnableMatrix(): boolean; + getMatrix(): AuGlibEx.Variant; + getTypesForLocations(locations: AuGtkSource.SpaceLocationFlags): AuGtkSource.SpaceTypeFlags; + setEnableMatrix(enableMatrix: boolean): void; + setMatrix(matrix: AuGlibEx.Variant | undefined | null): void; + setTypesForLocations(locations: AuGtkSource.SpaceLocationFlags, types: AuGtkSource.SpaceTypeFlags): void; + //TypeScript is complete garbage: + } + + class SpaceDrawerCtor { + enableMatrix ?: boolean; + matrix ?: any; + } + + class Style extends GObject.Object { + constructor(initializerList ?: StyleCtor); + + background : string; + backgroundSet : boolean; + bold : boolean; + boldSet : boolean; + foreground : string; + foregroundSet : boolean; + italic : boolean; + italicSet : boolean; + lineBackground : string; + lineBackgroundSet : boolean; + pangoUnderline : AuPango.Underline; + scale : string; + scaleSet : boolean; + strikethrough : boolean; + strikethroughSet : boolean; + underlineColor : string; + underlineColorSet : boolean; + underlineSet : boolean; + weight : AuPango.Weight; + weightSet : boolean; + + apply(tag: AuGTK.TextTag): void; + copy(): AuGtkSource.Style; + //TypeScript is complete garbage: + } + + class StyleCtor { + lineBackground ?: string; + lineBackgroundSet ?: boolean; + background ?: string; + backgroundSet ?: boolean; + foreground ?: string; + foregroundSet ?: boolean; + bold ?: boolean; + boldSet ?: boolean; + italic ?: boolean; + italicSet ?: boolean; + pangoUnderline ?: AuPango.Underline; + underlineSet ?: boolean; + strikethrough ?: boolean; + strikethroughSet ?: boolean; + scale ?: string; + scaleSet ?: boolean; + underlineColor ?: string; + underlineColorSet ?: boolean; + weight ?: AuPango.Weight; + weightSet ?: boolean; + } + + class StyleScheme extends GObject.Object { + constructor(initializerList ?: StyleSchemeCtor); + + description : string; + filename : string; + id : string; + name : string; + + getAuthors(): string[]; + getDescription(): string; + getFilename(): string; + getId(): string; + getMetadata(name: string): string; + getName(): string; + getStyle(styleId: string): AuGtkSource.Style; + //TypeScript is complete garbage: + } + + class StyleSchemeCtor { + id ?: string; + name ?: string; + description ?: string; + filename ?: string; + } + + class StyleSchemeChooserButton extends AuGTK.Button implements AuGTK.Accessible, AuGTK.Actionable, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGtkSource.StyleSchemeChooser { + constructor(initializerList ?: StyleSchemeChooserButtonCtor); + + parentInstance : AuGTK.Button; + + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + actionName : string; + actionTarget : AuGlibEx.Variant; + + styleScheme : AuGtkSource.StyleScheme; + + getStyleScheme(): AuGtkSource.StyleScheme; + setStyleScheme(scheme: AuGtkSource.StyleScheme): void; + } + + class StyleSchemeChooserButtonCtor { + accessibleRole ?: AuGTK.AccessibleRole; + actionName ?: string; + actionTarget ?: any; + styleScheme ?: AuGtkSource.StyleScheme; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + label ?: string; + hasFrame ?: boolean; + useUnderline ?: boolean; + iconName ?: string; + child ?: AuGTK.Widget; + } + + class StyleSchemeChooserWidget extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGtkSource.StyleSchemeChooser { + constructor(initializerList ?: StyleSchemeChooserWidgetCtor); + + parentInstance : AuGTK.Widget; + + static New(): AuGTK.Widget; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + styleScheme : AuGtkSource.StyleScheme; + + getStyleScheme(): AuGtkSource.StyleScheme; + setStyleScheme(scheme: AuGtkSource.StyleScheme): void; + } + + class StyleSchemeChooserWidgetCtor { + accessibleRole ?: AuGTK.AccessibleRole; + styleScheme ?: AuGtkSource.StyleScheme; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + } + + class StyleSchemeManager extends GObject.Object { + constructor(initializerList ?: StyleSchemeManagerCtor); + + schemeIds : string[]; + searchPath : string[]; + + static New(): AuGtkSource.StyleSchemeManager; + static GetDefault(): AuGtkSource.StyleSchemeManager; + appendSearchPath(path: string): void; + forceRescan(): void; + getScheme(schemeId: string): AuGtkSource.StyleScheme; + getSchemeIds(): string[]; + getSearchPath(): string[]; + prependSearchPath(path: string): void; + setSearchPath(path: string[] | undefined | null): void; + //TypeScript is complete garbage: + } + + class StyleSchemeManagerCtor { + searchPath ?: any; + schemeIds ?: any; + } + + class StyleSchemePreview extends AuGTK.Widget implements AuGTK.Accessible, AuGTK.Actionable, AuGTK.Buildable, AuGTK.ConstraintTarget { + constructor(initializerList ?: StyleSchemePreviewCtor); + + scheme : AuGtkSource.StyleScheme; + selected : boolean; + + static New(scheme: AuGtkSource.StyleScheme): AuGTK.Widget; + getScheme(): AuGtkSource.StyleScheme; + getSelected(): boolean; + setSelected(selected: boolean): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + actionName : string; + actionTarget : AuGlibEx.Variant; + + getActionName(): string; + getActionTargetValue(): AuGlibEx.Variant; + setActionName(actionName: string | undefined | null): void; + setActionTargetValue(targetValue: AuGlibEx.Variant | undefined | null): void; + setDetailedActionName(detailedActionName: string): void; + } + + class StyleSchemePreviewCtor { + accessibleRole ?: AuGTK.AccessibleRole; + actionName ?: string; + actionTarget ?: any; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + scheme ?: AuGtkSource.StyleScheme; + selected ?: boolean; + } + + class StyleSchemePreviewEventListener extends AuGlibEx.IEventListener { + activate(): void; + } + + class Tag extends AuGTK.TextTag { + constructor(initializerList ?: TagCtor); + + parentInstance : AuGTK.TextTag; + + drawSpaces : boolean; + drawSpacesSet : boolean; + + //TypeScript is complete garbage: + } + + class TagCtor { + name ?: string; + background ?: string; + foreground ?: string; + backgroundRgba ?: AuGDK.RGBA; + foregroundRgba ?: AuGDK.RGBA; + font ?: string; + fontDesc ?: AuPango.FontDescription; + family ?: string; + style ?: AuPango.Style; + variant ?: AuPango.Variant; + weight ?: number; + stretch ?: AuPango.Stretch; + size ?: number; + sizePoints ?: number; + scale ?: number; + pixelsAboveLines ?: number; + pixelsBelowLines ?: number; + pixelsInsideWrap ?: number; + lineHeight ?: number; + editable ?: boolean; + wrapMode ?: AuGTK.WrapMode; + justification ?: AuGTK.Justification; + direction ?: AuGTK.TextDirection; + leftMargin ?: number; + indent ?: number; + strikethrough ?: boolean; + strikethroughRgba ?: AuGDK.RGBA; + rightMargin ?: number; + underline ?: AuPango.Underline; + underlineRgba ?: AuGDK.RGBA; + overline ?: AuPango.Overline; + overlineRgba ?: AuGDK.RGBA; + rise ?: number; + backgroundFullHeight ?: boolean; + language ?: string; + tabs ?: AuPango.TabArray; + invisible ?: boolean; + paragraphBackground ?: string; + paragraphBackgroundRgba ?: AuGDK.RGBA; + fallback ?: boolean; + letterSpacing ?: number; + fontFeatures ?: string; + allowBreaks ?: boolean; + showSpaces ?: AuPango.ShowFlags; + insertHyphens ?: boolean; + textTransform ?: AuPango.TextTransform; + word ?: boolean; + sentence ?: boolean; + accumulativeMargin ?: boolean; + backgroundSet ?: boolean; + foregroundSet ?: boolean; + familySet ?: boolean; + styleSet ?: boolean; + variantSet ?: boolean; + weightSet ?: boolean; + stretchSet ?: boolean; + sizeSet ?: boolean; + scaleSet ?: boolean; + pixelsAboveLinesSet ?: boolean; + pixelsBelowLinesSet ?: boolean; + pixelsInsideWrapSet ?: boolean; + lineHeightSet ?: boolean; + editableSet ?: boolean; + wrapModeSet ?: boolean; + justificationSet ?: boolean; + leftMarginSet ?: boolean; + indentSet ?: boolean; + strikethroughSet ?: boolean; + strikethroughRgbaSet ?: boolean; + rightMarginSet ?: boolean; + underlineSet ?: boolean; + underlineRgbaSet ?: boolean; + overlineSet ?: boolean; + overlineRgbaSet ?: boolean; + riseSet ?: boolean; + backgroundFullHeightSet ?: boolean; + languageSet ?: boolean; + tabsSet ?: boolean; + invisibleSet ?: boolean; + paragraphBackgroundSet ?: boolean; + fallbackSet ?: boolean; + letterSpacingSet ?: boolean; + fontFeaturesSet ?: boolean; + allowBreaksSet ?: boolean; + showSpacesSet ?: boolean; + insertHyphensSet ?: boolean; + textTransformSet ?: boolean; + sentenceSet ?: boolean; + wordSet ?: boolean; + drawSpaces ?: boolean; + drawSpacesSet ?: boolean; + } + + class View extends AuGTK.TextView implements AuGTK.Accessible, AuGTK.Buildable, AuGTK.ConstraintTarget, AuGTK.Scrollable { + constructor(initializerList ?: ViewCtor); + + parentInstance : AuGTK.TextView; + + autoIndent : boolean; + backgroundPattern : AuGtkSource.BackgroundPatternType; + completion : AuGtkSource.Completion; + enableSnippets : boolean; + highlightCurrentLine : boolean; + indentOnTab : boolean; + indentWidth : number; + indenter : AuGtkSource.Indenter; + insertSpacesInsteadOfTabs : boolean; + rightMarginPosition : number; + showLineMarks : boolean; + showLineNumbers : boolean; + showRightMargin : boolean; + smartBackspace : boolean; + smartHomeEnd : AuGtkSource.SmartHomeEndType; + spaceDrawer : AuGtkSource.SpaceDrawer; + tabWidth : number; + + getAutoIndent(): boolean; + getBackgroundPattern(): AuGtkSource.BackgroundPatternType; + getCompletion(): AuGtkSource.Completion; + getEnableSnippets(): boolean; + getHighlightCurrentLine(): boolean; + getHover(): AuGtkSource.Hover; + getIndentOnTab(): boolean; + getIndentWidth(): number; + getIndenter(): AuGtkSource.Indenter; + getInsertSpacesInsteadOfTabs(): boolean; + getMarkAttributes(category: string, priority: number): AuGtkSource.MarkAttributes; + getRightMarginPosition(): number; + getShowLineMarks(): boolean; + getShowLineNumbers(): boolean; + getShowRightMargin(): boolean; + getSmartBackspace(): boolean; + getSmartHomeEnd(): AuGtkSource.SmartHomeEndType; + getSpaceDrawer(): AuGtkSource.SpaceDrawer; + getTabWidth(): number; + getVisualColumn(iter: AuGTK.TextIter): number; + indentLines(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + pushSnippet(snippet: AuGtkSource.Snippet, location: AuGTK.TextIter | undefined | null): void; + setAutoIndent(enable: boolean): void; + setBackgroundPattern(backgroundPattern: AuGtkSource.BackgroundPatternType): void; + setEnableSnippets(enableSnippets: boolean): void; + setHighlightCurrentLine(highlight: boolean): void; + setIndentOnTab(enable: boolean): void; + setIndentWidth(width: number): void; + setIndenter(indenter: AuGtkSource.Indenter | undefined | null): void; + setInsertSpacesInsteadOfTabs(enable: boolean): void; + setMarkAttributes(category: string, attributes: AuGtkSource.MarkAttributes, priority: number): void; + setRightMarginPosition(pos: number): void; + setShowLineMarks(show: boolean): void; + setShowLineNumbers(show: boolean): void; + setShowRightMargin(show: boolean): void; + setSmartBackspace(smartBackspace: boolean): void; + setSmartHomeEnd(smartHomeEnd: AuGtkSource.SmartHomeEndType): void; + setTabWidth(width: number): void; + unindentLines(start: AuGTK.TextIter, end: AuGTK.TextIter): void; + //TypeScript is complete garbage: + accessibleRole : AuGTK.AccessibleRole; + + hadjustment : AuGTK.Adjustment; + hscrollPolicy : AuGTK.ScrollablePolicy; + vadjustment : AuGTK.Adjustment; + vscrollPolicy : AuGTK.ScrollablePolicy; + + } + + class ViewCtor { + accessibleRole ?: AuGTK.AccessibleRole; + hadjustment ?: AuGTK.Adjustment; + hscrollPolicy ?: AuGTK.ScrollablePolicy; + vadjustment ?: AuGTK.Adjustment; + vscrollPolicy ?: AuGTK.ScrollablePolicy; + name ?: string; + parent ?: AuGTK.Widget; + root ?: AuGTK.Root; + widthRequest ?: number; + heightRequest ?: number; + visible ?: boolean; + sensitive ?: boolean; + canFocus ?: boolean; + hasFocus ?: boolean; + canTarget ?: boolean; + focusOnClick ?: boolean; + focusable ?: boolean; + hasDefault ?: boolean; + receivesDefault ?: boolean; + cursor ?: AuGDK.Cursor; + hasTooltip ?: boolean; + tooltipMarkup ?: string; + tooltipText ?: string; + opacity ?: number; + overflow ?: AuGTK.Overflow; + halign ?: AuGTK.Align; + valign ?: AuGTK.Align; + marginStart ?: number; + marginEnd ?: number; + marginTop ?: number; + marginBottom ?: number; + hexpand ?: boolean; + vexpand ?: boolean; + hexpandSet ?: boolean; + vexpandSet ?: boolean; + scaleFactor ?: number; + cssName ?: string; + cssClasses ?: any; + layoutManager ?: AuGTK.LayoutManager; + pixelsAboveLines ?: number; + pixelsBelowLines ?: number; + pixelsInsideWrap ?: number; + editable ?: boolean; + wrapMode ?: AuGTK.WrapMode; + justification ?: AuGTK.Justification; + leftMargin ?: number; + rightMargin ?: number; + topMargin ?: number; + bottomMargin ?: number; + indent ?: number; + tabs ?: AuPango.TabArray; + cursorVisible ?: boolean; + buffer ?: AuGTK.TextBuffer; + overwrite ?: boolean; + acceptsTab ?: boolean; + imModule ?: string; + inputPurpose ?: AuGTK.InputPurpose; + inputHints ?: AuGTK.InputHints; + monospace ?: boolean; + extraMenu ?: AuGIO.MenuModel; + autoIndent ?: boolean; + backgroundPattern ?: AuGtkSource.BackgroundPatternType; + completion ?: AuGtkSource.Completion; + enableSnippets ?: boolean; + highlightCurrentLine ?: boolean; + indentOnTab ?: boolean; + indentWidth ?: number; + indenter ?: AuGtkSource.Indenter; + insertSpacesInsteadOfTabs ?: boolean; + rightMarginPosition ?: number; + showLineMarks ?: boolean; + showLineNumbers ?: boolean; + showRightMargin ?: boolean; + smartBackspace ?: boolean; + smartHomeEnd ?: AuGtkSource.SmartHomeEndType; + spaceDrawer ?: AuGtkSource.SpaceDrawer; + tabWidth ?: number; + } + + class ViewEventListener extends AuGlibEx.IEventListener { + changeCase(caseType: AuGtkSource.ChangeCaseType): void; + changeNumber(count: number): void; + joinLines(): void; + lineMarkActivated(iter: AuGTK.TextIter, button: number, state: AuGDK.ModifierType, nPresses: number): void; + moveLines(down: boolean): void; + moveToMatchingBracket(extendSelection: boolean): void; + moveWords(count: number): void; + pushSnippet(snippet: AuGtkSource.Snippet, location: AuGTK.TextIter): void; + showCompletion(): void; + smartHomeEnd(iter: AuGTK.TextIter, count: number): void; + } + + class VimIMContext extends AuGTK.IMContext { + constructor(initializerList ?: VimIMContextCtor); + + commandBarText : string; + commandText : string; + + static New(): AuGTK.IMContext; + executeCommand(command: string): void; + getCommandBarText(): string; + getCommandText(): string; + //TypeScript is complete garbage: + } + + class VimIMContextCtor { + inputPurpose ?: AuGTK.InputPurpose; + inputHints ?: AuGTK.InputHints; + commandBarText ?: string; + commandText ?: string; + } + + class VimIMContextEventListener extends AuGlibEx.IEventListener { + edit(view: AuGtkSource.View, path: string | undefined | null): void; + executeCommand(command: string): boolean; + formatText(begin: AuGTK.TextIter, end: AuGTK.TextIter): void; + write(view: AuGtkSource.View, path: string | undefined | null): void; + } +} \ No newline at end of file diff --git a/HarfBuzz.d.ts b/HarfBuzz.d.ts new file mode 100644 index 0000000..b4919cd --- /dev/null +++ b/HarfBuzz.d.ts @@ -0,0 +1,1193 @@ +declare namespace HarfBuzz { + + class aat_layout_feature_selector_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": aat_layout_feature_selector_t + static readonly "kAllTypeFeaturesOn": aat_layout_feature_selector_t + static readonly "kAllTypeFeaturesOff": aat_layout_feature_selector_t + static readonly "kRequiredLigaturesOn": aat_layout_feature_selector_t + static readonly "kRequiredLigaturesOff": aat_layout_feature_selector_t + static readonly "kCommonLigaturesOn": aat_layout_feature_selector_t + static readonly "kCommonLigaturesOff": aat_layout_feature_selector_t + static readonly "kRareLigaturesOn": aat_layout_feature_selector_t + static readonly "kRareLigaturesOff": aat_layout_feature_selector_t + static readonly "kLogosOn": aat_layout_feature_selector_t + static readonly "kLogosOff": aat_layout_feature_selector_t + static readonly "kRebusPicturesOn": aat_layout_feature_selector_t + static readonly "kRebusPicturesOff": aat_layout_feature_selector_t + static readonly "kDiphthongLigaturesOn": aat_layout_feature_selector_t + static readonly "kDiphthongLigaturesOff": aat_layout_feature_selector_t + static readonly "kSquaredLigaturesOn": aat_layout_feature_selector_t + static readonly "kSquaredLigaturesOff": aat_layout_feature_selector_t + static readonly "kAbbrevSquaredLigaturesOn": aat_layout_feature_selector_t + static readonly "kAbbrevSquaredLigaturesOff": aat_layout_feature_selector_t + static readonly "kSymbolLigaturesOn": aat_layout_feature_selector_t + static readonly "kSymbolLigaturesOff": aat_layout_feature_selector_t + static readonly "kContextualLigaturesOn": aat_layout_feature_selector_t + static readonly "kContextualLigaturesOff": aat_layout_feature_selector_t + static readonly "kHistoricalLigaturesOn": aat_layout_feature_selector_t + static readonly "kHistoricalLigaturesOff": aat_layout_feature_selector_t + static readonly "kUnconnected": aat_layout_feature_selector_t + static readonly "kPartiallyConnected": aat_layout_feature_selector_t + static readonly "kCursive": aat_layout_feature_selector_t + static readonly "kUpperAndLowerCase": aat_layout_feature_selector_t + static readonly "kAllCaps": aat_layout_feature_selector_t + static readonly "kAllLowerCase": aat_layout_feature_selector_t + static readonly "kSmallCaps": aat_layout_feature_selector_t + static readonly "kInitialCaps": aat_layout_feature_selector_t + static readonly "kInitialCapsAndSmallCaps": aat_layout_feature_selector_t + static readonly "kSubstituteVerticalFormsOn": aat_layout_feature_selector_t + static readonly "kSubstituteVerticalFormsOff": aat_layout_feature_selector_t + static readonly "kLinguisticRearrangementOn": aat_layout_feature_selector_t + static readonly "kLinguisticRearrangementOff": aat_layout_feature_selector_t + static readonly "kMonospacedNumbers": aat_layout_feature_selector_t + static readonly "kProportionalNumbers": aat_layout_feature_selector_t + static readonly "kThirdWidthNumbers": aat_layout_feature_selector_t + static readonly "kQuarterWidthNumbers": aat_layout_feature_selector_t + static readonly "kWordInitialSwashesOn": aat_layout_feature_selector_t + static readonly "kWordInitialSwashesOff": aat_layout_feature_selector_t + static readonly "kWordFinalSwashesOn": aat_layout_feature_selector_t + static readonly "kWordFinalSwashesOff": aat_layout_feature_selector_t + static readonly "kLineInitialSwashesOn": aat_layout_feature_selector_t + static readonly "kLineInitialSwashesOff": aat_layout_feature_selector_t + static readonly "kLineFinalSwashesOn": aat_layout_feature_selector_t + static readonly "kLineFinalSwashesOff": aat_layout_feature_selector_t + static readonly "kNonFinalSwashesOn": aat_layout_feature_selector_t + static readonly "kNonFinalSwashesOff": aat_layout_feature_selector_t + static readonly "kShowDiacritics": aat_layout_feature_selector_t + static readonly "kHideDiacritics": aat_layout_feature_selector_t + static readonly "kDecomposeDiacritics": aat_layout_feature_selector_t + static readonly "kNormalPosition": aat_layout_feature_selector_t + static readonly "kSuperiors": aat_layout_feature_selector_t + static readonly "kInferiors": aat_layout_feature_selector_t + static readonly "kOrdinals": aat_layout_feature_selector_t + static readonly "kScientificInferiors": aat_layout_feature_selector_t + static readonly "kNoFractions": aat_layout_feature_selector_t + static readonly "kVerticalFractions": aat_layout_feature_selector_t + static readonly "kDiagonalFractions": aat_layout_feature_selector_t + static readonly "kPreventOverlapOn": aat_layout_feature_selector_t + static readonly "kPreventOverlapOff": aat_layout_feature_selector_t + static readonly "kHyphensToEmDashOn": aat_layout_feature_selector_t + static readonly "kHyphensToEmDashOff": aat_layout_feature_selector_t + static readonly "kHyphenToEnDashOn": aat_layout_feature_selector_t + static readonly "kHyphenToEnDashOff": aat_layout_feature_selector_t + static readonly "kSlashedZeroOn": aat_layout_feature_selector_t + static readonly "kSlashedZeroOff": aat_layout_feature_selector_t + static readonly "kFormInterrobangOn": aat_layout_feature_selector_t + static readonly "kFormInterrobangOff": aat_layout_feature_selector_t + static readonly "kSmartQuotesOn": aat_layout_feature_selector_t + static readonly "kSmartQuotesOff": aat_layout_feature_selector_t + static readonly "kPeriodsToEllipsisOn": aat_layout_feature_selector_t + static readonly "kPeriodsToEllipsisOff": aat_layout_feature_selector_t + static readonly "kHyphenToMinusOn": aat_layout_feature_selector_t + static readonly "kHyphenToMinusOff": aat_layout_feature_selector_t + static readonly "kAsteriskToMultiplyOn": aat_layout_feature_selector_t + static readonly "kAsteriskToMultiplyOff": aat_layout_feature_selector_t + static readonly "kSlashToDivideOn": aat_layout_feature_selector_t + static readonly "kSlashToDivideOff": aat_layout_feature_selector_t + static readonly "kInequalityLigaturesOn": aat_layout_feature_selector_t + static readonly "kInequalityLigaturesOff": aat_layout_feature_selector_t + static readonly "kExponentsOn": aat_layout_feature_selector_t + static readonly "kExponentsOff": aat_layout_feature_selector_t + static readonly "kMathematicalGreekOn": aat_layout_feature_selector_t + static readonly "kMathematicalGreekOff": aat_layout_feature_selector_t + static readonly "kNoOrnaments": aat_layout_feature_selector_t + static readonly "kDingbats": aat_layout_feature_selector_t + static readonly "kPiCharacters": aat_layout_feature_selector_t + static readonly "kFleurons": aat_layout_feature_selector_t + static readonly "kDecorativeBorders": aat_layout_feature_selector_t + static readonly "kInternationalSymbols": aat_layout_feature_selector_t + static readonly "kMathSymbols": aat_layout_feature_selector_t + static readonly "kNoAlternates": aat_layout_feature_selector_t + static readonly "kDesignLevel1": aat_layout_feature_selector_t + static readonly "kDesignLevel2": aat_layout_feature_selector_t + static readonly "kDesignLevel3": aat_layout_feature_selector_t + static readonly "kDesignLevel4": aat_layout_feature_selector_t + static readonly "kDesignLevel5": aat_layout_feature_selector_t + static readonly "kNoStyleOptions": aat_layout_feature_selector_t + static readonly "kDisplayText": aat_layout_feature_selector_t + static readonly "kEngravedText": aat_layout_feature_selector_t + static readonly "kIlluminatedCaps": aat_layout_feature_selector_t + static readonly "kTitlingCaps": aat_layout_feature_selector_t + static readonly "kTallCaps": aat_layout_feature_selector_t + static readonly "kTraditionalCharacters": aat_layout_feature_selector_t + static readonly "kSimplifiedCharacters": aat_layout_feature_selector_t + static readonly "kJis1978Characters": aat_layout_feature_selector_t + static readonly "kJis1983Characters": aat_layout_feature_selector_t + static readonly "kJis1990Characters": aat_layout_feature_selector_t + static readonly "kTraditionalAltOne": aat_layout_feature_selector_t + static readonly "kTraditionalAltTwo": aat_layout_feature_selector_t + static readonly "kTraditionalAltThree": aat_layout_feature_selector_t + static readonly "kTraditionalAltFour": aat_layout_feature_selector_t + static readonly "kTraditionalAltFive": aat_layout_feature_selector_t + static readonly "kExpertCharacters": aat_layout_feature_selector_t + static readonly "kJis2004Characters": aat_layout_feature_selector_t + static readonly "kHojoCharacters": aat_layout_feature_selector_t + static readonly "kNlccharacters": aat_layout_feature_selector_t + static readonly "kTraditionalNamesCharacters": aat_layout_feature_selector_t + static readonly "kLowerCaseNumbers": aat_layout_feature_selector_t + static readonly "kUpperCaseNumbers": aat_layout_feature_selector_t + static readonly "kProportionalText": aat_layout_feature_selector_t + static readonly "kMonospacedText": aat_layout_feature_selector_t + static readonly "kHalfWidthText": aat_layout_feature_selector_t + static readonly "kThirdWidthText": aat_layout_feature_selector_t + static readonly "kQuarterWidthText": aat_layout_feature_selector_t + static readonly "kAltProportionalText": aat_layout_feature_selector_t + static readonly "kAltHalfWidthText": aat_layout_feature_selector_t + static readonly "kNoTransliteration": aat_layout_feature_selector_t + static readonly "kHanjaToHangul": aat_layout_feature_selector_t + static readonly "kHiraganaToKatakana": aat_layout_feature_selector_t + static readonly "kKatakanaToHiragana": aat_layout_feature_selector_t + static readonly "kKanaToRomanization": aat_layout_feature_selector_t + static readonly "kRomanizationToHiragana": aat_layout_feature_selector_t + static readonly "kRomanizationToKatakana": aat_layout_feature_selector_t + static readonly "kHanjaToHangulAltOne": aat_layout_feature_selector_t + static readonly "kHanjaToHangulAltTwo": aat_layout_feature_selector_t + static readonly "kHanjaToHangulAltThree": aat_layout_feature_selector_t + static readonly "kNoAnnotation": aat_layout_feature_selector_t + static readonly "kBoxAnnotation": aat_layout_feature_selector_t + static readonly "kRoundedBoxAnnotation": aat_layout_feature_selector_t + static readonly "kCircleAnnotation": aat_layout_feature_selector_t + static readonly "kInvertedCircleAnnotation": aat_layout_feature_selector_t + static readonly "kParenthesisAnnotation": aat_layout_feature_selector_t + static readonly "kPeriodAnnotation": aat_layout_feature_selector_t + static readonly "kRomanNumeralAnnotation": aat_layout_feature_selector_t + static readonly "kDiamondAnnotation": aat_layout_feature_selector_t + static readonly "kInvertedBoxAnnotation": aat_layout_feature_selector_t + static readonly "kInvertedRoundedBoxAnnotation": aat_layout_feature_selector_t + static readonly "kFullWidthKana": aat_layout_feature_selector_t + static readonly "kProportionalKana": aat_layout_feature_selector_t + static readonly "kFullWidthIdeographs": aat_layout_feature_selector_t + static readonly "kProportionalIdeographs": aat_layout_feature_selector_t + static readonly "kHalfWidthIdeographs": aat_layout_feature_selector_t + static readonly "kCanonicalCompositionOn": aat_layout_feature_selector_t + static readonly "kCanonicalCompositionOff": aat_layout_feature_selector_t + static readonly "kCompatibilityCompositionOn": aat_layout_feature_selector_t + static readonly "kCompatibilityCompositionOff": aat_layout_feature_selector_t + static readonly "kTranscodingCompositionOn": aat_layout_feature_selector_t + static readonly "kTranscodingCompositionOff": aat_layout_feature_selector_t + static readonly "kNoRubyKana": aat_layout_feature_selector_t + static readonly "kRubyKana": aat_layout_feature_selector_t + static readonly "kRubyKanaOn": aat_layout_feature_selector_t + static readonly "kRubyKanaOff": aat_layout_feature_selector_t + static readonly "kNoCjkSymbolAlternatives": aat_layout_feature_selector_t + static readonly "kCjkSymbolAltOne": aat_layout_feature_selector_t + static readonly "kCjkSymbolAltTwo": aat_layout_feature_selector_t + static readonly "kCjkSymbolAltThree": aat_layout_feature_selector_t + static readonly "kCjkSymbolAltFour": aat_layout_feature_selector_t + static readonly "kCjkSymbolAltFive": aat_layout_feature_selector_t + static readonly "kNoIdeographicAlternatives": aat_layout_feature_selector_t + static readonly "kIdeographicAltOne": aat_layout_feature_selector_t + static readonly "kIdeographicAltTwo": aat_layout_feature_selector_t + static readonly "kIdeographicAltThree": aat_layout_feature_selector_t + static readonly "kIdeographicAltFour": aat_layout_feature_selector_t + static readonly "kIdeographicAltFive": aat_layout_feature_selector_t + static readonly "kCjkVerticalRomanCentered": aat_layout_feature_selector_t + static readonly "kCjkVerticalRomanHbaseline": aat_layout_feature_selector_t + static readonly "kNoCjkItalicRoman": aat_layout_feature_selector_t + static readonly "kCjkItalicRoman": aat_layout_feature_selector_t + static readonly "kCjkItalicRomanOn": aat_layout_feature_selector_t + static readonly "kCjkItalicRomanOff": aat_layout_feature_selector_t + static readonly "kCaseSensitiveLayoutOn": aat_layout_feature_selector_t + static readonly "kCaseSensitiveLayoutOff": aat_layout_feature_selector_t + static readonly "kCaseSensitiveSpacingOn": aat_layout_feature_selector_t + static readonly "kCaseSensitiveSpacingOff": aat_layout_feature_selector_t + static readonly "kAlternateHorizKanaOn": aat_layout_feature_selector_t + static readonly "kAlternateHorizKanaOff": aat_layout_feature_selector_t + static readonly "kAlternateVertKanaOn": aat_layout_feature_selector_t + static readonly "kAlternateVertKanaOff": aat_layout_feature_selector_t + static readonly "kNoStylisticAlternates": aat_layout_feature_selector_t + static readonly "kStylisticAltOneOn": aat_layout_feature_selector_t + static readonly "kStylisticAltOneOff": aat_layout_feature_selector_t + static readonly "kStylisticAltTwoOn": aat_layout_feature_selector_t + static readonly "kStylisticAltTwoOff": aat_layout_feature_selector_t + static readonly "kStylisticAltThreeOn": aat_layout_feature_selector_t + static readonly "kStylisticAltThreeOff": aat_layout_feature_selector_t + static readonly "kStylisticAltFourOn": aat_layout_feature_selector_t + static readonly "kStylisticAltFourOff": aat_layout_feature_selector_t + static readonly "kStylisticAltFiveOn": aat_layout_feature_selector_t + static readonly "kStylisticAltFiveOff": aat_layout_feature_selector_t + static readonly "kStylisticAltSixOn": aat_layout_feature_selector_t + static readonly "kStylisticAltSixOff": aat_layout_feature_selector_t + static readonly "kStylisticAltSevenOn": aat_layout_feature_selector_t + static readonly "kStylisticAltSevenOff": aat_layout_feature_selector_t + static readonly "kStylisticAltEightOn": aat_layout_feature_selector_t + static readonly "kStylisticAltEightOff": aat_layout_feature_selector_t + static readonly "kStylisticAltNineOn": aat_layout_feature_selector_t + static readonly "kStylisticAltNineOff": aat_layout_feature_selector_t + static readonly "kStylisticAltTenOn": aat_layout_feature_selector_t + static readonly "kStylisticAltTenOff": aat_layout_feature_selector_t + static readonly "kStylisticAltElevenOn": aat_layout_feature_selector_t + static readonly "kStylisticAltElevenOff": aat_layout_feature_selector_t + static readonly "kStylisticAltTwelveOn": aat_layout_feature_selector_t + static readonly "kStylisticAltTwelveOff": aat_layout_feature_selector_t + static readonly "kStylisticAltThirteenOn": aat_layout_feature_selector_t + static readonly "kStylisticAltThirteenOff": aat_layout_feature_selector_t + static readonly "kStylisticAltFourteenOn": aat_layout_feature_selector_t + static readonly "kStylisticAltFourteenOff": aat_layout_feature_selector_t + static readonly "kStylisticAltFifteenOn": aat_layout_feature_selector_t + static readonly "kStylisticAltFifteenOff": aat_layout_feature_selector_t + static readonly "kStylisticAltSixteenOn": aat_layout_feature_selector_t + static readonly "kStylisticAltSixteenOff": aat_layout_feature_selector_t + static readonly "kStylisticAltSeventeenOn": aat_layout_feature_selector_t + static readonly "kStylisticAltSeventeenOff": aat_layout_feature_selector_t + static readonly "kStylisticAltEighteenOn": aat_layout_feature_selector_t + static readonly "kStylisticAltEighteenOff": aat_layout_feature_selector_t + static readonly "kStylisticAltNineteenOn": aat_layout_feature_selector_t + static readonly "kStylisticAltNineteenOff": aat_layout_feature_selector_t + static readonly "kStylisticAltTwentyOn": aat_layout_feature_selector_t + static readonly "kStylisticAltTwentyOff": aat_layout_feature_selector_t + static readonly "kContextualAlternatesOn": aat_layout_feature_selector_t + static readonly "kContextualAlternatesOff": aat_layout_feature_selector_t + static readonly "kSwashAlternatesOn": aat_layout_feature_selector_t + static readonly "kSwashAlternatesOff": aat_layout_feature_selector_t + static readonly "kContextualSwashAlternatesOn": aat_layout_feature_selector_t + static readonly "kContextualSwashAlternatesOff": aat_layout_feature_selector_t + static readonly "kDefaultLowerCase": aat_layout_feature_selector_t + static readonly "kLowerCaseSmallCaps": aat_layout_feature_selector_t + static readonly "kLowerCasePetiteCaps": aat_layout_feature_selector_t + static readonly "kDefaultUpperCase": aat_layout_feature_selector_t + static readonly "kUpperCaseSmallCaps": aat_layout_feature_selector_t + static readonly "kUpperCasePetiteCaps": aat_layout_feature_selector_t + static readonly "kHalfWidthCjkRoman": aat_layout_feature_selector_t + static readonly "kProportionalCjkRoman": aat_layout_feature_selector_t + static readonly "kDefaultCjkRoman": aat_layout_feature_selector_t + static readonly "kFullWidthCjkRoman": aat_layout_feature_selector_t + } + + class aat_layout_feature_type_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": aat_layout_feature_type_t + static readonly "kAllTypographic": aat_layout_feature_type_t + static readonly "kLigatures": aat_layout_feature_type_t + static readonly "kCurisveConnection": aat_layout_feature_type_t + static readonly "kLetterCase": aat_layout_feature_type_t + static readonly "kVerticalSubstitution": aat_layout_feature_type_t + static readonly "kLinguisticRearrangement": aat_layout_feature_type_t + static readonly "kNumberSpacing": aat_layout_feature_type_t + static readonly "kSmartSwashType": aat_layout_feature_type_t + static readonly "kDiacriticsType": aat_layout_feature_type_t + static readonly "kVerticalPosition": aat_layout_feature_type_t + static readonly "kFractions": aat_layout_feature_type_t + static readonly "kOverlappingCharactersType": aat_layout_feature_type_t + static readonly "kTypographicExtras": aat_layout_feature_type_t + static readonly "kMathematicalExtras": aat_layout_feature_type_t + static readonly "kOrnamentSetsType": aat_layout_feature_type_t + static readonly "kCharacterAlternatives": aat_layout_feature_type_t + static readonly "kDesignComplexityType": aat_layout_feature_type_t + static readonly "kStyleOptions": aat_layout_feature_type_t + static readonly "kCharacterShape": aat_layout_feature_type_t + static readonly "kNumberCase": aat_layout_feature_type_t + static readonly "kTextSpacing": aat_layout_feature_type_t + static readonly "kTransliteration": aat_layout_feature_type_t + static readonly "kAnnotationType": aat_layout_feature_type_t + static readonly "kKanaSpacingType": aat_layout_feature_type_t + static readonly "kIdeographicSpacingType": aat_layout_feature_type_t + static readonly "kUnicodeDecompositionType": aat_layout_feature_type_t + static readonly "kRubyKana": aat_layout_feature_type_t + static readonly "kCjkSymbolAlternativesType": aat_layout_feature_type_t + static readonly "kIdeographicAlternativesType": aat_layout_feature_type_t + static readonly "kCjkVerticalRomanPlacementType": aat_layout_feature_type_t + static readonly "kItalicCjkRoman": aat_layout_feature_type_t + static readonly "kCaseSensitiveLayout": aat_layout_feature_type_t + static readonly "kAlternateKana": aat_layout_feature_type_t + static readonly "kStylisticAlternatives": aat_layout_feature_type_t + static readonly "kContextualAlternatives": aat_layout_feature_type_t + static readonly "kLowerCase": aat_layout_feature_type_t + static readonly "kUpperCase": aat_layout_feature_type_t + static readonly "kLanguageTagType": aat_layout_feature_type_t + static readonly "kCjkRomanSpacingType": aat_layout_feature_type_t + } + + class buffer_cluster_level_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMonotoneGraphemes": buffer_cluster_level_t + static readonly "kMonotoneCharacters": buffer_cluster_level_t + static readonly "kCharacters": buffer_cluster_level_t + static readonly "kDefault": buffer_cluster_level_t + } + + class buffer_content_type_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": buffer_content_type_t + static readonly "kUnicode": buffer_content_type_t + static readonly "kGlyphs": buffer_content_type_t + } + + class buffer_diff_flags_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kEqual": buffer_diff_flags_t + static readonly "kContentTypeMismatch": buffer_diff_flags_t + static readonly "kLengthMismatch": buffer_diff_flags_t + static readonly "kNotdefPresent": buffer_diff_flags_t + static readonly "kDottedCirclePresent": buffer_diff_flags_t + static readonly "kCodepointMismatch": buffer_diff_flags_t + static readonly "kClusterMismatch": buffer_diff_flags_t + static readonly "kGlyphFlagsMismatch": buffer_diff_flags_t + static readonly "kPositionMismatch": buffer_diff_flags_t + } + + class buffer_flags_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": buffer_flags_t + static readonly "kBot": buffer_flags_t + static readonly "kEot": buffer_flags_t + static readonly "kPreserveDefaultIgnorables": buffer_flags_t + static readonly "kRemoveDefaultIgnorables": buffer_flags_t + static readonly "kDoNotInsertDottedCircle": buffer_flags_t + static readonly "kVerify": buffer_flags_t + static readonly "kProduceUnsafeToConcat": buffer_flags_t + } + + class buffer_serialize_flags_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": buffer_serialize_flags_t + static readonly "kNoClusters": buffer_serialize_flags_t + static readonly "kNoPositions": buffer_serialize_flags_t + static readonly "kNoGlyphNames": buffer_serialize_flags_t + static readonly "kGlyphExtents": buffer_serialize_flags_t + static readonly "kGlyphFlags": buffer_serialize_flags_t + static readonly "kNoAdvances": buffer_serialize_flags_t + } + + class buffer_serialize_format_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kText": buffer_serialize_format_t + static readonly "kJson": buffer_serialize_format_t + static readonly "kInvalid": buffer_serialize_format_t + } + + class direction_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": direction_t + static readonly "kLtr": direction_t + static readonly "kRtl": direction_t + static readonly "kTtb": direction_t + static readonly "kBtt": direction_t + } + + class glyph_flags_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnsafeToBreak": glyph_flags_t + static readonly "kUnsafeToConcat": glyph_flags_t + static readonly "kDefined": glyph_flags_t + } + + class memory_mode_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDuplicate": memory_mode_t + static readonly "kReadonly": memory_mode_t + static readonly "kWritable": memory_mode_t + static readonly "kReadonlyMayMakeWritable": memory_mode_t + } + + class ot_color_palette_flags_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": ot_color_palette_flags_t + static readonly "kUsableWithLightBackground": ot_color_palette_flags_t + static readonly "kUsableWithDarkBackground": ot_color_palette_flags_t + } + + class ot_layout_baseline_tag_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kRoman": ot_layout_baseline_tag_t + static readonly "kHanging": ot_layout_baseline_tag_t + static readonly "kIdeoFaceBottomOrLeft": ot_layout_baseline_tag_t + static readonly "kIdeoFaceTopOrRight": ot_layout_baseline_tag_t + static readonly "kIdeoFaceCentral": ot_layout_baseline_tag_t + static readonly "kIdeoEmboxBottomOrLeft": ot_layout_baseline_tag_t + static readonly "kIdeoEmboxTopOrRight": ot_layout_baseline_tag_t + static readonly "kIdeoEmboxCentral": ot_layout_baseline_tag_t + static readonly "kMath": ot_layout_baseline_tag_t + } + + class ot_layout_glyph_class_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUnclassified": ot_layout_glyph_class_t + static readonly "kBaseGlyph": ot_layout_glyph_class_t + static readonly "kLigature": ot_layout_glyph_class_t + static readonly "kMark": ot_layout_glyph_class_t + static readonly "kComponent": ot_layout_glyph_class_t + } + + class ot_math_constant_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kScriptPercentScaleDown": ot_math_constant_t + static readonly "kScriptScriptPercentScaleDown": ot_math_constant_t + static readonly "kDelimitedSubFormulaMinHeight": ot_math_constant_t + static readonly "kDisplayOperatorMinHeight": ot_math_constant_t + static readonly "kMathLeading": ot_math_constant_t + static readonly "kAxisHeight": ot_math_constant_t + static readonly "kAccentBaseHeight": ot_math_constant_t + static readonly "kFlattenedAccentBaseHeight": ot_math_constant_t + static readonly "kSubscriptShiftDown": ot_math_constant_t + static readonly "kSubscriptTopMax": ot_math_constant_t + static readonly "kSubscriptBaselineDropMin": ot_math_constant_t + static readonly "kSuperscriptShiftUp": ot_math_constant_t + static readonly "kSuperscriptShiftUpCramped": ot_math_constant_t + static readonly "kSuperscriptBottomMin": ot_math_constant_t + static readonly "kSuperscriptBaselineDropMax": ot_math_constant_t + static readonly "kSubSuperscriptGapMin": ot_math_constant_t + static readonly "kSuperscriptBottomMaxWithSubscript": ot_math_constant_t + static readonly "kSpaceAfterScript": ot_math_constant_t + static readonly "kUpperLimitGapMin": ot_math_constant_t + static readonly "kUpperLimitBaselineRiseMin": ot_math_constant_t + static readonly "kLowerLimitGapMin": ot_math_constant_t + static readonly "kLowerLimitBaselineDropMin": ot_math_constant_t + static readonly "kStackTopShiftUp": ot_math_constant_t + static readonly "kStackTopDisplayStyleShiftUp": ot_math_constant_t + static readonly "kStackBottomShiftDown": ot_math_constant_t + static readonly "kStackBottomDisplayStyleShiftDown": ot_math_constant_t + static readonly "kStackGapMin": ot_math_constant_t + static readonly "kStackDisplayStyleGapMin": ot_math_constant_t + static readonly "kStretchStackTopShiftUp": ot_math_constant_t + static readonly "kStretchStackBottomShiftDown": ot_math_constant_t + static readonly "kStretchStackGapAboveMin": ot_math_constant_t + static readonly "kStretchStackGapBelowMin": ot_math_constant_t + static readonly "kFractionNumeratorShiftUp": ot_math_constant_t + static readonly "kFractionNumeratorDisplayStyleShiftUp": ot_math_constant_t + static readonly "kFractionDenominatorShiftDown": ot_math_constant_t + static readonly "kFractionDenominatorDisplayStyleShiftDown": ot_math_constant_t + static readonly "kFractionNumeratorGapMin": ot_math_constant_t + static readonly "kFractionNumDisplayStyleGapMin": ot_math_constant_t + static readonly "kFractionRuleThickness": ot_math_constant_t + static readonly "kFractionDenominatorGapMin": ot_math_constant_t + static readonly "kFractionDenomDisplayStyleGapMin": ot_math_constant_t + static readonly "kSkewedFractionHorizontalGap": ot_math_constant_t + static readonly "kSkewedFractionVerticalGap": ot_math_constant_t + static readonly "kOverbarVerticalGap": ot_math_constant_t + static readonly "kOverbarRuleThickness": ot_math_constant_t + static readonly "kOverbarExtraAscender": ot_math_constant_t + static readonly "kUnderbarVerticalGap": ot_math_constant_t + static readonly "kUnderbarRuleThickness": ot_math_constant_t + static readonly "kUnderbarExtraDescender": ot_math_constant_t + static readonly "kRadicalVerticalGap": ot_math_constant_t + static readonly "kRadicalDisplayStyleVerticalGap": ot_math_constant_t + static readonly "kRadicalRuleThickness": ot_math_constant_t + static readonly "kRadicalExtraAscender": ot_math_constant_t + static readonly "kRadicalKernBeforeDegree": ot_math_constant_t + static readonly "kRadicalKernAfterDegree": ot_math_constant_t + static readonly "kRadicalDegreeBottomRaisePercent": ot_math_constant_t + } + + class ot_math_glyph_part_flags_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kExtender": ot_math_glyph_part_flags_t + } + + class ot_math_kern_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kTopRight": ot_math_kern_t + static readonly "kTopLeft": ot_math_kern_t + static readonly "kBottomRight": ot_math_kern_t + static readonly "kBottomLeft": ot_math_kern_t + } + + class ot_meta_tag_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDesignLanguages": ot_meta_tag_t + static readonly "kSupportedLanguages": ot_meta_tag_t + } + + class ot_metrics_tag_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kHorizontalAscender": ot_metrics_tag_t + static readonly "kHorizontalDescender": ot_metrics_tag_t + static readonly "kHorizontalLineGap": ot_metrics_tag_t + static readonly "kHorizontalClippingAscent": ot_metrics_tag_t + static readonly "kHorizontalClippingDescent": ot_metrics_tag_t + static readonly "kVerticalAscender": ot_metrics_tag_t + static readonly "kVerticalDescender": ot_metrics_tag_t + static readonly "kVerticalLineGap": ot_metrics_tag_t + static readonly "kHorizontalCaretRise": ot_metrics_tag_t + static readonly "kHorizontalCaretRun": ot_metrics_tag_t + static readonly "kHorizontalCaretOffset": ot_metrics_tag_t + static readonly "kVerticalCaretRise": ot_metrics_tag_t + static readonly "kVerticalCaretRun": ot_metrics_tag_t + static readonly "kVerticalCaretOffset": ot_metrics_tag_t + static readonly "kXHeight": ot_metrics_tag_t + static readonly "kCapHeight": ot_metrics_tag_t + static readonly "kSubscriptEmXSize": ot_metrics_tag_t + static readonly "kSubscriptEmYSize": ot_metrics_tag_t + static readonly "kSubscriptEmXOffset": ot_metrics_tag_t + static readonly "kSubscriptEmYOffset": ot_metrics_tag_t + static readonly "kSuperscriptEmXSize": ot_metrics_tag_t + static readonly "kSuperscriptEmYSize": ot_metrics_tag_t + static readonly "kSuperscriptEmXOffset": ot_metrics_tag_t + static readonly "kSuperscriptEmYOffset": ot_metrics_tag_t + static readonly "kStrikeoutSize": ot_metrics_tag_t + static readonly "kStrikeoutOffset": ot_metrics_tag_t + static readonly "kUnderlineSize": ot_metrics_tag_t + static readonly "kUnderlineOffset": ot_metrics_tag_t + } + + class ot_var_axis_flags_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kHidden": ot_var_axis_flags_t + } + + class script_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kCommon": script_t + static readonly "kInherited": script_t + static readonly "kUnknown": script_t + static readonly "kArabic": script_t + static readonly "kArmenian": script_t + static readonly "kBengali": script_t + static readonly "kCyrillic": script_t + static readonly "kDevanagari": script_t + static readonly "kGeorgian": script_t + static readonly "kGreek": script_t + static readonly "kGujarati": script_t + static readonly "kGurmukhi": script_t + static readonly "kHangul": script_t + static readonly "kHan": script_t + static readonly "kHebrew": script_t + static readonly "kHiragana": script_t + static readonly "kKannada": script_t + static readonly "kKatakana": script_t + static readonly "kLao": script_t + static readonly "kLatin": script_t + static readonly "kMalayalam": script_t + static readonly "kOriya": script_t + static readonly "kTamil": script_t + static readonly "kTelugu": script_t + static readonly "kThai": script_t + static readonly "kTibetan": script_t + static readonly "kBopomofo": script_t + static readonly "kBraille": script_t + static readonly "kCanadianSyllabics": script_t + static readonly "kCherokee": script_t + static readonly "kEthiopic": script_t + static readonly "kKhmer": script_t + static readonly "kMongolian": script_t + static readonly "kMyanmar": script_t + static readonly "kOgham": script_t + static readonly "kRunic": script_t + static readonly "kSinhala": script_t + static readonly "kSyriac": script_t + static readonly "kThaana": script_t + static readonly "kYI": script_t + static readonly "kDeseret": script_t + static readonly "kGothic": script_t + static readonly "kOldItalic": script_t + static readonly "kBuhid": script_t + static readonly "kHanunoo": script_t + static readonly "kTagalog": script_t + static readonly "kTagbanwa": script_t + static readonly "kCypriot": script_t + static readonly "kLimbu": script_t + static readonly "kLinearB": script_t + static readonly "kOsmanya": script_t + static readonly "kShavian": script_t + static readonly "kTaiLe": script_t + static readonly "kUgaritic": script_t + static readonly "kBuginese": script_t + static readonly "kCoptic": script_t + static readonly "kGlagolitic": script_t + static readonly "kKharoshthi": script_t + static readonly "kNewTaiLue": script_t + static readonly "kOldPersian": script_t + static readonly "kSylotiNagri": script_t + static readonly "kTifinagh": script_t + static readonly "kBalinese": script_t + static readonly "kCuneiform": script_t + static readonly "kNko": script_t + static readonly "kPhagsPa": script_t + static readonly "kPhoenician": script_t + static readonly "kCarian": script_t + static readonly "kCham": script_t + static readonly "kKayahLi": script_t + static readonly "kLepcha": script_t + static readonly "kLycian": script_t + static readonly "kLydian": script_t + static readonly "kOlChiki": script_t + static readonly "kRejang": script_t + static readonly "kSaurashtra": script_t + static readonly "kSundanese": script_t + static readonly "kVai": script_t + static readonly "kAvestan": script_t + static readonly "kBamum": script_t + static readonly "kEgyptianHieroglyphs": script_t + static readonly "kImperialAramaic": script_t + static readonly "kInscriptionalPahlavi": script_t + static readonly "kInscriptionalParthian": script_t + static readonly "kJavanese": script_t + static readonly "kKaithi": script_t + static readonly "kLisu": script_t + static readonly "kMeeteiMayek": script_t + static readonly "kOldSouthArabian": script_t + static readonly "kOldTurkic": script_t + static readonly "kSamaritan": script_t + static readonly "kTaiTham": script_t + static readonly "kTaiViet": script_t + static readonly "kBatak": script_t + static readonly "kBrahmi": script_t + static readonly "kMandaic": script_t + static readonly "kChakma": script_t + static readonly "kMeroiticCursive": script_t + static readonly "kMeroiticHieroglyphs": script_t + static readonly "kMiao": script_t + static readonly "kSharada": script_t + static readonly "kSoraSompeng": script_t + static readonly "kTakri": script_t + static readonly "kBassaVah": script_t + static readonly "kCaucasianAlbanian": script_t + static readonly "kDuployan": script_t + static readonly "kElbasan": script_t + static readonly "kGrantha": script_t + static readonly "kKhojki": script_t + static readonly "kKhudawadi": script_t + static readonly "kLinearA": script_t + static readonly "kMahajani": script_t + static readonly "kManichaean": script_t + static readonly "kMendeKikakui": script_t + static readonly "kModi": script_t + static readonly "kMro": script_t + static readonly "kNabataean": script_t + static readonly "kOldNorthArabian": script_t + static readonly "kOldPermic": script_t + static readonly "kPahawhHmong": script_t + static readonly "kPalmyrene": script_t + static readonly "kPauCinHau": script_t + static readonly "kPsalterPahlavi": script_t + static readonly "kSiddham": script_t + static readonly "kTirhuta": script_t + static readonly "kWarangCiti": script_t + static readonly "kAhom": script_t + static readonly "kAnatolianHieroglyphs": script_t + static readonly "kHatran": script_t + static readonly "kMultani": script_t + static readonly "kOldHungarian": script_t + static readonly "kSignwriting": script_t + static readonly "kAdlam": script_t + static readonly "kBhaiksuki": script_t + static readonly "kMarchen": script_t + static readonly "kOsage": script_t + static readonly "kTangut": script_t + static readonly "kNewa": script_t + static readonly "kMasaramGondi": script_t + static readonly "kNushu": script_t + static readonly "kSoyombo": script_t + static readonly "kZanabazarSquare": script_t + static readonly "kDogra": script_t + static readonly "kGunjalaGondi": script_t + static readonly "kHanifiRohingya": script_t + static readonly "kMakasar": script_t + static readonly "kMedefaidrin": script_t + static readonly "kOldSogdian": script_t + static readonly "kSogdian": script_t + static readonly "kElymaic": script_t + static readonly "kNandinagari": script_t + static readonly "kNyiakengPuachueHmong": script_t + static readonly "kWancho": script_t + static readonly "kChorasmian": script_t + static readonly "kDivesAkuru": script_t + static readonly "kKhitanSmallScript": script_t + static readonly "kYEzidi": script_t + static readonly "kCyproMinoan": script_t + static readonly "kOldUyghur": script_t + static readonly "kTangsa": script_t + static readonly "kToto": script_t + static readonly "kVithkuqi": script_t + static readonly "kMath": script_t + static readonly "kInvalid": script_t + } + + class style_tag_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kItalic": style_tag_t + static readonly "kOpticalSize": style_tag_t + static readonly "kSlantAngle": style_tag_t + static readonly "kSlantRatio": style_tag_t + static readonly "kWidth": style_tag_t + static readonly "kWeight": style_tag_t + } + + class unicode_combining_class_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNotReordered": unicode_combining_class_t + static readonly "kOverlay": unicode_combining_class_t + static readonly "kNukta": unicode_combining_class_t + static readonly "kKanaVoicing": unicode_combining_class_t + static readonly "kVirama": unicode_combining_class_t + static readonly "kCcc10": unicode_combining_class_t + static readonly "kCcc11": unicode_combining_class_t + static readonly "kCcc12": unicode_combining_class_t + static readonly "kCcc13": unicode_combining_class_t + static readonly "kCcc14": unicode_combining_class_t + static readonly "kCcc15": unicode_combining_class_t + static readonly "kCcc16": unicode_combining_class_t + static readonly "kCcc17": unicode_combining_class_t + static readonly "kCcc18": unicode_combining_class_t + static readonly "kCcc19": unicode_combining_class_t + static readonly "kCcc20": unicode_combining_class_t + static readonly "kCcc21": unicode_combining_class_t + static readonly "kCcc22": unicode_combining_class_t + static readonly "kCcc23": unicode_combining_class_t + static readonly "kCcc24": unicode_combining_class_t + static readonly "kCcc25": unicode_combining_class_t + static readonly "kCcc26": unicode_combining_class_t + static readonly "kCcc27": unicode_combining_class_t + static readonly "kCcc28": unicode_combining_class_t + static readonly "kCcc29": unicode_combining_class_t + static readonly "kCcc30": unicode_combining_class_t + static readonly "kCcc31": unicode_combining_class_t + static readonly "kCcc32": unicode_combining_class_t + static readonly "kCcc33": unicode_combining_class_t + static readonly "kCcc34": unicode_combining_class_t + static readonly "kCcc35": unicode_combining_class_t + static readonly "kCcc36": unicode_combining_class_t + static readonly "kCcc84": unicode_combining_class_t + static readonly "kCcc91": unicode_combining_class_t + static readonly "kCcc103": unicode_combining_class_t + static readonly "kCcc107": unicode_combining_class_t + static readonly "kCcc118": unicode_combining_class_t + static readonly "kCcc122": unicode_combining_class_t + static readonly "kCcc129": unicode_combining_class_t + static readonly "kCcc130": unicode_combining_class_t + static readonly "kCcc133": unicode_combining_class_t + static readonly "kAttachedBelowLeft": unicode_combining_class_t + static readonly "kAttachedBelow": unicode_combining_class_t + static readonly "kAttachedAbove": unicode_combining_class_t + static readonly "kAttachedAboveRight": unicode_combining_class_t + static readonly "kBelowLeft": unicode_combining_class_t + static readonly "kBelow": unicode_combining_class_t + static readonly "kBelowRight": unicode_combining_class_t + static readonly "kLeft": unicode_combining_class_t + static readonly "kRight": unicode_combining_class_t + static readonly "kAboveLeft": unicode_combining_class_t + static readonly "kAbove": unicode_combining_class_t + static readonly "kAboveRight": unicode_combining_class_t + static readonly "kDoubleBelow": unicode_combining_class_t + static readonly "kDoubleAbove": unicode_combining_class_t + static readonly "kIotaSubscript": unicode_combining_class_t + static readonly "kInvalid": unicode_combining_class_t + } + + class unicode_general_category_t { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kControl": unicode_general_category_t + static readonly "kFormat": unicode_general_category_t + static readonly "kUnassigned": unicode_general_category_t + static readonly "kPrivateUse": unicode_general_category_t + static readonly "kSurrogate": unicode_general_category_t + static readonly "kLowercaseLetter": unicode_general_category_t + static readonly "kModifierLetter": unicode_general_category_t + static readonly "kOtherLetter": unicode_general_category_t + static readonly "kTitlecaseLetter": unicode_general_category_t + static readonly "kUppercaseLetter": unicode_general_category_t + static readonly "kSpacingMark": unicode_general_category_t + static readonly "kEnclosingMark": unicode_general_category_t + static readonly "kNonSpacingMark": unicode_general_category_t + static readonly "kDecimalNumber": unicode_general_category_t + static readonly "kLetterNumber": unicode_general_category_t + static readonly "kOtherNumber": unicode_general_category_t + static readonly "kConnectPunctuation": unicode_general_category_t + static readonly "kDashPunctuation": unicode_general_category_t + static readonly "kClosePunctuation": unicode_general_category_t + static readonly "kFinalPunctuation": unicode_general_category_t + static readonly "kInitialPunctuation": unicode_general_category_t + static readonly "kOtherPunctuation": unicode_general_category_t + static readonly "kOpenPunctuation": unicode_general_category_t + static readonly "kCurrencySymbol": unicode_general_category_t + static readonly "kModifierSymbol": unicode_general_category_t + static readonly "kMathSymbol": unicode_general_category_t + static readonly "kOtherSymbol": unicode_general_category_t + static readonly "kLineSeparator": unicode_general_category_t + static readonly "kParagraphSeparator": unicode_general_category_t + static readonly "kSpaceSeparator": unicode_general_category_t + } + + + class aat_layout_feature_selector_info_t { + nameId : number; + enable : HarfBuzz.aat_layout_feature_selector_t; + disable : HarfBuzz.aat_layout_feature_selector_t; + reserved : number; + + } + + class blob_t { + } + + class buffer_t { + } + + class draw_funcs_t { + } + + class draw_state_t { + pathOpen : number; + pathStartX : number; + pathStartY : number; + currentX : number; + currentY : number; + + } + + class face_t { + } + + class feature_t { + tag : number; + value : number; + start : number; + end : number; + + string(buf: string[], size: number): void; + } + + class font_extents_t { + ascender : number; + descender : number; + lineGap : number; + reserved9 : number; + reserved8 : number; + reserved7 : number; + reserved6 : number; + reserved5 : number; + reserved4 : number; + reserved3 : number; + reserved2 : number; + reserved1 : number; + + } + + class font_funcs_t { + } + + class font_t { + } + + class glyph_extents_t { + XBearing : number; + YBearing : number; + width : number; + height : number; + + } + + class glyph_info_t { + codepoint : number; + mask : number; + cluster : number; + + } + + class glyph_position_t { + XAdvance : number; + YAdvance : number; + XOffset : number; + YOffset : number; + + } + + class language_t { + string(): string; + } + + class map_t { + } + + class ot_color_layer_t { + glyph : number; + colorIndex : number; + + } + + class ot_math_glyph_part_t { + glyph : number; + startConnectorLength : number; + endConnectorLength : number; + fullAdvance : number; + flags : HarfBuzz.ot_math_glyph_part_flags_t; + + } + + class ot_math_glyph_variant_t { + glyph : number; + advance : number; + + } + + class ot_math_kern_entry_t { + maxCorrectionHeight : number; + kernValue : number; + + } + + class ot_name_entry_t { + nameId : number; + language : HarfBuzz.language_t; + + } + + class ot_var_axis_info_t { + axisIndex : number; + tag : number; + nameId : number; + flags : HarfBuzz.ot_var_axis_flags_t; + minValue : number; + defaultValue : number; + maxValue : number; + reserved : number; + + } + + class ot_var_axis_t { + tag : number; + nameId : number; + minValue : number; + defaultValue : number; + maxValue : number; + + } + + class segment_properties_t { + direction : HarfBuzz.direction_t; + script : HarfBuzz.script_t; + language : HarfBuzz.language_t; + reserved1 : void; + reserved2 : void; + + } + + class set_t { + } + + class shape_plan_t { + } + + class unicode_funcs_t { + } + + class user_data_key_t { + unused : number; + + } + + class variation_t { + tag : number; + value : number; + + string(buf: string[], size: number): void; + } + +} \ No newline at end of file diff --git a/Pango.d.ts b/Pango.d.ts new file mode 100644 index 0000000..76f6e00 --- /dev/null +++ b/Pango.d.ts @@ -0,0 +1,1418 @@ +declare namespace AuPango { + + class Alignment { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLeft": Alignment + static readonly "kCenter": Alignment + static readonly "kRight": Alignment + } + + class AttrType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": AttrType + static readonly "kLanguage": AttrType + static readonly "kFamily": AttrType + static readonly "kStyle": AttrType + static readonly "kWeight": AttrType + static readonly "kVariant": AttrType + static readonly "kStretch": AttrType + static readonly "kSize": AttrType + static readonly "kFontDesc": AttrType + static readonly "kForeground": AttrType + static readonly "kBackground": AttrType + static readonly "kUnderline": AttrType + static readonly "kStrikethrough": AttrType + static readonly "kRise": AttrType + static readonly "kShape": AttrType + static readonly "kScale": AttrType + static readonly "kFallback": AttrType + static readonly "kLetterSpacing": AttrType + static readonly "kUnderlineColor": AttrType + static readonly "kStrikethroughColor": AttrType + static readonly "kAbsoluteSize": AttrType + static readonly "kGravity": AttrType + static readonly "kGravityHint": AttrType + static readonly "kFontFeatures": AttrType + static readonly "kForegroundAlpha": AttrType + static readonly "kBackgroundAlpha": AttrType + static readonly "kAllowBreaks": AttrType + static readonly "kShow": AttrType + static readonly "kInsertHyphens": AttrType + static readonly "kOverline": AttrType + static readonly "kOverlineColor": AttrType + static readonly "kLineHeight": AttrType + static readonly "kAbsoluteLineHeight": AttrType + static readonly "kTextTransform": AttrType + static readonly "kWord": AttrType + static readonly "kSentence": AttrType + static readonly "kBaselineShift": AttrType + static readonly "kFontScale": AttrType + } + + class BaselineShift { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": BaselineShift + static readonly "kSuperscript": BaselineShift + static readonly "kSubscript": BaselineShift + } + + class BidiType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kL": BidiType + static readonly "kLre": BidiType + static readonly "kLro": BidiType + static readonly "kR": BidiType + static readonly "kAl": BidiType + static readonly "kRle": BidiType + static readonly "kRlo": BidiType + static readonly "kPdf": BidiType + static readonly "kEn": BidiType + static readonly "kEs": BidiType + static readonly "kEt": BidiType + static readonly "kAn": BidiType + static readonly "kCs": BidiType + static readonly "kNsm": BidiType + static readonly "kBn": BidiType + static readonly "kB": BidiType + static readonly "kS": BidiType + static readonly "kWs": BidiType + static readonly "kOn": BidiType + static readonly "kLri": BidiType + static readonly "kRli": BidiType + static readonly "kFsi": BidiType + static readonly "kPdi": BidiType + } + + class CoverageLevel { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": CoverageLevel + static readonly "kFallback": CoverageLevel + static readonly "kApproximate": CoverageLevel + static readonly "kExact": CoverageLevel + } + + class Direction { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLtr": Direction + static readonly "kRtl": Direction + static readonly "kTtbLtr": Direction + static readonly "kTtbRtl": Direction + static readonly "kWeakLtr": Direction + static readonly "kWeakRtl": Direction + static readonly "kNeutral": Direction + } + + class EllipsizeMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": EllipsizeMode + static readonly "kStart": EllipsizeMode + static readonly "kMiddle": EllipsizeMode + static readonly "kEnd": EllipsizeMode + } + + class FontMask { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFamily": FontMask + static readonly "kStyle": FontMask + static readonly "kVariant": FontMask + static readonly "kWeight": FontMask + static readonly "kStretch": FontMask + static readonly "kSize": FontMask + static readonly "kGravity": FontMask + static readonly "kVariations": FontMask + } + + class FontScale { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": FontScale + static readonly "kSuperscript": FontScale + static readonly "kSubscript": FontScale + static readonly "kSmallCaps": FontScale + } + + class Gravity { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSouth": Gravity + static readonly "kEast": Gravity + static readonly "kNorth": Gravity + static readonly "kWest": Gravity + static readonly "kAuto": Gravity + } + + class GravityHint { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNatural": GravityHint + static readonly "kStrong": GravityHint + static readonly "kLine": GravityHint + } + + class LayoutDeserializeError { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": LayoutDeserializeError + static readonly "kInvalidValue": LayoutDeserializeError + static readonly "kMissingValue": LayoutDeserializeError + } + + class LayoutDeserializeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": LayoutDeserializeFlags + static readonly "kContext": LayoutDeserializeFlags + } + + class LayoutSerializeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": LayoutSerializeFlags + static readonly "kContext": LayoutSerializeFlags + static readonly "kOutput": LayoutSerializeFlags + } + + class Overline { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": Overline + static readonly "kSingle": Overline + } + + class RenderPart { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kForeground": RenderPart + static readonly "kBackground": RenderPart + static readonly "kUnderline": RenderPart + static readonly "kStrikethrough": RenderPart + static readonly "kOverline": RenderPart + } + + class Script { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalidCode": Script + static readonly "kCommon": Script + static readonly "kInherited": Script + static readonly "kArabic": Script + static readonly "kArmenian": Script + static readonly "kBengali": Script + static readonly "kBopomofo": Script + static readonly "kCherokee": Script + static readonly "kCoptic": Script + static readonly "kCyrillic": Script + static readonly "kDeseret": Script + static readonly "kDevanagari": Script + static readonly "kEthiopic": Script + static readonly "kGeorgian": Script + static readonly "kGothic": Script + static readonly "kGreek": Script + static readonly "kGujarati": Script + static readonly "kGurmukhi": Script + static readonly "kHan": Script + static readonly "kHangul": Script + static readonly "kHebrew": Script + static readonly "kHiragana": Script + static readonly "kKannada": Script + static readonly "kKatakana": Script + static readonly "kKhmer": Script + static readonly "kLao": Script + static readonly "kLatin": Script + static readonly "kMalayalam": Script + static readonly "kMongolian": Script + static readonly "kMyanmar": Script + static readonly "kOgham": Script + static readonly "kOldItalic": Script + static readonly "kOriya": Script + static readonly "kRunic": Script + static readonly "kSinhala": Script + static readonly "kSyriac": Script + static readonly "kTamil": Script + static readonly "kTelugu": Script + static readonly "kThaana": Script + static readonly "kThai": Script + static readonly "kTibetan": Script + static readonly "kCanadianAboriginal": Script + static readonly "kYI": Script + static readonly "kTagalog": Script + static readonly "kHanunoo": Script + static readonly "kBuhid": Script + static readonly "kTagbanwa": Script + static readonly "kBraille": Script + static readonly "kCypriot": Script + static readonly "kLimbu": Script + static readonly "kOsmanya": Script + static readonly "kShavian": Script + static readonly "kLinearB": Script + static readonly "kTaiLe": Script + static readonly "kUgaritic": Script + static readonly "kNewTaiLue": Script + static readonly "kBuginese": Script + static readonly "kGlagolitic": Script + static readonly "kTifinagh": Script + static readonly "kSylotiNagri": Script + static readonly "kOldPersian": Script + static readonly "kKharoshthi": Script + static readonly "kUnknown": Script + static readonly "kBalinese": Script + static readonly "kCuneiform": Script + static readonly "kPhoenician": Script + static readonly "kPhagsPa": Script + static readonly "kNko": Script + static readonly "kKayahLi": Script + static readonly "kLepcha": Script + static readonly "kRejang": Script + static readonly "kSundanese": Script + static readonly "kSaurashtra": Script + static readonly "kCham": Script + static readonly "kOlChiki": Script + static readonly "kVai": Script + static readonly "kCarian": Script + static readonly "kLycian": Script + static readonly "kLydian": Script + static readonly "kBatak": Script + static readonly "kBrahmi": Script + static readonly "kMandaic": Script + static readonly "kChakma": Script + static readonly "kMeroiticCursive": Script + static readonly "kMeroiticHieroglyphs": Script + static readonly "kMiao": Script + static readonly "kSharada": Script + static readonly "kSoraSompeng": Script + static readonly "kTakri": Script + static readonly "kBassaVah": Script + static readonly "kCaucasianAlbanian": Script + static readonly "kDuployan": Script + static readonly "kElbasan": Script + static readonly "kGrantha": Script + static readonly "kKhojki": Script + static readonly "kKhudawadi": Script + static readonly "kLinearA": Script + static readonly "kMahajani": Script + static readonly "kManichaean": Script + static readonly "kMendeKikakui": Script + static readonly "kModi": Script + static readonly "kMro": Script + static readonly "kNabataean": Script + static readonly "kOldNorthArabian": Script + static readonly "kOldPermic": Script + static readonly "kPahawhHmong": Script + static readonly "kPalmyrene": Script + static readonly "kPauCinHau": Script + static readonly "kPsalterPahlavi": Script + static readonly "kSiddham": Script + static readonly "kTirhuta": Script + static readonly "kWarangCiti": Script + static readonly "kAhom": Script + static readonly "kAnatolianHieroglyphs": Script + static readonly "kHatran": Script + static readonly "kMultani": Script + static readonly "kOldHungarian": Script + static readonly "kSignwriting": Script + } + + class ShapeFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": ShapeFlags + static readonly "kRoundPositions": ShapeFlags + } + + class ShowFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": ShowFlags + static readonly "kSpaces": ShowFlags + static readonly "kLineBreaks": ShowFlags + static readonly "kIgnorables": ShowFlags + } + + class Stretch { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kUltraCondensed": Stretch + static readonly "kExtraCondensed": Stretch + static readonly "kCondensed": Stretch + static readonly "kSemiCondensed": Stretch + static readonly "kNormal": Stretch + static readonly "kSemiExpanded": Stretch + static readonly "kExpanded": Stretch + static readonly "kExtraExpanded": Stretch + static readonly "kUltraExpanded": Stretch + } + + class Style { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNormal": Style + static readonly "kOblique": Style + static readonly "kItalic": Style + } + + class TabAlign { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kLeft": TabAlign + static readonly "kRight": TabAlign + static readonly "kCenter": TabAlign + static readonly "kDecimal": TabAlign + } + + class TextTransform { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": TextTransform + static readonly "kLowercase": TextTransform + static readonly "kUppercase": TextTransform + static readonly "kCapitalize": TextTransform + } + + class Underline { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": Underline + static readonly "kSingle": Underline + static readonly "kDouble": Underline + static readonly "kLow": Underline + static readonly "kError": Underline + static readonly "kSingleLine": Underline + static readonly "kDoubleLine": Underline + static readonly "kErrorLine": Underline + } + + class Variant { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNormal": Variant + static readonly "kSmallCaps": Variant + static readonly "kAllSmallCaps": Variant + static readonly "kPetiteCaps": Variant + static readonly "kAllPetiteCaps": Variant + static readonly "kUnicase": Variant + static readonly "kTitleCaps": Variant + } + + class Weight { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kThin": Weight + static readonly "kUltralight": Weight + static readonly "kLight": Weight + static readonly "kSemilight": Weight + static readonly "kBook": Weight + static readonly "kNormal": Weight + static readonly "kMedium": Weight + static readonly "kSemibold": Weight + static readonly "kBold": Weight + static readonly "kUltrabold": Weight + static readonly "kHeavy": Weight + static readonly "kUltraheavy": Weight + } + + class WrapMode { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kWord": WrapMode + static readonly "kChar": WrapMode + static readonly "kWordChar": WrapMode + } + + + class Analysis { + shapeEngine : void; + langEngine : void; + font : AuPango.Font; + level : number; + gravity : number; + flags : number; + script : number; + language : AuPango.Language; + + } + + class AttrClass { + type : AuPango.AttrType; + copy : (attr: AuPango.Attribute) => AuPango.Attribute; + destroy : (attr: AuPango.Attribute) => void; + equal : (attr1: AuPango.Attribute, attr2: AuPango.Attribute) => boolean; + + } + + class AttrColor { + attr : AuPango.Attribute; + color : AuPango.Color; + + } + + class AttrFloat { + attr : AuPango.Attribute; + value : number; + + } + + class AttrFontDesc { + attr : AuPango.Attribute; + desc : AuPango.FontDescription; + + static New(desc: AuPango.FontDescription): AuPango.Attribute; + } + + class AttrFontFeatures { + attr : AuPango.Attribute; + features : string; + + static New(features: string): AuPango.Attribute; + } + + class AttrInt { + attr : AuPango.Attribute; + value : number; + + } + + class AttrIterator { + copy(): AuPango.AttrIterator; + destroy(): void; + get(type: AuPango.AttrType): AuPango.Attribute; + getAttrs(): AuPango.Attribute[]; + getFont(desc: AuPango.FontDescription, language ?: AuPango.Language, extraAttrs ?: AuPango.Attribute[]): void; + next(): boolean; + range(start: number, end: number): void; + } + + class AttrLanguage { + attr : AuPango.Attribute; + value : AuPango.Language; + + static New(language: AuPango.Language): AuPango.Attribute; + } + + class AttrList { + static New(): AuPango.AttrList; + change(attr: AuPango.Attribute): void; + copy(): AuPango.AttrList; + equal(otherList: AuPango.AttrList): boolean; + filter(func: (attribute: AuPango.Attribute) => boolean): AuPango.AttrList; + getAttributes(): AuPango.Attribute[]; + getIterator(): AuPango.AttrIterator; + insert(attr: AuPango.Attribute): void; + insertBefore(attr: AuPango.Attribute): void; + ref(): AuPango.AttrList; + splice(other: AuPango.AttrList, pos: number, len: number): void; + unref(): void; + update(pos: number, remove: number, add: number): void; + static FromString(text: string): AuPango.AttrList; + } + + class AttrShape { + attr : AuPango.Attribute; + inkRect : AuPango.Rectangle; + logicalRect : AuPango.Rectangle; + data : void; + copyFunc : () => void; + destroyFunc : () => void; + + static New(inkRect: AuPango.Rectangle, logicalRect: AuPango.Rectangle): AuPango.Attribute; + static NewWithData(inkRect: AuPango.Rectangle, logicalRect: AuPango.Rectangle, copyFunc: () => void | undefined | null, destroyFunc: () => void | undefined | null): AuPango.Attribute; + } + + class AttrSize { + attr : AuPango.Attribute; + size : number; + absolute : number; + + static New(size: number): AuPango.Attribute; + static NewAbsolute(size: number): AuPango.Attribute; + } + + class AttrString { + attr : AuPango.Attribute; + value : string; + + } + + class Attribute { + klass : AuPango.AttrClass; + startIndex : number; + endIndex : number; + + asColor(): AuPango.AttrColor; + asFloat(): AuPango.AttrFloat; + asFontDesc(): AuPango.AttrFontDesc; + asFontFeatures(): AuPango.AttrFontFeatures; + asInt(): AuPango.AttrInt; + asLanguage(): AuPango.AttrLanguage; + asShape(): AuPango.AttrShape; + asSize(): AuPango.AttrSize; + asString(): AuPango.AttrString; + copy(): AuPango.Attribute; + destroy(): void; + equal(attr2: AuPango.Attribute): boolean; + init(klass: AuPango.AttrClass): void; + } + + class Color { + red : number; + green : number; + blue : number; + + copy(): AuPango.Color; + free(): void; + parse(spec: string): boolean; + parseWithAlpha(alpha ?: number, spec ?: string): boolean; + } + + class ContextClass { + } + + class FontClass { + parentClass : GObject.ObjectClass; + describe : (font: AuPango.Font) => AuPango.FontDescription; + getCoverage : (font: AuPango.Font, language: AuPango.Language) => AuPango.Coverage; + getGlyphExtents : (font: AuPango.Font | undefined | null, glyph: number, inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle) => void; + getMetrics : (font: AuPango.Font | undefined | null, language: AuPango.Language | undefined | null) => AuPango.FontMetrics; + getFontMap : (font: AuPango.Font | undefined | null) => AuPango.FontMap; + describeAbsolute : (font: AuPango.Font) => AuPango.FontDescription; + getFeatures : (font: AuPango.Font, features: HarfBuzz.feature_t[], len: number, numFeatures: number) => void; + createHbFont : (font: AuPango.Font) => HarfBuzz.font_t; + + } + + class FontDescription { + static New(): AuPango.FontDescription; + betterMatch(oldMatch: AuPango.FontDescription | undefined | null, newMatch: AuPango.FontDescription): boolean; + copy(): AuPango.FontDescription; + copyStatic(): AuPango.FontDescription; + equal(desc2: AuPango.FontDescription): boolean; + free(): void; + getFamily(): string; + getGravity(): AuPango.Gravity; + getSetFields(): AuPango.FontMask; + getSize(): number; + getSizeIsAbsolute(): boolean; + getStretch(): AuPango.Stretch; + getStyle(): AuPango.Style; + getVariant(): AuPango.Variant; + getVariations(): string; + getWeight(): AuPango.Weight; + hash(): number; + merge(descToMerge: AuPango.FontDescription | undefined | null, replaceExisting: boolean): void; + mergeStatic(descToMerge: AuPango.FontDescription, replaceExisting: boolean): void; + setAbsoluteSize(size: number): void; + setFamily(family: string): void; + setFamilyStatic(family: string): void; + setGravity(gravity: AuPango.Gravity): void; + setSize(size: number): void; + setStretch(stretch: AuPango.Stretch): void; + setStyle(style: AuPango.Style): void; + setVariant(variant: AuPango.Variant): void; + setVariations(variations: string | undefined | null): void; + setVariationsStatic(variations: string): void; + setWeight(weight: AuPango.Weight): void; + toFilename(): string; + unsetFields(toUnset: AuPango.FontMask): void; + static FromString(str: string): AuPango.FontDescription; + } + + class FontFaceClass { + parentClass : GObject.ObjectClass; + getFaceName : (face: AuPango.FontFace) => string; + describe : (face: AuPango.FontFace) => AuPango.FontDescription; + listSizes : (face: AuPango.FontFace, sizes ?: number[] | undefined | null, nSizes ?: number) => void; + isSynthesized : (face: AuPango.FontFace) => boolean; + getFamily : (face: AuPango.FontFace) => AuPango.FontFamily; + pangoReserved3 : void; + pangoReserved4 : void; + + } + + class FontFamilyClass { + parentClass : GObject.ObjectClass; + listFaces : (family: AuPango.FontFamily, faces ?: AuPango.FontFace[], nFaces ?: number) => void; + getName : (family: AuPango.FontFamily) => string; + isMonospace : (family: AuPango.FontFamily) => boolean; + isVariable : (family: AuPango.FontFamily) => boolean; + getFace : (family: AuPango.FontFamily, name: string | undefined | null) => AuPango.FontFace; + pangoReserved2 : void; + + } + + class FontMapClass { + parentClass : GObject.ObjectClass; + loadFont : (fontmap: AuPango.FontMap, context: AuPango.Context, desc: AuPango.FontDescription) => AuPango.Font; + listFamilies : (fontmap: AuPango.FontMap, families: AuPango.FontFamily[], nFamilies: number) => void; + loadFontset : (fontmap: AuPango.FontMap, context: AuPango.Context, desc: AuPango.FontDescription, language: AuPango.Language) => AuPango.Fontset; + shapeEngineType : string; + getSerial : (fontmap: AuPango.FontMap) => number; + changed : (fontmap: AuPango.FontMap) => void; + getFamily : (fontmap: AuPango.FontMap, name: string) => AuPango.FontFamily; + getFace : void; + + } + + class FontMetrics { + refCount : number; + ascent : number; + descent : number; + height : number; + approximateCharWidth : number; + approximateDigitWidth : number; + underlinePosition : number; + underlineThickness : number; + strikethroughPosition : number; + strikethroughThickness : number; + + getApproximateCharWidth(): number; + getApproximateDigitWidth(): number; + getAscent(): number; + getDescent(): number; + getHeight(): number; + getStrikethroughPosition(): number; + getStrikethroughThickness(): number; + getUnderlinePosition(): number; + getUnderlineThickness(): number; + ref(): AuPango.FontMetrics; + unref(): void; + } + + class FontsetClass { + parentClass : GObject.ObjectClass; + getFont : (fontset: AuPango.Fontset, wc: number) => AuPango.Font; + getMetrics : (fontset: AuPango.Fontset) => AuPango.FontMetrics; + getLanguage : (fontset: AuPango.Fontset) => AuPango.Language; + foreach : (fontset: AuPango.Fontset, func: (fontset: AuPango.Fontset, font: AuPango.Font) => boolean) => void; + pangoReserved1 : void; + pangoReserved2 : void; + pangoReserved3 : void; + pangoReserved4 : void; + + } + + class FontsetSimpleClass { + } + + class GlyphGeometry { + width : number; + XOffset : number; + YOffset : number; + + } + + class GlyphInfo { + glyph : number; + geometry : AuPango.GlyphGeometry; + attr : AuPango.GlyphVisAttr; + + } + + class GlyphItem { + item : AuPango.Item; + glyphs : AuPango.GlyphString; + YOffset : number; + startXOffset : number; + endXOffset : number; + + applyAttrs(text: string, list: AuPango.AttrList): AuPango.GlyphItem[]; + copy(): AuPango.GlyphItem; + free(): void; + getLogicalWidths(text: string, logicalWidths: number[]): void; + letterSpace(text: string, logAttrs: AuPango.LogAttr[], letterSpacing: number): void; + split(text: string, splitIndex: number): AuPango.GlyphItem; + } + + class GlyphItemIter { + glyphItem : AuPango.GlyphItem; + text : string; + startGlyph : number; + startIndex : number; + startChar : number; + endGlyph : number; + endIndex : number; + endChar : number; + + copy(): AuPango.GlyphItemIter; + free(): void; + initEnd(glyphItem: AuPango.GlyphItem, text: string): boolean; + initStart(glyphItem: AuPango.GlyphItem, text: string): boolean; + nextCluster(): boolean; + prevCluster(): boolean; + } + + class GlyphString { + numGlyphs : number; + glyphs : AuPango.GlyphInfo[]; + logClusters : number; + space : number; + + static New(): AuPango.GlyphString; + copy(): AuPango.GlyphString; + extents(font: AuPango.Font, inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + extentsRange(start: number, end: number, font: AuPango.Font, inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + free(): void; + getLogicalWidths(text: string, length: number, embeddingLevel: number, logicalWidths: number[]): void; + getWidth(): number; + indexToX(text: string, length: number, analysis: AuPango.Analysis, index: number, trailing: boolean, XPos: number): void; + indexToXFull(text: string, length: number, analysis: AuPango.Analysis, attrs: AuPango.LogAttr | undefined | null, index: number, trailing: boolean, XPos: number): void; + setSize(newLen: number): void; + XToIndex(text: string, length: number, analysis: AuPango.Analysis, XPos: number, index: number, trailing: number): void; + } + + class GlyphVisAttr { + isClusterStart : number; + isColor : number; + + } + + class Item { + offset : number; + length : number; + numChars : number; + analysis : AuPango.Analysis; + + static New(): AuPango.Item; + applyAttrs(iter: AuPango.AttrIterator): void; + copy(): AuPango.Item; + free(): void; + split(splitIndex: number, splitOffset: number): AuPango.Item; + } + + class Language { + getSampleString(): string; + getScripts(numScripts ?: number): AuPango.Script[]; + includesScript(script: AuPango.Script): boolean; + matches(rangeList: string): boolean; + static FromString(language: string | undefined | null): AuPango.Language; + static GetDefault(): AuPango.Language; + static GetPreferred(): AuPango.Language; + } + + class LayoutClass { + } + + class LayoutIter { + atLastLine(): boolean; + copy(): AuPango.LayoutIter; + free(): void; + getBaseline(): number; + getCharExtents(logicalRect: AuPango.Rectangle): void; + getClusterExtents(inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + getIndex(): number; + getLayout(): AuPango.Layout; + getLayoutExtents(inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + getLine(): AuPango.LayoutLine; + getLineExtents(inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + getLineReadonly(): AuPango.LayoutLine; + getLineYRange(Y0 ?: number, Y1 ?: number): void; + getRun(): AuPango.GlyphItem; + getRunBaseline(): number; + getRunExtents(inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + getRunReadonly(): AuPango.GlyphItem; + nextChar(): boolean; + nextCluster(): boolean; + nextLine(): boolean; + nextRun(): boolean; + } + + class LayoutLine { + layout : AuPango.Layout; + startIndex : number; + length : number; + runs : AuPango.GlyphItem[]; + isParagraphStart : number; + resolvedDir : number; + + getExtents(inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + getHeight(height ?: number): void; + getLength(): number; + getPixelExtents(inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + getResolvedDirection(): AuPango.Direction; + getStartIndex(): number; + getXRanges(startIndex: number, endIndex: number, ranges: number[], nRanges: number): void; + indexToX(index: number, trailing: boolean, XPos: number): void; + ref(): AuPango.LayoutLine; + unref(): void; + XToIndex(XPos: number, index: number, trailing: number): boolean; + } + + class LogAttr { + isLineBreak : number; + isMandatoryBreak : number; + isCharBreak : number; + isWhite : number; + isCursorPosition : number; + isWordStart : number; + isWordEnd : number; + isSentenceBoundary : number; + isSentenceStart : number; + isSentenceEnd : number; + backspaceDeletesCharacter : number; + isExpandableSpace : number; + isWordBoundary : number; + breakInsertsHyphen : number; + breakRemovesPreceding : number; + reserved : number; + + } + + class Matrix { + XX : number; + XY : number; + YX : number; + YY : number; + X0 : number; + Y0 : number; + + concat(newMatrix: AuPango.Matrix): void; + copy(): AuPango.Matrix; + free(): void; + getFontScaleFactor(): number; + getFontScaleFactors(XScale ?: number, YScale ?: number): void; + getSlantRatio(): number; + rotate(degrees: number): void; + scale(scaleX: number, scaleY: number): void; + transformDistance(dx: number, dy: number): void; + transformPixelRectangle(rect ?: AuPango.Rectangle): void; + transformPoint(x: number, y: number): void; + transformRectangle(rect ?: AuPango.Rectangle): void; + translate(tx: number, ty: number): void; + } + + class Rectangle { + x : number; + y : number; + width : number; + height : number; + + } + + class RendererClass { + parentClass : GObject.ObjectClass; + drawGlyphs : (renderer: AuPango.Renderer, font: AuPango.Font, glyphs: AuPango.GlyphString, x: number, y: number) => void; + drawRectangle : (renderer: AuPango.Renderer, part: AuPango.RenderPart, x: number, y: number, width: number, height: number) => void; + drawErrorUnderline : (renderer: AuPango.Renderer, x: number, y: number, width: number, height: number) => void; + drawShape : (renderer: AuPango.Renderer, attr: AuPango.AttrShape, x: number, y: number) => void; + drawTrapezoid : (renderer: AuPango.Renderer, part: AuPango.RenderPart, Y1: number, X11: number, X21: number, Y2: number, X12: number, X22: number) => void; + drawGlyph : (renderer: AuPango.Renderer, font: AuPango.Font, glyph: number, x: number, y: number) => void; + partChanged : (renderer: AuPango.Renderer, part: AuPango.RenderPart) => void; + begin : (renderer: AuPango.Renderer) => void; + end : (renderer: AuPango.Renderer) => void; + prepareRun : (renderer: AuPango.Renderer, run: AuPango.GlyphItem) => void; + drawGlyphItem : (renderer: AuPango.Renderer, text: string | undefined | null, glyphItem: AuPango.GlyphItem, x: number, y: number) => void; + pangoReserved2 : void; + pangoReserved3 : void; + pangoReserved4 : void; + + } + + class RendererPrivate { + } + + class ScriptIter { + static New(text: string, length: number): AuPango.ScriptIter; + free(): void; + getRange(start ?: string, end ?: string, script ?: AuPango.Script): void; + next(): boolean; + } + + class TabArray { + static New(initialSize: number, positionsInPixels: boolean): AuPango.TabArray; + copy(): AuPango.TabArray; + free(): void; + getDecimalPoint(tabIndex: number): string; + getPositionsInPixels(): boolean; + getSize(): number; + getTab(tabIndex: number, alignment ?: AuPango.TabAlign, location ?: number): void; + getTabs(alignments ?: AuPango.TabAlign, locations ?: number[]): void; + resize(newSize: number): void; + setDecimalPoint(tabIndex: number, decimalPoint: string): void; + setPositionsInPixels(positionsInPixels: boolean): void; + setTab(tabIndex: number, alignment: AuPango.TabAlign, location: number): void; + sort(): void; + static FromString(text: string): AuPango.TabArray; + } + + + class Context extends GObject.Object { + constructor(initializerList ?: ContextCtor); + + static New(): AuPango.Context; + changed(): void; + getBaseDir(): AuPango.Direction; + getBaseGravity(): AuPango.Gravity; + getFontDescription(): AuPango.FontDescription; + getFontMap(): AuPango.FontMap; + getGravity(): AuPango.Gravity; + getGravityHint(): AuPango.GravityHint; + getLanguage(): AuPango.Language; + getMatrix(): AuPango.Matrix; + getMetrics(desc: AuPango.FontDescription | undefined | null, language: AuPango.Language | undefined | null): AuPango.FontMetrics; + getRoundGlyphPositions(): boolean; + getSerial(): number; + listFamilies(families: AuPango.FontFamily[], nFamilies: number): void; + loadFont(desc: AuPango.FontDescription): AuPango.Font; + loadFontset(desc: AuPango.FontDescription, language: AuPango.Language): AuPango.Fontset; + setBaseDir(direction: AuPango.Direction): void; + setBaseGravity(gravity: AuPango.Gravity): void; + setFontDescription(desc: AuPango.FontDescription): void; + setFontMap(fontMap: AuPango.FontMap): void; + setGravityHint(hint: AuPango.GravityHint): void; + setLanguage(language: AuPango.Language): void; + setMatrix(matrix: AuPango.Matrix | undefined | null): void; + setRoundGlyphPositions(roundPositions: boolean): void; + //TypeScript is complete garbage: + } + + class ContextCtor { + } + + class Coverage extends GObject.Object { + constructor(initializerList ?: CoverageCtor); + + static New(): AuPango.Coverage; + static FromBytes(bytes: number[], nBytes: number): AuPango.Coverage; + copy(): AuPango.Coverage; + get(index: number): AuPango.CoverageLevel; + max(other: AuPango.Coverage): void; + set(index: number, level: AuPango.CoverageLevel): void; + toBytes(bytes: number[], nBytes: number): void; + //TypeScript is complete garbage: + } + + class CoverageCtor { + } + + class Font extends GObject.Object { + constructor(initializerList ?: FontCtor); + + parentInstance : GObject.Object; + + static DescriptionsFree(descs: AuPango.FontDescription[] | undefined | null, nDescs: number): void; + static Deserialize(context: AuPango.Context, bytes: AuGlibEx.Bytes): AuPango.Font; + describe(): AuPango.FontDescription; + describeWithAbsoluteSize(): AuPango.FontDescription; + getCoverage(language: AuPango.Language): AuPango.Coverage; + getFace(): AuPango.FontFace; + getFeatures(features: HarfBuzz.feature_t[], len: number, numFeatures: number): void; + getFontMap(): AuPango.FontMap; + getGlyphExtents(glyph: number, inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + getLanguages(): AuPango.Language[]; + getMetrics(language: AuPango.Language | undefined | null): AuPango.FontMetrics; + hasChar(wc: string): boolean; + serialize(): AuGlibEx.Bytes; + //TypeScript is complete garbage: + } + + class FontCtor { + } + + class FontFace extends GObject.Object { + constructor(initializerList ?: FontFaceCtor); + + parentInstance : GObject.Object; + + describe(): AuPango.FontDescription; + getFaceName(): string; + getFamily(): AuPango.FontFamily; + isSynthesized(): boolean; + listSizes(sizes ?: number[] | undefined | null, nSizes ?: number): void; + //TypeScript is complete garbage: + } + + class FontFaceCtor { + } + + class FontFamily extends GObject.Object { + constructor(initializerList ?: FontFamilyCtor); + + parentInstance : GObject.Object; + + getFace(name: string | undefined | null): AuPango.FontFace; + getName(): string; + isMonospace(): boolean; + isVariable(): boolean; + listFaces(faces ?: AuPango.FontFace[], nFaces ?: number): void; + //TypeScript is complete garbage: + } + + class FontFamilyCtor { + } + + class FontMap extends GObject.Object { + constructor(initializerList ?: FontMapCtor); + + parentInstance : GObject.Object; + + changed(): void; + createContext(): AuPango.Context; + getFamily(name: string): AuPango.FontFamily; + getSerial(): number; + listFamilies(families: AuPango.FontFamily[], nFamilies: number): void; + loadFont(context: AuPango.Context, desc: AuPango.FontDescription): AuPango.Font; + loadFontset(context: AuPango.Context, desc: AuPango.FontDescription, language: AuPango.Language): AuPango.Fontset; + //TypeScript is complete garbage: + } + + class FontMapCtor { + } + + class Fontset extends GObject.Object { + constructor(initializerList ?: FontsetCtor); + + parentInstance : GObject.Object; + + foreach(func: (fontset: AuPango.Fontset, font: AuPango.Font) => boolean): void; + getFont(wc: number): AuPango.Font; + getMetrics(): AuPango.FontMetrics; + //TypeScript is complete garbage: + } + + class FontsetCtor { + } + + class FontsetSimple extends AuPango.Fontset { + constructor(initializerList ?: FontsetSimpleCtor); + + static New(language: AuPango.Language): AuPango.FontsetSimple; + append(font: AuPango.Font): void; + size(): number; + //TypeScript is complete garbage: + } + + class FontsetSimpleCtor { + } + + class Layout extends GObject.Object { + constructor(initializerList ?: LayoutCtor); + + static New(context: AuPango.Context): AuPango.Layout; + static Deserialize(context: AuPango.Context, bytes: AuGlibEx.Bytes, flags: AuPango.LayoutDeserializeFlags): AuPango.Layout; + contextChanged(): void; + copy(): AuPango.Layout; + getAlignment(): AuPango.Alignment; + getAttributes(): AuPango.AttrList; + getAutoDir(): boolean; + getBaseline(): number; + getCaretPos(index: number, strongPos ?: AuPango.Rectangle, weakPos ?: AuPango.Rectangle): void; + getCharacterCount(): number; + getContext(): AuPango.Context; + getCursorPos(index: number, strongPos ?: AuPango.Rectangle, weakPos ?: AuPango.Rectangle): void; + getDirection(index: number): AuPango.Direction; + getEllipsize(): AuPango.EllipsizeMode; + getExtents(inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + getFontDescription(): AuPango.FontDescription; + getHeight(): number; + getIndent(): number; + getIter(): AuPango.LayoutIter; + getJustify(): boolean; + getJustifyLastLine(): boolean; + getLine(line: number): AuPango.LayoutLine; + getLineCount(): number; + getLineReadonly(line: number): AuPango.LayoutLine; + getLineSpacing(): number; + getLines(): AuPango.LayoutLine[]; + getLinesReadonly(): AuPango.LayoutLine[]; + getLogAttrs(attrs: AuPango.LogAttr[], nAttrs: number): void; + getLogAttrsReadonly(nAttrs: number): AuPango.LogAttr[]; + getPixelExtents(inkRect ?: AuPango.Rectangle, logicalRect ?: AuPango.Rectangle): void; + getPixelSize(width ?: number, height ?: number): void; + getSerial(): number; + getSingleParagraphMode(): boolean; + getSize(width ?: number, height ?: number): void; + getSpacing(): number; + getTabs(): AuPango.TabArray; + getText(): string; + getUnknownGlyphsCount(): number; + getWidth(): number; + getWrap(): AuPango.WrapMode; + indexToLineX(index: number, trailing: boolean, line ?: number, XPos ?: number): void; + indexToPos(index: number, pos: AuPango.Rectangle): void; + isEllipsized(): boolean; + isWrapped(): boolean; + moveCursorVisually(strong: boolean, oldIndex: number, oldTrailing: number, direction: number, newIndex: number, newTrailing: number): void; + serialize(flags: AuPango.LayoutSerializeFlags): AuGlibEx.Bytes; + setAlignment(alignment: AuPango.Alignment): void; + setAttributes(attrs: AuPango.AttrList | undefined | null): void; + setAutoDir(autoDir: boolean): void; + setEllipsize(ellipsize: AuPango.EllipsizeMode): void; + setFontDescription(desc: AuPango.FontDescription | undefined | null): void; + setHeight(height: number): void; + setIndent(indent: number): void; + setJustify(justify: boolean): void; + setJustifyLastLine(justify: boolean): void; + setLineSpacing(factor: number): void; + setMarkup(markup: string, length: number): void; + setMarkupWithAccel(markup: string, length: number, accelMarker: string, accelChar ?: string): void; + setSingleParagraphMode(setting: boolean): void; + setSpacing(spacing: number): void; + setTabs(tabs: AuPango.TabArray | undefined | null): void; + setText(text: string, length: number): void; + setWidth(width: number): void; + setWrap(wrap: AuPango.WrapMode): void; + writeToFile(flags: AuPango.LayoutSerializeFlags, filename: string): boolean; + XYToIndex(x: number, y: number, index: number, trailing: number): boolean; + //TypeScript is complete garbage: + } + + class LayoutCtor { + } + + class Renderer extends GObject.Object { + constructor(initializerList ?: RendererCtor); + + parentInstance : GObject.Object; + underline : AuPango.Underline; + strikethrough : boolean; + activeCount : number; + matrix : AuPango.Matrix; + priv : AuPango.RendererPrivate; + + activate(): void; + deactivate(): void; + drawErrorUnderline(x: number, y: number, width: number, height: number): void; + drawGlyph(font: AuPango.Font, glyph: number, x: number, y: number): void; + drawGlyphItem(text: string | undefined | null, glyphItem: AuPango.GlyphItem, x: number, y: number): void; + drawGlyphs(font: AuPango.Font, glyphs: AuPango.GlyphString, x: number, y: number): void; + drawLayout(layout: AuPango.Layout, x: number, y: number): void; + drawLayoutLine(line: AuPango.LayoutLine, x: number, y: number): void; + drawRectangle(part: AuPango.RenderPart, x: number, y: number, width: number, height: number): void; + drawTrapezoid(part: AuPango.RenderPart, Y1: number, X11: number, X21: number, Y2: number, X12: number, X22: number): void; + getAlpha(part: AuPango.RenderPart): number; + getColor(part: AuPango.RenderPart): AuPango.Color; + getLayout(): AuPango.Layout; + getLayoutLine(): AuPango.LayoutLine; + getMatrix(): AuPango.Matrix; + partChanged(part: AuPango.RenderPart): void; + setAlpha(part: AuPango.RenderPart, alpha: number): void; + setColor(part: AuPango.RenderPart, color: AuPango.Color | undefined | null): void; + setMatrix(matrix: AuPango.Matrix | undefined | null): void; + //TypeScript is complete garbage: + } + + class RendererCtor { + } +} \ No newline at end of file diff --git a/cairo.d.ts b/cairo.d.ts new file mode 100644 index 0000000..016494d --- /dev/null +++ b/cairo.d.ts @@ -0,0 +1,509 @@ +declare namespace cairo { + class Status { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSuccess": Status + static readonly "kNoMemory": Status + static readonly "kInvalidRestore": Status + static readonly "kInvalidPopGroup": Status + static readonly "kNoCurrentPoint": Status + static readonly "kInvalidMatrix": Status + static readonly "kInvalidStatus": Status + static readonly "kNullPointer": Status + static readonly "kInvalidString": Status + static readonly "kInvalidPathData": Status + static readonly "kReadError": Status + static readonly "kWriteError": Status + static readonly "kSurfaceFinished": Status + static readonly "kSurfaceTypeMismatch": Status + static readonly "kPatternTypeMismatch": Status + static readonly "kInvalidContent": Status + static readonly "kInvalidFormat": Status + static readonly "kInvalidVisual": Status + static readonly "kFileNotFound": Status + static readonly "kInvalidDash": Status + static readonly "kInvalidDscComment": Status + static readonly "kInvalidIndex": Status + static readonly "kClipNotRepresentable": Status + static readonly "kTempFileError": Status + static readonly "kInvalidStride": Status + static readonly "kFontTypeMismatch": Status + static readonly "kUserFontImmutable": Status + static readonly "kUserFontError": Status + static readonly "kNegativeCount": Status + static readonly "kInvalidClusters": Status + static readonly "kInvalidSlant": Status + static readonly "kInvalidWeight": Status + static readonly "kInvalidSize": Status + static readonly "kUserFontNotImplemented": Status + static readonly "kDeviceTypeMismatch": Status + static readonly "kDeviceError": Status + static readonly "kInvalidMeshConstruction": Status + static readonly "kDeviceFinished": Status + static readonly "kJbig2GlobalMissing": Status + } + + class Content { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kColor": Content + static readonly "kAlpha": Content + static readonly "kColorAlpha": Content + } + + class Operator { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kClear": Operator + static readonly "kSource": Operator + static readonly "kOver": Operator + static readonly "kIn": Operator + static readonly "kOut": Operator + static readonly "kAtop": Operator + static readonly "kDest": Operator + static readonly "kDestOver": Operator + static readonly "kDestIn": Operator + static readonly "kDestOut": Operator + static readonly "kDestAtop": Operator + static readonly "kXOr": Operator + static readonly "kAdd": Operator + static readonly "kSaturate": Operator + static readonly "kMultiply": Operator + static readonly "kScreen": Operator + static readonly "kOverlay": Operator + static readonly "kDarken": Operator + static readonly "kLighten": Operator + static readonly "kColorDodge": Operator + static readonly "kColorBurn": Operator + static readonly "kHardLight": Operator + static readonly "kSoftLight": Operator + static readonly "kDifference": Operator + static readonly "kExclusion": Operator + static readonly "kHslHue": Operator + static readonly "kHslSaturation": Operator + static readonly "kHslColor": Operator + static readonly "kHslLuminosity": Operator + } + + class Antialias { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": Antialias + static readonly "kNone": Antialias + static readonly "kGray": Antialias + static readonly "kSubpixel": Antialias + static readonly "kFast": Antialias + static readonly "kGood": Antialias + static readonly "kBest": Antialias + } + + class FillRule { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kWinding": FillRule + static readonly "kEvenOdd": FillRule + } + + class LineCap { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kButt": LineCap + static readonly "kRound": LineCap + static readonly "kSquare": LineCap + } + + class LineJoin { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMiter": LineJoin + static readonly "kRound": LineJoin + static readonly "kBevel": LineJoin + } + + class TextClusterFlags { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kBackward": TextClusterFlags + } + + class FontSlant { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNormal": FontSlant + static readonly "kItalic": FontSlant + static readonly "kOblique": FontSlant + } + + class FontWeight { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNormal": FontWeight + static readonly "kBold": FontWeight + } + + class SubpixelOrder { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": SubpixelOrder + static readonly "kRgb": SubpixelOrder + static readonly "kBgr": SubpixelOrder + static readonly "kVrgb": SubpixelOrder + static readonly "kVbgr": SubpixelOrder + } + + class HintStyle { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": HintStyle + static readonly "kNone": HintStyle + static readonly "kSlight": HintStyle + static readonly "kMedium": HintStyle + static readonly "kFull": HintStyle + } + + class HintMetrics { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDefault": HintMetrics + static readonly "kOff": HintMetrics + static readonly "kOn": HintMetrics + } + + class FontType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kToy": FontType + static readonly "kFt": FontType + static readonly "kWin32": FontType + static readonly "kQuartz": FontType + static readonly "kUser": FontType + } + + class PathDataType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kMoveTo": PathDataType + static readonly "kLineTo": PathDataType + static readonly "kCurveTo": PathDataType + static readonly "kClosePath": PathDataType + } + + class DeviceType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kDrm": DeviceType + static readonly "kGl": DeviceType + static readonly "kScript": DeviceType + static readonly "kXCb": DeviceType + static readonly "kXLib": DeviceType + static readonly "kXMl": DeviceType + static readonly "kCogl": DeviceType + static readonly "kWin32": DeviceType + static readonly "kInvalid": DeviceType + } + + class SurfaceType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kImage": SurfaceType + static readonly "kPdf": SurfaceType + static readonly "kPs": SurfaceType + static readonly "kXLib": SurfaceType + static readonly "kXCb": SurfaceType + static readonly "kGlitz": SurfaceType + static readonly "kQuartz": SurfaceType + static readonly "kWin32": SurfaceType + static readonly "kBeos": SurfaceType + static readonly "kDirectfb": SurfaceType + static readonly "kSvg": SurfaceType + static readonly "kOs2": SurfaceType + static readonly "kWin32Printing": SurfaceType + static readonly "kQuartzImage": SurfaceType + static readonly "kScript": SurfaceType + static readonly "kQt": SurfaceType + static readonly "kRecording": SurfaceType + static readonly "kVg": SurfaceType + static readonly "kGl": SurfaceType + static readonly "kDrm": SurfaceType + static readonly "kTee": SurfaceType + static readonly "kXMl": SurfaceType + static readonly "kSkia": SurfaceType + static readonly "kSubsurface": SurfaceType + static readonly "kCogl": SurfaceType + } + + class Format { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kInvalid": Format + static readonly "kArgb32": Format + static readonly "kRgb24": Format + static readonly "kA8": Format + static readonly "kA1": Format + static readonly "kRgb16565": Format + static readonly "kRgb30": Format + } + + class PatternType { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kSolid": PatternType + static readonly "kSurface": PatternType + static readonly "kLinear": PatternType + static readonly "kRadial": PatternType + static readonly "kMesh": PatternType + static readonly "kRasterSource": PatternType + } + + class Extend { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kNone": Extend + static readonly "kRepeat": Extend + static readonly "kReflect": Extend + static readonly "kPad": Extend + } + + class Filter { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kFast": Filter + static readonly "kGood": Filter + static readonly "kBest": Filter + static readonly "kNearest": Filter + static readonly "kBilinear": Filter + static readonly "kGaussian": Filter + } + + class RegionOverlap { + // Enumerations hack... + toString(radix ? : number | undefined) : string; + toFixed(fractionDigits ? : number | undefined) : string; + toExponential(fractionDigits ? : number | undefined) : string; + toPrecision(precision ? : number | undefined) : string; + valueOf() : number; + toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string; + + static [s:number]: string; + + static readonly "kIn": RegionOverlap + static readonly "kOut": RegionOverlap + static readonly "kPart": RegionOverlap + } + + + class Context { + } + + class Device { + } + + class Surface { + } + + class Matrix { + } + + class Pattern { + } + + class Region { + } + + class FontOptions { + } + + class FontFace { + } + + class ScaledFont { + } + + class Path { + } + + class Rectangle { + x : number; + y : number; + width : number; + height : number; + + } + + class RectangleInt { + x : number; + y : number; + width : number; + height : number; + + } + +} \ No newline at end of file