import { Placeholder, Query, SQL, SQLWrapper } from 'drizzle-orm/sql'; import { AnySQLiteColumn } from '../columns'; import { SQLiteDialect } from '../dialect'; import { SQLiteSelectFields } from '../operations'; import { PreparedQuery, SQLiteSession } from '../session'; import { AnySQLiteTable, GetTableConfig, InferModel } from '../table'; import { JoinFn, JoinNullability, JoinType, SelectMode, SelectResult, SQLiteSelectConfig } from './select.types'; export interface SQLiteSelect, TSelectMode extends SelectMode = 'single', TJoinsNotNullable extends Record = Record, 'not-null'>> extends SQLWrapper { } export declare class SQLiteSelect, TSelectMode extends SelectMode = 'single', TJoinsNotNullable extends Record = Record, 'not-null'>> implements SQLWrapper { private session; private dialect; protected $table: TTable; protected $selectMode: TSelectMode; protected $result: TResult; private config; private isPartialSelect; private joinsNotNullable; constructor(table: SQLiteSelectConfig['table'], fields: SQLiteSelectConfig['fields'], session: SQLiteSession, dialect: SQLiteDialect); private createJoin; leftJoin: JoinFn; rightJoin: JoinFn; innerJoin: JoinFn; fullJoin: JoinFn; fields(fields: TSelect): Omit, 'fields'>; where(where: SQL | undefined): Omit; orderBy(...columns: SQL[]): Omit; groupBy(...columns: (AnySQLiteColumn | SQL)[]): Omit; limit(limit: number | Placeholder): Omit; offset(offset: number | Placeholder): Omit; toSQL(): Query; prepare(): PreparedQuery<{ type: TResultType; run: TRunResult; all: SelectResult[]; get: SelectResult; values: any[][]; }>; run: ReturnType['run']; all: ReturnType['all']; get: ReturnType['get']; values: ReturnType['values']; } //# sourceMappingURL=select.d.ts.map