/** * Interface for tspublish.json configuration */ export interface ITsPublishJson { order?: number; unpack?: boolean; [key: string]: any; } /** * TsPublishConfig handles loading and parsing tspublish.json files. * These configuration files control module-specific settings like * compilation order and output unpacking behavior. */ export declare class TsPublishConfig { private folderPath; private cachedConfig; private cacheLoaded; constructor(folderPath: string); /** * Get the folder path this config is for */ getFolderPath(): string; /** * Load and parse tspublish.json from the folder * Returns null if file doesn't exist or is invalid */ load(): Promise; /** * Synchronously load and parse tspublish.json from the folder * Returns null if file doesn't exist or is invalid */ loadSync(): ITsPublishJson | null; /** * Check if output should be unpacked (flattened) * Default is true if not specified */ get shouldUnpack(): boolean; /** * Get the compilation order for tsfolders command * Returns Infinity if not specified (sorted last) */ get order(): number; /** * Check if tspublish.json exists in the folder */ exists(): Promise; /** * Clear the cached config (useful for reloading) */ clearCache(): void; }