/** * @dyanet/nextjs-config-aws * * Next.js adapter for AWS configuration management. * Provides a simplified, opinionated API for loading configuration * with automatic environment detection and AWS integration. * * @example * ```typescript * // Server-side configuration loading * import { getConfig } from '@dyanet/nextjs-config-aws'; * * const config = await getConfig({ * schema: mySchema, * aws: { secretName: '/myapp/config' } * }); * ``` * * @example * ```typescript * // Runtime environment variables for client * // In layout.tsx (server component) * import { PublicEnvScript } from '@dyanet/nextjs-config-aws'; * * * * // In client component * import { env } from '@dyanet/nextjs-config-aws'; * * const apiUrl = env('API_URL'); * ``` * * @remarks * For advanced loader access, custom loaders, or direct AWS SDK integration, * import from `@dyanet/config-aws` directly: * * ```typescript * import { * ConfigManager, * EnvironmentLoader, * SecretsManagerLoader, * SSMParameterStoreLoader, * } from '@dyanet/config-aws'; * ``` * * @packageDocumentation */ export { ConfigurationError, ValidationError } from '@dyanet/config-aws'; export { getConfig, type NextConfigOptions } from './server'; export { PublicEnvScript, type PublicEnvScriptProps } from './components'; export { env } from './client'; //# sourceMappingURL=index.d.ts.map