UNPKG

@grouparoo/core

Version:
8 lines (7 loc) 470 B
import { GrouparooModel } from "../models/GrouparooModel"; import { Property, PropertyTypes } from "../models/Property"; export declare namespace TableSpeculation { function isUniqueColumn(columnName: string): boolean; function columnType(columnName: string, samples?: any[], defaultDatabaseType?: typeof PropertyTypes[number]): typeof PropertyTypes[number]; function suggestKey(key: string, model: GrouparooModel, existingProperties: Property[]): string; }