import BaseModel from "Common/Models/BaseModel";
import Dictionary from "Common/Types/Dictionary";

export type SelectPropertyOptions = boolean | Dictionary<boolean>;

/**
 * Select find options.
 */

export declare type SelectOptions<Entity> = {
  [P in keyof Entity]?: SelectPropertyOptions;
};

type Select<TBaseModel extends BaseModel> = SelectOptions<TBaseModel>;
export default Select;
