/** * Wrapper utilities to combine user-provided V4 functions with builtin implementations. * * These wrappers ensure that: * 1. Builtin function is called first to get the base result * 2. User function (if provided) receives the builtin result to compose on * 3. If no user function, builtin is used directly */ import type { GetMetadata, GetPropertyMetadata, GenerateIdentifierType, GetRoutineMetadata } from "../config-types-v4"; import type { InternalGetMetadata, InternalGetPropertyMetadata, InternalGenerateIdentifierType, InternalGetRoutineMetadata } from "./pgTsGeneratorContext"; /** * Wraps getMetadata to call builtin first, then user function. * Returns an InternalGetMetadata function (without the builtinMetadata parameter). */ export declare function wrapGetMetadata(userFunction: GetMetadata | undefined): InternalGetMetadata; /** * Wraps getPropertyMetadata to call builtin first, then user function. * Returns an InternalGetPropertyMetadata function (without the builtinMetadata parameter). */ export declare function wrapGetPropertyMetadata(userFunction: GetPropertyMetadata | undefined): InternalGetPropertyMetadata; /** * Wraps generateIdentifierType to call builtin first, then user function. * Returns an InternalGenerateIdentifierType function (without the builtinType parameter). */ export declare function wrapGenerateIdentifierType(userFunction: GenerateIdentifierType | undefined): InternalGenerateIdentifierType | undefined; /** * Wraps getRoutineMetadata to call builtin first, then user function. * Returns an InternalGetRoutineMetadata function (without the builtinMetadata parameter). */ export declare function wrapGetRoutineMetadata(userFunction: GetRoutineMetadata | undefined): InternalGetRoutineMetadata | undefined;