import { EnforceNonEmptyRecord, ValueRecord } from '../../record'; import { Value } from '../../value'; import { Table } from '../one/table'; import { Subtable } from '../subtable'; import { SelectRows } from '../selection/select_rows'; import { SelectVector } from '../selection/select_vector'; import { Constructor, SelectStatement } from '../../statements/select_statement'; export declare class SortTwoTables { private readonly firstConstructor; private readonly secondConstructor; private readonly statement; constructor(firstConstructor: Constructor, secondConstructor: Constructor, statement: SelectStatement); thenBy(sortBy: (first: T1, second: T2) => Value): SortTwoTables; thenDescendinglyBy(sortBy: (first: T1, second: T2) => Value): SortTwoTables; select(firstName: string, secondName: string): SelectRows<{ [first in K]: T1; } & { [second in K]: T2; }>; map(f: (first: T1, second: T2) => EnforceNonEmptyRecord & U): SelectRows; map(tableInSubquery: Table, f: (s: Subtable, first: T1, second: T2) => EnforceNonEmptyRecord & U): SelectRows; get(f: (first: T1, second: T2) => U): SelectVector; }