@primexop/pbk
Version:
Primexop Backend Kit - A powerful TypeScript utility for managing backend projects with features like B2F Portal integration, cross-project validation, and Next.js support
19 lines (18 loc) • 710 B
TypeScript
/**
* Main entry point for the package
*/
import { TPbkConfig } from './types.js';
export declare function greet(name: string): string;
/**
* Initializes the pbk by loading configuration from a JSON file.
* This is the primary initialization method for the library.
*
* @param {Object} options - Initialization options
* @param {string} [options.configPath] - Path to the JSON config file (defaults to pbk.config.json in current directory)
* @returns {TPbkConfig} The loaded and validated configuration
* @throws {Error} If the configuration is invalid or file doesn't exist
*/
export declare function pbkInit(options?: {
configPath?: string;
}): Promise<TPbkConfig>;
export * from './types.js';