import { JsDoc, Settings } from './types.js'; /** * Apply the configured import/export file extension to a relative module specifier. * No-op when `settings.importFileExtension` is empty (default), preserving the extensionless CommonJS/bundler behaviour. * @param specifier - The relative specifier (e.g. '.', './subDir', '../foo', './Bar') * @param settings - Settings object * @param isDirectoryRef - true when the specifier points at a directory whose barrel `index` file should be targeted (=> appends `/index.`); false when it already points at a file (=> appends `.`) */ export declare function applyImportExtension(specifier: string, settings: Settings, isDirectoryRef: boolean): string; /** * Write index.ts file * * @param settings - Settings Object * @param fileNamesToExport - List of file names that will be added to the index.ts file */ export declare function writeIndexFile(settings: Settings, fileNamesToExport: string[]): void; export declare function getTypeFileNameFromSchema(schemaFileName: string, settings: Settings): string; /** * Get all indent characters for this indent level * @param settings includes what the indent characters are * @param indentLevel how many indent levels */ export declare function getIndentStr(settings: Settings, indentLevel: number): string; /** * Get Interface jsDoc */ export declare function getJsDocString(settings: Settings, name: string, jsDoc?: JsDoc, indentLevel?: number): string; //# sourceMappingURL=write.d.ts.map