/**
 * Configuration module for Scryfall MCP server and standalone scripts.
 */
/**
 * Detect if running in MCP mode.
 * @returns True if running in MCP mode, false otherwise
 */
export declare function isMcpMode(): boolean;
/**
 * Validate that a directory exists and is writable, throwing descriptive errors if not.
 * @param directory Path to validate
 * @throws Error with descriptive message if directory is invalid
 */
export declare function validateStorageDirectory(directory: string): Promise<void>;
/**
 * Get the appropriate storage directory based on execution mode.
 * @param subdirectory Optional subdirectory name within the storage directory
 * @returns Path string for the storage directory
 */
export declare function getStorageDirectory(subdirectory?: string): Promise<string>;
/**
 * Get the directory for card images.
 * @returns Path string for the card images directory
 */
export declare function getCardImagesDirectory(): Promise<string>;
/**
 * Get the directory for art crops.
 * @returns Path string for the art crops directory
 */
export declare function getArtCropsDirectory(): Promise<string>;
/**
 * Get the path for the database file.
 * @returns Path string for the database file
 */
export declare function getDatabasePath(): Promise<string>;
/**
 * Check if we have write permissions to a directory.
 * @param directory Path to check
 * @returns True if we can write to the directory, false otherwise
 */
export declare function ensureDirectoryPermissions(directory: string): Promise<boolean>;
/**
 * Generate a file path within the base directory.
 * @param baseDir Base directory path
 * @param filename Name of the file
 * @returns Full path to the file
 */
export declare function getFilePath(baseDir: string, filename: string): string;
/**
 * Check if a directory exists.
 * @param path Path to check
 * @returns True if the directory exists, false otherwise
 */
export declare function directoryExists(path: string): boolean;
//# sourceMappingURL=config.d.ts.map