import { SQL_SYMBOLE } from '../sql'; import { Rowset } from './rowset'; import { Field } from '../expression/field'; import type { Select } from '../statement'; import { ColumnsOf, DataRowValueType, DefaultRowObject, RowObject } from '../types'; export declare class WithSelect extends Rowset { private constructor(); readonly $type: SQL_SYMBOLE.WITH_SELECT; $select: Select; $alias?: string; /** * WITH 声明名称 */ $name: string; static isWithSelect(object: any): object is WithSelect; static create(name: string, select: Select): XWithSelect; } export declare type XWithSelect = WithSelect & { readonly [P in ColumnsOf]: Field, P>; };