interface TransformFn { pgType?: string; mysqlType?: string; (...args: unknown[]): unknown; } declare const typeMap: Record; /** * Resolves a Stonyx ORM attribute type to a PostgreSQL column type. * * For built-in types, returns the mapped PostgreSQL type directly. * * For custom transforms (e.g. an `animal` transform that maps strings to ints): * - If the transform function exports a `pgType` property, that value is used. * - Otherwise, if `mysqlType` is defined, it is mapped to a PG equivalent. * - Otherwise, defaults to JSONB. Values are JSON-stringified on write and * JSON-parsed on read by PostgreSQL natively. */ export declare function getPgType(attrType: string, transformFn?: TransformFn): string; /** * Returns a vector column type for the given dimensions. */ export declare function getVectorType(dimensions: number): string; export default typeMap;