///
import { ObjectID } from "../driver/mongodb/typings";
/**
* A single property handler for FindOptionsSelect.
*/
export declare type FindOptionsSelectProperty = Property extends Promise ? FindOptionsSelectProperty | boolean : Property extends Array ? FindOptionsSelectProperty | boolean : Property extends string ? boolean : Property extends number ? boolean : Property extends boolean ? boolean : Property extends Function ? never : Property extends Buffer ? boolean : Property extends Date ? boolean : Property extends ObjectID ? boolean : Property extends object ? FindOptionsSelect : boolean;
/**
* Select find options.
*/
export declare type FindOptionsSelect = {
[P in keyof Entity]?: P extends "toString" ? unknown : FindOptionsSelectProperty>;
};
/**
* Property paths (column names) to be selected by "find" defined as string.
* Old selection mechanism in TypeORM.
*
* @deprecated will be removed in the next version, use FindOptionsSelect type notation instead
*/
export declare type FindOptionsSelectByString = (keyof Entity)[];