/** * Write the Makefile for the extension. */ export declare const writeExtensionMakefile: (outputPath: string, extname: string, version: string) => void; /** * Generate content for a .control file * https://www.postgresql.org/docs/current/extend-extensions.html */ export declare function generateControlFileContent(options: { name: string; version: string; comment?: string; requires?: string[]; default_version?: string; relocatable?: boolean; superuser?: boolean; schema?: string; module_pathname?: string; }): string; /** * Write the control file for the extension. */ export declare const writeExtensionControlFile: (outputPath: string, extname: string, extensions: string[], version: string) => void; /** * Interface for extension information */ export interface ExtensionInfo { extname: string; packageDir: string; version: string; Makefile: string; controlFile: string; sqlFile: string; } /** * Write control and Makefile for the extension with given data. * If extInfo is not provided, it will be generated from packageDir. */ export declare const writeExtensions: (packageDir: string, extensions: string[], extInfo?: ExtensionInfo) => void;