@settlemint/sdk-next
Version:
Next.js integration module for SettleMint SDK, providing React components and middleware for web applications
27 lines (26 loc) • 873 B
text/typescript
/* SettleMint Next.js Config */
import { NextConfig } from "next";
//#region src/config/with-settlemint.d.ts
/**
* Options for configuring the SettleMint configuration.
*/
interface WithSettleMintOptions {
/**
* Whether to disable the SettleMint configuration.
*/
disabled?: boolean;
}
/**
* Modifies the passed in Next.js configuration with SettleMint-specific settings.
*
* @param nextConfig - The original Next.js configuration
* @param options - Options for customizing the SettleMint configuration
* @returns The modified Next.js configuration
* @throws If the SettleMint configuration cannot be read or processed
*/
declare function withSettleMint<C extends NextConfig>(nextConfig: C, {
disabled
}?: WithSettleMintOptions): Promise<C>;
//#endregion
export { WithSettleMintOptions, withSettleMint };
//# sourceMappingURL=with-settlemint.d.cts.map