@tsonic/efcore-sqlite 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/LICENSE +21 -0
  2. package/Microsoft.Data.Sqlite/bindings.json +6892 -0
  3. package/Microsoft.Data.Sqlite/internal/index.d.ts +430 -0
  4. package/Microsoft.Data.Sqlite/internal/metadata.json +4417 -0
  5. package/Microsoft.Data.Sqlite.d.ts +34 -0
  6. package/Microsoft.Data.Sqlite.js +9 -0
  7. package/Microsoft.DotNet.PlatformAbstractions/bindings.json +167 -0
  8. package/Microsoft.DotNet.PlatformAbstractions/internal/index.d.ts +29 -0
  9. package/Microsoft.DotNet.PlatformAbstractions/internal/metadata.json +121 -0
  10. package/Microsoft.DotNet.PlatformAbstractions.d.ts +13 -0
  11. package/Microsoft.DotNet.PlatformAbstractions.js +9 -0
  12. package/Microsoft.EntityFrameworkCore/bindings.json +1892 -0
  13. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +156 -0
  14. package/Microsoft.EntityFrameworkCore/internal/metadata.json +1368 -0
  15. package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +528 -0
  16. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +55 -0
  17. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +267 -0
  18. package/Microsoft.EntityFrameworkCore.Diagnostics.d.ts +17 -0
  19. package/Microsoft.EntityFrameworkCore.Diagnostics.js +9 -0
  20. package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +102 -0
  21. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +36 -0
  22. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/metadata.json +82 -0
  23. package/Microsoft.EntityFrameworkCore.Infrastructure.d.ts +17 -0
  24. package/Microsoft.EntityFrameworkCore.Infrastructure.js +9 -0
  25. package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +83 -0
  26. package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +17 -0
  27. package/Microsoft.EntityFrameworkCore.Metadata/internal/metadata.json +54 -0
  28. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +304 -0
  29. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +78 -0
  30. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/metadata.json +203 -0
  31. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +21 -0
  32. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.js +9 -0
  33. package/Microsoft.EntityFrameworkCore.Metadata.d.ts +12 -0
  34. package/Microsoft.EntityFrameworkCore.Metadata.js +9 -0
  35. package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +105 -0
  36. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +35 -0
  37. package/Microsoft.EntityFrameworkCore.Migrations/internal/metadata.json +81 -0
  38. package/Microsoft.EntityFrameworkCore.Migrations.d.ts +17 -0
  39. package/Microsoft.EntityFrameworkCore.Migrations.js +9 -0
  40. package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/bindings.json +236 -0
  41. package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/index.d.ts +57 -0
  42. package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/metadata.json +157 -0
  43. package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal.d.ts +20 -0
  44. package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal.js +9 -0
  45. package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/bindings.json +587 -0
  46. package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/index.d.ts +68 -0
  47. package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/metadata.json +293 -0
  48. package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal.d.ts +15 -0
  49. package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal.js +9 -0
  50. package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/bindings.json +202 -0
  51. package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/index.d.ts +44 -0
  52. package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/metadata.json +133 -0
  53. package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal.d.ts +18 -0
  54. package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal.js +9 -0
  55. package/Microsoft.EntityFrameworkCore.Sqlite.Internal/bindings.json +1253 -0
  56. package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/index.d.ts +83 -0
  57. package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/metadata.json +855 -0
  58. package/Microsoft.EntityFrameworkCore.Sqlite.Internal.d.ts +18 -0
  59. package/Microsoft.EntityFrameworkCore.Sqlite.Internal.js +9 -0
  60. package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/bindings.json +294 -0
  61. package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/index.d.ts +43 -0
  62. package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/metadata.json +161 -0
  63. package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal.d.ts +16 -0
  64. package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal.js +9 -0
  65. package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/bindings.json +325 -0
  66. package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/index.d.ts +48 -0
  67. package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/metadata.json +214 -0
  68. package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal.d.ts +17 -0
  69. package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal.js +9 -0
  70. package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/bindings.json +2892 -0
  71. package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/index.d.ts +512 -0
  72. package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/metadata.json +1844 -0
  73. package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.d.ts +59 -0
  74. package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.js +9 -0
  75. package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/bindings.json +151 -0
  76. package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/index.d.ts +44 -0
  77. package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/metadata.json +102 -0
  78. package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.d.ts +20 -0
  79. package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.js +9 -0
  80. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/bindings.json +1096 -0
  81. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/index.d.ts +210 -0
  82. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/metadata.json +707 -0
  83. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.d.ts +34 -0
  84. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.js +9 -0
  85. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/bindings.json +605 -0
  86. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/index.d.ts +93 -0
  87. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/metadata.json +438 -0
  88. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal.d.ts +19 -0
  89. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal.js +9 -0
  90. package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/bindings.json +413 -0
  91. package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/index.d.ts +80 -0
  92. package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/metadata.json +280 -0
  93. package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal.d.ts +18 -0
  94. package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal.js +9 -0
  95. package/Microsoft.EntityFrameworkCore.d.ts +29 -0
  96. package/Microsoft.EntityFrameworkCore.js +9 -0
  97. package/Microsoft.Extensions.DependencyInjection/bindings.json +68 -0
  98. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +22 -0
  99. package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +63 -0
  100. package/Microsoft.Extensions.DependencyInjection.d.ts +15 -0
  101. package/Microsoft.Extensions.DependencyInjection.js +9 -0
  102. package/Microsoft.Extensions.DependencyModel/bindings.json +2871 -0
  103. package/Microsoft.Extensions.DependencyModel/internal/index.d.ts +287 -0
  104. package/Microsoft.Extensions.DependencyModel/internal/metadata.json +1654 -0
  105. package/Microsoft.Extensions.DependencyModel.Resolution/bindings.json +526 -0
  106. package/Microsoft.Extensions.DependencyModel.Resolution/internal/index.d.ts +112 -0
  107. package/Microsoft.Extensions.DependencyModel.Resolution/internal/metadata.json +329 -0
  108. package/Microsoft.Extensions.DependencyModel.Resolution.d.ts +19 -0
  109. package/Microsoft.Extensions.DependencyModel.Resolution.js +9 -0
  110. package/Microsoft.Extensions.DependencyModel.d.ts +35 -0
  111. package/Microsoft.Extensions.DependencyModel.js +9 -0
  112. package/README.md +5 -0
  113. package/SQLitePCL/bindings.json +19341 -0
  114. package/SQLitePCL/internal/index.d.ts +994 -0
  115. package/SQLitePCL/internal/metadata.json +11902 -0
  116. package/SQLitePCL.d.ts +64 -0
  117. package/SQLitePCL.js +9 -0
  118. package/System.Collections.Generic/bindings.json +164 -0
  119. package/System.Collections.Generic/internal/index.d.ts +25 -0
  120. package/System.Collections.Generic/internal/metadata.json +123 -0
  121. package/System.Collections.Generic.d.ts +14 -0
  122. package/System.Collections.Generic.js +9 -0
  123. package/__build/ref/Program.cs +5 -0
  124. package/__build/ref/ref.csproj +14 -0
  125. package/__build/scripts/generate.sh +116 -0
  126. package/__internal/extensions/index.d.ts +44 -0
  127. package/families.json +1 -0
  128. package/package.json +28 -0
  129. package/tsconfig.json +20 -0
