/** * Configuration options for creating SQLite user-defined functions. * Used with `DatabaseSync.function()` to customize function behavior. */ export interface UserFunctionOptions { /** If `true`, sets the `SQLITE_DETERMINISTIC` flag. @default false */ readonly deterministic?: boolean; /** If `true`, sets the `SQLITE_DIRECTONLY` flag. @default false */ readonly directOnly?: boolean; /** If `true`, converts integer arguments to `BigInt`s. @default false */ readonly useBigIntArguments?: boolean; /** If `true`, allows function to be invoked with variable arguments. @default false */ readonly varargs?: boolean; }