import type { PgTable } from 'drizzle-orm/pg-core';
import type { QueryOp } from '../../typings/routing/crud';
import type { JoinTableMap } from './join-tables';
/**
 * 声明式 select → Drizzle select 对象。
 * `a.*` 展开；`b.col` 键为驼峰字段名；`e.name as roleName` 键为 as 名。
 */
export declare function resolveDeclarativeSelect(main: PgTable, op: QueryOp, tables: JoinTableMap): Record<string, unknown>;
