@aws-amplify/core
Version:
Core category of aws-amplify
11 lines (10 loc) • 409 B
TypeScript
import { ResourcesConfig } from './singleton/types';
/**
* This utility converts the `aws-exports.js` file generated by the Amplify CLI into a {@link ResourcesConfig} object
* consumable by Amplify.
*
* @param config A configuration object from `aws-exports.js`.
*
* @returns A {@link ResourcesConfig} object.
*/
export declare const parseAWSExports: (config?: Record<string, any>) => ResourcesConfig;