import type { Kysely } from "kysely"; import type { InlangDatabaseSchema } from "../database/schema.js"; /** * Select bundles with nested messages and variants. * * `{ bundle, messages: [{ message, variants: [{ variant }] }] }` * * @example * // getting one bundle where id is 123 * await selectBundleNested(db) * .where("bundle.id", "=", "123") * .executeTakeFirst() * * // getting all bundles * await selectBundleNested(db) * .execute() */ export declare const selectBundleNested: (db: Kysely) => import("kysely").SelectQueryBuilder; //# sourceMappingURL=selectBundleNested.d.ts.map