UNPKG

@tsonic/dotnet

Version:

TypeScript type definitions for .NET 10 BCL (Base Class Library)

856 lines (719 loc) 28.5 kB
// Generated by tsbindgen - Architecture // Namespace: Microsoft.VisualBasic // Assembly: Microsoft.VisualBasic.Core // Branded primitive types are sourced from @tsonic/types import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types'; // Import support types from @tsonic/types import type { ptr, ref } from "@tsonic/types"; // Import types from other namespaces import * as System_Collections_Internal from "../../System.Collections/internal/index.js"; import type { ICollection, IEnumerator, IList } from "../../System.Collections/internal/index.js"; import * as System_Internal from "../../System/internal/index.js"; import type { Array as ClrArray, Attribute, Boolean as ClrBoolean, Byte, Char, DateTime, Decimal, Double, Enum, Exception, IComparable, IConvertible, IFormatProvider, IFormattable, Int16, Int32, Int64, ISpanFormattable, Object as ClrObject, SByte, Single, String as ClrString, Type, TypeCode, UInt16, UInt32, UInt64, ValueType, Void } from "../../System/internal/index.js"; // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints // Value positions (parameters, return types) use lowercase primitives for ergonomics export type CLROf<T> = T extends sbyte ? System_Internal.SByte : T extends short ? System_Internal.Int16 : T extends int ? System_Internal.Int32 : T extends long ? System_Internal.Int64 : T extends int128 ? System_Internal.Int128 : T extends nint ? System_Internal.IntPtr : T extends byte ? System_Internal.Byte : T extends ushort ? System_Internal.UInt16 : T extends uint ? System_Internal.UInt32 : T extends ulong ? System_Internal.UInt64 : T extends uint128 ? System_Internal.UInt128 : T extends nuint ? System_Internal.UIntPtr : T extends half ? System_Internal.Half : T extends float ? System_Internal.Single : T extends double ? System_Internal.Double : T extends decimal ? System_Internal.Decimal : T extends char ? System_Internal.Char : T extends boolean ? System_Internal.Boolean : T extends string ? System_Internal.String : T; // Identity fallback for non-primitive types export enum AppWinStyle { hide = 0, normalFocus = 1, minimizedFocus = 2, maximizedFocus = 3, normalNoFocus = 4, minimizedNoFocus = 6 } export enum CallType { method = 1, get_ = 2, let_ = 4, set_ = 8 } export enum CompareMethod { binary = 0, text = 1 } export enum DateFormat { generalDate = 0, longDate = 1, shortDate = 2, longTime = 3, shortTime = 4 } export enum DateInterval { year = 0, quarter = 1, month = 2, dayOfYear = 3, day = 4, weekOfYear = 5, weekday = 6, hour = 7, minute = 8, second = 9 } export enum DueDate { endOfPeriod = 0, begOfPeriod = 1 } export enum FileAttribute { normal = 0, readOnly = 1, hidden = 2, system = 4, volume = 8, directory = 16, archive = 32 } export enum FirstDayOfWeek { system = 0, sunday = 1, monday = 2, tuesday = 3, wednesday = 4, thursday = 5, friday = 6, saturday = 7 } export enum FirstWeekOfYear { system = 0, jan1 = 1, firstFourDays = 2, firstFullWeek = 3 } export enum MsgBoxResult { ok = 1, cancel = 2, abort = 3, retry = 4, ignore = 5, yes = 6, no = 7 } export enum MsgBoxStyle { okOnly = 0, okCancel = 1, abortRetryIgnore = 2, yesNoCancel = 3, yesNo = 4, retryCancel = 5, critical = 16, question = 32, exclamation = 48, information = 64, defaultButton1 = 0, defaultButton2 = 256, defaultButton3 = 512, applicationModal = 0, systemModal = 4096, msgBoxHelp = 16384, msgBoxRight = 524288, msgBoxRtlReading = 1048576, msgBoxSetForeground = 65536 } export enum OpenAccess { default_ = -1, read = 1, readWrite = 3, write = 2 } export enum OpenMode { input = 1, output = 2, random = 4, append = 8, binary = 32 } export enum OpenShare { default_ = -1, shared = 3, lockRead = 2, lockReadWrite = 0, lockWrite = 1 } export enum TriState { false_ = 0, true_ = -1, useDefault = -2 } export enum VariantType { empty = 0, null_ = 1, short = 2, integer = 3, single = 4, double = 5, currency = 6, date = 7, string_ = 8, object_ = 9, error = 10, boolean_ = 11, variant = 12, dataObject = 13, decimal = 14, byte = 17, char = 18, long = 20, userDefinedType = 36, array = 8192 } export enum VbStrConv { none = 0, uppercase = 1, lowercase = 2, properCase = 3, wide = 4, narrow = 8, katakana = 16, hiragana = 32, simplifiedChinese = 256, traditionalChinese = 512, linguisticCasing = 1024 } export interface SpcInfo$instance { count: short; } export const SpcInfo: { new(): SpcInfo$instance; }; export type SpcInfo = SpcInfo$instance; export interface TabInfo$instance { column: short; } export const TabInfo: { new(): TabInfo$instance; }; export type TabInfo = TabInfo$instance; export interface Collection$instance { readonly count: int; add(Item: unknown, Key?: string, Before?: unknown, After?: unknown): void; clear(): void; contains(Key: string): boolean; get_Item(Index: int): unknown; get_Item(Key: string): unknown; get_Item(Index: unknown): unknown; getEnumerator(): IEnumerator; remove(Key: string): void; remove(Index: int): void; } export const Collection: { new(): Collection$instance; }; export interface __Collection$views { As_ICollection(): System_Collections_Internal.ICollection$instance; As_IEnumerable(): System_Collections_Internal.IEnumerable$instance; As_IList(): System_Collections_Internal.IList$instance; } export type Collection = Collection$instance & __Collection$views; export interface ComClassAttribute$instance extends Attribute { readonly classID: string; readonly eventID: string; readonly interfaceID: string; interfaceShadows: boolean; } export const ComClassAttribute: { new(): ComClassAttribute$instance; new(_ClassID: string): ComClassAttribute$instance; new(_ClassID: string, _InterfaceID: string): ComClassAttribute$instance; new(_ClassID: string, _InterfaceID: string, _EventId: string): ComClassAttribute$instance; }; export type ComClassAttribute = ComClassAttribute$instance; export interface Constants$instance { } export const Constants: { new(): Constants$instance; readonly vbCrLf: string; readonly vbObjectError: int; readonly vbNewLine: string; readonly vbCr: string; readonly vbLf: string; readonly vbBack: string; readonly vbFormFeed: string; readonly vbTab: string; readonly vbVerticalTab: string; readonly vbNullChar: string; readonly vbNullString: string; readonly vbHide: AppWinStyle; readonly vbNormalFocus: AppWinStyle; readonly vbMinimizedFocus: AppWinStyle; readonly vbMaximizedFocus: AppWinStyle; readonly vbNormalNoFocus: AppWinStyle; readonly vbMinimizedNoFocus: AppWinStyle; readonly vbMethod: CallType; readonly vbGet: CallType; readonly vbLet: CallType; readonly vbSet: CallType; readonly vbBinaryCompare: CompareMethod; readonly vbTextCompare: CompareMethod; readonly vbGeneralDate: DateFormat; readonly vbLongDate: DateFormat; readonly vbShortDate: DateFormat; readonly vbLongTime: DateFormat; readonly vbShortTime: DateFormat; readonly vbUseSystemDayOfWeek: FirstDayOfWeek; readonly vbSunday: FirstDayOfWeek; readonly vbMonday: FirstDayOfWeek; readonly vbTuesday: FirstDayOfWeek; readonly vbWednesday: FirstDayOfWeek; readonly vbThursday: FirstDayOfWeek; readonly vbFriday: FirstDayOfWeek; readonly vbSaturday: FirstDayOfWeek; readonly vbNormal: FileAttribute; readonly vbReadOnly: FileAttribute; readonly vbHidden: FileAttribute; readonly vbSystem: FileAttribute; readonly vbVolume: FileAttribute; readonly vbDirectory: FileAttribute; readonly vbArchive: FileAttribute; readonly vbUseSystem: FirstWeekOfYear; readonly vbFirstJan1: FirstWeekOfYear; readonly vbFirstFourDays: FirstWeekOfYear; readonly vbFirstFullWeek: FirstWeekOfYear; readonly vbUpperCase: VbStrConv; readonly vbLowerCase: VbStrConv; readonly vbProperCase: VbStrConv; readonly vbWide: VbStrConv; readonly vbNarrow: VbStrConv; readonly vbKatakana: VbStrConv; readonly vbHiragana: VbStrConv; readonly vbSimplifiedChinese: VbStrConv; readonly vbTraditionalChinese: VbStrConv; readonly vbLinguisticCasing: VbStrConv; readonly vbUseDefault: TriState; readonly vbTrue: TriState; readonly vbFalse: TriState; readonly vbEmpty: VariantType; readonly vbNull: VariantType; readonly vbInteger: VariantType; readonly vbLong: VariantType; readonly vbSingle: VariantType; readonly vbDouble: VariantType; readonly vbCurrency: VariantType; readonly vbDate: VariantType; readonly vbString: VariantType; readonly vbObject: VariantType; readonly vbBoolean: VariantType; readonly vbVariant: VariantType; readonly vbDecimal: VariantType; readonly vbByte: VariantType; readonly vbUserDefinedType: VariantType; readonly vbArray: VariantType; readonly vbOK: MsgBoxResult; readonly vbCancel: MsgBoxResult; readonly vbAbort: MsgBoxResult; readonly vbRetry: MsgBoxResult; readonly vbIgnore: MsgBoxResult; readonly vbYes: MsgBoxResult; readonly vbNo: MsgBoxResult; readonly vbOKOnly: MsgBoxStyle; readonly vbOKCancel: MsgBoxStyle; readonly vbAbortRetryIgnore: MsgBoxStyle; readonly vbYesNoCancel: MsgBoxStyle; readonly vbYesNo: MsgBoxStyle; readonly vbRetryCancel: MsgBoxStyle; readonly vbCritical: MsgBoxStyle; readonly vbQuestion: MsgBoxStyle; readonly vbExclamation: MsgBoxStyle; readonly vbInformation: MsgBoxStyle; readonly vbDefaultButton1: MsgBoxStyle; readonly vbDefaultButton2: MsgBoxStyle; readonly vbDefaultButton3: MsgBoxStyle; readonly vbApplicationModal: MsgBoxStyle; readonly vbSystemModal: MsgBoxStyle; readonly vbMsgBoxHelp: MsgBoxStyle; readonly vbMsgBoxRight: MsgBoxStyle; readonly vbMsgBoxRtlReading: MsgBoxStyle; readonly vbMsgBoxSetForeground: MsgBoxStyle; }; export type Constants = Constants$instance; export interface ControlChars$instance { } export const ControlChars: { new(): ControlChars$instance; readonly crLf: string; readonly newLine: string; readonly cr: char; readonly lf: char; readonly back: char; readonly formFeed: char; readonly tab: char; readonly verticalTab: char; readonly nullChar: char; readonly quote: char; }; export type ControlChars = ControlChars$instance; export interface Conversion$instance { } export const Conversion: { new(): Conversion$instance; cTypeDynamic(Expression: unknown, TargetType: Type): unknown; cTypeDynamic<TargetType>(Expression: unknown): TargetType; errorToString(): string; errorToString(ErrorNumber: int): string; fix(Number: decimal): decimal; fix(Number: double): double; fix(Number: short): short; fix(Number: int): int; fix(Number: long): long; fix(Number: unknown): unknown; fix(Number: float): float; hex(Number: byte): string; hex(Number: short): string; hex(Number: int): string; hex(Number: long): string; hex(Number: unknown): string; hex(Number: sbyte): string; hex(Number: ushort): string; hex(Number: uint): string; hex(Number: ulong): string; int(Number: decimal): decimal; int(Number: double): double; int(Number: short): short; int(Number: int): int; int(Number: long): long; int(Number: unknown): unknown; int(Number: float): float; oct(Number: byte): string; oct(Number: short): string; oct(Number: int): string; oct(Number: long): string; oct(Number: unknown): string; oct(Number: sbyte): string; oct(Number: ushort): string; oct(Number: uint): string; oct(Number: ulong): string; str(Number: unknown): string; val(Expression: char): int; val(Expression: unknown): double; val(InputStr: string): double; }; export type Conversion = Conversion$instance; export interface DateAndTime$instance { } export const DateAndTime: { new(): DateAndTime$instance; today: DateTime; readonly now: DateTime; timeOfDay: DateTime; timeString: string; dateString: string; readonly timer: double; dateAdd(Interval: DateInterval, Number: double, DateValue: DateTime): DateTime; dateAdd(Interval: string, Number: double, DateValue: unknown): DateTime; dateDiff(Interval: DateInterval, Date1: DateTime, Date2: DateTime, DayOfWeek?: FirstDayOfWeek, WeekOfYear?: FirstWeekOfYear): long; dateDiff(Interval: string, Date1: unknown, Date2: unknown, DayOfWeek?: FirstDayOfWeek, WeekOfYear?: FirstWeekOfYear): long; datePart(Interval: DateInterval, DateValue: DateTime, FirstDayOfWeekValue?: FirstDayOfWeek, FirstWeekOfYearValue?: FirstWeekOfYear): int; datePart(Interval: string, DateValue: unknown, DayOfWeek?: FirstDayOfWeek, WeekOfYear?: FirstWeekOfYear): int; dateSerial(Year: int, Month: int, Day: int): DateTime; dateValue(StringDate: string): DateTime; day(DateValue: DateTime): int; hour(TimeValue: DateTime): int; minute(TimeValue: DateTime): int; month(DateValue: DateTime): int; monthName(Month: int, Abbreviate?: boolean): string; second(TimeValue: DateTime): int; timeSerial(Hour: int, Minute: int, Second: int): DateTime; timeValue(StringTime: string): DateTime; weekday(DateValue: DateTime, DayOfWeek?: FirstDayOfWeek): int; weekdayName(Weekday: int, Abbreviate?: boolean, FirstDayOfWeekValue?: FirstDayOfWeek): string; year(DateValue: DateTime): int; }; export type DateAndTime = DateAndTime$instance; export interface ErrObject$instance { description: string; readonly erl: int; helpContext: int; helpFile: string; readonly lastDllError: int; number_: int; source: string; clear(): void; getException(): Exception; raise(Number: int, Source?: unknown, Description?: unknown, HelpFile?: unknown, HelpContext?: unknown): void; } export const ErrObject: { new(): ErrObject$instance; }; export type ErrObject = ErrObject$instance; export interface FileSystem$instance { } export const FileSystem: { new(): FileSystem$instance; chDir(Path: string): void; chDrive(Drive: char): void; chDrive(Drive: string): void; curDir(): string; curDir(Drive: char): string; dir(): string; dir(PathName: string, Attributes?: FileAttribute): string; EOF(FileNumber: int): boolean; fileAttr(FileNumber: int): OpenMode; fileClose(FileNumbers: int[]): void; fileCopy(Source: string, Destination: string): void; fileDateTime(PathName: string): DateTime; fileGet(FileNumber: int, Value: { value: ref<ClrArray> }, RecordNumber?: long, ArrayIsDynamic?: boolean, StringIsFixedLength?: boolean): void; fileGet(FileNumber: int, Value: { value: ref<boolean> }, RecordNumber?: long): void; fileGet(FileNumber: int, Value: { value: ref<byte> }, RecordNumber?: long): void; fileGet(FileNumber: int, Value: { value: ref<char> }, RecordNumber?: long): void; fileGet(FileNumber: int, Value: { value: ref<DateTime> }, RecordNumber?: long): void; fileGet(FileNumber: int, Value: { value: ref<decimal> }, RecordNumber?: long): void; fileGet(FileNumber: int, Value: { value: ref<double> }, RecordNumber?: long): void; fileGet(FileNumber: int, Value: { value: ref<short> }, RecordNumber?: long): void; fileGet(FileNumber: int, Value: { value: ref<int> }, RecordNumber?: long): void; fileGet(FileNumber: int, Value: { value: ref<long> }, RecordNumber?: long): void; fileGet(FileNumber: int, Value: { value: ref<float> }, RecordNumber?: long): void; fileGet(FileNumber: int, Value: { value: ref<string> }, RecordNumber?: long, StringIsFixedLength?: boolean): void; fileGet(FileNumber: int, Value: { value: ref<unknown> }, RecordNumber?: long): void; fileGetObject(FileNumber: int, Value: { value: ref<unknown> }, RecordNumber?: long): void; fileLen(PathName: string): long; fileOpen(FileNumber: int, FileName: string, Mode: OpenMode, Access?: OpenAccess, Share?: OpenShare, RecordLength?: int): void; filePut(FileNumber: int, Value: ClrArray, RecordNumber?: long, ArrayIsDynamic?: boolean, StringIsFixedLength?: boolean): void; filePut(FileNumber: int, Value: boolean, RecordNumber?: long): void; filePut(FileNumber: int, Value: byte, RecordNumber?: long): void; filePut(FileNumber: int, Value: char, RecordNumber?: long): void; filePut(FileNumber: int, Value: DateTime, RecordNumber?: long): void; filePut(FileNumber: int, Value: decimal, RecordNumber?: long): void; filePut(FileNumber: int, Value: double, RecordNumber?: long): void; filePut(FileNumber: int, Value: short, RecordNumber?: long): void; filePut(FileNumber: int, Value: int, RecordNumber?: long): void; filePut(FileNumber: int, Value: long, RecordNumber?: long): void; filePut(FileNumber: int, Value: float, RecordNumber?: long): void; filePut(FileNumber: int, Value: string, RecordNumber?: long, StringIsFixedLength?: boolean): void; filePut(FileNumber: int, Value: unknown, RecordNumber?: long): void; filePut(FileNumber: unknown, Value: unknown, RecordNumber?: unknown): void; filePutObject(FileNumber: int, Value: unknown, RecordNumber?: long): void; fileWidth(FileNumber: int, RecordWidth: int): void; freeFile(): int; getAttr(PathName: string): FileAttribute; input(FileNumber: int, Value: { value: ref<boolean> }): void; input(FileNumber: int, Value: { value: ref<byte> }): void; input(FileNumber: int, Value: { value: ref<char> }): void; input(FileNumber: int, Value: { value: ref<DateTime> }): void; input(FileNumber: int, Value: { value: ref<decimal> }): void; input(FileNumber: int, Value: { value: ref<double> }): void; input(FileNumber: int, Value: { value: ref<short> }): void; input(FileNumber: int, Value: { value: ref<int> }): void; input(FileNumber: int, Value: { value: ref<long> }): void; input(FileNumber: int, Value: { value: ref<unknown> }): void; input(FileNumber: int, Value: { value: ref<float> }): void; input(FileNumber: int, Value: { value: ref<string> }): void; inputString(FileNumber: int, CharCount: int): string; kill(PathName: string): void; lineInput(FileNumber: int): string; loc(FileNumber: int): long; lock(FileNumber: int, FromRecord: long, ToRecord: long): void; lock(FileNumber: int, Record: long): void; lock(FileNumber: int): void; LOF(FileNumber: int): long; mkDir(Path: string): void; print(FileNumber: int, Output: unknown[]): void; printLine(FileNumber: int, Output: unknown[]): void; rename(OldPath: string, NewPath: string): void; reset(): void; rmDir(Path: string): void; seek(FileNumber: int, Position: long): void; seek(FileNumber: int): long; setAttr(PathName: string, Attributes: FileAttribute): void; SPC(Count: short): SpcInfo; TAB(): TabInfo; TAB(Column: short): TabInfo; unlock(FileNumber: int, FromRecord: long, ToRecord: long): void; unlock(FileNumber: int, Record: long): void; unlock(FileNumber: int): void; write(FileNumber: int, Output: unknown[]): void; writeLine(FileNumber: int, Output: unknown[]): void; }; export type FileSystem = FileSystem$instance; export interface Financial$instance { } export const Financial: { new(): Financial$instance; DDB(Cost: double, Salvage: double, Life: double, Period: double, Factor?: double): double; FV(Rate: double, NPer: double, Pmt: double, PV?: double, Due?: DueDate): double; iPmt(Rate: double, Per: double, NPer: double, PV: double, FV?: double, Due?: DueDate): double; IRR(ValueArray: { value: ref<double[]> }, Guess?: double): double; MIRR(ValueArray: { value: ref<double[]> }, FinanceRate: double, ReinvestRate: double): double; nPer(Rate: double, Pmt: double, PV: double, FV?: double, Due?: DueDate): double; NPV(Rate: double, ValueArray: { value: ref<double[]> }): double; pmt(Rate: double, NPer: double, PV: double, FV?: double, Due?: DueDate): double; pPmt(Rate: double, Per: double, NPer: double, PV: double, FV?: double, Due?: DueDate): double; PV(Rate: double, NPer: double, Pmt: double, FV?: double, Due?: DueDate): double; rate(NPer: double, Pmt: double, PV: double, FV?: double, Due?: DueDate, Guess?: double): double; SLN(Cost: double, Salvage: double, Life: double): double; SYD(Cost: double, Salvage: double, Life: double, Period: double): double; }; export type Financial = Financial$instance; export interface HideModuleNameAttribute$instance extends Attribute { } export const HideModuleNameAttribute: { new(): HideModuleNameAttribute$instance; }; export type HideModuleNameAttribute = HideModuleNameAttribute$instance; export interface Information$instance { } export const Information: { new(): Information$instance; erl(): int; err(): ErrObject; isArray(VarName: unknown): boolean; isDate(Expression: unknown): boolean; isDBNull(Expression: unknown): boolean; isError(Expression: unknown): boolean; isNothing(Expression: unknown): boolean; isNumeric(Expression: unknown): boolean; isReference(Expression: unknown): boolean; lBound(Array: ClrArray, Rank?: int): int; qbColor(Color: int): int; RGB(Red: int, Green: int, Blue: int): int; systemTypeName(VbName: string): string; typeName(VarName: unknown): string; uBound(Array: ClrArray, Rank?: int): int; varType(VarName: unknown): VariantType; vbTypeName(UrtName: string): string; }; export type Information = Information$instance; export interface Interaction$instance { } export const Interaction: { new(): Interaction$instance; appActivate(ProcessId: int): void; appActivate(Title: string): void; beep(): void; callByName(ObjectRef: unknown, ProcName: string, UseCallType: CallType, Args: unknown[]): unknown; choose(Index: double, Choice: unknown[]): unknown; command(): string; createObject(ProgId: string, ServerName?: string): unknown; deleteSetting(AppName: string, Section?: string, Key?: string): void; environ(Expression: int): string; environ(Expression: string): string; getAllSettings(AppName: string, Section: string): Array<Array<string>>; getObject(PathName?: string, Class?: string): unknown; getSetting(AppName: string, Section: string, Key: string, Default?: string): string; iIf(Expression: boolean, TruePart: unknown, FalsePart: unknown): unknown; inputBox(Prompt: string, Title?: string, DefaultResponse?: string, XPos?: int, YPos?: int): string; msgBox(Prompt: unknown, Buttons?: MsgBoxStyle, Title?: unknown): MsgBoxResult; partition(Number: long, Start: long, Stop: long, Interval: long): string; saveSetting(AppName: string, Section: string, Key: string, Setting: string): void; shell(PathName: string, Style?: AppWinStyle, Wait?: boolean, Timeout?: int): int; switch_(VarExpr: unknown[]): unknown; }; export type Interaction = Interaction$instance; export interface MyGroupCollectionAttribute$instance extends Attribute { readonly createMethod: string; readonly defaultInstanceAlias: string; readonly disposeMethod: string; readonly myGroupName: string; } export const MyGroupCollectionAttribute: { new(typeToCollect: string, createInstanceMethodName: string, disposeInstanceMethodName: string, defaultInstanceAlias: string): MyGroupCollectionAttribute$instance; }; export type MyGroupCollectionAttribute = MyGroupCollectionAttribute$instance; export interface Strings$instance { } export const Strings: { new(): Strings$instance; asc(String: char): int; asc(String: string): int; ascW(String: char): int; ascW(String: string): int; chr(CharCode: int): char; chrW(CharCode: int): char; filter(Source: unknown[], Match: string, Include?: boolean, Compare?: CompareMethod): string[]; filter(Source: string[], Match: string, Include?: boolean, Compare?: CompareMethod): string[]; format(Expression: unknown, Style?: string): string; formatCurrency(Expression: unknown, NumDigitsAfterDecimal?: int, IncludeLeadingDigit?: TriState, UseParensForNegativeNumbers?: TriState, GroupDigits?: TriState): string; formatDateTime(Expression: DateTime, NamedFormat?: DateFormat): string; formatNumber(Expression: unknown, NumDigitsAfterDecimal?: int, IncludeLeadingDigit?: TriState, UseParensForNegativeNumbers?: TriState, GroupDigits?: TriState): string; formatPercent(Expression: unknown, NumDigitsAfterDecimal?: int, IncludeLeadingDigit?: TriState, UseParensForNegativeNumbers?: TriState, GroupDigits?: TriState): string; getChar(str: string, Index: int): char; inStr(Start: int, String1: string, String2: string, Compare?: CompareMethod): int; inStr(String1: string, String2: string, Compare?: CompareMethod): int; inStrRev(StringCheck: string, StringMatch: string, Start?: int, Compare?: CompareMethod): int; join(SourceArray: unknown[], Delimiter?: string): string; join(SourceArray: string[], Delimiter?: string): string; lCase(Value: char): char; lCase(Value: string): string; left(str: string, Length: int): string; len(Expression: boolean): int; len(Expression: byte): int; len(Expression: char): int; len(Expression: DateTime): int; len(Expression: decimal): int; len(Expression: double): int; len(Expression: short): int; len(Expression: int): int; len(Expression: long): int; len(Expression: unknown): int; len(Expression: sbyte): int; len(Expression: float): int; len(Expression: string): int; len(Expression: ushort): int; len(Expression: uint): int; len(Expression: ulong): int; lSet(Source: string, Length: int): string; lTrim(str: string): string; mid(str: string, Start: int, Length: int): string; mid(str: string, Start: int): string; replace(Expression: string, Find: string, Replacement: string, Start?: int, Count?: int, Compare?: CompareMethod): string; right(str: string, Length: int): string; rSet(Source: string, Length: int): string; rTrim(str: string): string; space(Number: int): string; split(Expression: string, Delimiter?: string, Limit?: int, Compare?: CompareMethod): string[]; strComp(String1: string, String2: string, Compare?: CompareMethod): int; strConv(str: string, Conversion: VbStrConv, LocaleID?: int): string; strDup(Number: int, Character: char): string; strDup(Number: int, Character: unknown): unknown; strDup(Number: int, Character: string): string; strReverse(Expression: string): string; trim(str: string): string; uCase(Value: char): char; uCase(Value: string): string; }; export type Strings = Strings$instance; export interface VBFixedArrayAttribute$instance extends Attribute { readonly bounds: int[]; readonly length: int; } export const VBFixedArrayAttribute: { new(UpperBound1: int): VBFixedArrayAttribute$instance; new(UpperBound1: int, UpperBound2: int): VBFixedArrayAttribute$instance; }; export type VBFixedArrayAttribute = VBFixedArrayAttribute$instance; export interface VBFixedStringAttribute$instance extends Attribute { readonly length: int; } export const VBFixedStringAttribute: { new(Length: int): VBFixedStringAttribute$instance; }; export type VBFixedStringAttribute = VBFixedStringAttribute$instance; export interface VBMath$instance { } export const VBMath: { new(): VBMath$instance; randomize(): void; randomize(Number: double): void; rnd(): float; rnd(Number: float): float; }; export type VBMath = VBMath$instance;