Database definition which equals my package definition.DB definition is the following:DB definition:DB definitions from the outside while keeping the type-safety in the package?Note: Have seen something similar in the discord help ( from 2023 ), maybe this would work ( without the? )anydb.selectFrom(table) as SelectQueryBuilder<any, any, {}>