import type * as DatabaseSchema from "./DatabaseSchema"; import type * as Table from "./Table"; import type * as TableInfo from "./TableInfo"; export declare const TypeId: "~@confect/server/DataModel"; export type TypeId = typeof TypeId; export interface DataModel>> { readonly [TypeId]: Readonly; } export interface Any { readonly [TypeId]: unknown; } export interface AnyWithProps extends DataModel>> { } export type FromSchema = DataModel; export type FromTables = DataModel>; export type ToConvex = { [TableName_ in TableNames]: TableInfoWithName; }; export type Tables = DataModel_[TypeId][keyof DataModel_[TypeId]]; export type TableNames = Table.Name> & string; export type TableWithName> = Table.WithName, TableName>; export type TableInfoWithName_> = TableInfo.TableInfo, TableName>>; export type TableInfoWithName> = TableInfo.ConvexTableInfo, TableName>>>; export type DocumentWithName> = TableInfo.Document, TableName>>>; export type DocumentByName> = DocumentWithName; //# sourceMappingURL=DataModel.d.ts.map