@@ -0,0 +1,994 @@
1
+ // Generated by tsbindgen - Architecture
2
+ // Namespace: SQLitePCL
3
+ // Assembly: SQLitePCLRaw.batteries_v2, SQLitePCLRaw.core, SQLitePCLRaw.provider.e_sqlite3
4
+
5
+ // Primitive type aliases from @tsonic/core
6
+ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
8
+ // Import support types from @tsonic/core
9
+ import type { ptr } from "@tsonic/core/types.js";
10
+
11
+ // Import types from other namespaces
12
+ import * as System_Internal from "@tsonic/dotnet/System.js";
13
+ import type { AsyncCallback, Attribute, Boolean as ClrBoolean, Byte, Char, Double, Func, IAsyncResult, ICloneable, IDisposable, Int32, Int64, IntPtr, MulticastDelegate, Object as ClrObject, ReadOnlySpan, Span, String as ClrString, Type, UInt32, ValueType, Void } from "@tsonic/dotnet/System.js";
14
+ import * as System_Runtime_InteropServices_Internal from "@tsonic/dotnet/System.Runtime.InteropServices.js";
15
+ import type { GCHandleType, SafeHandle } from "@tsonic/dotnet/System.Runtime.InteropServices.js";
16
+ import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization.js";
17
+ import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization.js";
18
+
19
+ export type delegate_authorizer = (user_data: unknown, action_code: int, param0: utf8z, param1: utf8z, dbName: utf8z, inner_most_trigger_or_view: utf8z) => int;
20
+
21
+
22
+ export type delegate_collation = (user_data: unknown, s1: ReadOnlySpan<System_Internal.Byte>, s2: ReadOnlySpan<System_Internal.Byte>) => int;
23
+
24
+
25
+ export type delegate_commit = (user_data: unknown) => int;
26
+
27
+
28
+ export type delegate_exec = (user_data: unknown, values: nint[], names: nint[]) => int;
29
+
30
+
31
+ export type delegate_function_aggregate_final = (ctx: sqlite3_context, user_data: unknown) => void;
32
+
33
+
34
+ export type delegate_function_aggregate_step = (ctx: sqlite3_context, user_data: unknown, args: sqlite3_value[]) => void;
35
+
36
+
37
+ export type delegate_function_scalar = (ctx: sqlite3_context, user_data: unknown, args: sqlite3_value[]) => void;
38
+
39
+
40
+ export type delegate_log = (user_data: unknown, errorCode: int, msg: utf8z) => void;
41
+
42
+
43
+ export type delegate_profile = (user_data: unknown, statement: utf8z, ns: long) => void;
44
+
45
+
46
+ export type delegate_progress = (user_data: unknown) => int;
47
+
48
+
49
+ export type delegate_rollback = (user_data: unknown) => void;
50
+
51
+
52
+ export type delegate_trace = (user_data: unknown, statement: utf8z) => void;
53
+
54
+
55
+ export type delegate_update = (user_data: unknown, type_: int, database: utf8z, table: utf8z, rowid: long) => void;
56
+
57
+
58
+ export type strdelegate_authorizer = (user_data: unknown, action_code: int, param0: string, param1: string, dbName: string, inner_most_trigger_or_view: string) => int;
59
+
60
+
61
+ export type strdelegate_collation = (user_data: unknown, s1: string, s2: string) => int;
62
+
63
+
64
+ export type strdelegate_exec = (user_data: unknown, values: string[], names: string[]) => int;
65
+
66
+
67
+ export type strdelegate_log = (user_data: unknown, errorCode: int, msg: string) => void;
68
+
69
+
70
+ export type strdelegate_profile = (user_data: unknown, statement: string, ns: long) => void;
71
+
72
+
73
+ export type strdelegate_trace = (user_data: unknown, s: string) => void;
74
+
75
+
76
+ export type strdelegate_update = (user_data: unknown, type_: int, database: string, table: string, rowid: long) => void;
77
+
78
+
79
+ export interface IGetFunctionPointer$instance {
80
+ getFunctionPointer(name: string): nint;
81
+ }
82
+
83
+
84
+ export type IGetFunctionPointer = IGetFunctionPointer$instance;
85
+
86
+ export interface ISQLite3Provider$instance {
87
+ getNativeLibraryName(): string;
88
+ sqlite3__vfs__delete(vfs: utf8z, pathname: utf8z, syncDir: int): int;
89
+ sqlite3_backup_init(destDb: sqlite3, destName: utf8z, sourceDb: sqlite3, sourceName: utf8z): sqlite3_backup;
90
+ sqlite3_backup_remaining(backup: sqlite3_backup): int;
91
+ sqlite3_backup_step(backup: sqlite3_backup, nPage: int): int;
92
+ sqlite3_bind_blob(stmt: sqlite3_stmt, index: int, blob: ReadOnlySpan<System_Internal.Byte>): int;
93
+ sqlite3_bind_double(stmt: sqlite3_stmt, index: int, val: double): int;
94
+ sqlite3_bind_int64(stmt: sqlite3_stmt, index: int, val: long): int;
95
+ sqlite3_bind_null(stmt: sqlite3_stmt, index: int): int;
96
+ sqlite3_bind_parameter_index(stmt: sqlite3_stmt, strName: utf8z): int;
97
+ sqlite3_bind_parameter_name(stmt: sqlite3_stmt, index: int): utf8z;
98
+ sqlite3_bind_text(stmt: sqlite3_stmt, index: int, text: utf8z): int;
99
+ sqlite3_blob_bytes(blob: sqlite3_blob): int;
100
+ sqlite3_blob_open(db: sqlite3, db_utf8: utf8z, table_utf8: utf8z, col_utf8: utf8z, rowid: long, flags: int, blob: sqlite3_blob): int;
101
+ sqlite3_blob_read(blob: sqlite3_blob, b: Span<System_Internal.Byte>, offset: int): int;
102
+ sqlite3_blob_reopen(blob: sqlite3_blob, rowid: long): int;
103
+ sqlite3_blob_write(blob: sqlite3_blob, b: ReadOnlySpan<System_Internal.Byte>, offset: int): int;
104
+ sqlite3_busy_timeout(db: sqlite3, ms: int): int;
105
+ sqlite3_changes(db: sqlite3): int;
106
+ sqlite3_close_v2(db: nint): int;
107
+ sqlite3_column_blob(stmt: sqlite3_stmt, index: int): ReadOnlySpan<System_Internal.Byte>;
108
+ sqlite3_column_double(stmt: sqlite3_stmt, index: int): double;
109
+ sqlite3_column_int64(stmt: sqlite3_stmt, index: int): long;
110
+ sqlite3_commit_hook(db: sqlite3, func: delegate_commit, v: unknown): void;
111
+ sqlite3_complete(sql: utf8z): int;
112
+ sqlite3_config(op: int, val: int): int;
113
+ sqlite3_config_log(func: delegate_log, v: unknown): int;
114
+ sqlite3_create_collation(db: sqlite3, name: byte[], v: unknown, func: delegate_collation): int;
115
+ sqlite3_create_function(db: sqlite3, name: byte[], nArg: int, flags: int, v: unknown, func_step: delegate_function_aggregate_step, func_final: delegate_function_aggregate_final): int;
116
+ sqlite3_create_function(db: sqlite3, name: byte[], nArg: int, flags: int, v: unknown, func: delegate_function_scalar): int;
117
+ sqlite3_db_config(db: sqlite3, op: int, val: utf8z): int;
118
+ sqlite3_db_config(db: sqlite3, op: int, val: int, result: int): int;
119
+ sqlite3_db_config(db: sqlite3, op: int, ptr: nint, int0: int, int1: int): int;
120
+ sqlite3_db_filename(db: sqlite3, att: utf8z): utf8z;
121
+ sqlite3_db_handle(stmt: nint): nint;
122
+ sqlite3_db_readonly(db: sqlite3, dbName: utf8z): int;
123
+ sqlite3_db_status(db: sqlite3, op: int, current: int, highest: int, resetFlg: int): int;
124
+ sqlite3_deserialize(db: sqlite3, schema: utf8z, data: nint, szDb: long, szBuf: long, flags: int): int;
125
+ sqlite3_enable_shared_cache(enable: int): int;
126
+ sqlite3_errmsg(db: sqlite3): utf8z;
127
+ sqlite3_errstr(rc: int): utf8z;
128
+ sqlite3_exec(db: sqlite3, sql: utf8z, callback: delegate_exec, user_data: unknown, errMsg: nint): int;
129
+ sqlite3_interrupt(db: sqlite3): void;
130
+ sqlite3_key(db: sqlite3, key: ReadOnlySpan<System_Internal.Byte>): int;
131
+ sqlite3_key_v2(db: sqlite3, dbname: utf8z, key: ReadOnlySpan<System_Internal.Byte>): int;
132
+ sqlite3_keyword_name(i: int, name: string): int;
133
+ sqlite3_last_insert_rowid(db: sqlite3): long;
134
+ sqlite3_libversion(): utf8z;
135
+ sqlite3_limit(db: sqlite3, id: int, newVal: int): int;
136
+ sqlite3_load_extension(db: sqlite3, zFile: utf8z, zProc: utf8z, pzErrMsg: utf8z): int;
137
+ sqlite3_log(errcode: int, s: utf8z): void;
138
+ sqlite3_malloc(n: int): nint;
139
+ sqlite3_malloc64(n: long): nint;
140
+ sqlite3_memory_highwater(resetFlag: int): long;
141
+ sqlite3_memory_used(): long;
142
+ sqlite3_next_stmt(db: sqlite3, stmt: nint): nint;
143
+ sqlite3_open(filename: utf8z, db: nint): int;
144
+ sqlite3_open_v2(filename: utf8z, db: nint, flags: int, vfs: utf8z): int;
145
+ sqlite3_prepare_v2(db: sqlite3, sql: utf8z, stmt: nint, remain: utf8z): int;
146
+ sqlite3_prepare_v2(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, stmt: nint, remain: ReadOnlySpan<System_Internal.Byte>): int;
147
+ sqlite3_prepare_v3(db: sqlite3, sql: utf8z, flags: uint, stmt: nint, remain: utf8z): int;
148
+ sqlite3_prepare_v3(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, flags: uint, stmt: nint, remain: ReadOnlySpan<System_Internal.Byte>): int;
149
+ sqlite3_profile(db: sqlite3, func: delegate_profile, v: unknown): void;
150
+ sqlite3_progress_handler(db: sqlite3, instructions: int, func: delegate_progress, v: unknown): void;
151
+ sqlite3_result_blob(context: nint, val: ReadOnlySpan<System_Internal.Byte>): void;
152
+ sqlite3_result_double(context: nint, val: double): void;
153
+ sqlite3_result_error(context: nint, strErr: utf8z): void;
154
+ sqlite3_result_int(context: nint, val: int): void;
155
+ sqlite3_result_int64(context: nint, val: long): void;
156
+ sqlite3_rollback_hook(db: sqlite3, func: delegate_rollback, v: unknown): void;
157
+ sqlite3_serialize(db: sqlite3, schema: utf8z, size: long, flags: int): nint;
158
+ sqlite3_set_authorizer(db: sqlite3, authorizer: delegate_authorizer, user_data: unknown): int;
159
+ sqlite3_snapshot_cmp(p1: sqlite3_snapshot, p2: sqlite3_snapshot): int;
160
+ sqlite3_snapshot_free(snap: nint): void;
161
+ sqlite3_snapshot_get(db: sqlite3, schema: utf8z, snap: nint): int;
162
+ sqlite3_snapshot_open(db: sqlite3, schema: utf8z, snap: sqlite3_snapshot): int;
163
+ sqlite3_soft_heap_limit64(n: long): long;
164
+ sqlite3_sql(stmt: sqlite3_stmt): utf8z;
165
+ sqlite3_status(op: int, current: int, highwater: int, resetFlag: int): int;
166
+ sqlite3_step(stmt: sqlite3_stmt): int;
167
+ sqlite3_stmt_status(stmt: sqlite3_stmt, op: int, resetFlg: int): int;
168
+ sqlite3_stricmp(p: nint, q: nint): int;
169
+ sqlite3_strnicmp(p: nint, q: nint, n: int): int;
170
+ sqlite3_table_column_metadata(db: sqlite3, dbName: utf8z, tblName: utf8z, colName: utf8z, dataType: utf8z, collSeq: utf8z, notNull: int, primaryKey: int, autoInc: int): int;
171
+ sqlite3_threadsafe(): int;
172
+ sqlite3_trace(db: sqlite3, func: delegate_trace, v: unknown): void;
173
+ sqlite3_update_hook(db: sqlite3, func: delegate_update, v: unknown): void;
174
+ sqlite3_value_blob(p: nint): ReadOnlySpan<System_Internal.Byte>;
175
+ sqlite3_value_double(p: nint): double;
176
+ sqlite3_value_int64(p: nint): long;
177
+ sqlite3_value_text(p: nint): utf8z;
178
+ sqlite3_wal_checkpoint_v2(db: sqlite3, dbName: utf8z, eMode: int, logSize: int, framesCheckPointed: int): int;
179
+ sqlite3_win32_set_directory(typ: int, path: utf8z): int;
180
+ }
181
+
182
+
183
+ export type ISQLite3Provider = ISQLite3Provider$instance;
184
+
185
+ export interface utf8z$instance {
186
+ getPinnableReference(): byte;
187
+ utf8_to_string(): string;
188
+ }
189
+
190
+
191
+ export const utf8z: {
192
+ new(): utf8z;
193
+ fromIntPtr(p: nint): utf8z;
194
+ fromPtr(p: ptr<byte>): utf8z;
195
+ fromPtrLen(p: ptr<byte>, len: int): utf8z;
196
+ fromSpan(span: ReadOnlySpan<System_Internal.Byte>): utf8z;
197
+ fromString(s: string): utf8z;
198
+ getZeroTerminatedUTF8Bytes(value: string): byte[];
199
+ };
200
+
201
+
202
+ export type utf8z = utf8z$instance;
203
+
204
+ export interface authorizer_hook_info$instance {
205
+ call(action_code: int, param0: utf8z, param1: utf8z, dbName: utf8z, inner_most_trigger_or_view: utf8z): int;
206
+ }
207
+
208
+
209
+ export const authorizer_hook_info: {
210
+ new(func: delegate_authorizer, v: unknown): authorizer_hook_info;
211
+ from_ptr(p: nint): authorizer_hook_info;
212
+ };
213
+
214
+
215
+ export type authorizer_hook_info = authorizer_hook_info$instance;
216
+
217
+ export interface collation_hook_info$instance {
218
+ call(s1: ReadOnlySpan<System_Internal.Byte>, s2: ReadOnlySpan<System_Internal.Byte>): int;
219
+ }
220
+
221
+
222
+ export const collation_hook_info: {
223
+ new(func: delegate_collation, v: unknown): collation_hook_info;
224
+ from_ptr(p: nint): collation_hook_info;
225
+ };
226
+
227
+
228
+ export type collation_hook_info = collation_hook_info$instance;
229
+
230
+ export interface commit_hook_info$instance {
231
+ readonly _func: delegate_commit;
232
+ readonly _user_data: unknown;
233
+ call(): int;
234
+ }
235
+
236
+
237
+ export const commit_hook_info: {
238
+ new(func: delegate_commit, v: unknown): commit_hook_info;
239
+ from_ptr(p: nint): commit_hook_info;
240
+ };
241
+
242
+
243
+ export type commit_hook_info = commit_hook_info$instance;
244
+
245
+ export interface EntryPointAttribute$instance extends Attribute {
246
+ readonly name: string;
247
+ }
248
+
249
+
250
+ export const EntryPointAttribute: {
251
+ new(name: string): EntryPointAttribute;
252
+ };
253
+
254
+
255
+ export type EntryPointAttribute = EntryPointAttribute$instance;
256
+
257
+ export interface exec_hook_info$instance {
258
+ call(n: int, values_ptr: nint, names_ptr: nint): int;
259
+ }
260
+
261
+
262
+ export const exec_hook_info: {
263
+ new(func: delegate_exec, v: unknown): exec_hook_info;
264
+ from_ptr(p: nint): exec_hook_info;
265
+ };
266
+
267
+
268
+ export type exec_hook_info = exec_hook_info$instance;
269
+
270
+ export interface function_hook_info$instance {
271
+ call_final(context: nint, agg_context: nint): void;
272
+ call_scalar(context: nint, num_args: int, argsptr: nint): void;
273
+ call_step(context: nint, agg_context: nint, num_args: int, argsptr: nint): void;
274
+ }
275
+
276
+
277
+ export const function_hook_info: {
278
+ new(func_scalar: delegate_function_scalar, user_data: unknown): function_hook_info;
279
+ new(func_step: delegate_function_aggregate_step, func_final: delegate_function_aggregate_final, user_data: unknown): function_hook_info;
280
+ from_ptr(p: nint): function_hook_info;
281
+ };
282
+
283
+
284
+ export type function_hook_info = function_hook_info$instance;
285
+
286
+ export interface hook_handle$instance extends SafeGCHandle {
287
+ forDispose(): IDisposable;
288
+ }
289
+
290
+
291
+ export const hook_handle: {
292
+ new(target: unknown): hook_handle;
293
+ };
294
+
295
+
296
+ export type hook_handle = hook_handle$instance;
297
+
298
+ export interface hook_handles$instance {
299
+ update: IDisposable;
300
+ rollback: IDisposable;
301
+ commit: IDisposable;
302
+ trace: IDisposable;
303
+ profile: IDisposable;
304
+ progress: IDisposable;
305
+ authorizer: IDisposable;
306
+ addAggFunction(name: byte[], nargs: int, d: IDisposable): void;
307
+ addCollation(name: byte[], d: IDisposable): void;
308
+ addScalarFunction(name: byte[], nargs: int, d: IDisposable): void;
309
+ dispose(): void;
310
+ removeAggFunction(name: byte[], nargs: int): boolean;
311
+ removeCollation(name: byte[]): boolean;
312
+ removeScalarFunction(name: byte[], nargs: int): boolean;
313
+ }
314
+
315
+
316
+ export const hook_handles: {
317
+ new(f: Func<System_Internal.IntPtr, System_Internal.IntPtr, System_Internal.Int32, System_Internal.Boolean>): hook_handles;
318
+ };
319
+
320
+
321
+ export type hook_handles = hook_handles$instance;
322
+
323
+ export interface log_hook_info$instance {
324
+ call(rc: int, msg: utf8z): void;
325
+ }
326
+
327
+
328
+ export const log_hook_info: {
329
+ new(func: delegate_log, v: unknown): log_hook_info;
330
+ from_ptr(p: nint): log_hook_info;
331
+ };
332
+
333
+
334
+ export type log_hook_info = log_hook_info$instance;
335
+
336
+ export interface MonoPInvokeCallbackAttribute$instance extends Attribute {
337
+ }
338
+
339
+
340
+ export const MonoPInvokeCallbackAttribute: {
341
+ new(t: Type): MonoPInvokeCallbackAttribute;
342
+ };
343
+
344
+
345
+ export type MonoPInvokeCallbackAttribute = MonoPInvokeCallbackAttribute$instance;
346
+
347
+ export interface PreserveAttribute$instance extends Attribute {
348
+ allMembers: boolean;
349
+ conditional: boolean;
350
+ }
351
+
352
+
353
+ export const PreserveAttribute: {
354
+ new(): PreserveAttribute;
355
+ };
356
+
357
+
358
+ export type PreserveAttribute = PreserveAttribute$instance;
359
+
360
+ export interface profile_hook_info$instance {
361
+ call(s: utf8z, elapsed: long): void;
362
+ }
363
+
364
+
365
+ export const profile_hook_info: {
366
+ new(func: delegate_profile, v: unknown): profile_hook_info;
367
+ from_ptr(p: nint): profile_hook_info;
368
+ };
369
+
370
+
371
+ export type profile_hook_info = profile_hook_info$instance;
372
+
373
+ export interface progress_hook_info$instance {
374
+ call(): int;
375
+ }
376
+
377
+
378
+ export const progress_hook_info: {
379
+ new(func: delegate_progress, v: unknown): progress_hook_info;
380
+ from_ptr(p: nint): progress_hook_info;
381
+ };
382
+
383
+
384
+ export type progress_hook_info = progress_hook_info$instance;
385
+
386
+ export interface rollback_hook_info$instance {
387
+ call(): void;
388
+ }
389
+
390
+
391
+ export const rollback_hook_info: {
392
+ new(func: delegate_rollback, v: unknown): rollback_hook_info;
393
+ from_ptr(p: nint): rollback_hook_info;
394
+ };
395
+
396
+
397
+ export type rollback_hook_info = rollback_hook_info$instance;
398
+
399
+ export interface SafeGCHandle$instance extends SafeHandle {
400
+ readonly isInvalid: boolean;
401
+ }
402
+
403
+
404
+ export const SafeGCHandle: {
405
+ new(v: unknown, typ: GCHandleType): SafeGCHandle;
406
+ };
407
+
408
+
409
+ export type SafeGCHandle = SafeGCHandle$instance;
410
+
411
+ export interface sqlite3$instance extends SafeHandle {
412
+ readonly isInvalid: boolean;
413
+ enable_sqlite3_next_stmt(enabled: boolean): void;
414
+ getOrCreateExtra<T extends IDisposable>(f: Func<T>): T;
415
+ manual_close(): int;
416
+ manual_close_v2(): int;
417
+ }
418
+
419
+
420
+ export const sqlite3: {
421
+ new(): sqlite3;
422
+ };
423
+
424
+
425
+ export type sqlite3 = sqlite3$instance;
426
+
427
+ export interface sqlite3_backup$instance extends SafeHandle {
428
+ readonly isInvalid: boolean;
429
+ manual_close(): int;
430
+ }
431
+
432
+
433
+ export const sqlite3_backup: {
434
+ new(): sqlite3_backup;
435
+ from_(p: nint): sqlite3_backup;
436
+ };
437
+
438
+
439
+ export type sqlite3_backup = sqlite3_backup$instance;
440
+
441
+ export interface sqlite3_blob$instance extends SafeHandle {
442
+ readonly isInvalid: boolean;
443
+ manual_close(): int;
444
+ }
445
+
446
+
447
+ export const sqlite3_blob: {
448
+ new(): sqlite3_blob;
449
+ };
450
+
451
+
452
+ export type sqlite3_blob = sqlite3_blob$instance;
453
+
454
+ export interface sqlite3_context$instance {
455
+ state: unknown;
456
+ }
457
+
458
+
459
+ export const sqlite3_context: {
460
+ new(): sqlite3_context;
461
+ };
462
+
463
+
464
+ export type sqlite3_context = sqlite3_context$instance;
465
+
466
+ export interface sqlite3_snapshot$instance extends SafeHandle {
467
+ readonly isInvalid: boolean;
468
+ manual_close(): void;
469
+ }
470
+
471
+
472
+ export const sqlite3_snapshot: {
473
+ new(): sqlite3_snapshot;
474
+ };
475
+
476
+
477
+ export type sqlite3_snapshot = sqlite3_snapshot$instance;
478
+
479
+ export interface sqlite3_stmt$instance extends SafeHandle {
480
+ readonly isInvalid: boolean;
481
+ manual_close(): int;
482
+ }
483
+
484
+
485
+ export const sqlite3_stmt: {
486
+ new(): sqlite3_stmt;
487
+ };
488
+
489
+
490
+ export type sqlite3_stmt = sqlite3_stmt$instance;
491
+
492
+ export interface sqlite3_value$instance {
493
+ }
494
+
495
+
496
+ export const sqlite3_value: {
497
+ new(p: nint): sqlite3_value;
498
+ };
499
+
500
+
501
+ export type sqlite3_value = sqlite3_value$instance;
502
+
503
+ export interface SQLite3Provider_e_sqlite3$instance {
504
+ }
505
+
506
+
507
+ export const SQLite3Provider_e_sqlite3: {
508
+ new(): SQLite3Provider_e_sqlite3;
509
+ };
510
+
511
+
512
+ export interface __SQLite3Provider_e_sqlite3$views {
513
+ As_ISQLite3Provider(): ISQLite3Provider$instance;
514
+ }
515
+
516
+ export interface SQLite3Provider_e_sqlite3$instance extends ISQLite3Provider$instance {}
517
+
518
+ export type SQLite3Provider_e_sqlite3 = SQLite3Provider_e_sqlite3$instance & __SQLite3Provider_e_sqlite3$views;
519
+
520
+
521
+ export interface trace_hook_info$instance {
522
+ call(s: utf8z): void;
523
+ }
524
+
525
+
526
+ export const trace_hook_info: {
527
+ new(func: delegate_trace, v: unknown): trace_hook_info;
528
+ from_ptr(p: nint): trace_hook_info;
529
+ };
530
+
531
+
532
+ export type trace_hook_info = trace_hook_info$instance;
533
+
534
+ export interface update_hook_info$instance {
535
+ call(typ: int, db: utf8z, tbl: utf8z, rowid: long): void;
536
+ }
537
+
538
+
539
+ export const update_hook_info: {
540
+ new(func: delegate_update, v: unknown): update_hook_info;
541
+ from_ptr(p: nint): update_hook_info;
542
+ };
543
+
544
+
545
+ export type update_hook_info = update_hook_info$instance;
546
+
547
+ export abstract class Batteries$instance {
548
+ static init(): void;
549
+ }
550
+
551
+
552
+ export type Batteries = Batteries$instance;
553
+
554
+ export abstract class Batteries_V2$instance {
555
+ static init(): void;
556
+ }
557
+
558
+
559
+ export type Batteries_V2 = Batteries_V2$instance;
560
+
561
+ export abstract class raw$instance {
562
+ static readonly SQLITE_UTF8: int;
563
+ static readonly SQLITE_UTF16LE: int;
564
+ static readonly SQLITE_UTF16BE: int;
565
+ static readonly SQLITE_UTF16: int;
566
+ static readonly SQLITE_ANY: int;
567
+ static readonly SQLITE_UTF16_ALIGNED: int;
568
+ static readonly SQLITE_DETERMINISTIC: int;
569
+ static readonly SQLITE_LIMIT_LENGTH: int;
570
+ static readonly SQLITE_LIMIT_SQL_LENGTH: int;
571
+ static readonly SQLITE_LIMIT_COLUMN: int;
572
+ static readonly SQLITE_LIMIT_EXPR_DEPTH: int;
573
+ static readonly SQLITE_LIMIT_COMPOUND_SELECT: int;
574
+ static readonly SQLITE_LIMIT_VDBE_OP: int;
575
+ static readonly SQLITE_LIMIT_FUNCTION_ARG: int;
576
+ static readonly SQLITE_LIMIT_ATTACHED: int;
577
+ static readonly SQLITE_LIMIT_LIKE_PATTERN_LENGTH: int;
578
+ static readonly SQLITE_LIMIT_VARIABLE_NUMBER: int;
579
+ static readonly SQLITE_LIMIT_TRIGGER_DEPTH: int;
580
+ static readonly SQLITE_LIMIT_WORKER_THREADS: int;
581
+ static readonly SQLITE_CONFIG_SINGLETHREAD: int;
582
+ static readonly SQLITE_CONFIG_MULTITHREAD: int;
583
+ static readonly SQLITE_CONFIG_SERIALIZED: int;
584
+ static readonly SQLITE_CONFIG_MALLOC: int;
585
+ static readonly SQLITE_CONFIG_GETMALLOC: int;
586
+ static readonly SQLITE_CONFIG_SCRATCH: int;
587
+ static readonly SQLITE_CONFIG_PAGECACHE: int;
588
+ static readonly SQLITE_CONFIG_HEAP: int;
589
+ static readonly SQLITE_CONFIG_MEMSTATUS: int;
590
+ static readonly SQLITE_CONFIG_MUTEX: int;
591
+ static readonly SQLITE_CONFIG_GETMUTEX: int;
592
+ static readonly SQLITE_CONFIG_LOOKASIDE: int;
593
+ static readonly SQLITE_CONFIG_PCACHE: int;
594
+ static readonly SQLITE_CONFIG_GETPCACHE: int;
595
+ static readonly SQLITE_CONFIG_LOG: int;
596
+ static readonly SQLITE_CONFIG_URI: int;
597
+ static readonly SQLITE_CONFIG_PCACHE2: int;
598
+ static readonly SQLITE_CONFIG_GETPCACHE2: int;
599
+ static readonly SQLITE_CONFIG_COVERING_INDEX_SCAN: int;
600
+ static readonly SQLITE_CONFIG_SQLLOG: int;
601
+ static readonly SQLITE_DBCONFIG_MAINDBNAME: int;
602
+ static readonly SQLITE_DBCONFIG_LOOKASIDE: int;
603
+ static readonly SQLITE_DBCONFIG_ENABLE_FKEY: int;
604
+ static readonly SQLITE_DBCONFIG_ENABLE_TRIGGER: int;
605
+ static readonly SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER: int;
606
+ static readonly SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION: int;
607
+ static readonly SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE: int;
608
+ static readonly SQLITE_DBCONFIG_ENABLE_QPSG: int;
609
+ static readonly SQLITE_DBCONFIG_TRIGGER_EQP: int;
610
+ static readonly SQLITE_DBCONFIG_RESET_DATABASE: int;
611
+ static readonly SQLITE_DBCONFIG_DEFENSIVE: int;
612
+ static readonly SQLITE_DBCONFIG_WRITABLE_SCHEMA: int;
613
+ static readonly SQLITE_DBCONFIG_LEGACY_ALTER_TABLE: int;
614
+ static readonly SQLITE_DBCONFIG_DQS_DML: int;
615
+ static readonly SQLITE_DBCONFIG_DQS_DDL: int;
616
+ static readonly SQLITE_DBCONFIG_ENABLE_VIEW: int;
617
+ static readonly SQLITE_DBCONFIG_LEGACY_FILE_FORMAT: int;
618
+ static readonly SQLITE_DBCONFIG_TRUSTED_SCHEMA: int;
619
+ static readonly SQLITE_DBCONFIG_MAX: int;
620
+ static readonly SQLITE_OPEN_READONLY: int;
621
+ static readonly SQLITE_OPEN_READWRITE: int;
622
+ static readonly SQLITE_OPEN_CREATE: int;
623
+ static readonly SQLITE_OPEN_DELETEONCLOSE: int;
624
+ static readonly SQLITE_OPEN_EXCLUSIVE: int;
625
+ static readonly SQLITE_OPEN_AUTOPROXY: int;
626
+ static readonly SQLITE_OPEN_URI: int;
627
+ static readonly SQLITE_OPEN_MEMORY: int;
628
+ static readonly SQLITE_OPEN_MAIN_DB: int;
629
+ static readonly SQLITE_OPEN_TEMP_DB: int;
630
+ static readonly SQLITE_OPEN_TRANSIENT_DB: int;
631
+ static readonly SQLITE_OPEN_MAIN_JOURNAL: int;
632
+ static readonly SQLITE_OPEN_TEMP_JOURNAL: int;
633
+ static readonly SQLITE_OPEN_SUBJOURNAL: int;
634
+ static readonly SQLITE_OPEN_MASTER_JOURNAL: int;
635
+ static readonly SQLITE_OPEN_NOMUTEX: int;
636
+ static readonly SQLITE_OPEN_FULLMUTEX: int;
637
+ static readonly SQLITE_OPEN_SHAREDCACHE: int;
638
+ static readonly SQLITE_OPEN_PRIVATECACHE: int;
639
+ static readonly SQLITE_OPEN_WAL: int;
640
+ static readonly SQLITE_PREPARE_PERSISTENT: int;
641
+ static readonly SQLITE_PREPARE_NORMALIZE: int;
642
+ static readonly SQLITE_PREPARE_NO_VTAB: int;
643
+ static readonly SQLITE_INTEGER: int;
644
+ static readonly SQLITE_FLOAT: int;
645
+ static readonly SQLITE_TEXT: int;
646
+ static readonly SQLITE_BLOB: int;
647
+ static readonly SQLITE_NULL: int;
648
+ static readonly SQLITE_OK: int;
649
+ static readonly SQLITE_ERROR: int;
650
+ static readonly SQLITE_INTERNAL: int;
651
+ static readonly SQLITE_PERM: int;
652
+ static readonly SQLITE_ABORT: int;
653
+ static readonly SQLITE_BUSY: int;
654
+ static readonly SQLITE_LOCKED: int;
655
+ static readonly SQLITE_NOMEM: int;
656
+ static readonly SQLITE_READONLY: int;
657
+ static readonly SQLITE_INTERRUPT: int;
658
+ static readonly SQLITE_IOERR: int;
659
+ static readonly SQLITE_CORRUPT: int;
660
+ static readonly SQLITE_NOTFOUND: int;
661
+ static readonly SQLITE_FULL: int;
662
+ static readonly SQLITE_CANTOPEN: int;
663
+ static readonly SQLITE_PROTOCOL: int;
664
+ static readonly SQLITE_EMPTY: int;
665
+ static readonly SQLITE_SCHEMA: int;
666
+ static readonly SQLITE_TOOBIG: int;
667
+ static readonly SQLITE_CONSTRAINT: int;
668
+ static readonly SQLITE_MISMATCH: int;
669
+ static readonly SQLITE_MISUSE: int;
670
+ static readonly SQLITE_NOLFS: int;
671
+ static readonly SQLITE_AUTH: int;
672
+ static readonly SQLITE_FORMAT: int;
673
+ static readonly SQLITE_RANGE: int;
674
+ static readonly SQLITE_NOTADB: int;
675
+ static readonly SQLITE_NOTICE: int;
676
+ static readonly SQLITE_WARNING: int;
677
+ static readonly SQLITE_ROW: int;
678
+ static readonly SQLITE_DONE: int;
679
+ static readonly SQLITE_IOERR_READ: int;
680
+ static readonly SQLITE_IOERR_SHORT_READ: int;
681
+ static readonly SQLITE_IOERR_WRITE: int;
682
+ static readonly SQLITE_IOERR_FSYNC: int;
683
+ static readonly SQLITE_IOERR_DIR_FSYNC: int;
684
+ static readonly SQLITE_IOERR_TRUNCATE: int;
685
+ static readonly SQLITE_IOERR_FSTAT: int;
686
+ static readonly SQLITE_IOERR_UNLOCK: int;
687
+ static readonly SQLITE_IOERR_RDLOCK: int;
688
+ static readonly SQLITE_IOERR_DELETE: int;
689
+ static readonly SQLITE_IOERR_BLOCKED: int;
690
+ static readonly SQLITE_IOERR_NOMEM: int;
691
+ static readonly SQLITE_IOERR_ACCESS: int;
692
+ static readonly SQLITE_IOERR_CHECKRESERVEDLOCK: int;
693
+ static readonly SQLITE_IOERR_LOCK: int;
694
+ static readonly SQLITE_IOERR_CLOSE: int;
695
+ static readonly SQLITE_IOERR_DIR_CLOSE: int;
696
+ static readonly SQLITE_IOERR_SHMOPEN: int;
697
+ static readonly SQLITE_IOERR_SHMSIZE: int;
698
+ static readonly SQLITE_IOERR_SHMLOCK: int;
699
+ static readonly SQLITE_IOERR_SHMMAP: int;
700
+ static readonly SQLITE_IOERR_SEEK: int;
701
+ static readonly SQLITE_IOERR_DELETE_NOENT: int;
702
+ static readonly SQLITE_IOERR_MMAP: int;
703
+ static readonly SQLITE_IOERR_GETTEMPPATH: int;
704
+ static readonly SQLITE_IOERR_CONVPATH: int;
705
+ static readonly SQLITE_LOCKED_SHAREDCACHE: int;
706
+ static readonly SQLITE_BUSY_RECOVERY: int;
707
+ static readonly SQLITE_BUSY_SNAPSHOT: int;
708
+ static readonly SQLITE_CANTOPEN_NOTEMPDIR: int;
709
+ static readonly SQLITE_CANTOPEN_ISDIR: int;
710
+ static readonly SQLITE_CANTOPEN_FULLPATH: int;
711
+ static readonly SQLITE_CANTOPEN_CONVPATH: int;
712
+ static readonly SQLITE_CORRUPT_VTAB: int;
713
+ static readonly SQLITE_READONLY_RECOVERY: int;
714
+ static readonly SQLITE_READONLY_CANTLOCK: int;
715
+ static readonly SQLITE_READONLY_ROLLBACK: int;
716
+ static readonly SQLITE_READONLY_DBMOVED: int;
717
+ static readonly SQLITE_ABORT_ROLLBACK: int;
718
+ static readonly SQLITE_CONSTRAINT_CHECK: int;
719
+ static readonly SQLITE_CONSTRAINT_COMMITHOOK: int;
720
+ static readonly SQLITE_CONSTRAINT_FOREIGNKEY: int;
721
+ static readonly SQLITE_CONSTRAINT_FUNCTION: int;
722
+ static readonly SQLITE_CONSTRAINT_NOTNULL: int;
723
+ static readonly SQLITE_CONSTRAINT_PRIMARYKEY: int;
724
+ static readonly SQLITE_CONSTRAINT_TRIGGER: int;
725
+ static readonly SQLITE_CONSTRAINT_UNIQUE: int;
726
+ static readonly SQLITE_CONSTRAINT_VTAB: int;
727
+ static readonly SQLITE_CONSTRAINT_ROWID: int;
728
+ static readonly SQLITE_NOTICE_RECOVER_WAL: int;
729
+ static readonly SQLITE_NOTICE_RECOVER_ROLLBACK: int;
730
+ static readonly SQLITE_WARNING_AUTOINDEX: int;
731
+ static readonly SQLITE_CREATE_INDEX: int;
732
+ static readonly SQLITE_CREATE_TABLE: int;
733
+ static readonly SQLITE_CREATE_TEMP_INDEX: int;
734
+ static readonly SQLITE_CREATE_TEMP_TABLE: int;
735
+ static readonly SQLITE_CREATE_TEMP_TRIGGER: int;
736
+ static readonly SQLITE_CREATE_TEMP_VIEW: int;
737
+ static readonly SQLITE_CREATE_TRIGGER: int;
738
+ static readonly SQLITE_CREATE_VIEW: int;
739
+ static readonly SQLITE_DELETE: int;
740
+ static readonly SQLITE_DROP_INDEX: int;
741
+ static readonly SQLITE_DROP_TABLE: int;
742
+ static readonly SQLITE_DROP_TEMP_INDEX: int;
743
+ static readonly SQLITE_DROP_TEMP_TABLE: int;
744
+ static readonly SQLITE_DROP_TEMP_TRIGGER: int;
745
+ static readonly SQLITE_DROP_TEMP_VIEW: int;
746
+ static readonly SQLITE_DROP_TRIGGER: int;
747
+ static readonly SQLITE_DROP_VIEW: int;
748
+ static readonly SQLITE_INSERT: int;
749
+ static readonly SQLITE_PRAGMA: int;
750
+ static readonly SQLITE_READ: int;
751
+ static readonly SQLITE_SELECT: int;
752
+ static readonly SQLITE_TRANSACTION: int;
753
+ static readonly SQLITE_UPDATE: int;
754
+ static readonly SQLITE_ATTACH: int;
755
+ static readonly SQLITE_DETACH: int;
756
+ static readonly SQLITE_ALTER_TABLE: int;
757
+ static readonly SQLITE_REINDEX: int;
758
+ static readonly SQLITE_ANALYZE: int;
759
+ static readonly SQLITE_CREATE_VTABLE: int;
760
+ static readonly SQLITE_DROP_VTABLE: int;
761
+ static readonly SQLITE_FUNCTION: int;
762
+ static readonly SQLITE_SAVEPOINT: int;
763
+ static readonly SQLITE_COPY: int;
764
+ static readonly SQLITE_RECURSIVE: int;
765
+ static readonly SQLITE_CHECKPOINT_PASSIVE: int;
766
+ static readonly SQLITE_CHECKPOINT_FULL: int;
767
+ static readonly SQLITE_CHECKPOINT_RESTART: int;
768
+ static readonly SQLITE_CHECKPOINT_TRUNCATE: int;
769
+ static readonly SQLITE_DBSTATUS_LOOKASIDE_USED: int;
770
+ static readonly SQLITE_DBSTATUS_CACHE_USED: int;
771
+ static readonly SQLITE_DBSTATUS_SCHEMA_USED: int;
772
+ static readonly SQLITE_DBSTATUS_STMT_USED: int;
773
+ static readonly SQLITE_DBSTATUS_LOOKASIDE_HIT: int;
774
+ static readonly SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE: int;
775
+ static readonly SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL: int;
776
+ static readonly SQLITE_DBSTATUS_CACHE_HIT: int;
777
+ static readonly SQLITE_DBSTATUS_CACHE_MISS: int;
778
+ static readonly SQLITE_DBSTATUS_CACHE_WRITE: int;
779
+ static readonly SQLITE_DBSTATUS_DEFERRED_FKS: int;
780
+ static readonly SQLITE_STATUS_MEMORY_USED: int;
781
+ static readonly SQLITE_STATUS_PAGECACHE_USED: int;
782
+ static readonly SQLITE_STATUS_PAGECACHE_OVERFLOW: int;
783
+ static readonly SQLITE_STATUS_SCRATCH_USED: int;
784
+ static readonly SQLITE_STATUS_SCRATCH_OVERFLOW: int;
785
+ static readonly SQLITE_STATUS_MALLOC_SIZE: int;
786
+ static readonly SQLITE_STATUS_PARSER_STACK: int;
787
+ static readonly SQLITE_STATUS_PAGECACHE_SIZE: int;
788
+ static readonly SQLITE_STATUS_SCRATCH_SIZE: int;
789
+ static readonly SQLITE_STATUS_MALLOC_COUNT: int;
790
+ static readonly SQLITE_STMTSTATUS_FULLSCAN_STEP: int;
791
+ static readonly SQLITE_STMTSTATUS_SORT: int;
792
+ static readonly SQLITE_STMTSTATUS_AUTOINDEX: int;
793
+ static readonly SQLITE_STMTSTATUS_VM_STEP: int;
794
+ static readonly SQLITE_DENY: int;
795
+ static readonly SQLITE_IGNORE: int;
796
+ static readonly SQLITE_TRACE_STMT: int;
797
+ static readonly SQLITE_TRACE_PROFILE: int;
798
+ static readonly SQLITE_TRACE_ROW: int;
799
+ static readonly SQLITE_TRACE_CLOSE: int;
800
+ static readonly SQLITE_SERIALIZE_NOCOPY: int;
801
+ static readonly SQLITE_DESERIALIZE_FREEONCLOSE: int;
802
+ static readonly SQLITE_DESERIALIZE_RESIZEABLE: int;
803
+ static readonly SQLITE_DESERIALIZE_READONLY: int;
804
+ static freezeProvider(b?: boolean): void;
805
+ static getNativeLibraryName(): string;
806
+ static internal_sqlite3_finalize(stmt: nint): int;
807
+ static setProvider(imp: ISQLite3Provider): void;
808
+ static sqlite3__create_collation_utf8(db: sqlite3, name: string, v: unknown, f: delegate_collation): int;
809
+ static sqlite3__vfs__delete(vfs: utf8z, pathname: utf8z, syncdir: int): int;
810
+ static sqlite3__vfs__delete(vfs: string, pathname: string, syncdir: int): int;
811
+ static sqlite3_backup_finish(backup: sqlite3_backup): int;
812
+ static sqlite3_backup_init(destDb: sqlite3, destName: string, sourceDb: sqlite3, sourceName: string): sqlite3_backup;
813
+ static sqlite3_backup_pagecount(backup: sqlite3_backup): int;
814
+ static sqlite3_backup_remaining(backup: sqlite3_backup): int;
815
+ static sqlite3_backup_step(backup: sqlite3_backup, nPage: int): int;
816
+ static sqlite3_bind_blob(stmt: sqlite3_stmt, index: int, blob: ReadOnlySpan<System_Internal.Byte>): int;
817
+ static sqlite3_bind_double(stmt: sqlite3_stmt, index: int, val: double): int;
818
+ static sqlite3_bind_int(stmt: sqlite3_stmt, index: int, val: int): int;
819
+ static sqlite3_bind_int64(stmt: sqlite3_stmt, index: int, val: long): int;
820
+ static sqlite3_bind_null(stmt: sqlite3_stmt, index: int): int;
821
+ static sqlite3_bind_parameter_count(stmt: sqlite3_stmt): int;
822
+ static sqlite3_bind_parameter_index(stmt: sqlite3_stmt, strName: utf8z): int;
823
+ static sqlite3_bind_parameter_index(stmt: sqlite3_stmt, strName: string): int;
824
+ static sqlite3_bind_parameter_name(stmt: sqlite3_stmt, index: int): utf8z;
825
+ static sqlite3_bind_text(stmt: sqlite3_stmt, index: int, val: utf8z): int;
826
+ static sqlite3_bind_text(stmt: sqlite3_stmt, index: int, val: ReadOnlySpan<System_Internal.Byte>): int;
827
+ static sqlite3_bind_text(stmt: sqlite3_stmt, index: int, val: string): int;
828
+ static sqlite3_bind_text16(stmt: sqlite3_stmt, index: int, val: ReadOnlySpan<System_Internal.Char>): int;
829
+ static sqlite3_bind_zeroblob(stmt: sqlite3_stmt, index: int, size: int): int;
830
+ static sqlite3_blob_bytes(blob: sqlite3_blob): int;
831
+ static sqlite3_blob_close(blob: sqlite3_blob): int;
832
+ static sqlite3_blob_open(db: sqlite3, db_utf8: utf8z, table_utf8: utf8z, col_utf8: utf8z, rowid: long, flags: int, blob: sqlite3_blob): int;
833
+ static sqlite3_blob_open(db: sqlite3, sdb: string, table: string, col: string, rowid: long, flags: int, blob: sqlite3_blob): int;
834
+ static sqlite3_blob_read(blob: sqlite3_blob, b: Span<System_Internal.Byte>, offset: int): int;
835
+ static sqlite3_blob_reopen(blob: sqlite3_blob, rowid: long): int;
836
+ static sqlite3_blob_write(blob: sqlite3_blob, b: ReadOnlySpan<System_Internal.Byte>, offset: int): int;
837
+ static sqlite3_busy_timeout(db: sqlite3, ms: int): int;
838
+ static sqlite3_changes(db: sqlite3): int;
839
+ static sqlite3_clear_bindings(stmt: sqlite3_stmt): int;
840
+ static sqlite3_close(db: sqlite3): int;
841
+ static sqlite3_close_v2(db: sqlite3): int;
842
+ static sqlite3_column_blob(stmt: sqlite3_stmt, index: int): ReadOnlySpan<System_Internal.Byte>;
843
+ static sqlite3_column_bytes(stmt: sqlite3_stmt, index: int): int;
844
+ static sqlite3_column_count(stmt: sqlite3_stmt): int;
845
+ static sqlite3_column_database_name(stmt: sqlite3_stmt, index: int): utf8z;
846
+ static sqlite3_column_decltype(stmt: sqlite3_stmt, index: int): utf8z;
847
+ static sqlite3_column_double(stmt: sqlite3_stmt, index: int): double;
848
+ static sqlite3_column_int(stmt: sqlite3_stmt, index: int): int;
849
+ static sqlite3_column_int64(stmt: sqlite3_stmt, index: int): long;
850
+ static sqlite3_column_name(stmt: sqlite3_stmt, index: int): utf8z;
851
+ static sqlite3_column_origin_name(stmt: sqlite3_stmt, index: int): utf8z;
852
+ static sqlite3_column_table_name(stmt: sqlite3_stmt, index: int): utf8z;
853
+ static sqlite3_column_text(stmt: sqlite3_stmt, index: int): utf8z;
854
+ static sqlite3_column_type(stmt: sqlite3_stmt, index: int): int;
855
+ static sqlite3_commit_hook(db: sqlite3, f: delegate_commit, v: unknown): void;
856
+ static sqlite3_compileoption_get(n: int): utf8z;
857
+ static sqlite3_compileoption_used(s: utf8z): int;
858
+ static sqlite3_compileoption_used(s: string): int;
859
+ static sqlite3_complete(sql: utf8z): int;
860
+ static sqlite3_complete(sql: string): int;
861
+ static sqlite3_config(op: int, val: int): int;
862
+ static sqlite3_config(op: int): int;
863
+ static sqlite3_config_log(f: delegate_log, v: unknown): int;
864
+ static sqlite3_config_log(f: strdelegate_log, v: unknown): int;
865
+ static sqlite3_create_collation(db: sqlite3, name: string, v: unknown, f: strdelegate_collation): int;
866
+ static sqlite3_create_function(db: sqlite3, name: string, nArg: int, flags: int, v: unknown, func_step: delegate_function_aggregate_step, func_final: delegate_function_aggregate_final): int;
867
+ static sqlite3_create_function(db: sqlite3, name: string, nArg: int, flags: int, v: unknown, func: delegate_function_scalar): int;
868
+ static sqlite3_create_function(db: sqlite3, name: string, nArg: int, v: unknown, func_step: delegate_function_aggregate_step, func_final: delegate_function_aggregate_final): int;
869
+ static sqlite3_create_function(db: sqlite3, name: string, nArg: int, v: unknown, func: delegate_function_scalar): int;
870
+ static sqlite3_data_count(stmt: sqlite3_stmt): int;
871
+ static sqlite3_db_config(db: sqlite3, op: int, val: utf8z): int;
872
+ static sqlite3_db_config(db: sqlite3, op: int, val: int, result: int): int;
873
+ static sqlite3_db_config(db: sqlite3, op: int, ptr: nint, int0: int, int1: int): int;
874
+ static sqlite3_db_filename(db: sqlite3, att: utf8z): utf8z;
875
+ static sqlite3_db_filename(db: sqlite3, att: string): utf8z;
876
+ static sqlite3_db_handle(stmt: sqlite3_stmt): sqlite3;
877
+ static sqlite3_db_readonly(db: sqlite3, dbName: utf8z): int;
878
+ static sqlite3_db_readonly(db: sqlite3, dbName: string): int;
879
+ static sqlite3_db_status(db: sqlite3, op: int, current: int, highest: int, resetFlg: int): int;
880
+ static sqlite3_deserialize(db: sqlite3, schema: string, data: nint, deserializedDataSize: long, maxDataSize: long, flags: int): int;
881
+ static sqlite3_enable_load_extension(db: sqlite3, onoff: int): int;
882
+ static sqlite3_enable_shared_cache(enable: int): int;
883
+ static sqlite3_errcode(db: sqlite3): int;
884
+ static sqlite3_errmsg(db: sqlite3): utf8z;
885
+ static sqlite3_errstr(rc: int): utf8z;
886
+ static sqlite3_exec(db: sqlite3, sql: string, callback: strdelegate_exec, user_data: unknown, errMsg: string): int;
887
+ static sqlite3_exec(db: sqlite3, sql: string, errMsg: string): int;
888
+ static sqlite3_exec(db: sqlite3, sql: string): int;
889
+ static sqlite3_extended_errcode(db: sqlite3): int;
890
+ static sqlite3_extended_result_codes(db: sqlite3, onoff: int): int;
891
+ static sqlite3_finalize(stmt: sqlite3_stmt): int;
892
+ static sqlite3_free(p: nint): void;
893
+ static sqlite3_get_autocommit(db: sqlite3): int;
894
+ static sqlite3_hard_heap_limit64(n: long): long;
895
+ static sqlite3_initialize(): int;
896
+ static sqlite3_interrupt(db: sqlite3): void;
897
+ static sqlite3_key(db: sqlite3, k: ReadOnlySpan<System_Internal.Byte>): int;
898
+ static sqlite3_key_v2(db: sqlite3, name: utf8z, k: ReadOnlySpan<System_Internal.Byte>): int;
899
+ static sqlite3_keyword_count(): int;
900
+ static sqlite3_keyword_name(i: int, name: string): int;
901
+ static sqlite3_last_insert_rowid(db: sqlite3): long;
902
+ static sqlite3_libversion(): utf8z;
903
+ static sqlite3_libversion_number(): int;
904
+ static sqlite3_limit(db: sqlite3, id: int, newVal: int): int;
905
+ static sqlite3_load_extension(db: sqlite3, file: utf8z, proc: utf8z, errmsg: utf8z): int;
906
+ static sqlite3_log(errcode: int, s: utf8z): void;
907
+ static sqlite3_log(errcode: int, s: string): void;
908
+ static sqlite3_malloc(n: int): nint;
909
+ static sqlite3_malloc64(n: long): nint;
910
+ static sqlite3_memory_highwater(resetFlag: int): long;
911
+ static sqlite3_memory_used(): long;
912
+ static sqlite3_next_stmt(db: sqlite3, stmt: sqlite3_stmt): sqlite3_stmt;
913
+ static sqlite3_open(filename: utf8z, db: sqlite3): int;
914
+ static sqlite3_open(filename: string, db: sqlite3): int;
915
+ static sqlite3_open_v2(filename: utf8z, db: sqlite3, flags: int, vfs: utf8z): int;
916
+ static sqlite3_open_v2(filename: string, db: sqlite3, flags: int, vfs: string): int;
917
+ static sqlite3_prepare_v2(db: sqlite3, sql: utf8z, stmt: sqlite3_stmt, tail: utf8z): int;
918
+ static sqlite3_prepare_v2(db: sqlite3, sql: utf8z, stmt: sqlite3_stmt): int;
919
+ static sqlite3_prepare_v2(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, stmt: sqlite3_stmt, tail: ReadOnlySpan<System_Internal.Byte>): int;
920
+ static sqlite3_prepare_v2(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, stmt: sqlite3_stmt): int;
921
+ static sqlite3_prepare_v2(db: sqlite3, sql: string, stmt: sqlite3_stmt, tail: string): int;
922
+ static sqlite3_prepare_v2(db: sqlite3, sql: string, stmt: sqlite3_stmt): int;
923
+ static sqlite3_prepare_v3(db: sqlite3, sql: utf8z, flags: uint, stmt: sqlite3_stmt, tail: utf8z): int;
924
+ static sqlite3_prepare_v3(db: sqlite3, sql: utf8z, flags: uint, stmt: sqlite3_stmt): int;
925
+ static sqlite3_prepare_v3(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, flags: uint, stmt: sqlite3_stmt, tail: ReadOnlySpan<System_Internal.Byte>): int;
926
+ static sqlite3_prepare_v3(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, flags: uint, stmt: sqlite3_stmt): int;
927
+ static sqlite3_prepare_v3(db: sqlite3, sql: string, flags: uint, stmt: sqlite3_stmt, tail: string): int;
928
+ static sqlite3_prepare_v3(db: sqlite3, sql: string, flags: uint, stmt: sqlite3_stmt): int;
929
+ static sqlite3_profile(db: sqlite3, f: delegate_profile, v: unknown): void;
930
+ static sqlite3_profile(db: sqlite3, f: strdelegate_profile, v: unknown): void;
931
+ static sqlite3_progress_handler(db: sqlite3, instructions: int, func: delegate_progress, v: unknown): void;
932
+ static sqlite3_rekey(db: sqlite3, k: ReadOnlySpan<System_Internal.Byte>): int;
933
+ static sqlite3_rekey_v2(db: sqlite3, name: utf8z, k: ReadOnlySpan<System_Internal.Byte>): int;
934
+ static sqlite3_reset(stmt: sqlite3_stmt): int;
935
+ static sqlite3_result_blob(context: sqlite3_context, val: ReadOnlySpan<System_Internal.Byte>): void;
936
+ static sqlite3_result_double(context: sqlite3_context, val: double): void;
937
+ static sqlite3_result_error(context: sqlite3_context, val: utf8z): void;
938
+ static sqlite3_result_error(context: sqlite3_context, val: ReadOnlySpan<System_Internal.Byte>): void;
939
+ static sqlite3_result_error(context: sqlite3_context, val: string): void;
940
+ static sqlite3_result_error_code(context: sqlite3_context, code: int): void;
941
+ static sqlite3_result_error_nomem(context: sqlite3_context): void;
942
+ static sqlite3_result_error_toobig(context: sqlite3_context): void;
943
+ static sqlite3_result_int(context: sqlite3_context, val: int): void;
944
+ static sqlite3_result_int64(context: sqlite3_context, val: long): void;
945
+ static sqlite3_result_null(context: sqlite3_context): void;
946
+ static sqlite3_result_text(context: sqlite3_context, val: utf8z): void;
947
+ static sqlite3_result_text(context: sqlite3_context, val: ReadOnlySpan<System_Internal.Byte>): void;
948
+ static sqlite3_result_text(context: sqlite3_context, val: string): void;
949
+ static sqlite3_result_zeroblob(context: sqlite3_context, n: int): void;
950
+ static sqlite3_rollback_hook(db: sqlite3, f: delegate_rollback, v: unknown): void;
951
+ static sqlite3_serialize(db: sqlite3, schema: string, size: long, flags: int): nint;
952
+ static sqlite3_set_authorizer(db: sqlite3, f: delegate_authorizer, user_data: unknown): int;
953
+ static sqlite3_set_authorizer(db: sqlite3, f: strdelegate_authorizer, user_data: unknown): int;
954
+ static sqlite3_shutdown(): int;
955
+ static sqlite3_snapshot_cmp(p1: sqlite3_snapshot, p2: sqlite3_snapshot): int;
956
+ static sqlite3_snapshot_free(snap: sqlite3_snapshot): void;
957
+ static sqlite3_snapshot_get(db: sqlite3, schema: string, snap: sqlite3_snapshot): int;
958
+ static sqlite3_snapshot_open(db: sqlite3, schema: string, snap: sqlite3_snapshot): int;
959
+ static sqlite3_snapshot_recover(db: sqlite3, name: string): int;
960
+ static sqlite3_soft_heap_limit64(n: long): long;
961
+ static sqlite3_sourceid(): utf8z;
962
+ static sqlite3_sql(stmt: sqlite3_stmt): utf8z;
963
+ static sqlite3_status(op: int, current: int, highwater: int, resetFlag: int): int;
964
+ static sqlite3_step(stmt: sqlite3_stmt): int;
965
+ static sqlite3_stmt_busy(stmt: sqlite3_stmt): int;
966
+ static sqlite3_stmt_isexplain(stmt: sqlite3_stmt): int;
967
+ static sqlite3_stmt_readonly(stmt: sqlite3_stmt): int;
968
+ static sqlite3_stmt_status(stmt: sqlite3_stmt, op: int, resetFlg: int): int;
969
+ static sqlite3_table_column_metadata(db: sqlite3, dbName: utf8z, tblName: utf8z, colName: utf8z, dataType: utf8z, collSeq: utf8z, notNull: int, primaryKey: int, autoInc: int): int;
970
+ static sqlite3_table_column_metadata(db: sqlite3, dbName: string, tblName: string, colName: string, dataType: string, collSeq: string, notNull: int, primaryKey: int, autoInc: int): int;
971
+ static sqlite3_threadsafe(): int;
972
+ static sqlite3_total_changes(db: sqlite3): int;
973
+ static sqlite3_trace(db: sqlite3, f: delegate_trace, v: unknown): void;
974
+ static sqlite3_trace(db: sqlite3, f: strdelegate_trace, v: unknown): void;
975
+ static sqlite3_update_hook(db: sqlite3, f: delegate_update, v: unknown): void;
976
+ static sqlite3_update_hook(db: sqlite3, f: strdelegate_update, v: unknown): void;
977
+ static sqlite3_user_data(context: sqlite3_context): unknown;
978
+ static sqlite3_value_blob(val: sqlite3_value): ReadOnlySpan<System_Internal.Byte>;
979
+ static sqlite3_value_bytes(val: sqlite3_value): int;
980
+ static sqlite3_value_double(val: sqlite3_value): double;
981
+ static sqlite3_value_int(val: sqlite3_value): int;
982
+ static sqlite3_value_int64(val: sqlite3_value): long;
983
+ static sqlite3_value_text(val: sqlite3_value): utf8z;
984
+ static sqlite3_value_type(val: sqlite3_value): int;
985
+ static sqlite3_wal_autocheckpoint(db: sqlite3, n: int): int;
986
+ static sqlite3_wal_checkpoint(db: sqlite3, dbName: string): int;
987
+ static sqlite3_wal_checkpoint_v2(db: sqlite3, dbName: string, eMode: int, logSize: int, framesCheckPointed: int): int;
988
+ static sqlite3_win32_set_directory(typ: int, path: string): int;
989
+ static utf8_span_to_string(p: ReadOnlySpan<System_Internal.Byte>): string;
990
+ }
991
+
992
+
993
+ export type raw = raw$instance;
994
+