/**
 * Fetches the module info from package.json
 *
 * @returns {Promise<Record<string, any>>} The full path to module's package.json and its payload
 * @throws {Error} If package.json cannot be found
 */
export declare function getPackageInfo(): Promise<{
    manifestPath: string;
    manifestPayload: Record<string, any>;
}>;
/**
 * Fetches the module info from package.json synchronously
 *
 * @returns {Record<string, any>} The full path to module's package.json and its payload
 * @throws {Error} If package.json cannot be found
 */
export declare function getPackageInfoSync(): {
    manifestPath: string;
    manifestPayload: Record<string, any>;
};
//# sourceMappingURL=package.d.ts.map