@jasondark/proompt
Version:
CLI tool for running AI prompts with structure and repeatability
34 lines • 1.01 kB
TypeScript
import { Settings, SettingsWithMeta } from '../types';
/**
* Get the path to the global settings file
*/
export declare const getGlobalSettingsPath: () => string;
/**
* Get the path to the project settings file
*/
export declare const getProjectSettingsPath: () => string;
/**
* Ensure the global settings directory exists
*/
export declare const ensureGlobalSettingsDir: () => void;
/**
* Ensure the project settings directory exists
*/
export declare const ensureProjectSettingsDir: () => void;
/**
* Read global settings from file with metadata
*/
export declare const readGlobalSettings: () => SettingsWithMeta;
/**
* Read project settings from file with metadata
*/
export declare const readProjectSettings: () => SettingsWithMeta;
/**
* Write global settings to file
*/
export declare const writeGlobalSettings: (settings: Settings) => void;
/**
* Write project settings to file
*/
export declare const writeProjectSettings: (settings: Settings) => void;
//# sourceMappingURL=settings.d.ts.map