import { PLpgSQLDeparser, PLpgSQLDeparserOptions, ReturnInfo, ReturnInfoKind } from './plpgsql-deparser'; const deparseMethod = PLpgSQLDeparser.deparse; const deparseFunctionMethod = PLpgSQLDeparser.deparseFunction; export const deparseSync = deparseMethod; export const deparseFunctionSync = deparseFunctionMethod; export const deparse = async ( ...args: Parameters ): Promise> => { return deparseMethod(...args); }; export const deparseFunction = async ( ...args: Parameters ): Promise> => { return deparseFunctionMethod(...args); }; export { PLpgSQLDeparser, PLpgSQLDeparserOptions, ReturnInfo, ReturnInfoKind }; export { dehydratePlpgsqlAst, DehydrationOptions,getOriginalQuery, hydratePlpgsqlAst, isHydratedExpr, isHydratedTypeName } from './hydrate'; export * from './hydrate-types'; export * from './types';