import type { CompositeProperty } from "./generators/composite-types"; import type { GenerateIdentifierTypeV3, GetMetadataV3, GetPropertyMetadataV3, GetRoutineMetadataV3 } from "./metadata-types"; /** * @deprecated This is a V3 compatibility export. In V4, use the builtinMetadata parameter * passed to your custom getMetadata function instead of importing this. * * Migration example: * ```ts * // V3 (deprecated): * import { defaultGetMetadata } from 'kanel'; * getMetadata: (details, generateFor, instantiatedConfig) => { * const defaults = defaultGetMetadata(details, generateFor, instantiatedConfig); * return { ...defaults, comment: ['Custom'] }; * } * * // V4 (recommended): * getMetadata: (details, generateFor, builtinMetadata) => { * return { ...builtinMetadata, comment: ['Custom'] }; * } * ``` */ export declare const defaultGetMetadata: GetMetadataV3; /** * @deprecated This is a V3 compatibility export. In V4, use the builtinMetadata parameter * passed to your custom getPropertyMetadata function instead of importing this. */ export declare const defaultGetPropertyMetadata: GetPropertyMetadataV3; /** * @deprecated This is a V3 compatibility export. In V4, use the builtinType parameter * passed to your custom generateIdentifierType function instead of importing this. */ export declare const defaultGenerateIdentifierType: GenerateIdentifierTypeV3; /** * @deprecated This is a V3 compatibility export. In V4, this is an internal builtin. * If you need custom sorting, provide your own propertySortFunction in PgTsGeneratorConfig. */ export declare const defaultPropertySortFunction: (a: CompositeProperty, b: CompositeProperty) => number; /** * @deprecated This is a V3 compatibility export. In V4, use the builtinMetadata parameter * passed to your custom getRoutineMetadata function instead of importing this. */ export declare const defaultGetRoutineMetadata: GetRoutineMetadataV3;